@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
@@ -34,14 +34,14 @@ export interface BiologicallyDerivedProduct {
34
34
  * The logical id of the resource, as used in the URL for the resource.
35
35
  * Once assigned, this value never changes.
36
36
  */
37
- readonly id?: string;
37
+ id?: string;
38
38
 
39
39
  /**
40
40
  * The metadata about the resource. This is content that is maintained by
41
41
  * the infrastructure. Changes to the content might not always be
42
42
  * associated with version changes to the resource.
43
43
  */
44
- readonly meta?: Meta;
44
+ meta?: Meta;
45
45
 
46
46
  /**
47
47
  * A reference to a set of rules that were followed when the resource was
@@ -49,12 +49,12 @@ export interface BiologicallyDerivedProduct {
49
49
  * Often, this is a reference to an implementation guide that defines the
50
50
  * special rules along with other profiles etc.
51
51
  */
52
- readonly implicitRules?: string;
52
+ implicitRules?: string;
53
53
 
54
54
  /**
55
55
  * The base language in which the resource is written.
56
56
  */
57
- readonly language?: string;
57
+ language?: string;
58
58
 
59
59
  /**
60
60
  * A human-readable narrative that contains a summary of the resource and
@@ -64,14 +64,14 @@ export interface BiologicallyDerivedProduct {
64
64
  * just read the narrative. Resource definitions may define what content
65
65
  * should be represented in the narrative to ensure clinical safety.
66
66
  */
67
- readonly text?: Narrative;
67
+ text?: Narrative;
68
68
 
69
69
  /**
70
70
  * These resources do not have an independent existence apart from the
71
71
  * resource that contains them - they cannot be identified independently,
72
72
  * and nor can they have their own independent transaction scope.
73
73
  */
74
- readonly contained?: Resource[];
74
+ contained?: Resource[];
75
75
 
76
76
  /**
77
77
  * May be used to represent additional information that is not part of
@@ -81,7 +81,7 @@ export interface BiologicallyDerivedProduct {
81
81
  * define an extension, there is a set of requirements that SHALL be met
82
82
  * as part of the definition of the extension.
83
83
  */
84
- readonly extension?: Extension[];
84
+ extension?: Extension[];
85
85
 
86
86
  /**
87
87
  * May be used to represent additional information that is not part of
@@ -99,7 +99,7 @@ export interface BiologicallyDerivedProduct {
99
99
  * Resource or DomainResource (including cannot change the meaning of
100
100
  * modifierExtension itself).
101
101
  */
102
- readonly modifierExtension?: Extension[];
102
+ modifierExtension?: Extension[];
103
103
 
104
104
  /**
105
105
  * This records identifiers associated with this biologically derived
@@ -108,62 +108,62 @@ export interface BiologicallyDerivedProduct {
108
108
  * appropriate (e.g. in CDA documents, or in written / printed
109
109
  * documentation).
110
110
  */
111
- readonly identifier?: Identifier[];
111
+ identifier?: Identifier[];
112
112
 
113
113
  /**
114
114
  * Broad category of this product.
115
115
  */
116
- readonly productCategory?: string;
116
+ productCategory?: string;
117
117
 
118
118
  /**
119
119
  * A code that identifies the kind of this biologically derived product
120
120
  * (SNOMED Ctcode).
121
121
  */
122
- readonly productCode?: CodeableConcept;
122
+ productCode?: CodeableConcept;
123
123
 
124
124
  /**
125
125
  * Whether the product is currently available.
126
126
  */
127
- readonly status?: string;
127
+ status?: string;
128
128
 
129
129
  /**
130
130
  * Procedure request to obtain this biologically derived product.
131
131
  */
132
- readonly request?: Reference<ServiceRequest>[];
132
+ request?: Reference<ServiceRequest>[];
133
133
 
134
134
  /**
135
135
  * Number of discrete units within this product.
136
136
  */
137
- readonly quantity?: number;
137
+ quantity?: number;
138
138
 
139
139
  /**
140
140
  * Parent product (if any).
141
141
  */
142
- readonly parent?: Reference<BiologicallyDerivedProduct>[];
142
+ parent?: Reference<BiologicallyDerivedProduct>[];
143
143
 
144
144
  /**
145
145
  * How this product was collected.
146
146
  */
147
- readonly collection?: BiologicallyDerivedProductCollection;
147
+ collection?: BiologicallyDerivedProductCollection;
148
148
 
149
149
  /**
150
150
  * Any processing of the product during collection that does not change
151
151
  * the fundamental nature of the product. For example adding
152
152
  * anti-coagulants during the collection of Peripheral Blood Stem Cells.
153
153
  */
154
- readonly processing?: BiologicallyDerivedProductProcessing[];
154
+ processing?: BiologicallyDerivedProductProcessing[];
155
155
 
156
156
  /**
157
157
  * Any manipulation of product post-collection that is intended to alter
158
158
  * the product. For example a buffy-coat enrichment or CD8 reduction of
159
159
  * Peripheral Blood Stem Cells to make it more suitable for infusion.
160
160
  */
161
- readonly manipulation?: BiologicallyDerivedProductManipulation;
161
+ manipulation?: BiologicallyDerivedProductManipulation;
162
162
 
163
163
  /**
164
164
  * Product storage.
165
165
  */
166
- readonly storage?: BiologicallyDerivedProductStorage[];
166
+ storage?: BiologicallyDerivedProductStorage[];
167
167
  }
