@medplum/fhirtypes 0.5.2 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/README.md +9 -3
  2. package/dist/AccessPolicy.d.ts +19 -13
  3. package/dist/Account.d.ts +30 -30
  4. package/dist/ActivityDefinition.d.ts +71 -71
  5. package/dist/Address.d.ts +12 -12
  6. package/dist/AdverseEvent.d.ts +41 -41
  7. package/dist/Age.d.ts +7 -7
  8. package/dist/AllergyIntolerance.d.ts +38 -38
  9. package/dist/Annotation.d.ts +6 -6
  10. package/dist/Appointment.d.ts +38 -38
  11. package/dist/AppointmentResponse.d.ts +16 -16
  12. package/dist/Attachment.d.ts +10 -10
  13. package/dist/AuditEvent.d.ts +62 -62
  14. package/dist/Basic.d.ts +13 -13
  15. package/dist/Binary.d.ts +8 -8
  16. package/dist/BiologicallyDerivedProduct.d.ts +47 -47
  17. package/dist/BodyStructure.d.ts +16 -16
  18. package/dist/Bot.d.ts +19 -8
  19. package/dist/Bundle.d.ts +47 -47
  20. package/dist/CapabilityStatement.d.ts +129 -129
  21. package/dist/CarePlan.d.ts +63 -63
  22. package/dist/CareTeam.d.ts +28 -28
  23. package/dist/CatalogEntry.d.ts +27 -27
  24. package/dist/ChargeItem.d.ts +43 -43
  25. package/dist/ChargeItemDefinition.d.ts +49 -49
  26. package/dist/Claim.d.ts +159 -159
  27. package/dist/ClaimResponse.d.ts +145 -145
  28. package/dist/ClientApplication.d.ts +8 -8
  29. package/dist/ClinicalImpression.d.ts +40 -40
  30. package/dist/CodeSystem.d.ts +74 -74
  31. package/dist/CodeableConcept.d.ts +4 -4
  32. package/dist/Coding.d.ts +7 -7
  33. package/dist/Communication.d.ts +37 -37
  34. package/dist/CommunicationRequest.d.ts +37 -37
  35. package/dist/CompartmentDefinition.d.ts +28 -28
  36. package/dist/Composition.d.ts +54 -54
  37. package/dist/ConceptMap.d.ts +66 -66
  38. package/dist/Condition.d.ts +44 -44
  39. package/dist/Consent.d.ts +57 -57
  40. package/dist/ContactDetail.d.ts +4 -4
  41. package/dist/ContactPoint.d.ts +7 -7
  42. package/dist/Contract.d.ts +202 -202
  43. package/dist/Contributor.d.ts +5 -5
  44. package/dist/Count.d.ts +7 -7
  45. package/dist/Coverage.d.ts +43 -43
  46. package/dist/CoverageEligibilityRequest.d.ts +53 -53
  47. package/dist/CoverageEligibilityResponse.d.ts +62 -62
  48. package/dist/DataRequirement.d.ts +28 -28
  49. package/dist/DetectedIssue.d.ts +32 -32
  50. package/dist/Device.d.ts +65 -65
  51. package/dist/DeviceDefinition.d.ts +64 -64
  52. package/dist/DeviceMetric.d.ts +24 -24
  53. package/dist/DeviceRequest.d.ts +43 -43
  54. package/dist/DeviceUseStatement.d.ts +23 -23
  55. package/dist/DiagnosticReport.d.ts +32 -32
  56. package/dist/Distance.d.ts +7 -7
  57. package/dist/DocumentManifest.d.ts +25 -25
  58. package/dist/DocumentReference.d.ts +44 -44
  59. package/dist/Dosage.d.ts +25 -25
  60. package/dist/Duration.d.ts +7 -7
  61. package/dist/EffectEvidenceSynthesis.d.ts +82 -82
  62. package/dist/Element.d.ts +2 -2
  63. package/dist/ElementDefinition.d.ts +295 -295
  64. package/dist/Encounter.d.ts +72 -72
  65. package/dist/Endpoint.d.ts +19 -19
  66. package/dist/EnrollmentRequest.d.ts +15 -15
  67. package/dist/EnrollmentResponse.d.ts +16 -16
  68. package/dist/EpisodeOfCare.d.ts +31 -31
  69. package/dist/EventDefinition.d.ts +37 -37
  70. package/dist/Evidence.d.ts +36 -36
  71. package/dist/EvidenceVariable.d.ts +53 -53
  72. package/dist/ExampleScenario.d.ts +85 -85
  73. package/dist/ExplanationOfBenefit.d.ts +272 -272
  74. package/dist/Expression.d.ts +7 -7
  75. package/dist/Extension.d.ts +53 -53
  76. package/dist/FamilyMemberHistory.d.ts +45 -45
  77. package/dist/Flag.d.ts +16 -16
  78. package/dist/Goal.d.ts +38 -38
  79. package/dist/GraphDefinition.d.ts +48 -48
  80. package/dist/Group.d.ts +35 -35
  81. package/dist/GuidanceResponse.d.ts +25 -25
  82. package/dist/HealthcareService.d.ts +49 -49
  83. package/dist/HumanName.d.ts +9 -9
  84. package/dist/Identifier.d.ts +8 -8
  85. package/dist/ImagingStudy.d.ts +55 -55
  86. package/dist/Immunization.d.ts +65 -65
  87. package/dist/ImmunizationEvaluation.d.ts +23 -23
  88. package/dist/ImmunizationRecommendation.d.ts +35 -35
  89. package/dist/ImplementationGuide.d.ts +102 -102
  90. package/dist/InsurancePlan.d.ts +79 -79
  91. package/dist/Invoice.d.ts +43 -43
  92. package/dist/JsonWebKey.d.ts +20 -20
  93. package/dist/Library.d.ts +40 -40
  94. package/dist/Linkage.d.ts +16 -16
  95. package/dist/List.d.ts +28 -28
  96. package/dist/Location.d.ts +38 -38
  97. package/dist/Login.d.ts +21 -21
  98. package/dist/MarketingStatus.d.ts +8 -8
  99. package/dist/Measure.d.ts +83 -83
  100. package/dist/MeasureReport.d.ts +55 -55
  101. package/dist/Media.d.ts +31 -31
  102. package/dist/Medication.d.ts +28 -28
  103. package/dist/MedicationAdministration.d.ts +44 -44
  104. package/dist/MedicationDispense.d.ts +46 -46
  105. package/dist/MedicationKnowledge.d.ts +121 -121
  106. package/dist/MedicationRequest.d.ts +63 -63
  107. package/dist/MedicationStatement.d.ts +27 -27
  108. package/dist/MedicinalProduct.d.ts +65 -65
  109. package/dist/MedicinalProductAuthorization.d.ts +40 -40
  110. package/dist/MedicinalProductContraindication.d.ts +21 -21
  111. package/dist/MedicinalProductIndication.d.ts +23 -23
  112. package/dist/MedicinalProductIngredient.d.ts +44 -44
  113. package/dist/MedicinalProductInteraction.d.ts +20 -20
  114. package/dist/MedicinalProductManufactured.d.ts +15 -15
  115. package/dist/MedicinalProductPackaged.d.ts +37 -37
  116. package/dist/MedicinalProductPharmaceutical.d.ts +41 -41
  117. package/dist/MedicinalProductUndesirableEffect.d.ts +13 -13
  118. package/dist/MessageDefinition.d.ts +45 -45
  119. package/dist/MessageHeader.d.ts +41 -41
  120. package/dist/Meta.d.ts +11 -11
  121. package/dist/MolecularSequence.d.ts +100 -100
  122. package/dist/Money.d.ts +4 -4
  123. package/dist/NamingSystem.d.ts +29 -29
  124. package/dist/Narrative.d.ts +4 -4
  125. package/dist/NutritionOrder.d.ts +71 -71
  126. package/dist/Observation.d.ts +72 -72
  127. package/dist/ObservationDefinition.d.ts +39 -39
  128. package/dist/OperationDefinition.d.ts +63 -63
  129. package/dist/OperationOutcome.d.ts +18 -18
  130. package/dist/Organization.d.ts +25 -25
  131. package/dist/OrganizationAffiliation.d.ts +20 -20
  132. package/dist/ParameterDefinition.d.ts +9 -9
  133. package/dist/Parameters.d.ts +61 -61
  134. package/dist/PasswordChangeRequest.d.ts +8 -8
  135. package/dist/Patient.d.ts +46 -46
  136. package/dist/PaymentNotice.d.ts +20 -20
  137. package/dist/PaymentReconciliation.d.ts +41 -41
  138. package/dist/Period.d.ts +4 -4
  139. package/dist/Person.d.ts +23 -23
  140. package/dist/PlanDefinition.d.ts +117 -117
  141. package/dist/Population.d.ts +8 -8
  142. package/dist/Practitioner.d.ts +25 -25
  143. package/dist/PractitionerRole.d.ts +34 -34
  144. package/dist/Procedure.d.ts +51 -51
  145. package/dist/ProdCharacteristic.d.ts +14 -14
  146. package/dist/ProductShelfLife.d.ts +7 -7
  147. package/dist/Project.d.ts +9 -9
  148. package/dist/ProjectMembership.d.ts +11 -10
  149. package/dist/Provenance.d.ts +32 -32
  150. package/dist/Quantity.d.ts +7 -7
  151. package/dist/Questionnaire.d.ts +89 -89
  152. package/dist/QuestionnaireResponse.d.ts +43 -43
  153. package/dist/Range.d.ts +4 -4
  154. package/dist/Ratio.d.ts +4 -4
  155. package/dist/Reference.d.ts +7 -7
  156. package/dist/RelatedArtifact.d.ts +9 -9
  157. package/dist/RelatedPerson.d.ts +25 -25
  158. package/dist/RequestGroup.d.ts +65 -65
  159. package/dist/ResearchDefinition.d.ts +43 -43
  160. package/dist/ResearchElementDefinition.d.ts +66 -66
  161. package/dist/ResearchStudy.d.ts +43 -43
  162. package/dist/ResearchSubject.d.ts +16 -16
  163. package/dist/RiskAssessment.d.ts +37 -37
  164. package/dist/RiskEvidenceSynthesis.d.ts +74 -74
  165. package/dist/SampledData.d.ts +9 -9
  166. package/dist/Schedule.d.ts +16 -16
  167. package/dist/SearchParameter.d.ts +39 -39
  168. package/dist/ServiceRequest.d.ts +46 -46
  169. package/dist/Signature.d.ts +9 -9
  170. package/dist/Slot.d.ts +19 -19
  171. package/dist/Specimen.d.ts +51 -51
  172. package/dist/SpecimenDefinition.d.ts +49 -49
  173. package/dist/StructureDefinition.d.ts +55 -55
  174. package/dist/StructureMap.d.ts +145 -145
  175. package/dist/Subscription.d.ts +22 -22
  176. package/dist/Substance.d.ts +27 -27
  177. package/dist/SubstanceAmount.d.ts +13 -13
  178. package/dist/SubstanceNucleicAcid.d.ts +37 -37
  179. package/dist/SubstancePolymer.d.ts +52 -52
  180. package/dist/SubstanceProtein.d.ts +23 -23
  181. package/dist/SubstanceReferenceInformation.d.ts +45 -45
  182. package/dist/SubstanceSourceMaterial.d.ts +62 -62
  183. package/dist/SubstanceSpecification.d.ts +121 -121
  184. package/dist/SupplyDelivery.d.ts +27 -27
  185. package/dist/SupplyRequest.d.ts +34 -34
  186. package/dist/Task.d.ts +153 -153
  187. package/dist/TerminologyCapabilities.d.ts +87 -87
  188. package/dist/TestReport.d.ts +66 -66
  189. package/dist/TestScript.d.ts +157 -157
  190. package/dist/Timing.d.ts +25 -25
  191. package/dist/TriggerDefinition.d.ts +10 -10
  192. package/dist/UsageContext.d.ts +7 -7
  193. package/dist/User.d.ts +7 -7
  194. package/dist/UserConfiguration.d.ts +20 -20
  195. package/dist/ValueSet.d.ts +90 -90
  196. package/dist/VerificationResult.d.ts +49 -49
  197. package/dist/VisionPrescription.d.ts +38 -38
  198. package/package.json +1 -1
