@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
@@ -45,14 +45,14 @@ export interface Encounter {
45
45
  * The logical id of the resource, as used in the URL for the resource.
46
46
  * Once assigned, this value never changes.
47
47
  */
48
- readonly id?: string;
48
+ id?: string;
49
49
 
50
50
  /**
51
51
  * The metadata about the resource. This is content that is maintained by
52
52
  * the infrastructure. Changes to the content might not always be
53
53
  * associated with version changes to the resource.
54
54
  */
55
- readonly meta?: Meta;
55
+ meta?: Meta;
56
56
 
57
57
  /**
58
58
  * A reference to a set of rules that were followed when the resource was
@@ -60,12 +60,12 @@ export interface Encounter {
60
60
  * Often, this is a reference to an implementation guide that defines the
61
61
  * special rules along with other profiles etc.
62
62
  */
63
- readonly implicitRules?: string;
63
+ implicitRules?: string;
64
64
 
65
65
  /**
66
66
  * The base language in which the resource is written.
67
67
  */
68
- readonly language?: string;
68
+ language?: string;
69
69
 
70
70
  /**
71
71
  * A human-readable narrative that contains a summary of the resource and
@@ -75,14 +75,14 @@ export interface Encounter {
75
75
  * just read the narrative. Resource definitions may define what content
76
76
  * should be represented in the narrative to ensure clinical safety.
77
77
  */
78
- readonly text?: Narrative;
78
+ text?: Narrative;
79
79
 
80
80
  /**
81
81
  * These resources do not have an independent existence apart from the
82
82
  * resource that contains them - they cannot be identified independently,
83
83
  * and nor can they have their own independent transaction scope.
84
84
  */
85
- readonly contained?: Resource[];
85
+ contained?: Resource[];
86
86
 
87
87
  /**
88
88
  * May be used to represent additional information that is not part of
@@ -92,7 +92,7 @@ export interface Encounter {
92
92
  * define an extension, there is a set of requirements that SHALL be met
93
93
  * as part of the definition of the extension.
94
94
  */
95
- readonly extension?: Extension[];
95
+ extension?: Extension[];
96
96
 
97
97
  /**
98
98
  * May be used to represent additional information that is not part of
@@ -110,32 +110,32 @@ export interface Encounter {
110
110
  * Resource or DomainResource (including cannot change the meaning of
111
111
  * modifierExtension itself).
112
112
  */
113
- readonly modifierExtension?: Extension[];
113
+ modifierExtension?: Extension[];
114
114
 
115
115
  /**
116
116
  * Identifier(s) by which this encounter is known.
117
117
  */
118
- readonly identifier?: Identifier[];
118
+ identifier?: Identifier[];
119
119
 
120
120
  /**
121
121
  * planned | arrived | triaged | in-progress | onleave | finished |
122
122
  * cancelled +.
123
123
  */
124
- readonly status?: string;
124
+ status?: string;
125
125
 
126
126
  /**
127
127
  * The status history permits the encounter resource to contain the
128
128
  * status history without needing to read through the historical versions
129
129
  * of the resource, or even have the server store them.
130
130
  */
131
- readonly statusHistory?: EncounterStatusHistory[];
131
+ statusHistory?: EncounterStatusHistory[];
132
132
 
133
133
  /**
134
134
  * Concepts representing classification of patient encounter such as
135
135
  * ambulatory (outpatient), inpatient, emergency, home health or others
136
136
  * due to local variations.
137
137
  */
138
- readonly class?: Coding;
138
+ class?: Coding;
139
139
 
140
140
  /**
141
141
  * The class history permits the tracking of the encounters transitions
@@ -147,29 +147,29 @@ export interface Encounter {
147
147
  * not get lost or cancelled during a kind of discharge from emergency to
148
148
  * inpatient.
149
149
  */
150
- readonly classHistory?: EncounterClassHistory[];
150
+ classHistory?: EncounterClassHistory[];
151
151
 
152
152
  /**
153
153
  * Specific type of encounter (e.g. e-mail consultation, surgical
154
154
  * day-care, skilled nursing, rehabilitation).
155
155
  */
156
- readonly type?: CodeableConcept[];
156
+ type?: CodeableConcept[];
157
157
 
158
158
  /**
159
159
  * Broad categorization of the service that is to be provided (e.g.
160
160
  * cardiology).
161
161
  */
162
- readonly serviceType?: CodeableConcept;
162
+ serviceType?: CodeableConcept;
163
163
 
164
164
  /**
165
165
  * Indicates the urgency of the encounter.
166
166
  */
167
- readonly priority?: CodeableConcept;
167
+ priority?: CodeableConcept;
168
168
 
169
169
  /**
170
170
  * The patient or group present at the encounter.
171
171
  */
172
- readonly subject?: Reference<Patient | Group>;
172
+ subject?: Reference<Patient | Group>;
173
173
 
174
174
  /**
175
175
  * Where a specific encounter should be classified as a part of a
@@ -181,66 +181,66 @@ export interface Encounter {
181
181
  * grouped on entry rather than editing the episode of care to append
182
182
  * another encounter to it (the episode of care could span years).
183
183
  */
184
- readonly episodeOfCare?: Reference<EpisodeOfCare>[];
184
+ episodeOfCare?: Reference<EpisodeOfCare>[];
185
185
 
186
186
  /**
187
187
  * The request this encounter satisfies (e.g. incoming referral or
188
188
  * procedure request).
189
189
  */
190
- readonly basedOn?: Reference<ServiceRequest>[];
190
+ basedOn?: Reference<ServiceRequest>[];
191
191
 
192
192
  /**
193
193
  * The list of people responsible for providing the service.
194
194
  */
195
- readonly participant?: EncounterParticipant[];
195
+ participant?: EncounterParticipant[];
196
196
 
197
197
  /**
198
198
  * The appointment that scheduled this encounter.
199
199
  */
200
- readonly appointment?: Reference<Appointment>[];
200
+ appointment?: Reference<Appointment>[];
201
201
 
202
202
  /**
203
203
  * The start and end time of the encounter.
204
204
  */
205
- readonly period?: Period;
205
+ period?: Period;
206
206
 
207
207
  /**
208
208
  * Quantity of time the encounter lasted. This excludes the time during
209
209
  * leaves of absence.
210
210
  */
211
- readonly length?: Duration;
211
+ length?: Duration;
212
212
 
213
213
  /**
214
214
  * Reason the encounter takes place, expressed as a code. For admissions,
215
215
  * this can be used for a coded admission diagnosis.
216
216
  */
217
- readonly reasonCode?: CodeableConcept[];
217
+ reasonCode?: CodeableConcept[];
218
218
 
219
219
  /**
220
220
  * Reason the encounter takes place, expressed as a code. For admissions,
221
221
  * this can be used for a coded admission diagnosis.
222
222
  */
223
- readonly reasonReference?: Reference<Condition | Procedure | Observation | ImmunizationRecommendation>[];
223
+ reasonReference?: Reference<Condition | Procedure | Observation | ImmunizationRecommendation>[];
224
224
 
225
225
  /**
226
226
  * The list of diagnosis relevant to this encounter.
227
227
  */
228
- readonly diagnosis?: EncounterDiagnosis[];
228
+ diagnosis?: EncounterDiagnosis[];
229
229
 
230
230
  /**
231
231
  * The set of accounts that may be used for billing for this Encounter.
232
232
  */
233
- readonly account?: Reference<Account>[];
233
+ account?: Reference<Account>[];
234
234
 
235
235
  /**
236
236
  * Details about the admission to a healthcare service.
237
237
  */
238
- readonly hospitalization?: EncounterHospitalization;
238
+ hospitalization?: EncounterHospitalization;
239
239
 
240
240
  /**
241
241
  * List of locations where the patient has been during this encounter.
242
242
  */
243
- readonly location?: EncounterLocation[];
243
+ location?: EncounterLocation[];
244
244
 
245
245
  /**
246
246
  * The organization that is primarily responsible for this Encounter's
@@ -250,13 +250,13 @@ export interface Encounter {
250
250
  * seperately) for an external consultation. Refer to the example bundle
251
251
  * showing an abbreviated set of Encounters for a colonoscopy.
252
252
  */
253
- readonly serviceProvider?: Reference<Organization>;
253
+ serviceProvider?: Reference<Organization>;
254
254
 
255
255
  /**
256
256
  * Another Encounter of which this encounter is a part of
257
257
  * (administratively or in time).
258
258
  */
259
- readonly partOf?: Reference<Encounter>;
259
+ partOf?: Reference<Encounter>;
260
260
  }
