@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
package/dist/Library.d.ts CHANGED
@@ -36,14 +36,14 @@ export interface Library {
36
36
  * The logical id of the resource, as used in the URL for the resource.
37
37
  * Once assigned, this value never changes.
38
38
  */
39
- readonly id?: string;
39
+ id?: string;
40
40
 
41
41
  /**
42
42
  * The metadata about the resource. This is content that is maintained by
43
43
  * the infrastructure. Changes to the content might not always be
44
44
  * associated with version changes to the resource.
45
45
  */
46
- readonly meta?: Meta;
46
+ meta?: Meta;
47
47
 
48
48
  /**
49
49
  * A reference to a set of rules that were followed when the resource was
@@ -51,12 +51,12 @@ export interface Library {
51
51
  * Often, this is a reference to an implementation guide that defines the
52
52
  * special rules along with other profiles etc.
53
53
  */
54
- readonly implicitRules?: string;
54
+ implicitRules?: string;
55
55
 
56
56
  /**
57
57
  * The base language in which the resource is written.
58
58
  */
59
- readonly language?: string;
59
+ language?: string;
60
60
 
61
61
  /**
62
62
  * A human-readable narrative that contains a summary of the resource and
@@ -66,14 +66,14 @@ export interface Library {
66
66
  * just read the narrative. Resource definitions may define what content
67
67
  * should be represented in the narrative to ensure clinical safety.
68
68
  */
69
- readonly text?: Narrative;
69
+ text?: Narrative;
70
70
 
71
71
  /**
72
72
  * These resources do not have an independent existence apart from the
73
73
  * resource that contains them - they cannot be identified independently,
74
74
  * and nor can they have their own independent transaction scope.
75
75
  */
76
- readonly contained?: Resource[];
76
+ contained?: Resource[];
77
77
 
78
78
  /**
79
79
  * May be used to represent additional information that is not part of
@@ -83,7 +83,7 @@ export interface Library {
83
83
  * define an extension, there is a set of requirements that SHALL be met
84
84
  * as part of the definition of the extension.
85
85
  */
86
- readonly extension?: Extension[];
86
+ extension?: Extension[];
87
87
 
88
88
  /**
89
89
  * May be used to represent additional information that is not part of
@@ -101,7 +101,7 @@ export interface Library {
101
101
  * Resource or DomainResource (including cannot change the meaning of
102
102
  * modifierExtension itself).
103
103
  */
104
- readonly modifierExtension?: Extension[];
104
+ modifierExtension?: Extension[];
105
105
 
106
106
  /**
107
107
  * An absolute URI that is used to identify this library when it is
@@ -112,7 +112,7 @@ export interface Library {
112
112
  * the target of a canonical reference. It SHALL remain the same when the
113
113
  * library is stored on different servers.
114
114
  */
115
- readonly url?: string;
115
+ url?: string;
116
116
 
117
117
  /**
118
118
  * A formal identifier that is used to identify this library when it is
@@ -121,7 +121,7 @@ export interface Library {
121
121
  * artifact. Note that at least one identifier is required for
122
122
  * non-experimental active artifacts.
123
123
  */
124
- readonly identifier?: Identifier[];
124
+ identifier?: Identifier[];
125
125
 
126
126
  /**
127
127
  * The identifier that is used to identify this version of the library
@@ -136,56 +136,56 @@ export interface Library {
136
136
  * the Decision Support Service specification. Note that a version is
137
137
  * required for non-experimental active artifacts.
138
138
  */
139
- readonly version?: string;
139
+ version?: string;
140
140
 
141
141
  /**
142
142
  * A natural language name identifying the library. This name should be
143
143
  * usable as an identifier for the module by machine processing
144
144
  * applications such as code generation.
145
145
  */
146
- readonly name?: string;
146
+ name?: string;
147
147
 
148
148
  /**
149
149
  * A short, descriptive, user-friendly title for the library.
150
150
  */
151
- readonly title?: string;
151
+ title?: string;
152
152
 
153
153
  /**
154
154
  * An explanatory or alternate title for the library giving additional
155
155
  * information about its content.
156
156
  */
157
- readonly subtitle?: string;
157
+ subtitle?: string;
158
158
 
159
159
  /**
160
160
  * The status of this library. Enables tracking the life-cycle of the
161
161
  * content.
162
162
  */
163
- readonly status?: string;
163
+ status?: string;
164
164
 
165
165
  /**
166
166
  * A Boolean value to indicate that this library is authored for testing
167
167
  * purposes (or education/evaluation/marketing) and is not intended to be
168
168
  * used for genuine usage.
169
169
  */
170
- readonly experimental?: boolean;
170
+ experimental?: boolean;
171
171
 
172
172
  /**
173
173
  * Identifies the type of library such as a Logic Library, Model
174
174
  * Definition, Asset Collection, or Module Definition.
175
175
  */
176
- readonly type?: CodeableConcept;
176
+ type?: CodeableConcept;
177
177
 
178
178
  /**
179
179
  * A code or group definition that describes the intended subject of the
180
180
  * contents of the library.
181
181
  */
182
- readonly subjectCodeableConcept?: CodeableConcept;
182
+ subjectCodeableConcept?: CodeableConcept;
183
183
 
184
184
  /**
185
185
  * A code or group definition that describes the intended subject of the
186
186
  * contents of the library.
187
187
  */
188
- readonly subjectReference?: Reference<Group>;
188
+ subjectReference?: Reference<Group>;
189
189
 
190
190
  /**
191
191
  * The date (and optionally time) when the library was published. The
@@ -193,24 +193,24 @@ export interface Library {
193
193
  * if the status code changes. In addition, it should change when the
194
194
  * substantive content of the library changes.
195
195
  */
196
- readonly date?: string;
196
+ date?: string;
197
197
 
198
198
  /**
199
199
  * The name of the organization or individual that published the library.
200
200
  */
201
- readonly publisher?: string;
201
+ publisher?: string;
202
202
 
203
203
  /**
204
204
  * Contact details to assist a user in finding and communicating with the
205
205
  * publisher.
206
206
  */
207
- readonly contact?: ContactDetail[];
207
+ contact?: ContactDetail[];
208
208
 
209
209
  /**
210
210
  * A free text natural language description of the library from a
211
211
  * consumer's perspective.
212
212
  */
213
- readonly description?: string;
213
+ description?: string;
214
214
 
215
215
  /**
216
216
  * The content was developed with a focus and intent of supporting the
@@ -219,100 +219,100 @@ export interface Library {
219
219
  * (insurance plans, studies, ...) and may be used to assist with
220
220
  * indexing and searching for appropriate library instances.
221
221
  */
222
- readonly useContext?: UsageContext[];
222
+ useContext?: UsageContext[];
223
223
 
224
224
  /**
225
225
  * A legal or geographic region in which the library is intended to be
226
226
  * used.
227
227
  */
228
- readonly jurisdiction?: CodeableConcept[];
228
+ jurisdiction?: CodeableConcept[];
229
229
 
230
230
  /**
231
231
  * Explanation of why this library is needed and why it has been designed
232
232
  * as it has.
233
233
  */
234
- readonly purpose?: string;
234
+ purpose?: string;
235
235
 
236
236
  /**
237
237
  * A detailed description of how the library is used from a clinical
238
238
  * perspective.
239
239
  */
240
- readonly usage?: string;
240
+ usage?: string;
241
241
 
242
242
  /**
243
243
  * A copyright statement relating to the library and/or its contents.
244
244
  * Copyright statements are generally legal restrictions on the use and
245
245
  * publishing of the library.
246
246
  */
247
- readonly copyright?: string;
247
+ copyright?: string;
248
248
 
249
249
  /**
250
250
  * The date on which the resource content was approved by the publisher.
251
251
  * Approval happens once when the content is officially approved for
252
252
  * usage.
253
253
  */
254
- readonly approvalDate?: string;
254
+ approvalDate?: string;
255
255
 
256
256
  /**
257
257
  * The date on which the resource content was last reviewed. Review
258
258
  * happens periodically after approval but does not change the original
259
259
  * approval date.
260
260
  */
261
- readonly lastReviewDate?: string;
261
+ lastReviewDate?: string;
262
262
 
263
263
  /**
264
264
  * The period during which the library content was or is planned to be in
265
265
  * active use.
266
266
  */
267
- readonly effectivePeriod?: Period;
267
+ effectivePeriod?: Period;
268
268
 
269
269
  /**
270
270
  * Descriptive topics related to the content of the library. Topics
271
271
  * provide a high-level categorization of the library that can be useful
272
272
  * for filtering and searching.
273
273
  */
274
- readonly topic?: CodeableConcept[];
274
+ topic?: CodeableConcept[];
275
275
 
276
276
  /**
277
277
  * An individiual or organization primarily involved in the creation and
278
278
  * maintenance of the content.
279
279
  */
280
- readonly author?: ContactDetail[];
280
+ author?: ContactDetail[];
281
281
 
282
282
  /**
283
283
  * An individual or organization primarily responsible for internal
284
284
  * coherence of the content.
285
285
  */
286
- readonly editor?: ContactDetail[];
286
+ editor?: ContactDetail[];
287
287
 
288
288
  /**
289
289
  * An individual or organization primarily responsible for review of some
290
290
  * aspect of the content.
291
291
  */
292
- readonly reviewer?: ContactDetail[];
292
+ reviewer?: ContactDetail[];
293
293
 
294
294
  /**
295
295
  * An individual or organization responsible for officially endorsing the
296
296
  * content for use in some setting.
297
297
  */
298
- readonly endorser?: ContactDetail[];
298
+ endorser?: ContactDetail[];
299
299
 
300
300
  /**
301
301
  * Related artifacts such as additional documentation, justification, or
302
302
  * bibliographic references.
303
303
  */
304
- readonly relatedArtifact?: RelatedArtifact[];
304
+ relatedArtifact?: RelatedArtifact[];
305
305
 
306
306
  /**
307
307
  * The parameter element defines parameters used by the library.
308
308
  */
309
- readonly parameter?: ParameterDefinition[];
309
+ parameter?: ParameterDefinition[];
310
310
 
311
311
  /**
312
312
  * Describes a set of data that must be provided in order to be able to
313
313
  * successfully perform the computations defined by the library.
314
314
  */
315
- readonly dataRequirement?: DataRequirement[];
315
+ dataRequirement?: DataRequirement[];
316
316
 
317
317
  /**
318
318
  * The content of the library as an Attachment. The content may be a
@@ -320,5 +320,5 @@ export interface Library {
320
320
  * Either way, the contentType of the attachment determines how to
321
321
  * interpret the content.
322
322
  */
323
- readonly content?: Attachment[];
323
+ content?: Attachment[];
324
324
  }
