@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
@@ -49,14 +49,14 @@ export interface AdverseEvent {
49
49
  * The logical id of the resource, as used in the URL for the resource.
50
50
  * Once assigned, this value never changes.
51
51
  */
52
- readonly id?: string;
52
+ id?: string;
53
53
 
54
54
  /**
55
55
  * The metadata about the resource. This is content that is maintained by
56
56
  * the infrastructure. Changes to the content might not always be
57
57
  * associated with version changes to the resource.
58
58
  */
59
- readonly meta?: Meta;
59
+ meta?: Meta;
60
60
 
61
61
  /**
62
62
  * A reference to a set of rules that were followed when the resource was
@@ -64,12 +64,12 @@ export interface AdverseEvent {
64
64
  * Often, this is a reference to an implementation guide that defines the
65
65
  * special rules along with other profiles etc.
66
66
  */
67
- readonly implicitRules?: string;
67
+ implicitRules?: string;
68
68
 
69
69
  /**
70
70
  * The base language in which the resource is written.
71
71
  */
72
- readonly language?: string;
72
+ language?: string;
73
73
 
74
74
  /**
75
75
  * A human-readable narrative that contains a summary of the resource and
@@ -79,14 +79,14 @@ export interface AdverseEvent {
79
79
  * just read the narrative. Resource definitions may define what content
80
80
  * should be represented in the narrative to ensure clinical safety.
81
81
  */
82
- readonly text?: Narrative;
82
+ text?: Narrative;
83
83
 
84
84
  /**
85
85
  * These resources do not have an independent existence apart from the
86
86
  * resource that contains them - they cannot be identified independently,
87
87
  * and nor can they have their own independent transaction scope.
88
88
  */
89
- readonly contained?: Resource[];
89
+ contained?: Resource[];
90
90
 
91
91
  /**
92
92
  * May be used to represent additional information that is not part of
@@ -96,7 +96,7 @@ export interface AdverseEvent {
96
96
  * define an extension, there is a set of requirements that SHALL be met
97
97
  * as part of the definition of the extension.
98
98
  */
99
- readonly extension?: Extension[];
99
+ extension?: Extension[];
100
100
 
101
101
  /**
102
102
  * May be used to represent additional information that is not part of
@@ -114,94 +114,94 @@ export interface AdverseEvent {
114
114
  * Resource or DomainResource (including cannot change the meaning of
115
115
  * modifierExtension itself).
116
116
  */
117
- readonly modifierExtension?: Extension[];
117
+ modifierExtension?: Extension[];
118
118
 
119
119
  /**
120
120
  * Business identifiers assigned to this adverse event by the performer
121
121
  * or other systems which remain constant as the resource is updated and
122
122
  * propagates from server to server.
123
123
  */
124
- readonly identifier?: Identifier;
124
+ identifier?: Identifier;
125
125
 
126
126
  /**
127
127
  * Whether the event actually happened, or just had the potential to.
128
128
  * Note that this is independent of whether anyone was affected or harmed
129
129
  * or how severely.
130
130
  */
131
- readonly actuality?: string;
131
+ actuality?: string;
132
132
 
133
133
  /**
134
134
  * The overall type of event, intended for search and filtering purposes.
135
135
  */
136
- readonly category?: CodeableConcept[];
136
+ category?: CodeableConcept[];
137
137
 
138
138
  /**
139
139
  * This element defines the specific type of event that occurred or that
140
140
  * was prevented from occurring.
141
141
  */
142
- readonly event?: CodeableConcept;
142
+ event?: CodeableConcept;
143
143
 
144
144
  /**
145
145
  * This subject or group impacted by the event.
146
146
  */
147
- readonly subject?: Reference<Patient | Group | Practitioner | RelatedPerson>;
147
+ subject?: Reference<Patient | Group | Practitioner | RelatedPerson>;
148
148
 
149
149
  /**
150
150
  * The Encounter during which AdverseEvent was created or to which the
151
151
  * creation of this record is tightly associated.
152
152
  */
153
- readonly encounter?: Reference<Encounter>;
153
+ encounter?: Reference<Encounter>;
154
154
 
155
155
  /**
156
156
  * The date (and perhaps time) when the adverse event occurred.
157
157
  */
158
- readonly date?: string;
158
+ date?: string;
159
159
 
160
160
  /**
161
161
  * Estimated or actual date the AdverseEvent began, in the opinion of the
162
162
  * reporter.
163
163
  */
164
- readonly detected?: string;
164
+ detected?: string;
165
165
 
166
166
  /**
167
167
  * The date on which the existence of the AdverseEvent was first
168
168
  * recorded.
169
169
  */
170
- readonly recordedDate?: string;
170
+ recordedDate?: string;
171
171
 
172
172
  /**
173
173
  * Includes information about the reaction that occurred as a result of
174
174
  * exposure to a substance (for example, a drug or a chemical).
175
175
  */
176
- readonly resultingCondition?: Reference<Condition>[];
176
+ resultingCondition?: Reference<Condition>[];
177
177
 
178
178
  /**
179
179
  * The information about where the adverse event occurred.
180
180
  */
181
- readonly location?: Reference<Location>;
181
+ location?: Reference<Location>;
182
182
 
183
183
  /**
184
184
  * Assessment whether this event was of real importance.
185
185
  */
186
- readonly seriousness?: CodeableConcept;
186
+ seriousness?: CodeableConcept;
187
187
 
188
188
  /**
189
189
  * Describes the severity of the adverse event, in relation to the
190
190
  * subject. Contrast to AdverseEvent.seriousness - a severe rash might
191
191
  * not be serious, but a mild heart problem is.
192
192
  */
193
- readonly severity?: CodeableConcept;
193
+ severity?: CodeableConcept;
194
194
 
195
195
  /**
196
196
  * Describes the type of outcome from the adverse event.
197
197
  */
198
- readonly outcome?: CodeableConcept;
198
+ outcome?: CodeableConcept;
199
199
 
200
200
  /**
201
201
  * Information on who recorded the adverse event. May be the patient or
202
202
  * a practitioner.
203
203
  */
204
- readonly recorder?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson>;
204
+ recorder?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson>;
205
205
 
206
206
  /**
207
207
  * Parties that may or should contribute or have contributed information
@@ -212,29 +212,29 @@ export interface AdverseEvent {
212
212
  * (e.g. informant of clinical history), or information about what
213
213
  * activity was performed (e.g. informant witness).
214
214
  */
215
- readonly contributor?: Reference<Practitioner | PractitionerRole | Device>[];
215
+ contributor?: Reference<Practitioner | PractitionerRole | Device>[];
216
216
 
217
217
  /**
218
218
  * Describes the entity that is suspected to have caused the adverse
219
219
  * event.
220
220
  */
221
- readonly suspectEntity?: AdverseEventSuspectEntity[];
221
+ suspectEntity?: AdverseEventSuspectEntity[];
222
222
 
223
223
  /**
224
224
  * AdverseEvent.subjectMedicalHistory.
225
225
  */
226
- readonly subjectMedicalHistory?: Reference<Condition | Observation | AllergyIntolerance | FamilyMemberHistory |
227
- Immunization | Procedure | Media | DocumentReference>[];
226
+ subjectMedicalHistory?: Reference<Condition | Observation | AllergyIntolerance | FamilyMemberHistory | Immunization
227
+ | Procedure | Media | DocumentReference>[];
228
228
 
229
229
  /**
230
230
  * AdverseEvent.referenceDocument.
231
231
  */
232
- readonly referenceDocument?: Reference<DocumentReference>[];
232
+ referenceDocument?: Reference<DocumentReference>[];
233
233
 
234
234
  /**
235
235
  * AdverseEvent.study.
236
236
  */
237
- readonly study?: Reference<ResearchStudy>[];
237
+ study?: Reference<ResearchStudy>[];
238
238
  }
