@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
@@ -54,14 +54,14 @@ export interface MedicationRequest {
54
54
  * The logical id of the resource, as used in the URL for the resource.
55
55
  * Once assigned, this value never changes.
56
56
  */
57
- readonly id?: string;
57
+ id?: string;
58
58
 
59
59
  /**
60
60
  * The metadata about the resource. This is content that is maintained by
61
61
  * the infrastructure. Changes to the content might not always be
62
62
  * associated with version changes to the resource.
63
63
  */
64
- readonly meta?: Meta;
64
+ meta?: Meta;
65
65
 
66
66
  /**
67
67
  * A reference to a set of rules that were followed when the resource was
@@ -69,12 +69,12 @@ export interface MedicationRequest {
69
69
  * Often, this is a reference to an implementation guide that defines the
70
70
  * special rules along with other profiles etc.
71
71
  */
72
- readonly implicitRules?: string;
72
+ implicitRules?: string;
73
73
 
74
74
  /**
75
75
  * The base language in which the resource is written.
76
76
  */
77
- readonly language?: string;
77
+ language?: string;
78
78
 
79
79
  /**
80
80
  * A human-readable narrative that contains a summary of the resource and
@@ -84,14 +84,14 @@ export interface MedicationRequest {
84
84
  * just read the narrative. Resource definitions may define what content
85
85
  * should be represented in the narrative to ensure clinical safety.
86
86
  */
87
- readonly text?: Narrative;
87
+ text?: Narrative;
88
88
 
89
89
  /**
90
90
  * These resources do not have an independent existence apart from the
91
91
  * resource that contains them - they cannot be identified independently,
92
92
  * and nor can they have their own independent transaction scope.
93
93
  */
94
- readonly contained?: Resource[];
94
+ contained?: Resource[];
95
95
 
96
96
  /**
97
97
  * May be used to represent additional information that is not part of
@@ -101,7 +101,7 @@ export interface MedicationRequest {
101
101
  * define an extension, there is a set of requirements that SHALL be met
102
102
  * as part of the definition of the extension.
103
103
  */
104
- readonly extension?: Extension[];
104
+ extension?: Extension[];
105
105
 
106
106
  /**
107
107
  * May be used to represent additional information that is not part of
@@ -119,7 +119,7 @@ export interface MedicationRequest {
119
119
  * Resource or DomainResource (including cannot change the meaning of
120
120
  * modifierExtension itself).
121
121
  */
122
- readonly modifierExtension?: Extension[];
122
+ modifierExtension?: Extension[];
123
123
 
124
124
  /**
125
125
  * Identifiers associated with this medication request that are defined
@@ -129,56 +129,56 @@ export interface MedicationRequest {
129
129
  * systems and remain constant as the resource is updated and propagates
130
130
  * from server to server.
131
131
  */
132
- readonly identifier?: Identifier[];
132
+ identifier?: Identifier[];
133
133
 
134
134
  /**
135
135
  * A code specifying the current state of the order. Generally, this
136
136
  * will be active or completed state.
137
137
  */
138
- readonly status?: string;
138
+ status?: string;
139
139
 
140
140
  /**
141
141
  * Captures the reason for the current state of the MedicationRequest.
142
142
  */
143
- readonly statusReason?: CodeableConcept;
143
+ statusReason?: CodeableConcept;
144
144
 
145
145
  /**
146
146
  * Whether the request is a proposal, plan, or an original order.
147
147
  */
148
- readonly intent?: string;
148
+ intent?: string;
149
149
 
150
150
  /**
151
151
  * Indicates the type of medication request (for example, where the
152
152
  * medication is expected to be consumed or administered (i.e. inpatient
153
153
  * or outpatient)).
154
154
  */
155
- readonly category?: CodeableConcept[];
155
+ category?: CodeableConcept[];
156
156
 
157
157
  /**
158
158
  * Indicates how quickly the Medication Request should be addressed with
159
159
  * respect to other requests.
160
160
  */
161
- readonly priority?: string;
161
+ priority?: string;
162
162
 
163
163
  /**
164
164
  * If true indicates that the provider is asking for the medication
165
165
  * request not to occur.
166
166
  */
167
- readonly doNotPerform?: boolean;
167
+ doNotPerform?: boolean;
168
168
 
169
169
  /**
170
170
  * Indicates if this record was captured as a secondary 'reported' record
171
171
  * rather than as an original primary source-of-truth record. It may
172
172
  * also indicate the source of the report.
173
173
  */
174
- readonly reportedBoolean?: boolean;
174
+ reportedBoolean?: boolean;
175
175
 
176
176
  /**
177
177
  * Indicates if this record was captured as a secondary 'reported' record
178
178
  * rather than as an original primary source-of-truth record. It may
179
179
  * also indicate the source of the report.
180
180
  */
181
- readonly reportedReference?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson | Organization>;
181
+ reportedReference?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson | Organization>;
182
182
 
183
183
  /**
184
184
  * Identifies the medication being requested. This is a link to a
@@ -186,7 +186,7 @@ export interface MedicationRequest {
186
186
  * the medication or simply an attribute carrying a code that identifies
187
187
  * the medication from a known list of medications.
188
188
  */
189
- readonly medicationCodeableConcept?: CodeableConcept;
189
+ medicationCodeableConcept?: CodeableConcept;
190
190
 
191
191
  /**
192
192
  * Identifies the medication being requested. This is a link to a
@@ -194,117 +194,117 @@ export interface MedicationRequest {
194
194
  * the medication or simply an attribute carrying a code that identifies
195
195
  * the medication from a known list of medications.
196
196
  */
197
- readonly medicationReference?: Reference<Medication>;
197
+ medicationReference?: Reference<Medication>;
198
198
 
199
199
  /**
200
200
  * A link to a resource representing the person or set of individuals to
201
201
  * whom the medication will be given.
202
202
  */
203
- readonly subject?: Reference<Patient | Group>;
203
+ subject?: Reference<Patient | Group>;
204
204
 
205
205
  /**
206
206
  * The Encounter during which this [x] was created or to which the
207
207
  * creation of this record is tightly associated.
208
208
  */
209
- readonly encounter?: Reference<Encounter>;
209
+ encounter?: Reference<Encounter>;
210
210
 
211
211
  /**
212
212
  * Include additional information (for example, patient height and
213
213
  * weight) that supports the ordering of the medication.
214
214
  */
215
- readonly supportingInformation?: Reference<Resource>[];
215
+ supportingInformation?: Reference<Resource>[];
216
216
 
217
217
  /**
218
218
  * The date (and perhaps time) when the prescription was initially
219
219
  * written or authored on.
220
220
  */
221
- readonly authoredOn?: string;
221
+ authoredOn?: string;
222
222
 
223
223
  /**
224
224
  * The individual, organization, or device that initiated the request and
225
225
  * has responsibility for its activation.
226
226
  */
227
- readonly requester?: Reference<Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device>;
227
+ requester?: Reference<Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device>;
228
228
 
229
229
  /**
230
230
  * The specified desired performer of the medication treatment (e.g. the
231
231
  * performer of the medication administration).
232
232
  */
233
- readonly performer?: Reference<Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam>;
233
+ performer?: Reference<Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam>;
234
234
 
235
235
  /**
236
236
  * Indicates the type of performer of the administration of the
237
237
  * medication.
238
238
  */
239
- readonly performerType?: CodeableConcept;
239
+ performerType?: CodeableConcept;
240
240
 
241
241
  /**
242
242
  * The person who entered the order on behalf of another individual for
243
243
  * example in the case of a verbal or a telephone order.
244
244
  */
245
- readonly recorder?: Reference<Practitioner | PractitionerRole>;
245
+ recorder?: Reference<Practitioner | PractitionerRole>;
246
246
 
247
247
  /**
248
248
  * The reason or the indication for ordering or not ordering the
249
249
  * medication.
250
250
  */
251
- readonly reasonCode?: CodeableConcept[];
251
+ reasonCode?: CodeableConcept[];
252
252
 
253
253
  /**
254
254
  * Condition or observation that supports why the medication was ordered.
255
255
  */
256
- readonly reasonReference?: Reference<Condition | Observation>[];
256
+ reasonReference?: Reference<Condition | Observation>[];
257
257
 
258
258
  /**
259
259
  * The URL pointing to a protocol, guideline, orderset, or other
260
260
  * definition that is adhered to in whole or in part by this
261
261
  * MedicationRequest.
262
262
  */
263
- readonly instantiatesCanonical?: string[];
263
+ instantiatesCanonical?: string[];
264
264
 
265
265
  /**
266
266
  * The URL pointing to an externally maintained protocol, guideline,
267
267
  * orderset or other definition that is adhered to in whole or in part by
268
268
  * this MedicationRequest.
269
269
  */
270
- readonly instantiatesUri?: string[];
270
+ instantiatesUri?: string[];
271
271
 
272
272
  /**
273
273
  * A plan or request that is fulfilled in whole or in part by this
274
274
  * medication request.
275
275
  */
276
- readonly basedOn?: Reference<CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation>[];
276
+ basedOn?: Reference<CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation>[];
277
277
 
278
278
  /**
279
279
  * A shared identifier common to all requests that were authorized more
280
280
  * or less simultaneously by a single author, representing the identifier
281
281
  * of the requisition or prescription.
282
282
  */
283
- readonly groupIdentifier?: Identifier;
283
+ groupIdentifier?: Identifier;
284
284
 
285
285
  /**
286
286
  * The description of the overall patte3rn of the administration of the
287
287
  * medication to the patient.
288
288
  */
289
- readonly courseOfTherapyType?: CodeableConcept;
289
+ courseOfTherapyType?: CodeableConcept;
290
290
 
291
291
  /**
292
292
  * Insurance plans, coverage extensions, pre-authorizations and/or
293
293
  * pre-determinations that may be required for delivering the requested
294
294
  * service.
295
295
  */
296
- readonly insurance?: Reference<Coverage | ClaimResponse>[];
296
+ insurance?: Reference<Coverage | ClaimResponse>[];
297
297
 
298
298
  /**
299
299
  * Extra information about the prescription that could not be conveyed by
300
300
  * the other attributes.
301
301
  */
302
- readonly note?: Annotation[];
302
+ note?: Annotation[];
303
303
 
304
304
  /**
305
305
  * Indicates how the medication is to be used by the patient.
306
306
  */
307
- readonly dosageInstruction?: Dosage[];
307
+ dosageInstruction?: Dosage[];
308
308
 
309
309
  /**
310
310
  * Indicates the specific details for the dispense or medication supply
@@ -314,7 +314,7 @@ export interface MedicationRequest {
314
314
  * institutional or system support for completing the dispense details in
315
315
  * the pharmacy department.
316
316
  */
317
- readonly dispenseRequest?: MedicationRequestDispenseRequest;
317
+ dispenseRequest?: MedicationRequestDispenseRequest;
318
318
 
319
319
  /**
320
320
  * Indicates whether or not substitution can or should be part of the
@@ -322,20 +322,20 @@ export interface MedicationRequest {
322
322
  * substitution must not happen. This block explains the prescriber's
323
323
  * intent. If nothing is specified substitution may be done.
324
324
  */
325
- readonly substitution?: MedicationRequestSubstitution;
325
+ substitution?: MedicationRequestSubstitution;
326
326
 
327
327
  /**
328
328
  * A link to a resource representing an earlier order related order or
329
329
  * prescription.
330
330
  */
331
- readonly priorPrescription?: Reference<MedicationRequest>;
331
+ priorPrescription?: Reference<MedicationRequest>;
332
332
 
333
333
  /**
334
334
  * Indicates an actual or potential clinical issue with or between one or
335
335
  * more active or proposed clinical actions for a patient; e.g. Drug-drug
336
336
  * interaction, duplicate therapy, dosage alert etc.
337
337
  */
338
- readonly detectedIssue?: Reference<DetectedIssue>[];
338
+ detectedIssue?: Reference<DetectedIssue>[];
339
339
 
340
340
  /**
341
341
  * Links to Provenance records for past versions of this resource or
@@ -343,7 +343,7 @@ export interface MedicationRequest {
343
343
  * transitions or updates that are likely to be relevant to a user
344
344
  * looking at the current version of the resource.
345
345
  */
346
- readonly eventHistory?: Reference<Provenance>[];
346
+ eventHistory?: Reference<Provenance>[];
347
347
  }
