@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
@@ -50,14 +50,14 @@ export interface DeviceRequest {
50
50
  * The logical id of the resource, as used in the URL for the resource.
51
51
  * Once assigned, this value never changes.
52
52
  */
53
- readonly id?: string;
53
+ id?: string;
54
54
 
55
55
  /**
56
56
  * The metadata about the resource. This is content that is maintained by
57
57
  * the infrastructure. Changes to the content might not always be
58
58
  * associated with version changes to the resource.
59
59
  */
60
- readonly meta?: Meta;
60
+ meta?: Meta;
61
61
 
62
62
  /**
63
63
  * A reference to a set of rules that were followed when the resource was
@@ -65,12 +65,12 @@ export interface DeviceRequest {
65
65
  * Often, this is a reference to an implementation guide that defines the
66
66
  * special rules along with other profiles etc.
67
67
  */
68
- readonly implicitRules?: string;
68
+ implicitRules?: string;
69
69
 
70
70
  /**
71
71
  * The base language in which the resource is written.
72
72
  */
73
- readonly language?: string;
73
+ language?: string;
74
74
 
75
75
  /**
76
76
  * A human-readable narrative that contains a summary of the resource and
@@ -80,14 +80,14 @@ export interface DeviceRequest {
80
80
  * just read the narrative. Resource definitions may define what content
81
81
  * should be represented in the narrative to ensure clinical safety.
82
82
  */
83
- readonly text?: Narrative;
83
+ text?: Narrative;
84
84
 
85
85
  /**
86
86
  * These resources do not have an independent existence apart from the
87
87
  * resource that contains them - they cannot be identified independently,
88
88
  * and nor can they have their own independent transaction scope.
89
89
  */
90
- readonly contained?: Resource[];
90
+ contained?: Resource[];
91
91
 
92
92
  /**
93
93
  * May be used to represent additional information that is not part of
@@ -97,7 +97,7 @@ export interface DeviceRequest {
97
97
  * define an extension, there is a set of requirements that SHALL be met
98
98
  * as part of the definition of the extension.
99
99
  */
100
- readonly extension?: Extension[];
100
+ extension?: Extension[];
101
101
 
102
102
  /**
103
103
  * May be used to represent additional information that is not part of
@@ -115,86 +115,86 @@ export interface DeviceRequest {
115
115
  * Resource or DomainResource (including cannot change the meaning of
116
116
  * modifierExtension itself).
117
117
  */
118
- readonly modifierExtension?: Extension[];
118
+ modifierExtension?: Extension[];
119
119
 
120
120
  /**
121
121
  * Identifiers assigned to this order by the orderer or by the receiver.
122
122
  */
123
- readonly identifier?: Identifier[];
123
+ identifier?: Identifier[];
124
124
 
125
125
  /**
126
126
  * The URL pointing to a FHIR-defined protocol, guideline, orderset or
127
127
  * other definition that is adhered to in whole or in part by this
128
128
  * DeviceRequest.
129
129
  */
130
- readonly instantiatesCanonical?: string[];
130
+ instantiatesCanonical?: string[];
131
131
 
132
132
  /**
133
133
  * The URL pointing to an externally maintained protocol, guideline,
134
134
  * orderset or other definition that is adhered to in whole or in part by
135
135
  * this DeviceRequest.
136
136
  */
137
- readonly instantiatesUri?: string[];
137
+ instantiatesUri?: string[];
138
138
 
139
139
  /**
140
140
  * Plan/proposal/order fulfilled by this request.
141
141
  */
142
- readonly basedOn?: Reference<Resource>[];
142
+ basedOn?: Reference<Resource>[];
143
143
 
144
144
  /**
145
145
  * The request takes the place of the referenced completed or terminated
146
146
  * request(s).
147
147
  */
148
- readonly priorRequest?: Reference<Resource>[];
148
+ priorRequest?: Reference<Resource>[];
149
149
 
150
150
  /**
151
151
  * Composite request this is part of.
152
152
  */
153
- readonly groupIdentifier?: Identifier;
153
+ groupIdentifier?: Identifier;
154
154
 
155
155
  /**
156
156
  * The status of the request.
157
157
  */
158
- readonly status?: string;
158
+ status?: string;
159
159
 
160
160
  /**
161
161
  * Whether the request is a proposal, plan, an original order or a reflex
162
162
  * order.
163
163
  */
164
- readonly intent?: string;
164
+ intent?: string;
165
165
 
166
166
  /**
167
167
  * Indicates how quickly the {{title}} should be addressed with respect
168
168
  * to other requests.
169
169
  */
170
- readonly priority?: string;
170
+ priority?: string;
171
171
 
172
172
  /**
173
173
  * The details of the device to be used.
174
174
  */
175
- readonly codeReference?: Reference<Device>;
175
+ codeReference?: Reference<Device>;
176
176
 
177
177
  /**
178
178
  * The details of the device to be used.
179
179
  */
180
- readonly codeCodeableConcept?: CodeableConcept;
180
+ codeCodeableConcept?: CodeableConcept;
181
181
 
182
182
  /**
183
183
  * Specific parameters for the ordered item. For example, the prism
184
184
  * value for lenses.
185
185
  */
186
- readonly parameter?: DeviceRequestParameter[];
186
+ parameter?: DeviceRequestParameter[];
187
187
 
188
188
  /**
189
189
  * The patient who will use the device.
190
190
  */
191
- readonly subject?: Reference<Patient | Group | Location | Device>;
191
+ subject?: Reference<Patient | Group | Location | Device>;
192
192
 
193
193
  /**
194
194
  * An encounter that provides additional context in which this request is
195
195
  * made.
196
196
  */
197
- readonly encounter?: Reference<Encounter>;
197
+ encounter?: Reference<Encounter>;
198
198
 
199
199
  /**
200
200
  * The timing schedule for the use of the device. The Schedule data type
@@ -202,7 +202,7 @@ export interface DeviceRequest {
202
202
  * &quot;Three times a day&quot;; &quot;1/2 an hour before breakfast for 10 days from
203
203
  * 23-Dec 2011:&quot;; &quot;15 Oct 2013, 17 Oct 2013 and 1 Nov 2013&quot;.
204
204
  */
205
- readonly occurrenceDateTime?: string;
205
+ occurrenceDateTime?: string;
206
206
 
207
207
  /**
208
208
  * The timing schedule for the use of the device. The Schedule data type
@@ -210,7 +210,7 @@ export interface DeviceRequest {
210
210
  * &quot;Three times a day&quot;; &quot;1/2 an hour before breakfast for 10 days from
211
211
  * 23-Dec 2011:&quot;; &quot;15 Oct 2013, 17 Oct 2013 and 1 Nov 2013&quot;.
212
212
  */
213
- readonly occurrencePeriod?: Period;
213
+ occurrencePeriod?: Period;
214
214
 
215
215
  /**
216
216
  * The timing schedule for the use of the device. The Schedule data type
@@ -218,52 +218,52 @@ export interface DeviceRequest {
218
218
  * &quot;Three times a day&quot;; &quot;1/2 an hour before breakfast for 10 days from
219
219
  * 23-Dec 2011:&quot;; &quot;15 Oct 2013, 17 Oct 2013 and 1 Nov 2013&quot;.
220
220
  */
221
- readonly occurrenceTiming?: Timing;
221
+ occurrenceTiming?: Timing;
222
222
 
223
223
  /**
224
224
  * When the request transitioned to being actionable.
225
225
  */
226
- readonly authoredOn?: string;
226
+ authoredOn?: string;
227
227
 
228
228
  /**
229
229
  * The individual who initiated the request and has responsibility for
230
230
  * its activation.
231
231
  */
232
- readonly requester?: Reference<Device | Practitioner | PractitionerRole | Organization>;
232
+ requester?: Reference<Device | Practitioner | PractitionerRole | Organization>;
233
233
 
234
234
  /**
235
235
  * Desired type of performer for doing the diagnostic testing.
236
236
  */
237
- readonly performerType?: CodeableConcept;
237
+ performerType?: CodeableConcept;
238
238
 
239
239
  /**
240
240
  * The desired performer for doing the diagnostic testing.
241
241
  */
242
- readonly performer?: Reference<Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson>;
242
+ performer?: Reference<Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson>;
243
243
 
244
244
  /**
245
245
  * Reason or justification for the use of this device.
246
246
  */
247
- readonly reasonCode?: CodeableConcept[];
247
+ reasonCode?: CodeableConcept[];
248
248
 
249
249
  /**
250
250
  * Reason or justification for the use of this device.
251
251
  */
252
- readonly reasonReference?: Reference<Condition | Observation | DiagnosticReport | DocumentReference>[];
252
+ reasonReference?: Reference<Condition | Observation | DiagnosticReport | DocumentReference>[];
253
253
 
254
254
  /**
255
255
  * Insurance plans, coverage extensions, pre-authorizations and/or
256
256
  * pre-determinations that may be required for delivering the requested
257
257
  * service.
258
258
  */
259
- readonly insurance?: Reference<Coverage | ClaimResponse>[];
259
+ insurance?: Reference<Coverage | ClaimResponse>[];
260
260
 
261
261
  /**
262
262
  * Additional clinical information about the patient that may influence
263
263
  * the request fulfilment. For example, this may include where on the
264
264
  * subject's body the device will be used (i.e. the target site).
265
265
  */
266
- readonly supportingInfo?: Reference<Resource>[];
266
+ supportingInfo?: Reference<Resource>[];
267
267
 
268
268
  /**
269
269
  * Details about this request that were not represented at all or
@@ -271,12 +271,12 @@ export interface DeviceRequest {
271
271
  * include for example a comment, an instruction, or a note associated
272
272
  * with the statement.
273
273
  */
274
- readonly note?: Annotation[];
274
+ note?: Annotation[];
275
275
 
276
276
  /**
277
277
  * Key events in the history of the request.
278
278
  */
279
- readonly relevantHistory?: Reference<Provenance>[];
279
+ relevantHistory?: Reference<Provenance>[];
280
280
  }