239
239
 
240
240
  /**
@@ -247,7 +247,7 @@ export interface AdverseEventSuspectEntity {
247
247
  * Unique id for the element within a resource (for internal references).
248
248
  * This may be any string value that does not contain spaces.
249
249
  */
250
- readonly id?: string;
250
+ id?: string;
251
251
 
252
252
  /**
253
253
  * May be used to represent additional information that is not part of
@@ -257,7 +257,7 @@ export interface AdverseEventSuspectEntity {
257
257
  * define an extension, there is a set of requirements that SHALL be met
258
258
  * as part of the definition of the extension.
259
259
  */
260
- readonly extension?: Extension[];
260
+ extension?: Extension[];
261
261
 
262
262
  /**
263
263
  * May be used to represent additional information that is not part of
@@ -276,19 +276,19 @@ export interface AdverseEventSuspectEntity {
276
276
  * Resource or DomainResource (including cannot change the meaning of
277
277
  * modifierExtension itself).
278
278
  */
279
- readonly modifierExtension?: Extension[];
279
+ modifierExtension?: Extension[];
280
280
 
281
281
  /**
282
282
  * Identifies the actual instance of what caused the adverse event. May
283
283
  * be a substance, medication, medication administration, medication
284
284
  * statement or a device.
285
285
  */