@@ -42,14 +42,14 @@ export interface DocumentReference {
42
42
  * The logical id of the resource, as used in the URL for the resource.
43
43
  * Once assigned, this value never changes.
44
44
  */
45
- readonly id?: string;
45
+ id?: string;
46
46
 
47
47
  /**
48
48
  * The metadata about the resource. This is content that is maintained by
49
49
  * the infrastructure. Changes to the content might not always be
50
50
  * associated with version changes to the resource.
51
51
  */
52
- readonly meta?: Meta;
52
+ meta?: Meta;
53
53
 
54
54
  /**
55
55
  * A reference to a set of rules that were followed when the resource was
@@ -57,12 +57,12 @@ export interface DocumentReference {
57
57
  * Often, this is a reference to an implementation guide that defines the
58
58
  * special rules along with other profiles etc.
59
59
  */
60
- readonly implicitRules?: string;
60
+ implicitRules?: string;
61
61
 
62
62
  /**
63
63
  * The base language in which the resource is written.
64
64
  */
65
- readonly language?: string;
65
+ language?: string;
66
66
 
67
67
  /**
68
68
  * A human-readable narrative that contains a summary of the resource and
@@ -72,14 +72,14 @@ export interface DocumentReference {
72
72
  * just read the narrative. Resource definitions may define what content
73
73
  * should be represented in the narrative to ensure clinical safety.
74
74
  */
75
- readonly text?: Narrative;
75
+ text?: Narrative;
76
76
 
77
77
  /**
78
78
  * These resources do not have an independent existence apart from the
79
79
  * resource that contains them - they cannot be identified independently,
80
80
  * and nor can they have their own independent transaction scope.
81
81
  */
82
- readonly contained?: Resource[];
82
+ contained?: Resource[];
83
83
 
84
84
  /**
85
85
  * May be used to represent additional information that is not part of
@@ -89,7 +89,7 @@ export interface DocumentReference {
89
89
  * define an extension, there is a set of requirements that SHALL be met
90
90
  * as part of the definition of the extension.
91
91
  */
92
- readonly extension?: Extension[];
92
+ extension?: Extension[];
93
93
 
94
94
  /**
95
95
  * May be used to represent additional information that is not part of
@@ -107,7 +107,7 @@ export interface DocumentReference {
107
107
  * Resource or DomainResource (including cannot change the meaning of
108
108
  * modifierExtension itself).
109
109
  */
110
- readonly modifierExtension?: Extension[];
110
+ modifierExtension?: Extension[];
111
111
 
112
112
  /**
113
113
  * Document identifier as assigned by the source of the document. This
@@ -115,37 +115,37 @@ export interface DocumentReference {
115
115
  * identifier may be used elsewhere to identify this version of the
116
116
  * document.
117
117
  */
118
- readonly masterIdentifier?: Identifier;
118
+ masterIdentifier?: Identifier;
119
119
 
120
120
  /**
121
121
  * Other identifiers associated with the document, including version
122
122
  * independent identifiers.
123
123
  */
124
- readonly identifier?: Identifier[];
124
+ identifier?: Identifier[];
125
125
 
126
126
  /**
127
127
  * The status of this document reference.
128
128
  */
129
- readonly status?: string;
129
+ status?: string;
130
130
 
131
131
  /**
132
132
  * The status of the underlying document.
133
133
  */
134
- readonly docStatus?: string;
134
+ docStatus?: string;
135
135
 
136
136
  /**
137
137
  * Specifies the particular kind of document referenced (e.g. History
138
138
  * and Physical, Discharge Summary, Progress Note). This usually equates
139
139
  * to the purpose of making the document referenced.
140
140
  */
141
- readonly type?: CodeableConcept;
141
+ type?: CodeableConcept;
142
142
 
143
143
  /**
144
144
  * A categorization for the type of document referenced - helps for
145
145
  * indexing and searching. This may be implied by or derived from the
146
146
  * code specified in the DocumentReference.type.
147
147
  */
148
- readonly category?: CodeableConcept[];
148
+ category?: CodeableConcept[];
149
149
 
150
150
  /**
151
151
  * Who or what the document is about. The document can be about a person,
@@ -153,41 +153,41 @@ export interface DocumentReference {
153
153
  * even a group of subjects (such as a document about a herd of farm
154
154
  * animals, or a set of patients that share a common exposure).
155
155
  */
156
- readonly subject?: Reference<Patient | Practitioner | Group | Device>;
156
+ subject?: Reference<Patient | Practitioner | Group | Device>;
157
157
 
158
158
  /**
159
159
  * When the document reference was created.
160
160
  */
161
- readonly date?: string;
161
+ date?: string;
162
162
 
163
163
  /**
164
164
  * Identifies who is responsible for adding the information to the
165
165
  * document.
166
166
  */
167
- readonly author?: Reference<Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson>[];
167
+ author?: Reference<Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson>[];
168
168
 
169
169
  /**
170
170
  * Which person or organization authenticates that this document is
171
171
  * valid.
172
172
  */
173
- readonly authenticator?: Reference<Practitioner | PractitionerRole | Organization>;
173
+ authenticator?: Reference<Practitioner | PractitionerRole | Organization>;
174
174
 
175
175
  /**
176
176
  * Identifies the organization or group who is responsible for ongoing
177
177
  * maintenance of and access to the document.
178
178
  */
179
- readonly custodian?: Reference<Organization>;
179
+ custodian?: Reference<Organization>;
180
180
 
181
181
  /**
182
182
  * Relationships that this document has with other document references
183
183
  * that already exist.
184
184
  */
185
- readonly relatesTo?: DocumentReferenceRelatesTo[];
185
+ relatesTo?: DocumentReferenceRelatesTo[];
186
186
 
187
187
  /**
188
188
  * Human-readable description of the source document.
189
189
  */
190
- readonly description?: string;
190
+ description?: string;
191
191
 
192
192
  /**
193
193
  * A set of Security-Tag codes specifying the level of privacy/security
@@ -196,18 +196,18 @@ export interface DocumentReference {
196
196
  * DocumentReference.securityLabel contains a snapshot of the security
197
197
  * labels on the document the reference refers to.
198
198
  */
199
- readonly securityLabel?: CodeableConcept[];
199
+ securityLabel?: CodeableConcept[];
200
200
 
201
201
  /**
202
202
  * The document and format referenced. There may be multiple content
203
203
  * element repetitions, each with a different format.
204
204
  */
205
- readonly content?: DocumentReferenceContent[];
205
+ content?: DocumentReferenceContent[];
206
206
 
207
207
  /**
208
208
  * The clinical context in which the document was prepared.
209
209
  */
210
- readonly context?: DocumentReferenceContext;
210
+ context?: DocumentReferenceContext;
211
211
  }