348
348
 
349
349
  /**
@@ -360,7 +360,7 @@ export interface MedicationRequestDispenseRequest {
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 MedicationRequestDispenseRequest {
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,25 +389,25 @@ export interface MedicationRequestDispenseRequest {
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
  * Indicates the quantity or duration for the first dispense of the
396
396
  * medication.
397
397
  */
398
- readonly initialFill?: MedicationRequestDispenseRequestInitialFill;
398
+ initialFill?: MedicationRequestDispenseRequestInitialFill;
399
399
 
400
400
  /**
401
401
  * The minimum period of time that must occur between dispenses of the
402
402
  * medication.
403
403
  */
404
- readonly dispenseInterval?: Duration;
404
+ dispenseInterval?: Duration;
405
405
 
406
406
  /**
407
407
  * This indicates the validity period of a prescription (stale dating the
408
408
  * Prescription).
409
409
  */
410
- readonly validityPeriod?: Period;
410
+ validityPeriod?: Period;
411
411
 
412
412
  /**
413
413
  * An integer indicating the number of times, in addition to the original
@@ -419,24 +419,24 @@ export interface MedicationRequestDispenseRequest {
419
419
  * A prescriber may explicitly say that zero refills are permitted after
420
420
  * the initial dispense.
421
421
  */