168
168
 
169
169
  /**
@@ -175,7 +175,7 @@ export interface BiologicallyDerivedProductCollection {
175
175
  * Unique id for the element within a resource (for internal references).
176
176
  * This may be any string value that does not contain spaces.
177
177
  */
178
- readonly id?: string;
178
+ id?: string;
179
179
 
180
180
  /**
181
181
  * May be used to represent additional information that is not part of
@@ -185,7 +185,7 @@ export interface BiologicallyDerivedProductCollection {
185
185
  * define an extension, there is a set of requirements that SHALL be met
186
186
  * as part of the definition of the extension.
187
187
  */
188
- readonly extension?: Extension[];
188
+ extension?: Extension[];
189
189
 
190
190
  /**
191
191
  * May be used to represent additional information that is not part of
@@ -204,28 +204,28 @@ export interface BiologicallyDerivedProductCollection {
204
204
  * Resource or DomainResource (including cannot change the meaning of
205
205
  * modifierExtension itself).
206
206
  */
207
- readonly modifierExtension?: Extension[];
207
+ modifierExtension?: Extension[];
208
208
 
209
209
  /**
210
210
  * Healthcare professional who is performing the collection.
211
211
  */
212
- readonly collector?: Reference<Practitioner | PractitionerRole>;
212
+ collector?: Reference<Practitioner | PractitionerRole>;
213
213
 
214
214
  /**
215
215
  * The patient or entity, such as a hospital or vendor in the case of a
216
216
  * processed/manipulated/manufactured product, providing the product.
217
217
  */
218
- readonly source?: Reference<Patient | Organization>;
218
+ source?: Reference<Patient | Organization>;
219
219
 
220
220
  /**
221
221
  * Time of product collection.
222
222
  */
223
- readonly collectedDateTime?: string;
223
+ collectedDateTime?: string;
224
224
 
225
225
  /**
226
226
  * Time of product collection.
227
227
  */
228
- readonly collectedPeriod?: Period;
228
+ collectedPeriod?: Period;
229
229
  }
230
230
 
231
231
  /**
@@ -239,7 +239,7 @@ export interface BiologicallyDerivedProductManipulation {
239
239
  * Unique id for the element within a resource (for internal references).
240
240
  * This may be any string value that does not contain spaces.
241
241
  */
242
- readonly id?: string;
242
+ id?: string;
243
243
 
244
244
  /**
245
245
  * May be used to represent additional information that is not part of
@@ -249,7 +249,7 @@ export interface BiologicallyDerivedProductManipulation {
249
249
  * define an extension, there is a set of requirements that SHALL be met
250
250
  * as part of the definition of the extension.
251
251
  */
252
- readonly extension?: Extension[];
252
+ extension?: Extension[];
253
253
 
254
254
  /**
255
255
  * May be used to represent additional information that is not part of
@@ -268,22 +268,22 @@ export interface BiologicallyDerivedProductManipulation {
268
268
  * Resource or DomainResource (including cannot change the meaning of
269
269
  * modifierExtension itself).
270
270
  */
271
- readonly modifierExtension?: Extension[];
271
+ modifierExtension?: Extension[];
272
272
 
273
273
  /**
274
274
  * Description of manipulation.
275
275
  */
276
- readonly description?: string;
276
+ description?: string;
277
277
 
278
278
  /**
279
279
  * Time of manipulation.
280
280
  */
281
- readonly timeDateTime?: string;
281
+ timeDateTime?: string;
282
282
 
283
283
  /**
284
284
  * Time of manipulation.
285
285
  */
286
- readonly timePeriod?: Period;
286
+ timePeriod?: Period;
287
287
  }
288
288
 
289
289
  /**
@@ -297,7 +297,7 @@ export interface BiologicallyDerivedProductProcessing {
297
297
  * Unique id for the element within a resource (for internal references).
298
298
  * This may be any string value that does not contain spaces.
299
299
  */
300
- readonly id?: string;
300
+ id?: string;
301
301
 
