@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
@@ -53,14 +53,14 @@ export interface StructureMap {
53
53
  * The logical id of the resource, as used in the URL for the resource.
54
54
  * Once assigned, this value never changes.
55
55
  */
56
- readonly id?: string;
56
+ id?: string;
57
57
 
58
58
  /**
59
59
  * The metadata about the resource. This is content that is maintained by
60
60
  * the infrastructure. Changes to the content might not always be
61
61
  * associated with version changes to the resource.
62
62
  */
63
- readonly meta?: Meta;
63
+ meta?: Meta;
64
64
 
65
65
  /**
66
66
  * A reference to a set of rules that were followed when the resource was
@@ -68,12 +68,12 @@ export interface StructureMap {
68
68
  * Often, this is a reference to an implementation guide that defines the
69
69
  * special rules along with other profiles etc.
70
70
  */
71
- readonly implicitRules?: string;
71
+ implicitRules?: string;
72
72
 
73
73
  /**
74
74
  * The base language in which the resource is written.
75
75
  */
76
- readonly language?: string;
76
+ language?: string;
77
77
 
78
78
  /**
79
79
  * A human-readable narrative that contains a summary of the resource and
@@ -83,14 +83,14 @@ export interface StructureMap {
83
83
  * just read the narrative. Resource definitions may define what content
84
84
  * should be represented in the narrative to ensure clinical safety.
85
85
  */
86
- readonly text?: Narrative;
86
+ text?: Narrative;
87
87
 
88
88
  /**
89
89
  * These resources do not have an independent existence apart from the
90
90
  * resource that contains them - they cannot be identified independently,
91
91
  * and nor can they have their own independent transaction scope.
92
92
  */
93
- readonly contained?: Resource[];
93
+ contained?: Resource[];
94
94
 
95
95
  /**
96
96
  * May be used to represent additional information that is not part of
@@ -100,7 +100,7 @@ export interface StructureMap {
100
100
  * define an extension, there is a set of requirements that SHALL be met
101
101
  * as part of the definition of the extension.
102
102
  */
103
- readonly extension?: Extension[];
103
+ extension?: Extension[];
104
104
 
105
105
  /**
106
106
  * May be used to represent additional information that is not part of
@@ -118,7 +118,7 @@ export interface StructureMap {
118
118
  * Resource or DomainResource (including cannot change the meaning of
119
119
  * modifierExtension itself).
120
120
  */
121
- readonly modifierExtension?: Extension[];
121
+ modifierExtension?: Extension[];
122
122
 
123
123
  /**
124
124
  * An absolute URI that is used to identify this structure map when it is
@@ -129,14 +129,14 @@ export interface StructureMap {
129
129
  * be the target of a canonical reference. It SHALL remain the same when
130
130
  * the structure map is stored on different servers.
131
131
  */
132
- readonly url?: string;
132
+ url?: string;
133
133
 
134
134
  /**
135
135
  * A formal identifier that is used to identify this structure map when
136
136
  * it is represented in other formats, or referenced in a specification,
137
137
  * model, design or an instance.
138
138
  */
139
- readonly identifier?: Identifier[];
139
+ identifier?: Identifier[];
140
140
 
141
141
  /**
142
142
  * The identifier that is used to identify this version of the structure
@@ -147,32 +147,32 @@ export interface StructureMap {
147
147
  * available. There is also no expectation that versions can be placed in
148
148
  * a lexicographical sequence.
149
149
  */
150
- readonly version?: string;
150
+ version?: string;
151
151
 
152
152
  /**
153
153
  * A natural language name identifying the structure map. This name
154
154
  * should be usable as an identifier for the module by machine processing
155
155
  * applications such as code generation.
156
156
  */
157
- readonly name?: string;
157
+ name?: string;
158
158
 
159
159
  /**
160
160
  * A short, descriptive, user-friendly title for the structure map.
161
161
  */
162
- readonly title?: string;
162
+ title?: string;
163
163
 
164
164
  /**
165
165
  * The status of this structure map. Enables tracking the life-cycle of
166
166
  * the content.
167
167
  */
168
- readonly status?: string;
168
+ status?: string;
169
169
 
170
170
  /**
171
171
  * A Boolean value to indicate that this structure map is authored for
172
172
  * testing purposes (or education/evaluation/marketing) and is not
173
173
  * intended to be used for genuine usage.
174
174
  */
175
- readonly experimental?: boolean;
175
+ experimental?: boolean;
176
176
 
177
177
  /**
178
178
  * The date (and optionally time) when the structure map was published.
@@ -180,25 +180,25 @@ export interface StructureMap {
180
180
  * change if the status code changes. In addition, it should change when
181
181
  * the substantive content of the structure map changes.
182
182
  */
183
- readonly date?: string;
183
+ date?: string;
184
184
 
185
185
  /**
186
186
  * The name of the organization or individual that published the
187
187
  * structure map.
188
188
  */
189
- readonly publisher?: string;
189
+ publisher?: string;
190
190
 
191
191
  /**
192
192
  * Contact details to assist a user in finding and communicating with the
193
193
  * publisher.
194
194
  */
195
- readonly contact?: ContactDetail[];
195
+ contact?: ContactDetail[];
196
196
 
197
197
  /**
198
198
  * A free text natural language description of the structure map from a
199
199
  * consumer's perspective.
200
200
  */
201
- readonly description?: string;
201
+ description?: string;
202
202
 
203
203
  /**
204
204
  * The content was developed with a focus and intent of supporting the
@@ -207,44 +207,44 @@ export interface StructureMap {
207
207
  * (insurance plans, studies, ...) and may be used to assist with
208
208
  * indexing and searching for appropriate structure map instances.
209
209
  */
210
- readonly useContext?: UsageContext[];
210
+ useContext?: UsageContext[];
211
211
 
212
212
  /**
213
213
  * A legal or geographic region in which the structure map is intended to
214
214
  * be used.
215
215
  */
216
- readonly jurisdiction?: CodeableConcept[];
216
+ jurisdiction?: CodeableConcept[];
217
217
 
218
218
  /**
219
219
  * Explanation of why this structure map is needed and why it has been
220
220
  * designed as it has.
221
221
  */
222
- readonly purpose?: string;
222
+ purpose?: string;
223
223
 
224
224
  /**
225
225
  * A copyright statement relating to the structure map and/or its
226
226
  * contents. Copyright statements are generally legal restrictions on the
227
227
  * use and publishing of the structure map.
228
228
  */
229
- readonly copyright?: string;
229
+ copyright?: string;
230
230
 
231
231
  /**
232
232
  * A structure definition used by this map. The structure definition may
233
233
  * describe instances that are converted, or the instances that are
234
234
  * produced.
235
235
  */
236
- readonly structure?: StructureMapStructure[];
236
+ structure?: StructureMapStructure[];
237
237
 
238
238
  /**
239
239
  * Other maps used by this map (canonical URLs).
240
240
  */
241
- readonly import?: string[];
241
+ import?: string[];
242
242
 
243
243
  /**
244
244
  * Organizes the mapping into manageable chunks for human review/ease of
245
245
  * maintenance.
246
246
  */
247
- readonly group?: StructureMapGroup[];
247
+ group?: StructureMapGroup[];
248
248
  }
