@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
@@ -31,14 +31,14 @@ export interface Medication {
31
31
  * The logical id of the resource, as used in the URL for the resource.
32
32
  * Once assigned, this value never changes.
33
33
  */
34
- readonly id?: string;
34
+ id?: string;
35
35
 
36
36
  /**
37
37
  * The metadata about the resource. This is content that is maintained by
38
38
  * the infrastructure. Changes to the content might not always be
39
39
  * associated with version changes to the resource.
40
40
  */
41
- readonly meta?: Meta;
41
+ meta?: Meta;
42
42
 
43
43
  /**
44
44
  * A reference to a set of rules that were followed when the resource was
@@ -46,12 +46,12 @@ export interface Medication {
46
46
  * Often, this is a reference to an implementation guide that defines the
47
47
  * special rules along with other profiles etc.
48
48
  */
49
- readonly implicitRules?: string;
49
+ implicitRules?: string;
50
50
 
51
51
  /**
52
52
  * The base language in which the resource is written.
53
53
  */
54
- readonly language?: string;
54
+ language?: string;
55
55
 
56
56
  /**
57
57
  * A human-readable narrative that contains a summary of the resource and
@@ -61,14 +61,14 @@ export interface Medication {
61
61
  * just read the narrative. Resource definitions may define what content
62
62
  * should be represented in the narrative to ensure clinical safety.
63
63
  */
64
- readonly text?: Narrative;
64
+ text?: Narrative;
65
65
 
66
66
  /**
67
67
  * These resources do not have an independent existence apart from the
68
68
  * resource that contains them - they cannot be identified independently,
69
69
  * and nor can they have their own independent transaction scope.
70
70
  */
71
- readonly contained?: Resource[];
71
+ contained?: Resource[];
72
72
 
73
73
  /**
74
74
  * May be used to represent additional information that is not part of
@@ -78,7 +78,7 @@ export interface Medication {
78
78
  * define an extension, there is a set of requirements that SHALL be met
79
79
  * as part of the definition of the extension.
80
80
  */
81
- readonly extension?: Extension[];
81
+ extension?: Extension[];
82
82
 
83
83
  /**
84
84
  * May be used to represent additional information that is not part of
@@ -96,12 +96,12 @@ export interface Medication {
96
96
  * Resource or DomainResource (including cannot change the meaning of
97
97
  * modifierExtension itself).
98
98
  */
99
- readonly modifierExtension?: Extension[];
99
+ modifierExtension?: Extension[];
100
100
 
101
101
  /**
102
102
  * Business identifier for this medication.
103
103
  */
104
- readonly identifier?: Identifier[];
104
+ identifier?: Identifier[];
105
105
 
106
106
  /**
107
107
  * A code (or set of codes) that specify this medication, or a textual
@@ -110,24 +110,24 @@ export interface Medication {
110
110
  * etc. It could also be a national or local formulary code, optionally
111
111
  * with translations to other code systems.
112
112
  */
113
- readonly code?: CodeableConcept;
113
+ code?: CodeableConcept;
114
114
 
115
115
  /**
116
116
  * A code to indicate if the medication is in active use.
117
117
  */
118
- readonly status?: string;
118
+ status?: string;
119
119
 
120
120
  /**
121
121
  * Describes the details of the manufacturer of the medication product.
122
122
  * This is not intended to represent the distributor of a medication
123
123
  * product.
124
124
  */
125
- readonly manufacturer?: Reference<Organization>;
125
+ manufacturer?: Reference<Organization>;
126
126
 
127
127
  /**
128
128
  * Describes the form of the item. Powder; tablets; capsule.
129
129
  */
130
- readonly form?: CodeableConcept;
130
+ form?: CodeableConcept;
131
131
 
132
132
  /**
133
133
  * Specific amount of the drug in the packaged product. For example,
@@ -136,17 +136,17 @@ export interface Medication {
136
136
  * attribute provides additional clarification of the package amount (For
137
137
  * example, 3 mL, 10mL, etc.).
138
138
  */
139
- readonly amount?: Ratio;
139
+ amount?: Ratio;
140
140
 
141
141
  /**
142
142
  * Identifies a particular constituent of interest in the product.
143
143
  */
144
- readonly ingredient?: MedicationIngredient[];
144
+ ingredient?: MedicationIngredient[];
145
145
 
146
146
  /**
147
147
  * Information that only applies to packages (not products).
148
148
  */
149
- readonly batch?: MedicationBatch;
149
+ batch?: MedicationBatch;
150
150
  }