212
212
 
213
213
  /**
@@ -220,7 +220,7 @@ export interface DocumentReferenceContent {
220
220
  * Unique id for the element within a resource (for internal references).
221
221
  * This may be any string value that does not contain spaces.
222
222
  */
223
- readonly id?: string;
223
+ id?: string;
224
224
 
225
225
  /**
226
226
  * May be used to represent additional information that is not part of
@@ -230,7 +230,7 @@ export interface DocumentReferenceContent {
230
230
  * define an extension, there is a set of requirements that SHALL be met
231
231
  * as part of the definition of the extension.
232
232
  */
233
- readonly extension?: Extension[];
233
+ extension?: Extension[];
234
234
 
235
235
  /**
236
236
  * May be used to represent additional information that is not part of
@@ -249,20 +249,20 @@ export interface DocumentReferenceContent {
249
249
  * Resource or DomainResource (including cannot change the meaning of
250
250
  * modifierExtension itself).
251
251
  */
252
- readonly modifierExtension?: Extension[];
252
+ modifierExtension?: Extension[];
253
253
 
254
254
  /**
255
255
  * The document or URL of the document along with critical metadata to
256
256
  * prove content has integrity.
257
257
  */
258
- readonly attachment?: Attachment;
258
+ attachment?: Attachment;
259
259
 
