@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
@@ -41,14 +41,14 @@ export interface ResearchStudy {
41
41
  * The logical id of the resource, as used in the URL for the resource.
42
42
  * Once assigned, this value never changes.
43
43
  */
44
- readonly id?: string;
44
+ id?: string;
45
45
 
46
46
  /**
47
47
  * The metadata about the resource. This is content that is maintained by
48
48
  * the infrastructure. Changes to the content might not always be
49
49
  * associated with version changes to the resource.
50
50
  */
51
- readonly meta?: Meta;
51
+ meta?: Meta;
52
52
 
53
53
  /**
54
54
  * A reference to a set of rules that were followed when the resource was
@@ -56,12 +56,12 @@ export interface ResearchStudy {
56
56
  * Often, this is a reference to an implementation guide that defines the
57
57
  * special rules along with other profiles etc.
58
58
  */
59
- readonly implicitRules?: string;
59
+ implicitRules?: string;
60
60
 
61
61
  /**
62
62
  * The base language in which the resource is written.
63
63
  */
64
- readonly language?: string;
64
+ language?: string;
65
65
 
66
66
  /**
67
67
  * A human-readable narrative that contains a summary of the resource and
@@ -71,14 +71,14 @@ export interface ResearchStudy {
71
71
  * just read the narrative. Resource definitions may define what content
72
72
  * should be represented in the narrative to ensure clinical safety.
73
73
  */
74
- readonly text?: Narrative;
74
+ text?: Narrative;
75
75
 
76
76
  /**
77
77
  * These resources do not have an independent existence apart from the
78
78
  * resource that contains them - they cannot be identified independently,
79
79
  * and nor can they have their own independent transaction scope.
80
80
  */
81
- readonly contained?: Resource[];
81
+ contained?: Resource[];
82
82
 
83
83
  /**
84
84
  * May be used to represent additional information that is not part of
@@ -88,7 +88,7 @@ export interface ResearchStudy {
88
88
  * define an extension, there is a set of requirements that SHALL be met
89
89
  * as part of the definition of the extension.
90
90
  */
91
- readonly extension?: Extension[];
91
+ extension?: Extension[];
92
92
 
93
93
  /**
94
94
  * May be used to represent additional information that is not part of
@@ -106,61 +106,61 @@ export interface ResearchStudy {
106
106
  * Resource or DomainResource (including cannot change the meaning of
107
107
  * modifierExtension itself).
108
108
  */
109
- readonly modifierExtension?: Extension[];
109
+ modifierExtension?: Extension[];
110
110
 
111
111
  /**
112
112
  * Identifiers assigned to this research study by the sponsor or other
113
113
  * systems.
114
114
  */
115
- readonly identifier?: Identifier[];
115
+ identifier?: Identifier[];
116
116
 
117
117
  /**
118
118
  * A short, descriptive user-friendly label for the study.
119
119
  */
120
- readonly title?: string;
120
+ title?: string;
121
121
 
122
122
  /**
123
123
  * The set of steps expected to be performed as part of the execution of
124
124
  * the study.
125
125
  */
126
- readonly protocol?: Reference<PlanDefinition>[];
126
+ protocol?: Reference<PlanDefinition>[];
127
127
 
128
128
  /**
129
129
  * A larger research study of which this particular study is a component
130
130
  * or step.
131
131
  */
132
- readonly partOf?: Reference<ResearchStudy>[];
132
+ partOf?: Reference<ResearchStudy>[];
133
133
 
134
134
  /**
135
135
  * The current state of the study.
136
136
  */
137
- readonly status?: string;
137
+ status?: string;
138
138
 
139
139
  /**
140
140
  * The type of study based upon the intent of the study's activities. A
141
141
  * classification of the intent of the study.
142
142
  */
143
- readonly primaryPurposeType?: CodeableConcept;
143
+ primaryPurposeType?: CodeableConcept;
144
144
 
145
145
  /**
146
146
  * The stage in the progression of a therapy from initial experimental
147
147
  * use in humans in clinical trials to post-market evaluation.
148
148
  */
149
- readonly phase?: CodeableConcept;
149
+ phase?: CodeableConcept;
150
150
 
151
151
  /**
152
152
  * Codes categorizing the type of study such as investigational vs.
153
153
  * observational, type of blinding, type of randomization, safety vs.
154
154
  * efficacy, etc.
155
155
  */
156
- readonly category?: CodeableConcept[];
156
+ category?: CodeableConcept[];
157
157
 
158
158
  /**
159
159
  * The medication(s), food(s), therapy(ies), device(s) or other concerns
160
160
  * or interventions that the study is seeking to gain more information
161
161
  * about.
162
162
  */
163
- readonly focus?: CodeableConcept[];
163
+ focus?: CodeableConcept[];
164
164
 
165
165
  /**
166
166
  * The condition that is the focus of the study. For example, In a study
@@ -168,53 +168,53 @@ export interface ResearchStudy {
168
168
  * criterion &quot;healthy volunteer&quot;, but the target condition code would be
169
169
  * a Lupus SNOMED code.
170
170
  */
171
- readonly condition?: CodeableConcept[];
171
+ condition?: CodeableConcept[];
172
172
 
173
173
  /**
174
174
  * Contact details to assist a user in learning more about or engaging
175
175
  * with the study.
176
176
  */
177
- readonly contact?: ContactDetail[];
177
+ contact?: ContactDetail[];
178
178
 
179
179
  /**
180
180
  * Citations, references and other related documents.
181
181
  */
182
- readonly relatedArtifact?: RelatedArtifact[];
182
+ relatedArtifact?: RelatedArtifact[];
183
183
 
184
184
  /**
185
185
  * Key terms to aid in searching for or filtering the study.
186
186
  */
187
- readonly keyword?: CodeableConcept[];
187
+ keyword?: CodeableConcept[];
188
188
 
189
189
  /**
190
190
  * Indicates a country, state or other region where the study is taking
191
191
  * place.
192
192
  */
193
- readonly location?: CodeableConcept[];
193
+ location?: CodeableConcept[];
194
194
 
195
195
  /**
196
196
  * A full description of how the study is being conducted.
197
197
  */
198
- readonly description?: string;
198
+ description?: string;
199
199
 
200
200
  /**
201
201
  * Reference to a Group that defines the criteria for and quantity of
202
202
  * subjects participating in the study. E.g. &quot; 200 female Europeans
203
203
  * between the ages of 20 and 45 with early onset diabetes&quot;.
204
204
  */
205
- readonly enrollment?: Reference<Group>[];
205
+ enrollment?: Reference<Group>[];
206
206
 
207
207
  /**
208
208
  * Identifies the start date and the expected (or actual, depending on
209
209
  * status) end date for the study.
210
210
  */
211
- readonly period?: Period;
211
+ period?: Period;
212
212
 
213
213
  /**
214
214
  * An organization that initiates the investigation and is legally
215
215
  * responsible for the study.
216
216
  */
217
- readonly sponsor?: Reference<Organization>;
217
+ sponsor?: Reference<Organization>;
218
218
 
219
219
  /**
220
220
  * A researcher in a study who oversees multiple aspects of the study,
@@ -222,38 +222,38 @@ export interface ResearchStudy {
222
222
  * IRB approval, participant recruitment, informed consent, data
223
223
  * collection, analysis, interpretation and presentation.
224
224
  */
225
- readonly principalInvestigator?: Reference<Practitioner | PractitionerRole>;
225
+ principalInvestigator?: Reference<Practitioner | PractitionerRole>;
226
226
 
227
227
  /**
228
228
  * A facility in which study activities are conducted.
229
229
  */
230
- readonly site?: Reference<Location>[];
230
+ site?: Reference<Location>[];
231
231
 
232
232
  /**
233
233
  * A description and/or code explaining the premature termination of the
234
234
  * study.
235
235
  */
236
- readonly reasonStopped?: CodeableConcept;
236
+ reasonStopped?: CodeableConcept;
237
237
 
238
238
  /**
239
239
  * Comments made about the study by the performer, subject or other
240
240
  * participants.
241
241
  */
242
- readonly note?: Annotation[];
242
+ note?: Annotation[];
243
243
 
244
244
  /**
245
245
  * Describes an expected sequence of events for one of the participants
246
246
  * of a study. E.g. Exposure to drug A, wash-out, exposure to drug B,
247
247
  * wash-out, follow-up.
248
248
  */
249
- readonly arm?: ResearchStudyArm[];
249
+ arm?: ResearchStudyArm[];
250
250
 
251
251
  /**
252
252
  * A goal that the study is aiming to achieve in terms of a scientific
253
253
  * question to be answered by the analysis of data collected during the
254
254
  * study.
255
255
  */
256
- readonly objective?: ResearchStudyObjective[];
256
+ objective?: ResearchStudyObjective[];
257
257
  }