151
151
 
152
152
  /**
@@ -158,7 +158,7 @@ export interface MedicationBatch {
158
158
  * Unique id for the element within a resource (for internal references).
159
159
  * This may be any string value that does not contain spaces.
160
160
  */
161
- readonly id?: string;
161
+ id?: string;
162
162
 
163
163
  /**
164
164
  * May be used to represent additional information that is not part of
@@ -168,7 +168,7 @@ export interface MedicationBatch {
168
168
  * define an extension, there is a set of requirements that SHALL be met
169
169
  * as part of the definition of the extension.
170
170
  */
171
- readonly extension?: Extension[];
171
+ extension?: Extension[];
172
172
 
173
173
  /**
174
174
  * May be used to represent additional information that is not part of
@@ -187,17 +187,17 @@ export interface MedicationBatch {
187
187
  * Resource or DomainResource (including cannot change the meaning of
188
188
  * modifierExtension itself).
189
189
  */
190
- readonly modifierExtension?: Extension[];
190
+ modifierExtension?: Extension[];
191
191
 
192
192
  /**
193
193
  * The assigned lot number of a batch of the specified product.
194
194
  */
195
- readonly lotNumber?: string;
195
+ lotNumber?: string;
196
196
 
197
197
  /**
198
198
  * When this specific batch of product will expire.
199
199
  */
200
- readonly expirationDate?: string;
200
+ expirationDate?: string;
201
201
  }
202
202
 
203
203
  /**
@@ -209,7 +209,7 @@ export interface MedicationIngredient {
209
209
  * Unique id for the element within a resource (for internal references).
210
210
  * This may be any string value that does not contain spaces.
211
211
  */
212
- readonly id?: string;
212
+ id?: string;
213
213
 
214
214
  /**
215
215
  * May be used to represent additional information that is not part of
@@ -219,7 +219,7 @@ export interface MedicationIngredient {
219
219
  * define an extension, there is a set of requirements that SHALL be met
220
220
  * as part of the definition of the extension.
221
221
  */
222
- readonly extension?: Extension[];
222
+ extension?: Extension[];
223
223
 
224
224
  /**
225
225
  * May be used to represent additional information that is not part of
@@ -238,30 +238,30 @@ export interface MedicationIngredient {
238
238
  * Resource or DomainResource (including cannot change the meaning of
239
239
  * modifierExtension itself).
240
240
  */
241
- readonly modifierExtension?: Extension[];
241
+ modifierExtension?: Extension[];
242
242
 
243
243
  /**
244
244
  * The actual ingredient - either a substance (simple ingredient) or
245
245
  * another medication of a medication.
246
246
  */
247
- readonly itemCodeableConcept?: CodeableConcept;
247
+ itemCodeableConcept?: CodeableConcept;
248
248
 
249
249
  /**
250
250
  * The actual ingredient - either a substance (simple ingredient) or
251
251
  * another medication of a medication.
252
252
  */
253
- readonly itemReference?: Reference<Substance | Medication>;
253
+ itemReference?: Reference<Substance | Medication>;
254
254
 
255
255
  /**
256
256
  * Indication of whether this ingredient affects the therapeutic action
257
257
  * of the drug.
258
258
  */
259
- readonly isActive?: boolean;
259
+ isActive?: boolean;
260
260
 
261
261
  /**
262
262
  * Specifies how many (or how much) of the items there are in this
263
263
  * Medication. For example, 250 mg per tablet. This is expressed as a
264
264
  * ratio where the numerator is 250mg and the denominator is 1 tablet.
265
265
  */
266
- readonly strength?: Ratio;
266
+ strength?: Ratio;
267
267
  }