286
- readonly instance?: Reference<Immunization | Procedure | Substance | Medication | MedicationAdministration | MedicationStatement | Device>;
286
+ instance?: Reference<Immunization | Procedure | Substance | Medication | MedicationAdministration | MedicationStatement | Device>;
287
287
 
288
288
  /**
289
289
  * Information on the possible cause of the event.
290
290
  */
291
- readonly causality?: AdverseEventSuspectEntityCausality[];
291
+ causality?: AdverseEventSuspectEntityCausality[];
292
292
  }
293
293
 
294
294
  /**
@@ -300,7 +300,7 @@ export interface AdverseEventSuspectEntityCausality {
300
300
  * Unique id for the element within a resource (for internal references).
301
301
  * This may be any string value that does not contain spaces.
302
302
  */
303
- readonly id?: string;
303
+ id?: string;
304
304
 
305
305
  /**
306
306
  * May be used to represent additional information that is not part of
@@ -310,7 +310,7 @@ export interface AdverseEventSuspectEntityCausality {
310
310
  * define an extension, there is a set of requirements that SHALL be met
311
311
  * as part of the definition of the extension.
312
312
  */
313
- readonly extension?: Extension[];
313
+ extension?: Extension[];
314
314
 
315
315
  /**
316
316
  * May be used to represent additional information that is not part of
@@ -329,25 +329,25 @@ export interface AdverseEventSuspectEntityCausality {
329
329
  * Resource or DomainResource (including cannot change the meaning of
330
330
  * modifierExtension itself).
331
331
  */
332
- readonly modifierExtension?: Extension[];
332
+ modifierExtension?: Extension[];
333
333
 
334
334
  /**
335
335
  * Assessment of if the entity caused the event.
336
336
  */
337
- readonly assessment?: CodeableConcept;
337
+ assessment?: CodeableConcept;
338
338
 
339
339
  /**
340
340
  * AdverseEvent.suspectEntity.causalityProductRelatedness.
341
341
  */
342
- readonly productRelatedness?: string;
342
+ productRelatedness?: string;
343
343
 
344
344
  /**
345
345
  * AdverseEvent.suspectEntity.causalityAuthor.
346
346
  */
347
- readonly author?: Reference<Practitioner | PractitionerRole>;
347
+ author?: Reference<Practitioner | PractitionerRole>;
348
348
 
349
349
  /**
350
350
  * ProbabilityScale | Bayesian | Checklist.
351
351
  */
352
- readonly method?: CodeableConcept;
352
+ method?: CodeableConcept;
353
353
  }