249
249
 
250
250
  /**
@@ -257,7 +257,7 @@ export interface StructureMapGroup {
257
257
  * Unique id for the element within a resource (for internal references).
258
258
  * This may be any string value that does not contain spaces.
259
259
  */
260
- readonly id?: string;
260
+ id?: string;
261
261
 
262
262
  /**
263
263
  * May be used to represent additional information that is not part of
@@ -267,7 +267,7 @@ export interface StructureMapGroup {
267
267
  * define an extension, there is a set of requirements that SHALL be met
268
268
  * as part of the definition of the extension.
269
269
  */
270
- readonly extension?: Extension[];
270
+ extension?: Extension[];
271
271
 
272
272
  /**
273
273
  * May be used to represent additional information that is not part of
@@ -286,40 +286,40 @@ export interface StructureMapGroup {
286
286
  * Resource or DomainResource (including cannot change the meaning of
287
287
  * modifierExtension itself).
288
288
  */
289
- readonly modifierExtension?: Extension[];
289
+ modifierExtension?: Extension[];
290
290
 
291
291
  /**
292
292
  * A unique name for the group for the convenience of human readers.
293
293
  */
294
- readonly name?: string;
294
+ name?: string;
295
295
 
296
296
  /**
297
297
  * Another group that this group adds rules to.
298
298
  */
299
- readonly extends?: string;
299
+ extends?: string;
300
300
 
301
301
  /**
302
302
  * If this is the default rule set to apply for the source type or this
303
303
  * combination of types.
304
304
  */