260
260
  /**
261
261
  * An identifier of the document encoding, structure, and template that
262
262
  * the document conforms to beyond the base format indicated in the
263
263
  * mimeType.
264
264
  */
265
- readonly format?: Coding;
265
+ format?: Coding;
266
266
  }
267
267
 
268
268
  /**
@@ -274,7 +274,7 @@ export interface DocumentReferenceContext {
274
274
  * Unique id for the element within a resource (for internal references).
275
275
  * This may be any string value that does not contain spaces.
276
276
  */
277
- readonly id?: string;
277
+ id?: string;
278
278
 
279
279
  /**
280
280
  * May be used to represent additional information that is not part of
@@ -284,7 +284,7 @@ export interface DocumentReferenceContext {
284
284
  * define an extension, there is a set of requirements that SHALL be met
285
285
  * as part of the definition of the extension.
286
286
  */
287
- readonly extension?: Extension[];
287
+ extension?: Extension[];
288
288
 
289
289
  /**
290
290
  * May be used to represent additional information that is not part of
@@ -303,13 +303,13 @@ export interface DocumentReferenceContext {
303
303
  * Resource or DomainResource (including cannot change the meaning of
304
304
  * modifierExtension itself).
305
305
  */
306
- readonly modifierExtension?: Extension[];
306
+ modifierExtension?: Extension[];
307
307
 