261
261
 
262
262
  /**
@@ -275,7 +275,7 @@ export interface EncounterClassHistory {
275
275
  * Unique id for the element within a resource (for internal references).
276
276
  * This may be any string value that does not contain spaces.
277
277
  */
278
- readonly id?: string;
278
+ id?: string;
279
279
 
280
280
  /**
281
281
  * May be used to represent additional information that is not part of
@@ -285,7 +285,7 @@ export interface EncounterClassHistory {
285
285
  * define an extension, there is a set of requirements that SHALL be met
286
286
  * as part of the definition of the extension.
287
287
  */
288
- readonly extension?: Extension[];
288
+ extension?: Extension[];
289
289
 
290
290
  /**
291
291
  * May be used to represent additional information that is not part of
@@ -304,17 +304,17 @@ export interface EncounterClassHistory {
304
304
  * Resource or DomainResource (including cannot change the meaning of
305
305
  * modifierExtension itself).
306
306
  */
307
- readonly modifierExtension?: Extension[];
307
+ modifierExtension?: Extension[];
308
308
 
309
309
  /**
310
310
  * inpatient | outpatient | ambulatory | emergency +.
311
311
  */
312
- readonly class?: Coding;
312
+ class?: Coding;
313
313
 
314
314
  /**
315
315
  * The time that the episode was in the specified class.
316
316
  */