281
281
 
282
282
  /**
@@ -289,7 +289,7 @@ export interface DeviceRequestParameter {
289
289
  * Unique id for the element within a resource (for internal references).
290
290
  * This may be any string value that does not contain spaces.
291
291
  */
292
- readonly id?: string;
292
+ id?: string;
293
293
 
294
294
  /**
295
295
  * May be used to represent additional information that is not part of
@@ -299,7 +299,7 @@ export interface DeviceRequestParameter {
299
299
  * define an extension, there is a set of requirements that SHALL be met
300
300
  * as part of the definition of the extension.
301
301
  */
302
- readonly extension?: Extension[];
302
+ extension?: Extension[];
303
303
 
304
304
  /**
305
305
  * May be used to represent additional information that is not part of
@@ -318,30 +318,30 @@ export interface DeviceRequestParameter {
318
318
  * Resource or DomainResource (including cannot change the meaning of
319
319
  * modifierExtension itself).
320
320
  */
321
- readonly modifierExtension?: Extension[];
321
+ modifierExtension?: Extension[];
322
322
 
323
323
  /**
324
324
  * A code or string that identifies the device detail being asserted.
325
325
  */
326
- readonly code?: CodeableConcept;
326
+ code?: CodeableConcept;
327
327
 
328
328
  /**
329
329
  * The value of the device detail.
330
330
  */