308
308
  /**
309
309
  * Describes the clinical encounter or type of care that the document
310
310
  * content is associated with.
311
311
  */
312
- readonly encounter?: Reference<Encounter | EpisodeOfCare>[];
312
+ encounter?: Reference<Encounter | EpisodeOfCare>[];
313
313
 
314
314
  /**
315
315
  * This list of codes represents the main clinical acts, such as a
@@ -318,36 +318,36 @@ export interface DocumentReferenceContext {
318
318
  * Report&quot; in which the procedure being documented is necessarily a
319
319
  * &quot;History and Physical&quot; act.
320
320
  */
321
- readonly event?: CodeableConcept[];
321
+ event?: CodeableConcept[];
322
322
 
323
323
  /**
324
324
  * The time period over which the service that is described by the
325
325
  * document was provided.
326
326
  */
327
- readonly period?: Period;
327
+ period?: Period;
328
328
 
329
329
  /**
330
330
  * The kind of facility where the patient was seen.
331
331
  */
332
- readonly facilityType?: CodeableConcept;
332
+ facilityType?: CodeableConcept;
333
333
 
334
334
  /**
335
335
  * This property may convey specifics about the practice setting where
336
336
  * the content was created, often reflecting the clinical specialty.
337
337
  */
338
- readonly practiceSetting?: CodeableConcept;
338
+ practiceSetting?: CodeableConcept;
339
339
 