317
- readonly period?: Period;
317
+ period?: Period;
318
318
  }
319
319
 
320
320
  /**
@@ -326,7 +326,7 @@ export interface EncounterDiagnosis {
326
326
  * Unique id for the element within a resource (for internal references).
327
327
  * This may be any string value that does not contain spaces.
328
328
  */
329
- readonly id?: string;
329
+ id?: string;
330
330
 
331
331
  /**
332
332
  * May be used to represent additional information that is not part of
@@ -336,7 +336,7 @@ export interface EncounterDiagnosis {
336
336
  * define an extension, there is a set of requirements that SHALL be met
337
337
  * as part of the definition of the extension.
338
338
  */
339
- readonly extension?: Extension[];
339
+ extension?: Extension[];
340
340
 
341
341
  /**
342
342
  * May be used to represent additional information that is not part of
@@ -355,7 +355,7 @@ export interface EncounterDiagnosis {
355
355
  * Resource or DomainResource (including cannot change the meaning of
356
356
  * modifierExtension itself).
357
357
  */
358
- readonly modifierExtension?: Extension[];
358
+ modifierExtension?: Extension[];
359
359
 
360
360
  /**
361
361
  * Reason the encounter takes place, as specified using information from
@@ -363,18 +363,18 @@ export interface EncounterDiagnosis {
363
363
  * indication will typically be a Condition (with other resources
364
364
  * referenced in the evidence.detail), or a Procedure.
365
365
  */
366
- readonly condition?: Reference<Condition | Procedure>;
366
+ condition?: Reference<Condition | Procedure>;
367
367
 
368
368
  /**
369
369
  * Role that this diagnosis has within the encounter (e.g. admission,
370
370
  * billing, discharge &hellip;).
371
371
  */
372
- readonly use?: CodeableConcept;
372
+ use?: CodeableConcept;
373
373
 
374
374
  /**
375
375
  * Ranking of the diagnosis (for each role type).
376
376
  */
377
- readonly rank?: number;
377
+ rank?: number;
378
378
  }
379
379
 
380
380
  /**
@@ -386,7 +386,7 @@ export interface EncounterHospitalization {
386
386
  * Unique id for the element within a resource (for internal references).
387
387
  * This may be any string value that does not contain spaces.
388
388
  */
389
- readonly id?: string;
389
+ id?: string;
390
390
 
391
391
  /**
392
392
  * May be used to represent additional information that is not part of
@@ -396,7 +396,7 @@ export interface EncounterHospitalization {
396
396
  * define an extension, there is a set of requirements that SHALL be met
397
397
  * as part of the definition of the extension.
398
398
  */
399
- readonly extension?: Extension[];
399
+ extension?: Extension[];
400
400
 