422
- readonly numberOfRepeatsAllowed?: number;
422
+ numberOfRepeatsAllowed?: number;
423
423
 
424
424
  /**
425
425
  * The amount that is to be dispensed for one fill.
426
426
  */
427
- readonly quantity?: Quantity;
427
+ quantity?: Quantity;
428
428
 
429
429
  /**
430
430
  * Identifies the period time over which the supplied product is expected
431
431
  * to be used, or the length of time the dispense is expected to last.
432
432
  */
433
- readonly expectedSupplyDuration?: Duration;
433
+ expectedSupplyDuration?: Duration;
434
434
 
435
435
  /**
436
436
  * Indicates the intended dispensing Organization specified by the
437
437
  * prescriber.
438
438
  */
439
- readonly performer?: Reference<Organization>;
439
+ performer?: Reference<Organization>;
440
440
  }
441
441
 
442
442
  /**
@@ -449,7 +449,7 @@ export interface MedicationRequestDispenseRequestInitialFill {
449
449
  * Unique id for the element within a resource (for internal references).
450
450
  * This may be any string value that does not contain spaces.
451
451
  */
452
- readonly id?: string;
452
+ id?: string;
453
453
 
454
454
  /**
455
455
  * May be used to represent additional information that is not part of
@@ -459,7 +459,7 @@ export interface MedicationRequestDispenseRequestInitialFill {
459
459
  * define an extension, there is a set of requirements that SHALL be met
460
460
  * as part of the definition of the extension.
461
461
  */