305
- readonly typeMode?: string;
305
+ typeMode?: string;
306
306
 
307
307
  /**
308
308
  * Additional supporting documentation that explains the purpose of the
309
309
  * group and the types of mappings within it.
310
310
  */
311
- readonly documentation?: string;
311
+ documentation?: string;
312
312
 
313
313
  /**
314
314
  * A name assigned to an instance of data. The instance must be provided
315
315
  * when the mapping is invoked.
316
316
  */
317
- readonly input?: StructureMapGroupInput[];
317
+ input?: StructureMapGroupInput[];
318
318
 
319
319
  /**
320
320
  * Transform Rule from source to target.
321
321
  */
322
- readonly rule?: StructureMapGroupRule[];
322
+ rule?: StructureMapGroupRule[];
323
323
  }
324
324
 
325
325
  /**
@@ -332,7 +332,7 @@ export interface StructureMapGroupInput {
332
332
  * Unique id for the element within a resource (for internal references).
333
333
  * This may be any string value that does not contain spaces.
334
334
  */
335
- readonly id?: string;
335
+ id?: string;
336
336
 
337
337
  /**
338
338
  * May be used to represent additional information that is not part of
@@ -342,7 +342,7 @@ export interface StructureMapGroupInput {
342
342
  * define an extension, there is a set of requirements that SHALL be met
343
343
  * as part of the definition of the extension.
344
344
  */
345
- readonly extension?: Extension[];
345
+ extension?: Extension[];
346
346
 
347
347
  /**
348
348
  * May be used to represent additional information that is not part of
@@ -361,27 +361,27 @@ export interface StructureMapGroupInput {
361
361
  * Resource or DomainResource (including cannot change the meaning of
362
362
  * modifierExtension itself).
363
363
  */
364
- readonly modifierExtension?: Extension[];
364
+ modifierExtension?: Extension[];
365
365
 
366
366
  /**
367
367
  * Name for this instance of data.
368
368
  */
369
- readonly name?: string;
369
+ name?: string;
370
370
 
371
371
  /**
372
372
  * Type for this instance of data.
373
373
  */
374
- readonly type?: string;
374
+ type?: string;
375
375
 
376
376
  /**
377
377
  * Mode for this instance of data.
378
378
  */
379
- readonly mode?: string;
379
+ mode?: string;
380
380
 
381
381
  /**
382
382
  * Documentation for this instance of data.
383
383
  */
384
- readonly documentation?: string;
384
+ documentation?: string;
385
385
  }
386
386
 
387
387
  /**
@@ -393,7 +393,7 @@ export interface StructureMapGroupRule {
393
393
  * Unique id for the element within a resource (for internal references).
394
394
  * This may be any string value that does not contain spaces.
395
395
  */
396
- readonly id?: string;
396
+ id?: string;
397
397
 
398
398
  /**
399
399
  * May be used to represent additional information that is not part of
@@ -403,7 +403,7 @@ export interface StructureMapGroupRule {
403
403
  * define an extension, there is a set of requirements that SHALL be met
404
404
  * as part of the definition of the extension.
405
405
  */
406
- readonly extension?: Extension[];
406
+ extension?: Extension[];
407
407
 
408
408
  /**
409
409
  * May be used to represent additional information that is not part of
@@ -422,37 +422,37 @@ export interface StructureMapGroupRule {
422
422
  * Resource or DomainResource (including cannot change the meaning of
423
423
  * modifierExtension itself).
424
424
  */
425
- readonly modifierExtension?: Extension[];
425
+ modifierExtension?: Extension[];
426
426
 
427
427
  /**
428
428
  * Name of the rule for internal references.
429
429
  */
430
- readonly name?: string;
430
+ name?: string;
431
431
 
432
432
  /**
433
433
  * Source inputs to the mapping.
434
434
  */
435
- readonly source?: StructureMapGroupRuleSource[];
435
+ source?: StructureMapGroupRuleSource[];
436
436
 
437
437
  /**
438
438
  * Content to create because of this mapping rule.
439
439
  */
440
- readonly target?: StructureMapGroupRuleTarget[];
440
+ target?: StructureMapGroupRuleTarget[];
441
441
 
442
442
  /**
443
443
  * Rules contained in this rule.
444
444
  */
445
- readonly rule?: StructureMapGroupRule[];
445
+ rule?: StructureMapGroupRule[];
446
446
 
447
447
  /**
448
448
  * Which other rules to apply in the context of this rule.
449
449
  */