258
258
 
259
259
  /**
@@ -267,7 +267,7 @@ export interface ResearchStudyArm {
267
267
  * Unique id for the element within a resource (for internal references).
268
268
  * This may be any string value that does not contain spaces.
269
269
  */
270
- readonly id?: string;
270
+ id?: string;
271
271
 
272
272
  /**
273
273
  * May be used to represent additional information that is not part of
@@ -277,7 +277,7 @@ export interface ResearchStudyArm {
277
277
  * define an extension, there is a set of requirements that SHALL be met
278
278
  * as part of the definition of the extension.
279
279
  */
280
- readonly extension?: Extension[];
280
+ extension?: Extension[];
281
281
 
282
282
  /**
283
283
  * May be used to represent additional information that is not part of
@@ -296,24 +296,24 @@ export interface ResearchStudyArm {
296
296
  * Resource or DomainResource (including cannot change the meaning of
297
297
  * modifierExtension itself).
298
298
  */
299
- readonly modifierExtension?: Extension[];
299
+ modifierExtension?: Extension[];
300
300
 
301
301
  /**
302
302
  * Unique, human-readable label for this arm of the study.
303
303
  */
304
- readonly name?: string;
304
+ name?: string;
305
305
 
306
306
  /**
307
307
  * Categorization of study arm, e.g. experimental, active comparator,
308
308
  * placebo comparater.
309
309
  */