340
340
  /**
341
341
  * The Patient Information as known when the document was published. May
342
342
  * be a reference to a version specific, or contained.
343
343
  */
344
- readonly sourcePatientInfo?: Reference<Patient>;
344
+ sourcePatientInfo?: Reference<Patient>;
345
345
 
346
346
  /**
347
347
  * Related identifiers or resources associated with the
348
348
  * DocumentReference.
349
349
  */
350
- readonly related?: Reference<Resource>[];
350
+ related?: Reference<Resource>[];
351
351
  }
352
352
 
353
353
  /**
@@ -360,7 +360,7 @@ export interface DocumentReferenceRelatesTo {
360
360
  * Unique id for the element within a resource (for internal references).
361
361
  * This may be any string value that does not contain spaces.
362
362
  */
363
- readonly id?: string;
363
+ id?: string;
364
364
 
365
365
  /**
366
366
  * May be used to represent additional information that is not part of
@@ -370,7 +370,7 @@ export interface DocumentReferenceRelatesTo {
370
370
  * define an extension, there is a set of requirements that SHALL be met
371
371
  * as part of the definition of the extension.
372
372
  */
373
- readonly extension?: Extension[];
373
+ extension?: Extension[];
374
374
 
375
375
  /**
376
376
  * May be used to represent additional information that is not part of
@@ -389,15 +389,15 @@ export interface DocumentReferenceRelatesTo {
389
389
  * Resource or DomainResource (including cannot change the meaning of
390
390
  * modifierExtension itself).
391
391
  */
392
- readonly modifierExtension?: Extension[];
392
+ modifierExtension?: Extension[];
393
393
 