450
- readonly dependent?: StructureMapGroupRuleDependent[];
450
+ dependent?: StructureMapGroupRuleDependent[];
451
451
 
452
452
  /**
453
453
  * Documentation for this instance of data.
454
454
  */
455
- readonly documentation?: string;
455
+ documentation?: string;
456
456
  }
457
457
 
458
458
  /**
@@ -464,7 +464,7 @@ export interface StructureMapGroupRuleDependent {
464
464
  * Unique id for the element within a resource (for internal references).
465
465
  * This may be any string value that does not contain spaces.
466
466
  */
467
- readonly id?: string;
467
+ id?: string;
468
468
 
469
469
  /**
470
470
  * May be used to represent additional information that is not part of
@@ -474,7 +474,7 @@ export interface StructureMapGroupRuleDependent {
474
474
  * define an extension, there is a set of requirements that SHALL be met
475
475
  * as part of the definition of the extension.
476
476
  */
477
- readonly extension?: Extension[];
477
+ extension?: Extension[];
478
478
 
479
479
  /**
480
480
  * May be used to represent additional information that is not part of
@@ -493,17 +493,17 @@ export interface StructureMapGroupRuleDependent {
493
493
  * Resource or DomainResource (including cannot change the meaning of
494
494
  * modifierExtension itself).
495
495
  */
496
- readonly modifierExtension?: Extension[];
496
+ modifierExtension?: Extension[];
497
497
 
498
498
  /**
499
499
  * Name of a rule or group to apply.
500
500
  */
501
- readonly name?: string;
501
+ name?: string;
502
502
 
503
503
  /**
504
504
  * Variable to pass to the rule or group.
505
505
  */
506
- readonly variable?: string[];
506
+ variable?: string[];
507
507
  }
508
508
 
509
509
  /**
@@ -515,7 +515,7 @@ export interface StructureMapGroupRuleSource {
515
515
  * Unique id for the element within a resource (for internal references).
516
516
  * This may be any string value that does not contain spaces.
517
517
  */
518
- readonly id?: string;
518
+ id?: string;
519
519
 
520
520
  /**
521
521
  * May be used to represent additional information that is not part of
@@ -525,7 +525,7 @@ export interface StructureMapGroupRuleSource {
525
525
  * define an extension, there is a set of requirements that SHALL be met
526
526
  * as part of the definition of the extension.
527
527
  */
528
- readonly extension?: Extension[];
528
+ extension?: Extension[];
529
529
 
530
530
  /**
531
531
  * May be used to represent additional information that is not part of
@@ -544,313 +544,313 @@ export interface StructureMapGroupRuleSource {
544
544
  * Resource or DomainResource (including cannot change the meaning of
545
545
  * modifierExtension itself).
546
546
  */
547
- readonly modifierExtension?: Extension[];
547
+ modifierExtension?: Extension[];
548
548
 
549
549
  /**
550
550
  * Type or variable this rule applies to.
551
551
  */
552
- readonly context?: string;
552
+ context?: string;
553
553
 
554
554
  /**
555
555
  * Specified minimum cardinality for the element. This is optional; if
556
556
  * present, it acts an implicit check on the input content.
557
557
  */
558
- readonly min?: number;
558
+ min?: number;
559
559
 
560
560
  /**
561
561
  * Specified maximum cardinality for the element - a number or a "*".
562
562
  * This is optional; if present, it acts an implicit check on the input
563
563
  * content (* just serves as documentation; it's the default value).
564
564
  */
565
- readonly max?: string;
565
+ max?: string;
566
566
 
567
567
  /**
568
568
  * Specified type for the element. This works as a condition on the
569
569
  * mapping - use for polymorphic elements.
570
570
  */
571
- readonly type?: string;
571
+ type?: string;
572
572
 
573
573
  /**
574
574
  * A value to use if there is no existing value in the source object.
575
575
  */
576
- readonly defaultValueBase64Binary?: string;
576
+ defaultValueBase64Binary?: string;
577
577
 
578
578
  /**
579
579
  * A value to use if there is no existing value in the source object.
580
580
  */
581
- readonly defaultValueBoolean?: boolean;
581
+ defaultValueBoolean?: boolean;
582
582
 
583
583
  /**
584
584
  * A value to use if there is no existing value in the source object.
585
585
  */
586
- readonly defaultValueCanonical?: string;
586
+ defaultValueCanonical?: string;
587
587
 