302
302
  /**
303
303
  * May be used to represent additional information that is not part of
@@ -307,7 +307,7 @@ export interface BiologicallyDerivedProductProcessing {
307
307
  * define an extension, there is a set of requirements that SHALL be met
308
308
  * as part of the definition of the extension.
309
309
  */
310
- readonly extension?: Extension[];
310
+ extension?: Extension[];
311
311
 
312
312
  /**
313
313
  * May be used to represent additional information that is not part of
@@ -326,32 +326,32 @@ export interface BiologicallyDerivedProductProcessing {
326
326
  * Resource or DomainResource (including cannot change the meaning of
327
327
  * modifierExtension itself).
328
328
  */
329
- readonly modifierExtension?: Extension[];
329
+ modifierExtension?: Extension[];
330
330
 
331
331
  /**
332
332
  * Description of of processing.
333
333
  */
334
- readonly description?: string;
334
+ description?: string;
335
335
 
336
336
  /**
337
337
  * Procesing code.
338
338
  */
339
- readonly procedure?: CodeableConcept;
339
+ procedure?: CodeableConcept;
340
340
 
341
341
  /**
342
342
  * Substance added during processing.
343
343
  */
344
- readonly additive?: Reference<Substance>;
344
+ additive?: Reference<Substance>;
345
345
 
346
346
  /**
347
347
  * Time of processing.
348
348
  */
349
- readonly timeDateTime?: string;
349
+ timeDateTime?: string;
350
350
 
351
351
  /**
352
352
  * Time of processing.
353
353
  */
354
- readonly timePeriod?: Period;
354
+ timePeriod?: Period;
355
355
  }
356
356
 
357
357
  /**
@@ -363,7 +363,7 @@ export interface BiologicallyDerivedProductStorage {
363
363
  * Unique id for the element within a resource (for internal references).
364
364
  * This may be any string value that does not contain spaces.
365
365
  */
366
- readonly id?: string;
366
+ id?: string;
367
367
 
368
368
  /**
369
369
  * May be used to represent additional information that is not part of
@@ -373,7 +373,7 @@ export interface BiologicallyDerivedProductStorage {
373
373
  * define an extension, there is a set of requirements that SHALL be met
374
374
  * as part of the definition of the extension.
375
375
  */
376
- readonly extension?: Extension[];
376
+ extension?: Extension[];
377
377
 
378
378
  /**
379
379
  * May be used to represent additional information that is not part of
@@ -392,25 +392,25 @@ export interface BiologicallyDerivedProductStorage {
392
392
  * Resource or DomainResource (including cannot change the meaning of
393
393
  * modifierExtension itself).
394
394
  */
395
- readonly modifierExtension?: Extension[];
395
+ modifierExtension?: Extension[];
396
396
 
397
397
  /**
398
398
  * Description of storage.
399
399
  */
400
- readonly description?: string;
400
+ description?: string;
401
401
 
402
402
  /**
403
403
  * Storage temperature.
404
404
  */
405
- readonly temperature?: number;
405
+ temperature?: number;
406
406
 
407
407
  /**
408
408
  * Temperature scale used.
409
409
  */
410
- readonly scale?: string;
410
+ scale?: string;
411
411
 
412
412
  /**
413
413
  * Storage timeperiod.
414
414
  */
415
- readonly duration?: Period;
415
+ duration?: Period;
416
416
  }