310
- readonly type?: CodeableConcept;
310
+ type?: CodeableConcept;
311
311
 
312
312
  /**
313
313
  * A succinct description of the path through the study that would be
314
314
  * followed by a subject adhering to this arm.
315
315
  */
316
- readonly description?: string;
316
+ description?: string;
317
317
  }
318
318
 
319
319
  /**
@@ -327,7 +327,7 @@ export interface ResearchStudyObjective {
327
327
  * Unique id for the element within a resource (for internal references).
328
328
  * This may be any string value that does not contain spaces.
329
329
  */
330
- readonly id?: string;
330
+ id?: string;
331
331
 
332
332
  /**
333
333
  * May be used to represent additional information that is not part of
@@ -337,7 +337,7 @@ export interface ResearchStudyObjective {
337
337
  * define an extension, there is a set of requirements that SHALL be met
338
338
  * as part of the definition of the extension.
339
339
  */
340
- readonly extension?: Extension[];
340
+ extension?: Extension[];
341
341
 
342
342
  /**
343
343
  * May be used to represent additional information that is not part of
@@ -356,15 +356,15 @@ export interface ResearchStudyObjective {
356
356
  * Resource or DomainResource (including cannot change the meaning of
357
357
  * modifierExtension itself).
358
358
  */
359
- readonly modifierExtension?: Extension[];
359
+ modifierExtension?: Extension[];
360
360
 
361
361
  /**
362
362
  * Unique, human-readable label for this objective of the study.
363
363
  */