401
401
  /**
402
402
  * May be used to represent additional information that is not part of
@@ -415,55 +415,55 @@ export interface EncounterHospitalization {
415
415
  * Resource or DomainResource (including cannot change the meaning of
416
416
  * modifierExtension itself).
417
417
  */
418
- readonly modifierExtension?: Extension[];
418
+ modifierExtension?: Extension[];
419
419
 
420
420
  /**
421
421
  * Pre-admission identifier.
422
422
  */
423
- readonly preAdmissionIdentifier?: Identifier;
423
+ preAdmissionIdentifier?: Identifier;
424
424
 
425
425
  /**
426
426
  * The location/organization from which the patient came before
427
427
  * admission.
428
428
  */
429
- readonly origin?: Reference<Location | Organization>;
429
+ origin?: Reference<Location | Organization>;
430
430
 
431
431
  /**
432
432
  * From where patient was admitted (physician referral, transfer).
433
433
  */
434
- readonly admitSource?: CodeableConcept;
434
+ admitSource?: CodeableConcept;
435
435
 
436
436
  /**
437
437
  * Whether this hospitalization is a readmission and why if known.
438
438
  */
439
- readonly reAdmission?: CodeableConcept;
439
+ reAdmission?: CodeableConcept;
440
440
 
441
441
  /**
442
442
  * Diet preferences reported by the patient.
443
443
  */
444
- readonly dietPreference?: CodeableConcept[];
444
+ dietPreference?: CodeableConcept[];
445
445
 
446
446
  /**
447
447
  * Special courtesies (VIP, board member).
448
448
  */
449
- readonly specialCourtesy?: CodeableConcept[];
449
+ specialCourtesy?: CodeableConcept[];
450
450
 
451
451
  /**
452
452
  * Any special requests that have been made for this hospitalization
453
453
  * encounter, such as the provision of specific equipment or other
454
454
  * things.
455
455
  */
456
- readonly specialArrangement?: CodeableConcept[];
456
+ specialArrangement?: CodeableConcept[];
457
457
 
458
458
  /**
459
459
  * Location/organization to which the patient is discharged.
460
460
  */
461
- readonly destination?: Reference<Location | Organization>;
461
+ destination?: Reference<Location | Organization>;
462
462
 
463
463
  /**
464
464
  * Category or kind of location after discharge.
465
465
  */
466
- readonly dischargeDisposition?: CodeableConcept;
466
+ dischargeDisposition?: CodeableConcept;
467
467
  }
468
468
 
469
469
  /**
@@ -475,7 +475,7 @@ export interface EncounterLocation {
475
475
  * Unique id for the element within a resource (for internal references).
476
476
  * This may be any string value that does not contain spaces.
477
477
  */
478
- readonly id?: string;
478
+ id?: string;
479
479
 
480
480
  /**
481
481
  * May be used to represent additional information that is not part of
@@ -485,7 +485,7 @@ export interface EncounterLocation {
485
485
  * define an extension, there is a set of requirements that SHALL be met
486
486
  * as part of the definition of the extension.
487
487
  */
488
- readonly extension?: Extension[];
488
+ extension?: Extension[];
489
489
 
490
490
  /**
491
491
  * May be used to represent additional information that is not part of
@@ -504,30 +504,30 @@ export interface EncounterLocation {
504
504
  * Resource or DomainResource (including cannot change the meaning of
505
505
  * modifierExtension itself).
506
506
  */
507
- readonly modifierExtension?: Extension[];
507
+ modifierExtension?: Extension[];
508
508
 
509
509
  /**
510
510
  * The location where the encounter takes place.
511
511
  */
512
- readonly location?: Reference<Location>;
512
+ location?: Reference<Location>;
513
513
 
514
514
  /**
515
515
  * The status of the participants' presence at the specified location
516
516
  * during the period specified. If the participant is no longer at the
517
517
  * location, then the period will have an end date/time.
518
518
  */
519
- readonly status?: string;
519
+ status?: string;
520
520
 
521
521
  /**
522
522
  * This will be used to specify the required levels (bed/ward/room/etc.)
523
523
  * desired to be recorded to simplify either messaging or query.
524
524
  */
525
- readonly physicalType?: CodeableConcept;
525
+ physicalType?: CodeableConcept;
526
526
 
527
527
  /**
528
528
  * Time period during which the patient was present at the location.
529
529
  */