588
588
  /**
589
589
  * A value to use if there is no existing value in the source object.
590
590
  */
591
- readonly defaultValueCode?: string;
591
+ defaultValueCode?: string;
592
592
 
593
593
  /**
594
594
  * A value to use if there is no existing value in the source object.
595
595
  */
596
- readonly defaultValueDate?: string;
596
+ defaultValueDate?: string;
597
597
 
598
598
  /**
599
599
  * A value to use if there is no existing value in the source object.
600
600
  */
601
- readonly defaultValueDateTime?: string;
601
+ defaultValueDateTime?: string;
602
602
 
603
603
  /**
604
604
  * A value to use if there is no existing value in the source object.
605
605
  */
606
- readonly defaultValueDecimal?: number;
606
+ defaultValueDecimal?: number;
607
607
 
608
608
  /**
609
609
  * A value to use if there is no existing value in the source object.
610
610
  */
611
- readonly defaultValueId?: string;
611
+ defaultValueId?: string;
612
612
 
613
613
  /**
614
614
  * A value to use if there is no existing value in the source object.
615
615
  */
616
- readonly defaultValueInstant?: string;
616
+ defaultValueInstant?: string;
617
617
 
618
618
  /**
619
619
  * A value to use if there is no existing value in the source object.
620
620
  */
621
- readonly defaultValueInteger?: number;
621
+ defaultValueInteger?: number;
622
622
 
623
623
  /**
624
624
  * A value to use if there is no existing value in the source object.
625
625
  */
626
- readonly defaultValueMarkdown?: string;
626
+ defaultValueMarkdown?: string;
627
627
 
628
628
  /**
629
629
  * A value to use if there is no existing value in the source object.
630
630
  */
631
- readonly defaultValueOid?: string;
631
+ defaultValueOid?: string;
632
632
 
633
633
  /**
634
634
  * A value to use if there is no existing value in the source object.
635
635
  */
636
- readonly defaultValuePositiveInt?: number;
636
+ defaultValuePositiveInt?: number;
637
637
 
638
638
  /**
639
639
  * A value to use if there is no existing value in the source object.
640
640
  */
641
- readonly defaultValueString?: string;
641
+ defaultValueString?: string;
642
642
 
643
643
  /**
644
644
  * A value to use if there is no existing value in the source object.
645
645
  */
646
- readonly defaultValueTime?: string;
646
+ defaultValueTime?: string;
647
647
 
648
648
  /**
649
649
  * A value to use if there is no existing value in the source object.
650
650
  */
651
- readonly defaultValueUnsignedInt?: number;
651
+ defaultValueUnsignedInt?: number;
652
652
 
653
653
  /**
654
654
  * A value to use if there is no existing value in the source object.
655
655
  */
656
- readonly defaultValueUri?: string;
656
+ defaultValueUri?: string;
657
657
 
658
658
  /**
659
659
  * A value to use if there is no existing value in the source object.
660
660
  */
661
- readonly defaultValueUrl?: string;
661
+ defaultValueUrl?: string;
662
662
 
663
663
  /**
664
664
  * A value to use if there is no existing value in the source object.
665
665
  */
666
- readonly defaultValueUuid?: string;
666
+ defaultValueUuid?: string;
667
667
 
668
668
  /**
669
669
  * A value to use if there is no existing value in the source object.
670
670
  */
671
- readonly defaultValueAddress?: Address;
671
+ defaultValueAddress?: Address;
672
672
 
673
673
  /**
674
674
  * A value to use if there is no existing value in the source object.
675
675
  */
676
- readonly defaultValueAge?: Age;
676
+ defaultValueAge?: Age;
677
677
 
678
678
  /**
679
679
  * A value to use if there is no existing value in the source object.
680
680
  */
681
- readonly defaultValueAnnotation?: Annotation;
681
+ defaultValueAnnotation?: Annotation;
682
682
 
683
683
  /**
684
684
  * A value to use if there is no existing value in the source object.
685
685
  */
686
- readonly defaultValueAttachment?: Attachment;
686
+ defaultValueAttachment?: Attachment;
687
687
 
688
688
  /**
689
689
  * A value to use if there is no existing value in the source object.
690
690
  */
691
- readonly defaultValueCodeableConcept?: CodeableConcept;
691
+ defaultValueCodeableConcept?: CodeableConcept;
692
692
 
693
693
  /**
694
694
  * A value to use if there is no existing value in the source object.
695
695
  */