package/dist/Linkage.d.ts CHANGED
@@ -27,14 +27,14 @@ export interface Linkage {
27
27
  * The logical id of the resource, as used in the URL for the resource.
28
28
  * Once assigned, this value never changes.
29
29
  */
30
- readonly id?: string;
30
+ id?: string;
31
31
 
32
32
  /**
33
33
  * The metadata about the resource. This is content that is maintained by
34
34
  * the infrastructure. Changes to the content might not always be
35
35
  * associated with version changes to the resource.
36
36
  */
37
- readonly meta?: Meta;
37
+ meta?: Meta;
38
38
 
39
39
  /**
40
40
  * A reference to a set of rules that were followed when the resource was
@@ -42,12 +42,12 @@ export interface Linkage {
42
42
  * Often, this is a reference to an implementation guide that defines the
43
43
  * special rules along with other profiles etc.
44
44
  */
45
- readonly implicitRules?: string;
45
+ implicitRules?: string;
46
46
 
47
47
  /**
48
48
  * The base language in which the resource is written.
49
49
  */
50
- readonly language?: string;
50
+ language?: string;
51
51
 
52
52
  /**
53
53
  * A human-readable narrative that contains a summary of the resource and
@@ -57,14 +57,14 @@ export interface Linkage {
57
57
  * just read the narrative. Resource definitions may define what content
58
58
  * should be represented in the narrative to ensure clinical safety.
59
59
  */
60
- readonly text?: Narrative;
60
+ text?: Narrative;
61
61
 
62
62
  /**
63
63
  * These resources do not have an independent existence apart from the
64
64
  * resource that contains them - they cannot be identified independently,
65
65
  * and nor can they have their own independent transaction scope.
66
66
  */
67
- readonly contained?: Resource[];
67
+ contained?: Resource[];
68
68
 
69
69
  /**
70
70
  * May be used to represent additional information that is not part of
@@ -74,7 +74,7 @@ export interface Linkage {
74
74
  * define an extension, there is a set of requirements that SHALL be met
75
75
  * as part of the definition of the extension.
76
76
  */
77
- readonly extension?: Extension[];
77
+ extension?: Extension[];
78
78
 
79
79
  /**
80
80
  * May be used to represent additional information that is not part of
@@ -92,27 +92,27 @@ export interface Linkage {
92
92
  * Resource or DomainResource (including cannot change the meaning of
93
93
  * modifierExtension itself).
94
94
  */
95
- readonly modifierExtension?: Extension[];
95
+ modifierExtension?: Extension[];
96
96
 
97
97
  /**
98
98
  * Indicates whether the asserted set of linkages are considered to be
99
99
  * &quot;in effect&quot;.
100
100
  */
101
- readonly active?: boolean;
101
+ active?: boolean;
102
102
 
103
103
  /**
104
104
  * Identifies the user or organization responsible for asserting the
105
105
  * linkages as well as the user or organization who establishes the
106
106
  * context in which the nature of each linkage is evaluated.
107
107
  */
108
- readonly author?: Reference<Practitioner | PractitionerRole | Organization>;
108
+ author?: Reference<Practitioner | PractitionerRole | Organization>;
109
109
 
110
110
  /**
111
111
  * Identifies which record considered as the reference to the same
112
112
  * real-world occurrence as well as how the items should be evaluated
113
113
  * within the collection of linked items.
114
114
  */
115
- readonly item?: LinkageItem[];
115
+ item?: LinkageItem[];
116
116
  }