530
- readonly period?: Period;
530
+ period?: Period;
531
531
  }
532
532
 
533
533
  /**
@@ -539,7 +539,7 @@ export interface EncounterParticipant {
539
539
  * Unique id for the element within a resource (for internal references).
540
540
  * This may be any string value that does not contain spaces.
541
541
  */
542
- readonly id?: string;
542
+ id?: string;
543
543
 
544
544
  /**
545
545
  * May be used to represent additional information that is not part of
@@ -549,7 +549,7 @@ export interface EncounterParticipant {
549
549
  * define an extension, there is a set of requirements that SHALL be met
550
550
  * as part of the definition of the extension.
551
551
  */
552
- readonly extension?: Extension[];
552
+ extension?: Extension[];
553
553
 
554
554
  /**
555
555
  * May be used to represent additional information that is not part of
@@ -568,24 +568,24 @@ export interface EncounterParticipant {
568
568
  * Resource or DomainResource (including cannot change the meaning of
569
569
  * modifierExtension itself).
570
570
  */
571
- readonly modifierExtension?: Extension[];
571
+ modifierExtension?: Extension[];
572
572
 
573
573
  /**
574
574
  * Role of participant in encounter.
575
575
  */
576
- readonly type?: CodeableConcept[];
576
+ type?: CodeableConcept[];
577
577
 
578
578
  /**
579
579
  * The period of time that the specified participant participated in the
580
580
  * encounter. These can overlap or be sub-sets of the overall encounter's
581
581
  * period.
582
582
  */
583
- readonly period?: Period;
583
+ period?: Period;
584
584
 
585
585
  /**
586
586
  * Persons involved in the encounter other than the patient.
587
587
  */
588
- readonly individual?: Reference<Practitioner | PractitionerRole | RelatedPerson>;
588
+ individual?: Reference<Practitioner | PractitionerRole | RelatedPerson>;
589
589
  }
590
590
 
591
591
  /**
@@ -599,7 +599,7 @@ export interface EncounterStatusHistory {
599
599
  * Unique id for the element within a resource (for internal references).
600
600
  * This may be any string value that does not contain spaces.
601
601
  */
602
- readonly id?: string;
602
+ id?: string;
603
603
 
604
604
  /**
605
605
  * May be used to represent additional information that is not part of
@@ -609,7 +609,7 @@ export interface EncounterStatusHistory {
609
609
  * define an extension, there is a set of requirements that SHALL be met
610
610
  * as part of the definition of the extension.
611
611
  */
612
- readonly extension?: Extension[];
612
+ extension?: Extension[];
613
613
 
614
614
  /**
615
615
  * May be used to represent additional information that is not part of
@@ -628,16 +628,16 @@ export interface EncounterStatusHistory {
628
628
  * Resource or DomainResource (including cannot change the meaning of
629
629
  * modifierExtension itself).
630
630
  */
631
- readonly modifierExtension?: Extension[];
631
+ modifierExtension?: Extension[];
632
632
 
633
633
  /**
634
634
  * planned | arrived | triaged | in-progress | onleave | finished |
635
635
  * cancelled +.
636
636
  */
637
- readonly status?: string;
637
+ status?: string;
638
638
 
639
639
  /**
640
640
  * The time that the episode was in the specified status.
641
641
  */
642
- readonly period?: Period;
642
+ period?: Period;
643
643
  }