462
- readonly extension?: Extension[];
462
+ extension?: Extension[];
463
463
 
464
464
  /**
465
465
  * May be used to represent additional information that is not part of
@@ -478,17 +478,17 @@ export interface MedicationRequestDispenseRequestInitialFill {
478
478
  * Resource or DomainResource (including cannot change the meaning of
479
479
  * modifierExtension itself).
480
480
  */
481
- readonly modifierExtension?: Extension[];
481
+ modifierExtension?: Extension[];
482
482
 
483
483
  /**
484
484
  * The amount or quantity to provide as part of the first dispense.
485
485
  */
486
- readonly quantity?: Quantity;
486
+ quantity?: Quantity;
487
487
 
488
488
  /**
489
489
  * The length of time that the first dispense is expected to last.
490
490
  */
491
- readonly duration?: Duration;
491
+ duration?: Duration;
492
492
  }
493
493
 
494
494
  /**
@@ -503,7 +503,7 @@ export interface MedicationRequestSubstitution {
503
503
  * Unique id for the element within a resource (for internal references).
504
504
  * This may be any string value that does not contain spaces.
505
505
  */
506
- readonly id?: string;
506
+ id?: string;
507
507
 
508
508
  /**
509
509
  * May be used to represent additional information that is not part of
@@ -513,7 +513,7 @@ export interface MedicationRequestSubstitution {
513
513
  * define an extension, there is a set of requirements that SHALL be met
514
514
  * as part of the definition of the extension.
515
515
  */
516
- readonly extension?: Extension[];
516
+ extension?: Extension[];
517
517
 
518
518
  /**
519
519
  * May be used to represent additional information that is not part of
@@ -532,23 +532,23 @@ export interface MedicationRequestSubstitution {
532
532
  * Resource or DomainResource (including cannot change the meaning of
533
533
  * modifierExtension itself).
534
534
  */
535
- readonly modifierExtension?: Extension[];
535
+ modifierExtension?: Extension[];
536
536
 
537
537
  /**
538
538
  * True if the prescriber allows a different drug to be dispensed from
539
539
  * what was prescribed.
540
540
  */