package/dist/Age.d.ts CHANGED
@@ -15,7 +15,7 @@ export interface Age {
15
15
  * Unique id for the element within a resource (for internal references).
16
16
  * This may be any string value that does not contain spaces.
17
17
  */
18
- readonly id?: string;
18
+ id?: string;
19
19
 
20
20
  /**
21
21
  * May be used to represent additional information that is not part of
@@ -25,13 +25,13 @@ export interface Age {
25
25
  * define an extension, there is a set of requirements that SHALL be met
26
26
  * as part of the definition of the extension.
27
27
  */
28
- readonly extension?: Extension[];
28
+ extension?: Extension[];
29
29
 
30
30
  /**
31
31
  * The value of the measured amount. The value includes an implicit
32
32
  * precision in the presentation of the value.
33
33
  */
34
- readonly value?: number;
34
+ value?: number;
35
35
 
36
36
  /**
37
37
  * How the value should be understood and represented - whether the
@@ -39,22 +39,22 @@ export interface Age {
39
39
  * measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real
40
40
  * value is &lt; stated value.
41
41
  */
42
- readonly comparator?: string;
42
+ comparator?: string;
43
43
 
44
44
  /**
45
45
  * A human-readable form of the unit.
46
46
  */
47
- readonly unit?: string;
47
+ unit?: string;
48
48
 
49
49
  /**
50
50
  * The identification of the system that provides the coded form of the
51
51
  * unit.
52
52
  */
53
- readonly system?: string;
53
+ system?: string;
54
54
 
55
55
  /**
56
56
  * A computer processable form of the unit in some unit representation
57
57
  * system.
58
58
  */
59
- readonly code?: string;
59
+ code?: string;
60
60
  }