117
117
 
118
118
  /**
@@ -126,7 +126,7 @@ export interface LinkageItem {
126
126
  * Unique id for the element within a resource (for internal references).
127
127
  * This may be any string value that does not contain spaces.
128
128
  */
129
- readonly id?: string;
129
+ id?: string;
130
130
 
131
131
  /**
132
132
  * May be used to represent additional information that is not part of
@@ -136,7 +136,7 @@ export interface LinkageItem {
136
136
  * define an extension, there is a set of requirements that SHALL be met
137
137
  * as part of the definition of the extension.
138
138
  */
139
- readonly extension?: Extension[];
139
+ extension?: Extension[];
140
140
 
141
141
  /**
142
142
  * May be used to represent additional information that is not part of
@@ -155,16 +155,16 @@ export interface LinkageItem {
155
155
  * Resource or DomainResource (including cannot change the meaning of
156
156
  * modifierExtension itself).
157
157
  */
158
- readonly modifierExtension?: Extension[];
158
+ modifierExtension?: Extension[];
159
159
 
160
160
  /**
161
161
  * Distinguishes which item is &quot;source of truth&quot; (if any) and which items
162
162
  * are no longer considered to be current representations.
163
163
  */
164
- readonly type?: string;
164
+ type?: string;
165
165
 