@@ -48,14 +48,14 @@ export interface MedicationAdministration {
48
48
  * The logical id of the resource, as used in the URL for the resource.
49
49
  * Once assigned, this value never changes.
50
50
  */
51
- readonly id?: string;
51
+ id?: string;
52
52
 
53
53
  /**
54
54
  * The metadata about the resource. This is content that is maintained by
55
55
  * the infrastructure. Changes to the content might not always be
56
56
  * associated with version changes to the resource.
57
57
  */
58
- readonly meta?: Meta;
58
+ meta?: Meta;
59
59
 
60
60
  /**
61
61
  * A reference to a set of rules that were followed when the resource was
@@ -63,12 +63,12 @@ export interface MedicationAdministration {
63
63
  * Often, this is a reference to an implementation guide that defines the
64
64
  * special rules along with other profiles etc.
65
65
  */
66
- readonly implicitRules?: string;
66
+ implicitRules?: string;
67
67
 
68
68
  /**
69
69
  * The base language in which the resource is written.
70
70
  */
71
- readonly language?: string;
71
+ language?: string;
72
72
 
73
73
  /**
74
74
  * A human-readable narrative that contains a summary of the resource and
@@ -78,14 +78,14 @@ export interface MedicationAdministration {
78
78
  * just read the narrative. Resource definitions may define what content
79
79
  * should be represented in the narrative to ensure clinical safety.
80
80
  */
81
- readonly text?: Narrative;
81
+ text?: Narrative;
82
82
 
83
83
  /**
84
84
  * These resources do not have an independent existence apart from the
85
85
  * resource that contains them - they cannot be identified independently,
86
86
  * and nor can they have their own independent transaction scope.
87
87
  */
88
- readonly contained?: Resource[];
88
+ contained?: Resource[];
89
89
 
90
90
  /**
91
91
  * May be used to represent additional information that is not part of
@@ -95,7 +95,7 @@ export interface MedicationAdministration {
95
95
  * define an extension, there is a set of requirements that SHALL be met
96
96
  * as part of the definition of the extension.
97
97
  */
98
- readonly extension?: Extension[];
98
+ extension?: Extension[];
99
99
 
100
100
  /**
101
101
  * May be used to represent additional information that is not part of
@@ -113,7 +113,7 @@ export interface MedicationAdministration {
113
113
  * Resource or DomainResource (including cannot change the meaning of
114
114
  * modifierExtension itself).
115
115
  */
116
- readonly modifierExtension?: Extension[];
116
+ modifierExtension?: Extension[];
117
117
 
118
118
  /**
119
119
  * Identifiers associated with this Medication Administration that are
@@ -123,18 +123,18 @@ export interface MedicationAdministration {
123
123
  * other systems and remain constant as the resource is updated and
124
124
  * propagates from server to server.
125
125
  */
126
- readonly identifier?: Identifier[];
126
+ identifier?: Identifier[];
127
127
 
128
128
  /**
129
129
  * A protocol, guideline, orderset, or other definition that was adhered
130
130
  * to in whole or in part by this event.
131
131
  */
132
- readonly instantiates?: string[];
132
+ instantiates?: string[];
133
133
 
134
134
  /**
135
135
  * A larger event of which this particular event is a component or step.
136
136
  */
137
- readonly partOf?: Reference<MedicationAdministration | Procedure>[];
137
+ partOf?: Reference<MedicationAdministration | Procedure>[];
138
138
 
139
139
  /**
140
140
  * Will generally be set to show that the administration has been
@@ -142,18 +142,18 @@ export interface MedicationAdministration {
142
142
  * it is possible for an administration to be started but not completed
143
143
  * or it may be paused while some other process is under way.
144
144
  */
145
- readonly status?: string;
145
+ status?: string;
146
146
 
147
147
  /**
148
148
  * A code indicating why the administration was not performed.
149
149
  */
150
- readonly statusReason?: CodeableConcept[];
150
+ statusReason?: CodeableConcept[];
151
151
 
152
152
  /**
153
153
  * Indicates where the medication is expected to be consumed or
154
154
  * administered.
155
155
  */
156
- readonly category?: CodeableConcept;
156
+ category?: CodeableConcept;
157
157
 
158
158
  /**
159
159
  * Identifies the medication that was administered. This is either a link
@@ -161,7 +161,7 @@ export interface MedicationAdministration {
161
161
  * attribute carrying a code that identifies the medication from a known
162
162
  * list of medications.
163
163
  */
164
- readonly medicationCodeableConcept?: CodeableConcept;
164
+ medicationCodeableConcept?: CodeableConcept;
165
165
 
166
166
  /**
167
167
  * Identifies the medication that was administered. This is either a link
@@ -169,24 +169,24 @@ export interface MedicationAdministration {
169
169
  * attribute carrying a code that identifies the medication from a known
170
170
  * list of medications.
171
171
  */
172
- readonly medicationReference?: Reference<Medication>;
172
+ medicationReference?: Reference<Medication>;
173
173
 
174
174
  /**
175
175
  * The person or animal or group receiving the medication.
176
176
  */
177
- readonly subject?: Reference<Patient | Group>;
177
+ subject?: Reference<Patient | Group>;
178
178
 
179
179
  /**
180
180
  * The visit, admission, or other contact between patient and health care
181
181
  * provider during which the medication administration was performed.
182
182
  */
183
- readonly context?: Reference<Encounter | EpisodeOfCare>;
183
+ context?: Reference<Encounter | EpisodeOfCare>;
184
184
 
185
185
  /**
186
186
  * Additional information (for example, patient height and weight) that
187
187
  * supports the administration of the medication.
188
188
  */
189
- readonly supportingInformation?: Reference<Resource>[];
189
+ supportingInformation?: Reference<Resource>[];
190
190
 
191
191
  /**
192
192
  * A specific date/time or interval of time during which the
@@ -194,7 +194,7 @@ export interface MedicationAdministration {
194
194
  * attribute is true). For many administrations, such as swallowing a
195
195
  * tablet the use of dateTime is more appropriate.
196
196
  */
197
- readonly effectiveDateTime?: string;
197
+ effectiveDateTime?: string;
198
198
 
199
199
  /**
200
200
  * A specific date/time or interval of time during which the
@@ -202,54 +202,54 @@ export interface MedicationAdministration {
202
202
  * attribute is true). For many administrations, such as swallowing a
203
203
  * tablet the use of dateTime is more appropriate.
204
204
  */
205
- readonly effectivePeriod?: Period;
205
+ effectivePeriod?: Period;
206
206
 
207
207
  /**
208
208
  * Indicates who or what performed the medication administration and how
209
209
  * they were involved.
210
210
  */
211
- readonly performer?: MedicationAdministrationPerformer[];
211
+ performer?: MedicationAdministrationPerformer[];
212
212
 
213
213
  /**
214
214
  * A code indicating why the medication was given.
215
215
  */
216
- readonly reasonCode?: CodeableConcept[];
216
+ reasonCode?: CodeableConcept[];
217
217
 
218
218
  /**
219
219
  * Condition or observation that supports why the medication was
220
220
  * administered.
221
221
  */
222
- readonly reasonReference?: Reference<Condition | Observation | DiagnosticReport>[];
222
+ reasonReference?: Reference<Condition | Observation | DiagnosticReport>[];
223
223
 
224
224
  /**
225
225
  * The original request, instruction or authority to perform the
226
226
  * administration.
227
227
  */
228
- readonly request?: Reference<MedicationRequest>;
228
+ request?: Reference<MedicationRequest>;
229
229
 
230
230
  /**
231
231
  * The device used in administering the medication to the patient. For
232
232
  * example, a particular infusion pump.
233
233
  */
234
- readonly device?: Reference<Device>[];
234
+ device?: Reference<Device>[];
235
235
 
236
236
  /**
237
237
  * Extra information about the medication administration that is not
238
238
  * conveyed by the other attributes.
239
239
  */
240
- readonly note?: Annotation[];
240
+ note?: Annotation[];
241
241
 
242
242
  /**
243
243
  * Describes the medication dosage information details e.g. dose, rate,
244
244
  * site, route, etc.
245
245
  */
246
- readonly dosage?: MedicationAdministrationDosage;
246
+ dosage?: MedicationAdministrationDosage;
247
247
 
248
248
  /**
249
249
  * A summary of the events of interest that have occurred, such as when
250
250
  * the administration was verified.
251
251
  */
252
- readonly eventHistory?: Reference<Provenance>[];
252
+ eventHistory?: Reference<Provenance>[];
253
253
  }