@@ -35,14 +35,14 @@ export interface AllergyIntolerance {
35
35
  * The logical id of the resource, as used in the URL for the resource.
36
36
  * Once assigned, this value never changes.
37
37
  */
38
- readonly id?: string;
38
+ id?: string;
39
39
 
40
40
  /**
41
41
  * The metadata about the resource. This is content that is maintained by
42
42
  * the infrastructure. Changes to the content might not always be
43
43
  * associated with version changes to the resource.
44
44
  */
45
- readonly meta?: Meta;
45
+ meta?: Meta;
46
46
 
47
47
  /**
48
48
  * A reference to a set of rules that were followed when the resource was
@@ -50,12 +50,12 @@ export interface AllergyIntolerance {
50
50
  * Often, this is a reference to an implementation guide that defines the
51
51
  * special rules along with other profiles etc.
52
52
  */
53
- readonly implicitRules?: string;
53
+ implicitRules?: string;
54
54
 
55
55
  /**
56
56
  * The base language in which the resource is written.
57
57
  */
58
- readonly language?: string;
58
+ language?: string;
59
59
 
60
60
  /**
61
61
  * A human-readable narrative that contains a summary of the resource and
@@ -65,14 +65,14 @@ export interface AllergyIntolerance {
65
65
  * just read the narrative. Resource definitions may define what content
66
66
  * should be represented in the narrative to ensure clinical safety.
67
67
  */
68
- readonly text?: Narrative;
68
+ text?: Narrative;
69
69
 
70
70
  /**
71
71
  * These resources do not have an independent existence apart from the
72
72
  * resource that contains them - they cannot be identified independently,
73
73
  * and nor can they have their own independent transaction scope.
74
74
  */
75
- readonly contained?: Resource[];
75
+ contained?: Resource[];
76
76
 
77
77
  /**
78
78
  * May be used to represent additional information that is not part of
@@ -82,7 +82,7 @@ export interface AllergyIntolerance {
82
82
  * define an extension, there is a set of requirements that SHALL be met
83
83
  * as part of the definition of the extension.
84
84
  */
85
- readonly extension?: Extension[];
85
+ extension?: Extension[];
86
86
 
87
87
  /**
88
88
  * May be used to represent additional information that is not part of
@@ -100,43 +100,43 @@ export interface AllergyIntolerance {
100
100
  * Resource or DomainResource (including cannot change the meaning of
101
101
  * modifierExtension itself).
102
102
  */
103
- readonly modifierExtension?: Extension[];
103
+ modifierExtension?: Extension[];
104
104
 
105
105
  /**
106
106
  * Business identifiers assigned to this AllergyIntolerance by the
107
107
  * performer or other systems which remain constant as the resource is
108
108
  * updated and propagates from server to server.
109
109
  */
110
- readonly identifier?: Identifier[];
110
+ identifier?: Identifier[];
111
111
 
112
112
  /**
113
113
  * The clinical status of the allergy or intolerance.
114
114
  */
115
- readonly clinicalStatus?: CodeableConcept;
115
+ clinicalStatus?: CodeableConcept;
116
116
 
117
117
  /**
118
118
  * Assertion about certainty associated with the propensity, or potential
119
119
  * risk, of a reaction to the identified substance (including
120
120
  * pharmaceutical product).
121
121
  */
122
- readonly verificationStatus?: CodeableConcept;
122
+ verificationStatus?: CodeableConcept;
123
123
 
124
124
  /**
125
125
  * Identification of the underlying physiological mechanism for the
126
126
  * reaction risk.
127
127
  */
128
- readonly type?: string;
128
+ type?: string;
129
129
 
130
130
  /**
131
131
  * Category of the identified substance.
132
132
  */
133
- readonly category?: string[];
133
+ category?: string[];
134
134
 
135
135
  /**
136
136
  * Estimate of the potential clinical harm, or seriousness, of the
137
137
  * reaction to the identified substance.
138
138
  */
139
- readonly criticality?: string;
139
+ criticality?: string;
140
140
 
141
141
  /**
142
142
  * Code for an allergy or intolerance statement (either a positive or a
@@ -157,83 +157,83 @@ export interface AllergyIntolerance {
157
157
  * of AllergyIntolerance.code, then the receiving system should ignore
158
158
  * AllergyIntolerance.reaction.substance.
159
159
  */
160
- readonly code?: CodeableConcept;
160
+ code?: CodeableConcept;
161
161
 
162
162
  /**
163
163
  * The patient who has the allergy or intolerance.
164
164
  */
165
- readonly patient?: Reference<Patient>;
165
+ patient?: Reference<Patient>;
166
166
 
167
167
  /**
168
168
  * The encounter when the allergy or intolerance was asserted.
169
169
  */
170
- readonly encounter?: Reference<Encounter>;
170
+ encounter?: Reference<Encounter>;
171
171
 
172
172
  /**
173
173
  * Estimated or actual date, date-time, or age when allergy or
174
174
  * intolerance was identified.
175
175
  */
176
- readonly onsetDateTime?: string;
176
+ onsetDateTime?: string;
177
177
 
178
178
  /**
179
179
  * Estimated or actual date, date-time, or age when allergy or
180
180
  * intolerance was identified.
181
181
  */
182
- readonly onsetAge?: Age;
182
+ onsetAge?: Age;
183
183
 
184
184
  /**
185
185
  * Estimated or actual date, date-time, or age when allergy or
186
186
  * intolerance was identified.
187
187
  */
188
- readonly onsetPeriod?: Period;
188
+ onsetPeriod?: Period;
189
189
 
190
190
  /**
191
191
  * Estimated or actual date, date-time, or age when allergy or
192
192
  * intolerance was identified.
193
193
  */
194
- readonly onsetRange?: Range;
194
+ onsetRange?: Range;
195
195
 
196
196
  /**
197
197
  * Estimated or actual date, date-time, or age when allergy or
198
198
  * intolerance was identified.
199
199
  */
200
- readonly onsetString?: string;
200
+ onsetString?: string;
201
201
 
202
202
  /**
203
203
  * The recordedDate represents when this particular AllergyIntolerance
204
204
  * record was created in the system, which is often a system-generated
205
205
  * date.
206
206
  */
207
- readonly recordedDate?: string;
207
+ recordedDate?: string;
208
208
 
209
209
  /**
210
210
  * Individual who recorded the record and takes responsibility for its
211
211
  * content.
212
212
  */
213
- readonly recorder?: Reference<Practitioner | PractitionerRole | Patient | RelatedPerson>;
213
+ recorder?: Reference<Practitioner | PractitionerRole | Patient | RelatedPerson>;
214
214
 
215
215
  /**
216
216
  * The source of the information about the allergy that is recorded.
217
217
  */
218
- readonly asserter?: Reference<Patient | RelatedPerson | Practitioner | PractitionerRole>;
218
+ asserter?: Reference<Patient | RelatedPerson | Practitioner | PractitionerRole>;
219
219
 
220
220
  /**
221
221
  * Represents the date and/or time of the last known occurrence of a
222
222
  * reaction event.
223
223
  */
224
- readonly lastOccurrence?: string;
224
+ lastOccurrence?: string;
225
225
 
226
226
  /**
227
227
  * Additional narrative about the propensity for the Adverse Reaction,
228
228
  * not captured in other fields.
229
229
  */
230
- readonly note?: Annotation[];
230
+ note?: Annotation[];
231
231
 
232
232
  /**
233
233
  * Details about each adverse reaction event linked to exposure to the
234
234
  * identified substance.
235
235
  */
236
- readonly reaction?: AllergyIntoleranceReaction[];
236
+ reaction?: AllergyIntoleranceReaction[];
237
237
  }