@@ -29,14 +29,14 @@ export interface BodyStructure {
29
29
  * The logical id of the resource, as used in the URL for the resource.
30
30
  * Once assigned, this value never changes.
31
31
  */
32
- readonly id?: string;
32
+ id?: string;
33
33
 
34
34
  /**
35
35
  * The metadata about the resource. This is content that is maintained by
36
36
  * the infrastructure. Changes to the content might not always be
37
37
  * associated with version changes to the resource.
38
38
  */
39
- readonly meta?: Meta;
39
+ meta?: Meta;
40
40
 
41
41
  /**
42
42
  * A reference to a set of rules that were followed when the resource was
@@ -44,12 +44,12 @@ export interface BodyStructure {
44
44
  * Often, this is a reference to an implementation guide that defines the
45
45
  * special rules along with other profiles etc.
46
46
  */
47
- readonly implicitRules?: string;
47
+ implicitRules?: string;
48
48
 
49
49
  /**
50
50
  * The base language in which the resource is written.
51
51
  */
52
- readonly language?: string;
52
+ language?: string;
53
53
 
54
54
  /**
55
55
  * A human-readable narrative that contains a summary of the resource and
@@ -59,14 +59,14 @@ export interface BodyStructure {
59
59
  * just read the narrative. Resource definitions may define what content
60
60
  * should be represented in the narrative to ensure clinical safety.
61
61
  */
62
- readonly text?: Narrative;
62
+ text?: Narrative;
63
63
 
64
64
  /**
65
65
  * These resources do not have an independent existence apart from the
66
66
  * resource that contains them - they cannot be identified independently,
67
67
  * and nor can they have their own independent transaction scope.
68
68
  */
69
- readonly contained?: Resource[];
69
+ contained?: Resource[];
70
70
 
71
71
  /**
72
72
  * May be used to represent additional information that is not part of
@@ -76,7 +76,7 @@ export interface BodyStructure {
76
76
  * define an extension, there is a set of requirements that SHALL be met
77
77
  * as part of the definition of the extension.
78
78
  */
79
- readonly extension?: Extension[];
79
+ extension?: Extension[];
80
80
 
81
81
  /**
82
82
  * May be used to represent additional information that is not part of
@@ -94,49 +94,49 @@ export interface BodyStructure {
94
94
  * Resource or DomainResource (including cannot change the meaning of
95
95
  * modifierExtension itself).
96
96
  */
97
- readonly modifierExtension?: Extension[];
97
+ modifierExtension?: Extension[];
98
98
 
99
99
  /**
100
100
  * Identifier for this instance of the anatomical structure.
101
101
  */
102
- readonly identifier?: Identifier[];
102
+ identifier?: Identifier[];
103
103
 
104
104
  /**
105
105
  * Whether this body site is in active use.
106
106
  */
107
- readonly active?: boolean;
107
+ active?: boolean;
108
108
 
109
109
  /**
110
110
  * The kind of structure being represented by the body structure at
111
111
  * `BodyStructure.location`. This can define both normal and abnormal
112
112
  * morphologies.
113
113
  */
114
- readonly morphology?: CodeableConcept;
114
+ morphology?: CodeableConcept;
115
115
 
116
116
  /**
117
117
  * The anatomical location or region of the specimen, lesion, or body
118
118
  * structure.
119
119
  */
120
- readonly location?: CodeableConcept;
120
+ location?: CodeableConcept;
121
121
 
122
122
  /**
123
123
  * Qualifier to refine the anatomical location. These include qualifiers
124
124
  * for laterality, relative location, directionality, number, and plane.
125
125
  */
126
- readonly locationQualifier?: CodeableConcept[];
126
+ locationQualifier?: CodeableConcept[];
127
127
 
128
128
  /**
129
129
  * A summary, characterization or explanation of the body structure.
130
130
  */
131
- readonly description?: string;
131
+ description?: string;
132
132
 
133
133
  /**
134
134
  * Image or images used to identify a location.
135
135
  */
136
- readonly image?: Attachment[];
136
+ image?: Attachment[];
137
137
 
138
138
  /**
139
139
  * The person to which the body site belongs.
140
140
  */
141
- readonly patient?: Reference<Patient>;
141
+ patient?: Reference<Patient>;
142
142
  }
package/dist/Bot.d.ts CHANGED
@@ -20,14 +20,14 @@ export interface Bot {
20
20
  * The logical id of the resource, as used in the URL for the resource.
21
21
  * Once assigned, this value never changes.
22
22
  */
23
- readonly id?: string;
23
+ id?: string;
24
24
 
25
25
  /**
26
26
  * The metadata about the resource. This is content that is maintained by
27
27
  * the infrastructure. Changes to the content might not always be
28
28
  * associated with version changes to the resource.
29
29
  */
30
- readonly meta?: Meta;
30
+ meta?: Meta;
31
31
 
32
32
  /**
33
33
  * A reference to a set of rules that were followed when the resource was
@@ -35,30 +35,41 @@ export interface Bot {
35
35
  * Often, this is a reference to an implementation guide that defines the
36
36
  * special rules along with other profiles etc.
37
37
  */
38
- readonly implicitRules?: string;
38
+ implicitRules?: string;
39
39
 
40
40
  /**
41
41
  * The base language in which the resource is written.
42
42
  */
43
- readonly language?: string;
43
+ language?: string;
44
44
 
45
45
  /**
46
46
  * A name associated with the Bot.
47
47
  */
48
- readonly name?: string;
48
+ name?: string;
49
49
 
50
50
  /**
51
51
  * A summary, characterization or explanation of the Bot.
52
52
  */
53
- readonly description?: string;
53
+ description?: string;
54
+
55
+ /**
56
+ * The identifier of the bot runtime environment (i.e., vmcontext,
57
+ * awslambda, etc).
58
+ */
59
+ runtimeVersion?: string;
54
60
 
55
61
  /**
56
62
  * Image of the bot.
57
63
  */
58
- readonly photo?: Attachment;
64
+ photo?: Attachment;
59
65
 
60
66
  /**
61
67
  * Bot logic script.
62
68
  */
63
- readonly code?: string;
69
+ code?: string;
70
+
71
+ /**
72
+ * Optional flag to indicate that the bot should be run as the user.
73
+ */
74
+ runAsUser?: boolean;
64
75
  }