254
254
 
255
255
  /**
@@ -262,7 +262,7 @@ export interface MedicationAdministrationDosage {
262
262
  * Unique id for the element within a resource (for internal references).
263
263
  * This may be any string value that does not contain spaces.
264
264
  */
265
- readonly id?: string;
265
+ id?: string;
266
266
 
267
267
  /**
268
268
  * May be used to represent additional information that is not part of
@@ -272,7 +272,7 @@ export interface MedicationAdministrationDosage {
272
272
  * define an extension, there is a set of requirements that SHALL be met
273
273
  * as part of the definition of the extension.
274
274
  */
275
- readonly extension?: Extension[];
275
+ extension?: Extension[];
276
276
 
277
277
  /**
278
278
  * May be used to represent additional information that is not part of
@@ -291,7 +291,7 @@ export interface MedicationAdministrationDosage {
291
291
  * Resource or DomainResource (including cannot change the meaning of
292
292
  * modifierExtension itself).
293
293
  */
294
- readonly modifierExtension?: Extension[];
294
+ modifierExtension?: Extension[];
295
295
 
296
296
  /**
297
297
  * Free text dosage can be used for cases where the dosage administered
@@ -300,20 +300,20 @@ export interface MedicationAdministrationDosage {
300
300
  * instructions should reflect the dosage of the medication that was
301
301
  * administered.
302
302
  */