541
- readonly allowedBoolean?: boolean;
541
+ allowedBoolean?: boolean;
542
542
 
543
543
  /**
544
544
  * True if the prescriber allows a different drug to be dispensed from
545
545
  * what was prescribed.
546
546
  */
547
- readonly allowedCodeableConcept?: CodeableConcept;
547
+ allowedCodeableConcept?: CodeableConcept;
548
548
 
549
549
  /**
550
550
  * Indicates the reason for the substitution, or why substitution must or
551
551
  * must not be performed.
552
552
  */
553
- readonly reason?: CodeableConcept;
553
+ reason?: CodeableConcept;
554
554
  }
@@ -70,14 +70,14 @@ export interface MedicationStatement {
70
70
  * The logical id of the resource, as used in the URL for the resource.
71
71
  * Once assigned, this value never changes.
72
72
  */
73
- readonly id?: string;
73
+ id?: string;
74
74
 
75
75
  /**
76
76
  * The metadata about the resource. This is content that is maintained by
77
77
  * the infrastructure. Changes to the content might not always be
78
78
  * associated with version changes to the resource.
79
79
  */
80
- readonly meta?: Meta;
80
+ meta?: Meta;
81
81
 
82
82
  /**
83
83
  * A reference to a set of rules that were followed when the resource was
@@ -85,12 +85,12 @@ export interface MedicationStatement {
85
85
  * Often, this is a reference to an implementation guide that defines the
86
86
  * special rules along with other profiles etc.
87
87
  */
88
- readonly implicitRules?: string;
88
+ implicitRules?: string;
89
89
 
90
90
  /**
91
91
  * The base language in which the resource is written.
92
92
  */
93
- readonly language?: string;
93
+ language?: string;
94
94
 
95
95
  /**
96
96
  * A human-readable narrative that contains a summary of the resource and
@@ -100,14 +100,14 @@ export interface MedicationStatement {
100
100
  * just read the narrative. Resource definitions may define what content
101
101
  * should be represented in the narrative to ensure clinical safety.
102
102
  */
103
- readonly text?: Narrative;
103
+ text?: Narrative;
104
104
 
105
105
  /**
106
106
  * These resources do not have an independent existence apart from the
107
107
  * resource that contains them - they cannot be identified independently,
108
108
  * and nor can they have their own independent transaction scope.
109
109
  */
110
- readonly contained?: Resource[];
110
+ contained?: Resource[];
111
111
 
112
112
  /**
113
113
  * May be used to represent additional information that is not part of
@@ -117,7 +117,7 @@ export interface MedicationStatement {
117
117
  * define an extension, there is a set of requirements that SHALL be met
118
118
  * as part of the definition of the extension.
119
119
  */
120
- readonly extension?: Extension[];
120
+ extension?: Extension[];
121
121
 
122
122
  /**
123
123
  * May be used to represent additional information that is not part of
@@ -135,7 +135,7 @@ export interface MedicationStatement {
135
135
  * Resource or DomainResource (including cannot change the meaning of
136
136
  * modifierExtension itself).
137
137
  */
138
- readonly modifierExtension?: Extension[];
138
+ modifierExtension?: Extension[];
139
139
 
140
140
  /**
141
141
  * Identifiers associated with this Medication Statement that are defined
@@ -145,36 +145,36 @@ export interface MedicationStatement {
145
145
  * systems and remain constant as the resource is updated and propagates
146
146
  * from server to server.
147
147
  */
148
- readonly identifier?: Identifier[];
148
+ identifier?: Identifier[];
149
149
 
150
150
  /**
151
151
  * A plan, proposal or order that is fulfilled in whole or in part by
152
152
  * this event.
153
153
  */
154
- readonly basedOn?: Reference<MedicationRequest | CarePlan | ServiceRequest>[];
154
+ basedOn?: Reference<MedicationRequest | CarePlan | ServiceRequest>[];
155
155
 
156
156
  /**
157
157
  * A larger event of which this particular event is a component or step.
158
158
  */
159
- readonly partOf?: Reference<MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation>[];
159
+ partOf?: Reference<MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation>[];
160
160
 
161
161
  /**
162
162
  * A code representing the patient or other source's judgment about the
163
163
  * state of the medication used that this statement is about. Generally,
164
164
  * this will be active or completed.
165
165
  */
166
- readonly status?: string;
166
+ status?: string;
167
167
 
168
168
  /**
169
169
  * Captures the reason for the current state of the MedicationStatement.
170
170
  */
171
- readonly statusReason?: CodeableConcept[];
171
+ statusReason?: CodeableConcept[];
172
172
 
173
173
  /**
174
174
  * Indicates where the medication is expected to be consumed or
175
175
  * administered.
176
176
  */
177
- readonly category?: CodeableConcept;
177
+ category?: CodeableConcept;
178
178
 
179
179
  /**
180
180
  * Identifies the medication being administered. This is either a link to
@@ -182,7 +182,7 @@ export interface MedicationStatement {
182
182
  * attribute carrying a code that identifies the medication from a known
183
183
  * list of medications.
184
184
  */
185
- readonly medicationCodeableConcept?: CodeableConcept;
185
+ medicationCodeableConcept?: CodeableConcept;
186
186
 
187
187
  /**
188
188
  * Identifies the medication being administered. This is either a link to
@@ -190,38 +190,38 @@ export interface MedicationStatement {
190
190
  * attribute carrying a code that identifies the medication from a known
191
191
  * list of medications.
192
192
  */
193
- readonly medicationReference?: Reference<Medication>;
193
+ medicationReference?: Reference<Medication>;
194
194
 
195
195
  /**
196
196
  * The person, animal or group who is/was taking the medication.
197
197
  */
198
- readonly subject?: Reference<Patient | Group>;
198
+ subject?: Reference<Patient | Group>;
199
199
 
200
200
  /**
201
201
  * The encounter or episode of care that establishes the context for this
202
202
  * MedicationStatement.
203
203
  */
204
- readonly context?: Reference<Encounter | EpisodeOfCare>;
204
+ context?: Reference<Encounter | EpisodeOfCare>;
205
205
 
206
206
  /**
207
207
  * The interval of time during which it is being asserted that the
208
208
  * patient is/was/will be taking the medication (or was not taking, when
209
209
  * the MedicationStatement.taken element is No).
210
210
  */
211
- readonly effectiveDateTime?: string;
211
+ effectiveDateTime?: string;
212
212
 
213
213
  /**
214
214
  * The interval of time during which it is being asserted that the
215
215
  * patient is/was/will be taking the medication (or was not taking, when
216
216
  * the MedicationStatement.taken element is No).
217
217
  */
218
- readonly effectivePeriod?: Period;
218
+ effectivePeriod?: Period;
219
219
 
220
220
  /**
221
221
  * The date when the medication statement was asserted by the information
222
222
  * source.
223
223
  */
224
- readonly dateAsserted?: string;
224
+ dateAsserted?: string;
225
225
 
226
226
  /**
227
227
  * The person or organization that provided the information about the
@@ -229,34 +229,34 @@ export interface MedicationStatement {
229
229
  * MedicationStatement is derived from other resources, e.g. Claim or
230
230
  * MedicationRequest.
231
231
  */
232
- readonly informationSource?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson | Organization>;
232
+ informationSource?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson | Organization>;
233
233
 
234
234
  /**
235
235
  * Allows linking the MedicationStatement to the underlying
236
236
  * MedicationRequest, or to other information that supports or is used to
237
237
  * derive the MedicationStatement.
238
238
  */
239
- readonly derivedFrom?: Reference<Resource>[];
239
+ derivedFrom?: Reference<Resource>[];
240
240
 
241
241
  /**
242
242
  * A reason for why the medication is being/was taken.
243
243
  */
244
- readonly reasonCode?: CodeableConcept[];
244
+ reasonCode?: CodeableConcept[];
245
245
 
246
246
  /**
247
247
  * Condition or observation that supports why the medication is being/was
248
248
  * taken.
249
249
  */
250
- readonly reasonReference?: Reference<Condition | Observation | DiagnosticReport>[];
250
+ reasonReference?: Reference<Condition | Observation | DiagnosticReport>[];
251
251
 
252
252
  /**
253
253
  * Provides extra information about the medication statement that is not
254
254
  * conveyed by the other attributes.
255
255
  */
256
- readonly note?: Annotation[];
256
+ note?: Annotation[];
257
257
 
258
258
  /**
259
259
  * Indicates how the medication is/was or should be taken by the patient.
260
260
  */
261
- readonly dosage?: Dosage[];
261
+ dosage?: Dosage[];
262
262
  }