696
- readonly defaultValueCoding?: Coding;
696
+ defaultValueCoding?: Coding;
697
697
 
698
698
  /**
699
699
  * A value to use if there is no existing value in the source object.
700
700
  */
701
- readonly defaultValueContactPoint?: ContactPoint;
701
+ defaultValueContactPoint?: ContactPoint;
702
702
 
703
703
  /**
704
704
  * A value to use if there is no existing value in the source object.
705
705
  */
706
- readonly defaultValueCount?: Count;
706
+ defaultValueCount?: Count;
707
707
 
708
708
  /**
709
709
  * A value to use if there is no existing value in the source object.
710
710
  */
711
- readonly defaultValueDistance?: Distance;
711
+ defaultValueDistance?: Distance;
712
712
 
713
713
  /**
714
714
  * A value to use if there is no existing value in the source object.
715
715
  */
716
- readonly defaultValueDuration?: Duration;
716
+ defaultValueDuration?: Duration;
717
717
 
718
718
  /**
719
719
  * A value to use if there is no existing value in the source object.
720
720
  */
721
- readonly defaultValueHumanName?: HumanName;
721
+ defaultValueHumanName?: HumanName;
722
722
 
723
723
  /**
724
724
  * A value to use if there is no existing value in the source object.
725
725
  */
726
- readonly defaultValueIdentifier?: Identifier;
726
+ defaultValueIdentifier?: Identifier;
727
727
 
728
728
  /**
729
729
  * A value to use if there is no existing value in the source object.
730
730
  */
731
- readonly defaultValueMoney?: Money;
731
+ defaultValueMoney?: Money;
732
732
 
733
733
  /**
734
734
  * A value to use if there is no existing value in the source object.
735
735
  */
736
- readonly defaultValuePeriod?: Period;
736
+ defaultValuePeriod?: Period;
737
737
 
738
738
  /**
739
739
  * A value to use if there is no existing value in the source object.
740
740
  */
741
- readonly defaultValueQuantity?: Quantity;
741
+ defaultValueQuantity?: Quantity;
742
742
 
743
743
  /**
744
744
  * A value to use if there is no existing value in the source object.
745
745
  */
746
- readonly defaultValueRange?: Range;
746
+ defaultValueRange?: Range;
747
747
 
748
748
  /**
749
749
  * A value to use if there is no existing value in the source object.
750
750
  */
751
- readonly defaultValueRatio?: Ratio;
751
+ defaultValueRatio?: Ratio;
752
752
 
753
753
  /**
754
754
  * A value to use if there is no existing value in the source object.
755
755
  */
756
- readonly defaultValueReference?: Reference;
756
+ defaultValueReference?: Reference;
757
757
 
758
758
  /**
759
759
  * A value to use if there is no existing value in the source object.
760
760
  */
761
- readonly defaultValueSampledData?: SampledData;
761
+ defaultValueSampledData?: SampledData;
762
762
 
763
763
  /**
764
764
  * A value to use if there is no existing value in the source object.
765
765
  */
766
- readonly defaultValueSignature?: Signature;
766
+ defaultValueSignature?: Signature;
767
767
 
768
768
  /**
769
769
  * A value to use if there is no existing value in the source object.
770
770
  */
771
- readonly defaultValueTiming?: Timing;
771
+ defaultValueTiming?: Timing;
772
772
 
773
773
  /**
774
774
  * A value to use if there is no existing value in the source object.
775
775
  */
776
- readonly defaultValueContactDetail?: ContactDetail;
776
+ defaultValueContactDetail?: ContactDetail;
777
777
 
778
778
  /**
779
779
  * A value to use if there is no existing value in the source object.
780
780
  */
781
- readonly defaultValueContributor?: Contributor;
781
+ defaultValueContributor?: Contributor;
782
782
 
783
783
  /**
784
784
  * A value to use if there is no existing value in the source object.
785
785
  */
786
- readonly defaultValueDataRequirement?: DataRequirement;
786
+ defaultValueDataRequirement?: DataRequirement;
787
787
 
788
788
  /**
789
789
  * A value to use if there is no existing value in the source object.
790
790
  */
791
- readonly defaultValueExpression?: Expression;
791
+ defaultValueExpression?: Expression;
792
792
 
793
793
  /**
794
794
  * A value to use if there is no existing value in the source object.
795
795
  */