303
- readonly text?: string;
303
+ text?: string;
304
304
 
305
305
  /**
306
306
  * A coded specification of the anatomic site where the medication first
307
307
  * entered the body. For example, &quot;left arm&quot;.
308
308
  */
309
- readonly site?: CodeableConcept;
309
+ site?: CodeableConcept;
310
310
 
311
311
  /**
312
312
  * A code specifying the route or physiological path of administration of
313
313
  * a therapeutic agent into or onto the patient. For example, topical,
314
314
  * intravenous, etc.
315
315
  */
316
- readonly route?: CodeableConcept;
316
+ route?: CodeableConcept;
317
317
 
318
318
  /**
319
319
  * A coded value indicating the method by which the medication is
@@ -321,14 +321,14 @@ export interface MedicationAdministrationDosage {
321
321
  * will most often NOT be populated. It is most commonly used for
322
322
  * injections. For example, Slow Push, Deep IV.
323
323
  */
324
- readonly method?: CodeableConcept;
324
+ method?: CodeableConcept;
325
325
 
326
326
  /**
327
327
  * The amount of the medication given at one administration event. Use
328
328
  * this value when the administration is essentially an instantaneous
329
329
  * event such as a swallowing a tablet or giving an injection.
330
330
  */
331
- readonly dose?: Quantity;
331
+ dose?: Quantity;
332
332
 
333
333
  /**
334
334
  * Identifies the speed with which the medication was or will be
@@ -337,7 +337,7 @@ export interface MedicationAdministrationDosage {
337
337
  * unit of time, e.g. 500 ml per 2 hours. Other examples: 200 mcg/min
338
338
  * or 200 mcg/1 minute; 1 liter/8 hours.
339
339
  */
340
- readonly rateRatio?: Ratio;
340
+ rateRatio?: Ratio;
341
341
 
342
342
  /**
343
343
  * Identifies the speed with which the medication was or will be
@@ -346,7 +346,7 @@ export interface MedicationAdministrationDosage {
346
346
  * unit of time, e.g. 500 ml per 2 hours. Other examples: 200 mcg/min
347
347
  * or 200 mcg/1 minute; 1 liter/8 hours.
348
348
  */
349
- readonly rateQuantity?: Quantity;
349
+ rateQuantity?: Quantity;
350
350
  }
351
351
 
352
352
  /**
@@ -359,7 +359,7 @@ export interface MedicationAdministrationPerformer {
359
359
  * Unique id for the element within a resource (for internal references).
360
360
  * This may be any string value that does not contain spaces.
361
361
  */
362
- readonly id?: string;
362
+ id?: string;
363
363
 
364
364
  /**
365
365
  * May be used to represent additional information that is not part of
@@ -369,7 +369,7 @@ export interface MedicationAdministrationPerformer {
369
369
  * define an extension, there is a set of requirements that SHALL be met
370
370
  * as part of the definition of the extension.
371
371
  */
372
- readonly extension?: Extension[];
372
+ extension?: Extension[];
373
373
 
374
374
  /**
375
375
  * May be used to represent additional information that is not part of
@@ -388,16 +388,16 @@ export interface MedicationAdministrationPerformer {
388
388
  * Resource or DomainResource (including cannot change the meaning of
389
389
  * modifierExtension itself).
390
390
  */
391
- readonly modifierExtension?: Extension[];
391
+ modifierExtension?: Extension[];
392
392
 
393
393
  /**
394
394
  * Distinguishes the type of involvement of the performer in the
395
395
  * medication administration.
396
396
  */
397
- readonly function?: CodeableConcept;
397
+ function?: CodeableConcept;
398
398
 
399
399
  /**
400
400
  * Indicates who or what performed the medication administration.
401
401
  */
402
- readonly actor?: Reference<Practitioner | PractitionerRole | Patient | RelatedPerson | Device>;
402
+ actor?: Reference<Practitioner | PractitionerRole | Patient | RelatedPerson | Device>;
403
403
  }