166
166
  /**
167
167
  * The resource instance being linked as part of the group.
168
168
  */
169
- readonly resource?: Reference<Resource>;
169
+ resource?: Reference<Resource>;
170
170
  }
package/dist/List.d.ts CHANGED
@@ -33,14 +33,14 @@ export interface List {
33
33
  * The logical id of the resource, as used in the URL for the resource.
34
34
  * Once assigned, this value never changes.
35
35
  */
36
- readonly id?: string;
36
+ id?: string;
37
37
 
38
38
  /**
39
39
  * The metadata about the resource. This is content that is maintained by
40
40
  * the infrastructure. Changes to the content might not always be
41
41
  * associated with version changes to the resource.
42
42
  */
43
- readonly meta?: Meta;
43
+ meta?: Meta;
44
44
 
45
45
  /**
46
46
  * A reference to a set of rules that were followed when the resource was
@@ -48,12 +48,12 @@ export interface List {
48
48
  * Often, this is a reference to an implementation guide that defines the
49
49
  * special rules along with other profiles etc.
50
50
  */
51
- readonly implicitRules?: string;
51
+ implicitRules?: string;
52
52
 
53
53
  /**
54
54
  * The base language in which the resource is written.
55
55
  */
56
- readonly language?: string;
56
+ language?: string;
57
57
 
58
58
  /**
59
59
  * A human-readable narrative that contains a summary of the resource and
@@ -63,14 +63,14 @@ export interface List {
63
63
  * just read the narrative. Resource definitions may define what content
64
64
  * should be represented in the narrative to ensure clinical safety.
65
65
  */
66
- readonly text?: Narrative;
66
+ text?: Narrative;
67
67
 
68
68
  /**
69
69
  * These resources do not have an independent existence apart from the
70
70
  * resource that contains them - they cannot be identified independently,
71
71
  * and nor can they have their own independent transaction scope.
72
72
  */
73
- readonly contained?: Resource[];
73
+ contained?: Resource[];
74
74
 
75
75
  /**
76
76
  * May be used to represent additional information that is not part of
@@ -80,7 +80,7 @@ export interface List {
80
80
  * define an extension, there is a set of requirements that SHALL be met
81
81
  * as part of the definition of the extension.
82
82
  */
83
- readonly extension?: Extension[];
83
+ extension?: Extension[];
84
84
 
85
85
  /**
86
86
  * May be used to represent additional information that is not part of
@@ -98,18 +98,18 @@ export interface List {
98
98
  * Resource or DomainResource (including cannot change the meaning of
99
99
  * modifierExtension itself).
100
100
  */
101
- readonly modifierExtension?: Extension[];
101
+ modifierExtension?: Extension[];
102
102
 
103
103
  /**
104
104
  * Identifier for the List assigned for business purposes outside the
105
105
  * context of FHIR.
106
106
  */
107
- readonly identifier?: Identifier[];
107
+ identifier?: Identifier[];
108
108
 
109
109
  /**
110
110
  * Indicates the current state of this list.
111
111
  */
112
- readonly status?: string;
112
+ status?: string;
113
113
 
114
114
  /**
115
115
  * How this list was prepared - whether it is a working list that is
@@ -117,60 +117,60 @@ export interface List {
117
117
  * a snapshot of a list of items from another source, or whether it is a
118
118
  * prepared list where items may be marked as added, modified or deleted.
119
119
  */
120
- readonly mode?: string;
120
+ mode?: string;
121
121
 
122
122
  /**
123
123
  * A label for the list assigned by the author.
124
124
  */
125
- readonly title?: string;
125
+ title?: string;
126
126
 
127
127
  /**
128
128
  * This code defines the purpose of the list - why it was created.
129
129
  */
130
- readonly code?: CodeableConcept;
130
+ code?: CodeableConcept;
131
131
 
132
132
  /**
133
133
  * The common subject (or patient) of the resources that are in the list
134
134
  * if there is one.
135
135
  */
136
- readonly subject?: Reference<Patient | Group | Device | Location>;
136
+ subject?: Reference<Patient | Group | Device | Location>;
137
137
 
138
138
  /**
139
139
  * The encounter that is the context in which this list was created.
140
140
  */
141
- readonly encounter?: Reference<Encounter>;
141
+ encounter?: Reference<Encounter>;
142
142
 
143
143
  /**
144
144
  * The date that the list was prepared.
145
145
  */
146
- readonly date?: string;
146
+ date?: string;
147
147
 
148
148
  /**
149
149
  * The entity responsible for deciding what the contents of the list
150
150
  * were. Where the list was created by a human, this is the same as the
151
151
  * author of the list.
152
152
  */
153
- readonly source?: Reference<Practitioner | PractitionerRole | Patient | Device>;
153
+ source?: Reference<Practitioner | PractitionerRole | Patient | Device>;
154
154
 
155
155
  /**
156
156
  * What order applies to the items in the list.
157
157
  */
158
- readonly orderedBy?: CodeableConcept;
158
+ orderedBy?: CodeableConcept;
159
159
 
160
160
  /**
161
161
  * Comments that apply to the overall list.
162
162
  */
163
- readonly note?: Annotation[];
163
+ note?: Annotation[];
164
164
 
165
165
  /**
166
166
  * Entries in this list.
167
167
  */
168
- readonly entry?: ListEntry[];
168
+ entry?: ListEntry[];
169
169
 
170
170
  /**
171
171
  * If the list is empty, why the list is empty.
172
172
  */
173
- readonly emptyReason?: CodeableConcept;
173
+ emptyReason?: CodeableConcept;
174
174
  }