796
- readonly defaultValueParameterDefinition?: ParameterDefinition;
796
+ defaultValueParameterDefinition?: ParameterDefinition;
797
797
 
798
798
  /**
799
799
  * A value to use if there is no existing value in the source object.
800
800
  */
801
- readonly defaultValueRelatedArtifact?: RelatedArtifact;
801
+ defaultValueRelatedArtifact?: RelatedArtifact;
802
802
 
803
803
  /**
804
804
  * A value to use if there is no existing value in the source object.
805
805
  */
806
- readonly defaultValueTriggerDefinition?: TriggerDefinition;
806
+ defaultValueTriggerDefinition?: TriggerDefinition;
807
807
 
808
808
  /**
809
809
  * A value to use if there is no existing value in the source object.
810
810
  */
811
- readonly defaultValueUsageContext?: UsageContext;
811
+ defaultValueUsageContext?: UsageContext;
812
812
 
813
813
  /**
814
814
  * A value to use if there is no existing value in the source object.
815
815
  */
816
- readonly defaultValueDosage?: Dosage;
816
+ defaultValueDosage?: Dosage;
817
817
 
818
818
  /**
819
819
  * A value to use if there is no existing value in the source object.
820
820
  */
821
- readonly defaultValueMeta?: Meta;
821
+ defaultValueMeta?: Meta;
822
822
 
823
823
  /**
824
824
  * Optional field for this source.
825
825
  */
826
- readonly element?: string;
826
+ element?: string;
827
827
 
828
828
  /**
829
829
  * How to handle the list mode for this element.
830
830
  */
831
- readonly listMode?: string;
831
+ listMode?: string;
832
832
 
833
833
  /**
834
834
  * Named context for field, if a field is specified.
835
835
  */
836
- readonly variable?: string;
836
+ variable?: string;
837
837
 
838
838
  /**
839
839
  * FHIRPath expression - must be true or the rule does not apply.
840
840
  */
841
- readonly condition?: string;
841
+ condition?: string;
842
842
 
843
843
  /**
844
844
  * FHIRPath expression - must be true or the mapping engine throws an
845
845
  * error instead of completing.
846
846
  */
847
- readonly check?: string;
847
+ check?: string;
848
848
 
849
849
  /**
850
850
  * A FHIRPath expression which specifies a message to put in the
851
851
  * transform log when content matching the source rule is found.
852
852
  */
853
- readonly logMessage?: string;
853
+ logMessage?: string;
854
854
  }
855
855
 
856
856
  /**
@@ -862,7 +862,7 @@ export interface StructureMapGroupRuleTarget {
862
862
  * Unique id for the element within a resource (for internal references).
863
863
  * This may be any string value that does not contain spaces.
864
864
  */
865
- readonly id?: string;
865
+ id?: string;
866
866
 
867
867
  /**
868
868
  * May be used to represent additional information that is not part of
@@ -872,7 +872,7 @@ export interface StructureMapGroupRuleTarget {
872
872
  * define an extension, there is a set of requirements that SHALL be met
873
873
  * as part of the definition of the extension.
874
874
  */
875
- readonly extension?: Extension[];
875
+ extension?: Extension[];
876
876
 
877
877
  /**
878
878
  * May be used to represent additional information that is not part of
@@ -891,47 +891,47 @@ export interface StructureMapGroupRuleTarget {
891
891
  * Resource or DomainResource (including cannot change the meaning of
892
892
  * modifierExtension itself).
893
893
  */
894
- readonly modifierExtension?: Extension[];
894
+ modifierExtension?: Extension[];
895
895
 
896
896
  /**
897
897
  * Type or variable this rule applies to.
898
898
  */
899
- readonly context?: string;
899
+ context?: string;
900
900
 
901
901
  /**
902
902
  * How to interpret the context.
903
903
  */
904
- readonly contextType?: string;
904
+ contextType?: string;
905
905
 
906
906
  /**
907
907
  * Field to create in the context.
908
908
  */
909
- readonly element?: string;
909
+ element?: string;
910
910
 
911
911
  /**
912
912
  * Named context for field, if desired, and a field is specified.
913
913
  */
914
- readonly variable?: string;
914
+ variable?: string;
915
915
 
916
916
  /**
917
917
  * If field is a list, how to manage the list.
918
918
  */
919
- readonly listMode?: string[];
919
+ listMode?: string[];
920
920
 
921
921
  /**
922
922
  * Internal rule reference for shared list items.
923
923
  */