394
394
  /**
395
395
  * The type of relationship that this document has with anther document.
396
396
  */
397
- readonly code?: string;
397
+ code?: string;
398
398
 
399
399
  /**
400
400
  * The target document of this relationship.
401
401
  */
402
- readonly target?: Reference<DocumentReference>;
402
+ target?: Reference<DocumentReference>;
403
403
  }
package/dist/Dosage.d.ts CHANGED
@@ -20,7 +20,7 @@ export interface Dosage {
20
20
  * Unique id for the element within a resource (for internal references).
21
21
  * This may be any string value that does not contain spaces.
22
22
  */
23
- readonly id?: string;
23
+ id?: string;
24
24
 
25
25
  /**
26
26
  * May be used to represent additional information that is not part of
@@ -30,7 +30,7 @@ export interface Dosage {
30
30
  * define an extension, there is a set of requirements that SHALL be met
31
31
  * as part of the definition of the extension.
32
32
  */
33
- readonly extension?: Extension[];
33
+ extension?: Extension[];
34
34
 
35
35
  /**
36
36
  * May be used to represent additional information that is not part of
@@ -49,18 +49,18 @@ export interface Dosage {
49
49
  * Resource or DomainResource (including cannot change the meaning of
50
50
  * modifierExtension itself).
51
51
  */
52
- readonly modifierExtension?: Extension[];
52
+ modifierExtension?: Extension[];
53
53
 
54
54
  /**
55
55
  * Indicates the order in which the dosage instructions should be applied
56
56
  * or interpreted.
57
57
  */
58
- readonly sequence?: number;
58
+ sequence?: number;
59
59
 
60
60
  /**
61
61
  * Free text dosage instructions e.g. SIG.
62
62
  */
63
- readonly text?: string;
63
+ text?: string;
64
64
 
65
65
  /**
66
66
  * Supplemental instructions to the patient on how to take the medication
@@ -68,66 +68,66 @@ export interface Dosage {
68
68
  * for the patient about the medication (e.g. &quot;may cause drowsiness&quot; or
69
69
  * &quot;avoid exposure of skin to direct sunlight or sunlamps&quot;).
70
70
  */
71
- readonly additionalInstruction?: CodeableConcept[];
71
+ additionalInstruction?: CodeableConcept[];
72
72
 
73
73
  /**
74
74
  * Instructions in terms that are understood by the patient or consumer.
75
75
  */
76
- readonly patientInstruction?: string;
76
+ patientInstruction?: string;
77
77
 
78
78
  /**
79
79
  * When medication should be administered.
80
80
  */
81
- readonly timing?: Timing;
81
+ timing?: Timing;
82
82
 
83
83
  /**
84
84
  * Indicates whether the Medication is only taken when needed within a
85
85
  * specific dosing schedule (Boolean option), or it indicates the
86
86
  * precondition for taking the Medication (CodeableConcept).
87
87
  */
88
- readonly asNeededBoolean?: boolean;
88
+ asNeededBoolean?: boolean;
89
89
 
90
90
  /**
91
91
  * Indicates whether the Medication is only taken when needed within a
92
92
  * specific dosing schedule (Boolean option), or it indicates the
93
93
  * precondition for taking the Medication (CodeableConcept).
94
94
  */
95
- readonly asNeededCodeableConcept?: CodeableConcept;
95
+ asNeededCodeableConcept?: CodeableConcept;
96
96
 
97
97
  /**
98
98
  * Body site to administer to.
99
99
  */
100
- readonly site?: CodeableConcept;
100
+ site?: CodeableConcept;
101
101
 
102
102
  /**
103
103
  * How drug should enter body.
104
104
  */
105
- readonly route?: CodeableConcept;
105
+ route?: CodeableConcept;
106
106
 
107
107
  /**
108
108
  * Technique for administering medication.
109
109
  */
110
- readonly method?: CodeableConcept;
110
+ method?: CodeableConcept;
111
111
 
112
112
  /**
113
113
  * The amount of medication administered.
114
114
  */
115
- readonly doseAndRate?: DosageDoseAndRate[];
115
+ doseAndRate?: DosageDoseAndRate[];
116
116
 
117
117
  /**
118
118
  * Upper limit on medication per unit of time.
119
119
  */
120
- readonly maxDosePerPeriod?: Ratio;
120
+ maxDosePerPeriod?: Ratio;
121
121
 
122
122
  /**
123
123
  * Upper limit on medication per administration.
124
124
  */
125
- readonly maxDosePerAdministration?: Quantity;
125
+ maxDosePerAdministration?: Quantity;
126
126
 
127
127
  /**
128
128
  * Upper limit on medication per lifetime of the patient.
129
129
  */
130
- readonly maxDosePerLifetime?: Quantity;
130
+ maxDosePerLifetime?: Quantity;
131
131
  }