238
238
 
239
239
  /**
@@ -246,7 +246,7 @@ export interface AllergyIntoleranceReaction {
246
246
  * Unique id for the element within a resource (for internal references).
247
247
  * This may be any string value that does not contain spaces.
248
248
  */
249
- readonly id?: string;
249
+ id?: string;
250
250
 
251
251
  /**
252
252
  * May be used to represent additional information that is not part of
@@ -256,7 +256,7 @@ export interface AllergyIntoleranceReaction {
256
256
  * define an extension, there is a set of requirements that SHALL be met
257
257
  * as part of the definition of the extension.
258
258
  */
259
- readonly extension?: Extension[];
259
+ extension?: Extension[];
260
260
 
261
261
  /**
262
262
  * May be used to represent additional information that is not part of
@@ -275,7 +275,7 @@ export interface AllergyIntoleranceReaction {
275
275
  * Resource or DomainResource (including cannot change the meaning of
276
276
  * modifierExtension itself).
277
277
  */
278
- readonly modifierExtension?: Extension[];
278
+ modifierExtension?: Extension[];
279
279
 
280
280
  /**
281
281
  * Identification of the specific substance (or pharmaceutical product)
@@ -290,40 +290,40 @@ export interface AllergyIntoleranceReaction {
290
290
  * semantic scope of AllergyIntolerance.code, then the receiving system
291
291
  * should ignore AllergyIntolerance.reaction.substance.
292
292
  */
293
- readonly substance?: CodeableConcept;
293
+ substance?: CodeableConcept;
294
294
 
295
295
  /**
296
296
  * Clinical symptoms and/or signs that are observed or associated with
297
297
  * the adverse reaction event.
298
298
  */
299
- readonly manifestation?: CodeableConcept[];
299
+ manifestation?: CodeableConcept[];
300
300
 
301
301
  /**
302
302
  * Text description about the reaction as a whole, including details of
303
303
  * the manifestation if required.
304
304
  */
305
- readonly description?: string;
305
+ description?: string;
306
306
 
307
307
  /**
308
308
  * Record of the date and/or time of the onset of the Reaction.
309
309
  */
310
- readonly onset?: string;
310
+ onset?: string;
311
311
 
312
312
  /**
313
313
  * Clinical assessment of the severity of the reaction event as a whole,
314
314
  * potentially considering multiple different manifestations.
315
315
  */
316
- readonly severity?: string;
316
+ severity?: string;
317
317
 
318
318
  /**
319
319
  * Identification of the route by which the subject was exposed to the
320
320
  * substance.
321
321
  */
322
- readonly exposureRoute?: CodeableConcept;
322
+ exposureRoute?: CodeableConcept;
323
323
 
324
324
  /**
325
325
  * Additional text about the adverse reaction event not captured in other
326
326
  * fields.
327
327
  */
328
- readonly note?: Annotation[];
328
+ note?: Annotation[];
329
329
  }
@@ -20,7 +20,7 @@ export interface Annotation {
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,25 +30,25 @@ export interface Annotation {
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
  * The individual responsible for making the annotation.
37
37
  */
38
- readonly authorReference?: Reference<Practitioner | Patient | RelatedPerson | Organization>;
38
+ authorReference?: Reference<Practitioner | Patient | RelatedPerson | Organization>;
39
39
 
40
40
  /**
41
41
  * The individual responsible for making the annotation.
42
42
  */
43
- readonly authorString?: string;
43
+ authorString?: string;
44
44
 
45
45
  /**
46
46
  * Indicates when this particular annotation was made.
47
47
  */
48
- readonly time?: string;
48
+ time?: string;
49
49
 
50
50
  /**
51
51
  * The text of the annotation in markdown format.
52
52
  */
53
- readonly text?: string;
53
+ text?: string;
54
54
  }