924
- readonly listRuleId?: string;
924
+ listRuleId?: string;
925
925
 
926
926
  /**
927
927
  * How the data is copied / created.
928
928
  */
929
- readonly transform?: string;
929
+ transform?: string;
930
930
 
931
931
  /**
932
932
  * Parameters to the transform.
933
933
  */
934
- readonly parameter?: StructureMapGroupRuleTargetParameter[];
934
+ parameter?: StructureMapGroupRuleTargetParameter[];
935
935
  }
936
936
 
937
937
  /**
@@ -943,7 +943,7 @@ export interface StructureMapGroupRuleTargetParameter {
943
943
  * Unique id for the element within a resource (for internal references).
944
944
  * This may be any string value that does not contain spaces.
945
945
  */
946
- readonly id?: string;
946
+ id?: string;
947
947
 
948
948
  /**
949
949
  * May be used to represent additional information that is not part of
@@ -953,7 +953,7 @@ export interface StructureMapGroupRuleTargetParameter {
953
953
  * define an extension, there is a set of requirements that SHALL be met
954
954
  * as part of the definition of the extension.
955
955
  */
956
- readonly extension?: Extension[];
956
+ extension?: Extension[];
957
957
 
958
958
  /**
959
959
  * May be used to represent additional information that is not part of
@@ -972,32 +972,32 @@ export interface StructureMapGroupRuleTargetParameter {
972
972
  * Resource or DomainResource (including cannot change the meaning of
973
973
  * modifierExtension itself).
974
974
  */
975
- readonly modifierExtension?: Extension[];
975
+ modifierExtension?: Extension[];
976
976
 
977
977
  /**
978
978
  * Parameter value - variable or literal.
979
979
  */
980
- readonly valueId?: string;
980
+ valueId?: string;
981
981
 
982
982
  /**
983
983
  * Parameter value - variable or literal.
984
984
  */
985
- readonly valueString?: string;
985
+ valueString?: string;
986
986
 
987
987
  /**
988
988
  * Parameter value - variable or literal.
989
989
  */
990
- readonly valueBoolean?: boolean;
990
+ valueBoolean?: boolean;
991
991
 
992
992
  /**
993
993
  * Parameter value - variable or literal.
994
994
  */
995
- readonly valueInteger?: number;
995
+ valueInteger?: number;
996
996
 
997
997
  /**
998
998
  * Parameter value - variable or literal.
999
999
  */
1000
- readonly valueDecimal?: number;
1000
+ valueDecimal?: number;
1001
1001
  }
1002
1002
 
1003
1003
  /**
@@ -1011,7 +1011,7 @@ export interface StructureMapStructure {
1011
1011
  * Unique id for the element within a resource (for internal references).
1012
1012
  * This may be any string value that does not contain spaces.
1013
1013
  */
1014
- readonly id?: string;
1014
+ id?: string;
1015
1015
 
1016
1016
  /**
1017
1017
  * May be used to represent additional information that is not part of
@@ -1021,7 +1021,7 @@ export interface StructureMapStructure {
1021
1021
  * define an extension, there is a set of requirements that SHALL be met
1022
1022
  * as part of the definition of the extension.
1023
1023
  */
1024
- readonly extension?: Extension[];
1024
+ extension?: Extension[];
1025
1025
 
1026
1026
  /**
1027
1027
  * May be used to represent additional information that is not part of
@@ -1040,25 +1040,25 @@ export interface StructureMapStructure {
1040
1040
  * Resource or DomainResource (including cannot change the meaning of
1041
1041
  * modifierExtension itself).
1042
1042
  */
1043
- readonly modifierExtension?: Extension[];
1043
+ modifierExtension?: Extension[];
1044
1044
 
1045
1045
  /**
1046
1046
  * The canonical reference to the structure.
1047
1047
  */
1048
- readonly url?: string;
1048
+ url?: string;
1049
1049
 
1050
1050
  /**
1051
1051
  * How the referenced structure is used in this mapping.
1052
1052
  */
1053
- readonly mode?: string;
1053
+ mode?: string;
1054
1054
 
1055
1055
  /**
1056
1056
  * The name used for this type in the map.
1057
1057
  */
1058
- readonly alias?: string;
1058
+ alias?: string;
1059
1059
 
1060
1060
  /**
1061
1061
  * Documentation that describes how the structure is used in the mapping.
1062
1062
  */
1063
- readonly documentation?: string;
1063
+ documentation?: string;
1064
1064
  }