@@ -32,14 +32,14 @@ export interface Endpoint {
32
32
  * The logical id of the resource, as used in the URL for the resource.
33
33
  * Once assigned, this value never changes.
34
34
  */
35
- readonly id?: string;
35
+ id?: string;
36
36
 
37
37
  /**
38
38
  * The metadata about the resource. This is content that is maintained by
39
39
  * the infrastructure. Changes to the content might not always be
40
40
  * associated with version changes to the resource.
41
41
  */
42
- readonly meta?: Meta;
42
+ meta?: Meta;
43
43
 
44
44
  /**
45
45
  * A reference to a set of rules that were followed when the resource was
@@ -47,12 +47,12 @@ export interface Endpoint {
47
47
  * Often, this is a reference to an implementation guide that defines the
48
48
  * special rules along with other profiles etc.
49
49
  */
50
- readonly implicitRules?: string;
50
+ implicitRules?: string;
51
51
 
52
52
  /**
53
53
  * The base language in which the resource is written.
54
54
  */
55
- readonly language?: string;
55
+ language?: string;
56
56
 
57
57
  /**
58
58
  * A human-readable narrative that contains a summary of the resource and
@@ -62,14 +62,14 @@ export interface Endpoint {
62
62
  * just read the narrative. Resource definitions may define what content
63
63
  * should be represented in the narrative to ensure clinical safety.
64
64
  */
65
- readonly text?: Narrative;
65
+ text?: Narrative;
66
66
 
67
67
  /**
68
68
  * These resources do not have an independent existence apart from the
69
69
  * resource that contains them - they cannot be identified independently,
70
70
  * and nor can they have their own independent transaction scope.
71
71
  */
72
- readonly contained?: Resource[];
72
+ contained?: Resource[];
73
73
 
74
74
  /**
75
75
  * May be used to represent additional information that is not part of
@@ -79,7 +79,7 @@ export interface Endpoint {
79
79
  * define an extension, there is a set of requirements that SHALL be met
80
80
  * as part of the definition of the extension.
81
81
  */
82
- readonly extension?: Extension[];
82
+ extension?: Extension[];
83
83
 
84
84
  /**
85
85
  * May be used to represent additional information that is not part of
@@ -97,54 +97,54 @@ export interface Endpoint {
97
97
  * Resource or DomainResource (including cannot change the meaning of
98
98
  * modifierExtension itself).
99
99
  */
100
- readonly modifierExtension?: Extension[];
100
+ modifierExtension?: Extension[];
101
101
 
102
102
  /**
103
103
  * Identifier for the organization that is used to identify the endpoint
104
104
  * across multiple disparate systems.
105
105
  */
106
- readonly identifier?: Identifier[];
106
+ identifier?: Identifier[];
107
107
 
108
108
  /**
109
109
  * active | suspended | error | off | test.
110
110
  */
111
- readonly status?: string;
111
+ status?: string;
112
112
 
113
113
  /**
114
114
  * A coded value that represents the technical details of the usage of
115
115
  * this endpoint, such as what WSDLs should be used in what way. (e.g.
116
116
  * XDS.b/DICOM/cds-hook).
117
117
  */
118
- readonly connectionType?: Coding;
118
+ connectionType?: Coding;
119
119
 
120
120
  /**
121
121
  * A friendly name that this endpoint can be referred to with.
122
122
  */
123
- readonly name?: string;
123
+ name?: string;
124
124
 
125
125
  /**
126
126
  * The organization that manages this endpoint (even if technically
127
127
  * another organization is hosting this in the cloud, it is the
128
128
  * organization associated with the data).
129
129
  */
130
- readonly managingOrganization?: Reference<Organization>;
130
+ managingOrganization?: Reference<Organization>;
131
131
 
132
132
  /**
133
133
  * Contact details for a human to contact about the subscription. The
134
134
  * primary use of this for system administrator troubleshooting.
135
135
  */
136
- readonly contact?: ContactPoint[];
136
+ contact?: ContactPoint[];
137
137
 
138
138
  /**
139
139
  * The interval during which the endpoint is expected to be operational.
140
140
  */
141
- readonly period?: Period;
141
+ period?: Period;
142
142
 
143
143
  /**
144
144
  * The payload type describes the acceptable content that can be
145
145
  * communicated on the endpoint.
146
146
  */
147
- readonly payloadType?: CodeableConcept[];
147
+ payloadType?: CodeableConcept[];
148
148
 
149
149
  /**
150
150
  * The mime type to send the payload in - e.g. application/fhir+xml,
@@ -152,15 +152,15 @@ export interface Endpoint {
152
152
  * sender could send any content (including no content depending on the
153
153
  * connectionType).
154
154
  */
155
- readonly payloadMimeType?: string[];
155
+ payloadMimeType?: string[];
156
156
 
157
157
  /**
158
158
  * The uri that describes the actual end-point to connect to.
159
159
  */
160
- readonly address?: string;
160
+ address?: string;
161
161
 
162
162
  /**
163
163
  * Additional headers / information to send as part of the notification.
164
164
  */
165
- readonly header?: string[];
165
+ header?: string[];
166
166
  }