364
- readonly name?: string;
364
+ name?: string;
365
365
 
366
366
  /**
367
367
  * The kind of study objective.
368
368
  */
369
- readonly type?: CodeableConcept;
369
+ type?: CodeableConcept;
370
370
  }
@@ -29,14 +29,14 @@ export interface ResearchSubject {
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 ResearchSubject {
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 ResearchSubject {
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 ResearchSubject {
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 ResearchSubject {
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
  * Identifiers assigned to this research subject for a study.
101
101
  */
102
- readonly identifier?: Identifier[];
102
+ identifier?: Identifier[];
103
103
 
104
104
  /**
105
105
  * The current state of the subject.
106
106
  */
107
- readonly status?: string;
107
+ status?: string;
108
108
 
109
109
  /**
110
110
  * The dates the subject began and ended their participation in the
111
111
  * study.
112
112
  */
113
- readonly period?: Period;
113
+ period?: Period;
114
114
 
115
115
  /**
116
116
  * Reference to the study the subject is participating in.
117
117
  */
118
- readonly study?: Reference<ResearchStudy>;
118
+ study?: Reference<ResearchStudy>;
119
119
 
120
120
  /**
121
121
  * The record of the person or animal who is involved in the study.
122
122
  */
123
- readonly individual?: Reference<Patient>;
123
+ individual?: Reference<Patient>;
124
124
 
125
125
  /**
126
126
  * The name of the arm in the study the subject is expected to follow as
127
127
  * part of this study.
128
128
  */
129
- readonly assignedArm?: string;
129
+ assignedArm?: string;
130
130
 
131
131
  /**
132
132
  * The name of the arm in the study the subject actually followed as part
133
133
  * of this study.
134
134
  */
135
- readonly actualArm?: string;
135
+ actualArm?: string;
136
136
 
137
137
  /**
138
138
  * A record of the patient's informed agreement to participate in the
139
139
  * study.
140
140
  */
141
- readonly consent?: Reference<Consent>;
141
+ consent?: Reference<Consent>;
142
142
  }
@@ -39,14 +39,14 @@ export interface RiskAssessment {
39
39
  * The logical id of the resource, as used in the URL for the resource.
40
40
  * Once assigned, this value never changes.
41
41
  */
42
- readonly id?: string;
42
+ id?: string;
43
43
 
44
44
  /**
45
45
  * The metadata about the resource. This is content that is maintained by
46
46
  * the infrastructure. Changes to the content might not always be
47
47
  * associated with version changes to the resource.
48
48
  */
49
- readonly meta?: Meta;
49
+ meta?: Meta;
50
50
 
51
51
  /**
52
52
  * A reference to a set of rules that were followed when the resource was
@@ -54,12 +54,12 @@ export interface RiskAssessment {
54
54
  * Often, this is a reference to an implementation guide that defines the
55
55
  * special rules along with other profiles etc.
56
56
  */
57
- readonly implicitRules?: string;
57
+ implicitRules?: string;
58
58
 
59
59
  /**
60
60
  * The base language in which the resource is written.
61
61
  */
62
- readonly language?: string;
62
+ language?: string;
63
63
 
64
64
  /**
65
65
  * A human-readable narrative that contains a summary of the resource and
@@ -69,14 +69,14 @@ export interface RiskAssessment {
69
69
  * just read the narrative. Resource definitions may define what content
70
70
  * should be represented in the narrative to ensure clinical safety.
71
71
  */
72
- readonly text?: Narrative;
72
+ text?: Narrative;
73
73
 
74
74
  /**
75
75
  * These resources do not have an independent existence apart from the
76
76
  * resource that contains them - they cannot be identified independently,
77
77
  * and nor can they have their own independent transaction scope.
78
78
  */
79
- readonly contained?: Resource[];
79
+ contained?: Resource[];
80
80
 
81
81
  /**
82
82
  * May be used to represent additional information that is not part of
@@ -86,7 +86,7 @@ export interface RiskAssessment {
86
86
  * define an extension, there is a set of requirements that SHALL be met
87
87
  * as part of the definition of the extension.
88
88
  */
89
- readonly extension?: Extension[];
89
+ extension?: Extension[];
90
90
 
91
91
  /**
92
92
  * May be used to represent additional information that is not part of
@@ -104,102 +104,102 @@ export interface RiskAssessment {
104
104
  * Resource or DomainResource (including cannot change the meaning of
105
105
  * modifierExtension itself).
106
106
  */
107
- readonly modifierExtension?: Extension[];
107
+ modifierExtension?: Extension[];
108
108
 
109
109
  /**
110
110
  * Business identifier assigned to the risk assessment.
111
111
  */
112
- readonly identifier?: Identifier[];
112
+ identifier?: Identifier[];
113
113
 
114
114
  /**
115
115
  * A reference to the request that is fulfilled by this risk assessment.
116
116
  */
117
- readonly basedOn?: Reference<Resource>;
117
+ basedOn?: Reference<Resource>;
118
118
 
119
119
  /**
120
120
  * A reference to a resource that this risk assessment is part of, such
121
121
  * as a Procedure.
122
122
  */
123
- readonly parent?: Reference<Resource>;
123
+ parent?: Reference<Resource>;
124
124
 
125
125
  /**
126
126
  * The status of the RiskAssessment, using the same statuses as an
127
127
  * Observation.
128
128
  */
129
- readonly status?: string;
129
+ status?: string;
130
130
 
131
131
  /**
132
132
  * The algorithm, process or mechanism used to evaluate the risk.
133
133
  */
134
- readonly method?: CodeableConcept;
134
+ method?: CodeableConcept;
135
135
 
136
136
  /**
137
137
  * The type of the risk assessment performed.
138
138
  */
139
- readonly code?: CodeableConcept;
139
+ code?: CodeableConcept;
140
140
 
141
141
  /**
142
142
  * The patient or group the risk assessment applies to.
143
143
  */
144
- readonly subject?: Reference<Patient | Group>;
144
+ subject?: Reference<Patient | Group>;
145
145
 
146
146
  /**
147
147
  * The encounter where the assessment was performed.
148
148
  */
149
- readonly encounter?: Reference<Encounter>;
149
+ encounter?: Reference<Encounter>;
150
150
 
151
151
  /**
152
152
  * The date (and possibly time) the risk assessment was performed.
153
153
  */
154
- readonly occurrenceDateTime?: string;
154
+ occurrenceDateTime?: string;
155
155
 
156
156
  /**
157
157
  * The date (and possibly time) the risk assessment was performed.
158
158
  */
159
- readonly occurrencePeriod?: Period;
159
+ occurrencePeriod?: Period;
160
160
 
161
161
  /**
162
162
  * For assessments or prognosis specific to a particular condition,
163
163
  * indicates the condition being assessed.
164
164
  */
165
- readonly condition?: Reference<Condition>;
165
+ condition?: Reference<Condition>;
166
166
 
167
167
  /**
168
168
  * The provider or software application that performed the assessment.
169
169
  */
170
- readonly performer?: Reference<Practitioner | PractitionerRole | Device>;
170
+ performer?: Reference<Practitioner | PractitionerRole | Device>;
171
171
 
172
172
  /**
173
173
  * The reason the risk assessment was performed.
174
174
  */
175
- readonly reasonCode?: CodeableConcept[];
175
+ reasonCode?: CodeableConcept[];
176
176
 
177
177
  /**
178
178
  * Resources supporting the reason the risk assessment was performed.
179
179
  */
180
- readonly reasonReference?: Reference<Condition | Observation | DiagnosticReport | DocumentReference>[];
180
+ reasonReference?: Reference<Condition | Observation | DiagnosticReport | DocumentReference>[];
181
181
 
182
182
  /**
183
183
  * Indicates the source data considered as part of the assessment (for
184
184
  * example, FamilyHistory, Observations, Procedures, Conditions, etc.).
185
185
  */
186
- readonly basis?: Reference<Resource>[];
186
+ basis?: Reference<Resource>[];
187
187
 
188
188
  /**
189
189
  * Describes the expected outcome for the subject.
190
190
  */
191
- readonly prediction?: RiskAssessmentPrediction[];
191
+ prediction?: RiskAssessmentPrediction[];
192
192
 
193
193
  /**
194
194
  * A description of the steps that might be taken to reduce the
195
195
  * identified risk(s).
196
196
  */
197
- readonly mitigation?: string;
197
+ mitigation?: string;
198
198
 
199
199
  /**
200
200
  * Additional comments about the risk assessment.
201
201
  */
202
- readonly note?: Annotation[];
202
+ note?: Annotation[];
203
203
  }
204
204
 
205
205
  /**
@@ -211,7 +211,7 @@ export interface RiskAssessmentPrediction {
211
211
  * Unique id for the element within a resource (for internal references).
212
212
  * This may be any string value that does not contain spaces.
213
213
  */
214
- readonly id?: string;
214
+ id?: string;
215
215
 
216
216
  /**
217
217
  * May be used to represent additional information that is not part of
@@ -221,7 +221,7 @@ export interface RiskAssessmentPrediction {
221
221
  * define an extension, there is a set of requirements that SHALL be met
222
222
  * as part of the definition of the extension.
223
223
  */
224
- readonly extension?: Extension[];
224
+ extension?: Extension[];
225
225
 
226
226
  /**
227
227
  * May be used to represent additional information that is not part of
@@ -240,29 +240,29 @@ export interface RiskAssessmentPrediction {
240
240
  * Resource or DomainResource (including cannot change the meaning of
241
241
  * modifierExtension itself).
242
242
  */
243
- readonly modifierExtension?: Extension[];
243
+ modifierExtension?: Extension[];
244
244
 
245
245
  /**
246
246
  * One of the potential outcomes for the patient (e.g. remission, death,
247
247
  * a particular condition).
248
248
  */
249
- readonly outcome?: CodeableConcept;
249
+ outcome?: CodeableConcept;
250
250
 
251
251
  /**
252
252
  * Indicates how likely the outcome is (in the specified timeframe).
253
253
  */
254
- readonly probabilityDecimal?: number;
254
+ probabilityDecimal?: number;
255
255
 
256
256
  /**
257
257
  * Indicates how likely the outcome is (in the specified timeframe).
258
258
  */
259
- readonly probabilityRange?: Range;
259
+ probabilityRange?: Range;
260
260
 
261
261
  /**
262
262
  * Indicates how likely the outcome is (in the specified timeframe),
263
263
  * expressed as a qualitative value (e.g. low, medium, or high).
264
264
  */
265
- readonly qualitativeRisk?: CodeableConcept;
265
+ qualitativeRisk?: CodeableConcept;
266
266
 
267
267
  /**
268
268
  * Indicates the risk for this particular subject (with their specific
@@ -270,22 +270,22 @@ export interface RiskAssessmentPrediction {
270
270
  * (Numbers greater than 1 = higher risk than the population, numbers
271
271
  * less than 1 = lower risk.).
272
272
  */
273
- readonly relativeRisk?: number;
273
+ relativeRisk?: number;
274
274
 
275
275
  /**
276
276
  * Indicates the period of time or age range of the subject to which the
277
277
  * specified probability applies.
278
278
  */
279
- readonly whenPeriod?: Period;
279
+ whenPeriod?: Period;
280
280
 
281
281
  /**
282
282
  * Indicates the period of time or age range of the subject to which the
283
283
  * specified probability applies.
284
284
  */
285
- readonly whenRange?: Range;
285
+ whenRange?: Range;
286
286
 
287
287
  /**
288
288
  * Additional information explaining the basis for the prediction.
289
289
  */
290
- readonly rationale?: string;
290
+ rationale?: string;
291
291
  }