132
132
 
133
133
  /**
@@ -139,7 +139,7 @@ export interface DosageDoseAndRate {
139
139
  * Unique id for the element within a resource (for internal references).
140
140
  * This may be any string value that does not contain spaces.
141
141
  */
142
- readonly id?: string;
142
+ id?: string;
143
143
 
144
144
  /**
145
145
  * May be used to represent additional information that is not part of
@@ -149,36 +149,36 @@ export interface DosageDoseAndRate {
149
149
  * define an extension, there is a set of requirements that SHALL be met
150
150
  * as part of the definition of the extension.
151
151
  */
152
- readonly extension?: Extension[];
152
+ extension?: Extension[];
153
153
 
154
154
  /**
155
155
  * The kind of dose or rate specified, for example, ordered or
156
156
  * calculated.
157
157
  */
158
- readonly type?: CodeableConcept;
158
+ type?: CodeableConcept;
159
159
 
160
160
  /**
161
161
  * Amount of medication per dose.
162
162
  */
163
- readonly doseRange?: Range;
163
+ doseRange?: Range;
164
164
 
165
165
  /**
166
166
  * Amount of medication per dose.
167
167
  */
168
- readonly doseQuantity?: Quantity;
168
+ doseQuantity?: Quantity;
169
169
 
170
170
  /**
171
171
  * Amount of medication per unit of time.
172
172
  */
173
- readonly rateRatio?: Ratio;
173
+ rateRatio?: Ratio;
174
174
 
175
175
  /**
176
176
  * Amount of medication per unit of time.
177
177
  */
178
- readonly rateRange?: Range;
178
+ rateRange?: Range;
179
179
 
180
180
  /**
181
181
  * Amount of medication per unit of time.
182
182
  */
183
- readonly rateQuantity?: Quantity;
183
+ rateQuantity?: Quantity;
184
184
  }
@@ -14,7 +14,7 @@ export interface Duration {
14
14
  * Unique id for the element within a resource (for internal references).
15
15
  * This may be any string value that does not contain spaces.
16
16
  */
17
- readonly id?: string;
17
+ id?: string;
18
18
 
19
19
  /**
20
20
  * May be used to represent additional information that is not part of
@@ -24,13 +24,13 @@ export interface Duration {
24
24
  * define an extension, there is a set of requirements that SHALL be met
25
25
  * as part of the definition of the extension.
26
26
  */
27
- readonly extension?: Extension[];
27
+ extension?: Extension[];
28
28
 
29
29
  /**
30
30
  * The value of the measured amount. The value includes an implicit
31
31
  * precision in the presentation of the value.
32
32
  */
33
- readonly value?: number;
33
+ value?: number;
34
34
 
35
35
  /**
36
36
  * How the value should be understood and represented - whether the
@@ -38,22 +38,22 @@ export interface Duration {
38
38
  * measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real
39
39
  * value is &lt; stated value.
40
40
  */
41
- readonly comparator?: string;
41
+ comparator?: string;
42
42
 
43
43
  /**
44
44
  * A human-readable form of the unit.
45
45
  */
46
- readonly unit?: string;
46
+ unit?: string;
47
47
 
48
48
  /**
49
49
  * The identification of the system that provides the coded form of the
50
50
  * unit.
51
51
  */
52
- readonly system?: string;
52
+ system?: string;
53
53
 
54
54
  /**
55
55
  * A computer processable form of the unit in some unit representation
56
56
  * system.
57
57
  */
58
- readonly code?: string;
58
+ code?: string;
59
59
  }