331
- readonly valueCodeableConcept?: CodeableConcept;
331
+ valueCodeableConcept?: CodeableConcept;
332
332
 
333
333
  /**
334
334
  * The value of the device detail.
335
335
  */
336
- readonly valueQuantity?: Quantity;
336
+ valueQuantity?: Quantity;
337
337
 
338
338
  /**
339
339
  * The value of the device detail.
340
340
  */
341
- readonly valueRange?: Range;
341
+ valueRange?: Range;
342
342
 
343
343
  /**
344
344
  * The value of the device detail.
345
345
  */
346
- readonly valueBoolean?: boolean;
346
+ valueBoolean?: boolean;
347
347
  }
@@ -44,14 +44,14 @@ export interface DeviceUseStatement {
44
44
  * The logical id of the resource, as used in the URL for the resource.
45
45
  * Once assigned, this value never changes.
46
46
  */
47
- readonly id?: string;
47
+ id?: string;
48
48
 
49
49
  /**
50
50
  * The metadata about the resource. This is content that is maintained by
51
51
  * the infrastructure. Changes to the content might not always be
52
52
  * associated with version changes to the resource.
53
53
  */
54
- readonly meta?: Meta;
54
+ meta?: Meta;
55
55
 
56
56
  /**
57
57
  * A reference to a set of rules that were followed when the resource was
@@ -59,12 +59,12 @@ export interface DeviceUseStatement {
59
59
  * Often, this is a reference to an implementation guide that defines the
60
60
  * special rules along with other profiles etc.
61
61
  */
62
- readonly implicitRules?: string;
62
+ implicitRules?: string;
63
63
 
64
64
  /**
65
65
  * The base language in which the resource is written.
66
66
  */
67
- readonly language?: string;
67
+ language?: string;
68
68
 
69
69
  /**
70
70
  * A human-readable narrative that contains a summary of the resource and
@@ -74,14 +74,14 @@ export interface DeviceUseStatement {
74
74
  * just read the narrative. Resource definitions may define what content
75
75
  * should be represented in the narrative to ensure clinical safety.
76
76
  */
77
- readonly text?: Narrative;
77
+ text?: Narrative;
78
78
 
79
79
  /**
80
80
  * These resources do not have an independent existence apart from the
81
81
  * resource that contains them - they cannot be identified independently,
82
82
  * and nor can they have their own independent transaction scope.
83
83
  */
84
- readonly contained?: Resource[];
84
+ contained?: Resource[];
85
85
 
86
86
  /**
87
87
  * May be used to represent additional information that is not part of
@@ -91,7 +91,7 @@ export interface DeviceUseStatement {
91
91
  * define an extension, there is a set of requirements that SHALL be met
92
92
  * as part of the definition of the extension.
93
93
  */
94
- readonly extension?: Extension[];
94
+ extension?: Extension[];
95
95
 
96
96
  /**
97
97
  * May be used to represent additional information that is not part of
@@ -109,84 +109,84 @@ export interface DeviceUseStatement {
109
109
  * Resource or DomainResource (including cannot change the meaning of
110
110
  * modifierExtension itself).
111
111
  */
112
- readonly modifierExtension?: Extension[];
112
+ modifierExtension?: Extension[];
113
113
 
114
114
  /**
115
115
  * An external identifier for this statement such as an IRI.
116
116
  */
117
- readonly identifier?: Identifier[];
117
+ identifier?: Identifier[];
118
118
 
119
119
  /**
120
120
  * A plan, proposal or order that is fulfilled in whole or in part by
121
121
  * this DeviceUseStatement.
122
122
  */
123
- readonly basedOn?: Reference<ServiceRequest>[];
123
+ basedOn?: Reference<ServiceRequest>[];
124
124
 
125
125
  /**
126
126
  * A code representing the patient or other source's judgment about the
127
127
  * state of the device used that this statement is about. Generally this
128
128
  * will be active or completed.
129
129
  */
130
- readonly status?: string;
130
+ status?: string;
131
131
 
132
132
  /**
133
133
  * The patient who used the device.
134
134
  */
135
- readonly subject?: Reference<Patient | Group>;
135
+ subject?: Reference<Patient | Group>;
136
136
 
137
137
  /**
138
138
  * Allows linking the DeviceUseStatement to the underlying Request, or to
139
139
  * other information that supports or is used to derive the
140
140
  * DeviceUseStatement.
141
141
  */
142
- readonly derivedFrom?: Reference<ServiceRequest | Procedure | Claim | Observation | QuestionnaireResponse | DocumentReference>[];
142
+ derivedFrom?: Reference<ServiceRequest | Procedure | Claim | Observation | QuestionnaireResponse | DocumentReference>[];
143
143
 
144
144
  /**
145
145
  * How often the device was used.
146
146
  */
147
- readonly timingTiming?: Timing;
147
+ timingTiming?: Timing;
148
148
 
149
149
  /**
150
150
  * How often the device was used.
151
151
  */
152
- readonly timingPeriod?: Period;
152
+ timingPeriod?: Period;
153
153
 
154
154
  /**
155
155
  * How often the device was used.
156
156
  */
157
- readonly timingDateTime?: string;
157
+ timingDateTime?: string;
158
158
 
159
159
  /**
160
160
  * The time at which the statement was made/recorded.
161
161
  */
162
- readonly recordedOn?: string;
162
+ recordedOn?: string;
163
163
 
164
164
  /**
165
165
  * Who reported the device was being used by the patient.
166
166
  */
167
- readonly source?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson>;
167
+ source?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson>;
168
168
 
169
169
  /**
170
170
  * The details of the device used.
171
171
  */
172
- readonly device?: Reference<Device>;
172
+ device?: Reference<Device>;
173
173
 
174
174
  /**
175
175
  * Reason or justification for the use of the device.
176
176
  */
177
- readonly reasonCode?: CodeableConcept[];
177
+ reasonCode?: CodeableConcept[];
178
178
 
179
179
  /**
180
180
  * Indicates another resource whose existence justifies this
181
181
  * DeviceUseStatement.
182
182
  */
183
- readonly reasonReference?: Reference<Condition | Observation | DiagnosticReport | DocumentReference | Media>[];
183
+ reasonReference?: Reference<Condition | Observation | DiagnosticReport | DocumentReference | Media>[];
184
184
 
185
185
  /**
186
186
  * Indicates the anotomic location on the subject's body where the device
187
187
  * was used ( i.e. the target).
188
188
  */
189
- readonly bodySite?: CodeableConcept;
189
+ bodySite?: CodeableConcept;
190
190
 
191
191
  /**
192
192
  * Details about the device statement that were not represented at all or
@@ -194,5 +194,5 @@ export interface DeviceUseStatement {
194
194
  * include for example a comment, an instruction, or a note associated
195
195
  * with the statement.
196
196
  */
197
- readonly note?: Annotation[];
197
+ note?: Annotation[];
198
198
  }