175
175
 
176
176
  /**
@@ -182,7 +182,7 @@ export interface ListEntry {
182
182
  * Unique id for the element within a resource (for internal references).
183
183
  * This may be any string value that does not contain spaces.
184
184
  */
185
- readonly id?: string;
185
+ id?: string;
186
186
 
187
187
  /**
188
188
  * May be used to represent additional information that is not part of
@@ -192,7 +192,7 @@ export interface ListEntry {
192
192
  * define an extension, there is a set of requirements that SHALL be met
193
193
  * as part of the definition of the extension.
194
194
  */
195
- readonly extension?: Extension[];
195
+ extension?: Extension[];
196
196
 
197
197
  /**
198
198
  * May be used to represent additional information that is not part of
@@ -211,26 +211,26 @@ export interface ListEntry {
211
211
  * Resource or DomainResource (including cannot change the meaning of
212
212
  * modifierExtension itself).
213
213
  */
214
- readonly modifierExtension?: Extension[];
214
+ modifierExtension?: Extension[];
215
215
 
216
216
  /**
217
217
  * The flag allows the system constructing the list to indicate the role
218
218
  * and significance of the item in the list.
219
219
  */
220
- readonly flag?: CodeableConcept;
220
+ flag?: CodeableConcept;
221
221
 
222
222
  /**
223
223
  * True if this item is marked as deleted in the list.
224
224
  */
225
- readonly deleted?: boolean;
225
+ deleted?: boolean;
226
226
 
227
227
  /**
228
228
  * When this item was added to the list.
229
229
  */
230
- readonly date?: string;
230
+ date?: string;
231
231
 
232
232
  /**
233
233
  * A reference to the actual resource from which data was derived.
234
234
  */
235
- readonly item?: Reference<Resource>;
235
+ item?: Reference<Resource>;
236
236
  }