@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
@@ -30,14 +30,14 @@ export interface VerificationResult {
30
30
  * The logical id of the resource, as used in the URL for the resource.
31
31
  * Once assigned, this value never changes.
32
32
  */
33
- readonly id?: string;
33
+ id?: string;
34
34
 
35
35
  /**
36
36
  * The metadata about the resource. This is content that is maintained by
37
37
  * the infrastructure. Changes to the content might not always be
38
38
  * associated with version changes to the resource.
39
39
  */
40
- readonly meta?: Meta;
40
+ meta?: Meta;
41
41
 
42
42
  /**
43
43
  * A reference to a set of rules that were followed when the resource was
@@ -45,12 +45,12 @@ export interface VerificationResult {
45
45
  * Often, this is a reference to an implementation guide that defines the
46
46
  * special rules along with other profiles etc.
47
47
  */
48
- readonly implicitRules?: string;
48
+ implicitRules?: string;
49
49
 
50
50
  /**
51
51
  * The base language in which the resource is written.
52
52
  */
53
- readonly language?: string;
53
+ language?: string;
54
54
 
55
55
  /**
56
56
  * A human-readable narrative that contains a summary of the resource and
@@ -60,14 +60,14 @@ export interface VerificationResult {
60
60
  * just read the narrative. Resource definitions may define what content
61
61
  * should be represented in the narrative to ensure clinical safety.
62
62
  */
63
- readonly text?: Narrative;
63
+ text?: Narrative;
64
64
 
65
65
  /**
66
66
  * These resources do not have an independent existence apart from the
67
67
  * resource that contains them - they cannot be identified independently,
68
68
  * and nor can they have their own independent transaction scope.
69
69
  */
70
- readonly contained?: Resource[];
70
+ contained?: Resource[];
71
71
 
72
72
  /**
73
73
  * May be used to represent additional information that is not part of
@@ -77,7 +77,7 @@ export interface VerificationResult {
77
77
  * define an extension, there is a set of requirements that SHALL be met
78
78
  * as part of the definition of the extension.
79
79
  */
80
- readonly extension?: Extension[];
80
+ extension?: Extension[];
81
81
 
82
82
  /**
83
83
  * May be used to represent additional information that is not part of
@@ -95,82 +95,82 @@ export interface VerificationResult {
95
95
  * Resource or DomainResource (including cannot change the meaning of
96
96
  * modifierExtension itself).
97
97
  */
98
- readonly modifierExtension?: Extension[];
98
+ modifierExtension?: Extension[];
99
99
 
100
100
  /**
101
101
  * A resource that was validated.
102
102
  */
103
- readonly target?: Reference<Resource>[];
103
+ target?: Reference<Resource>[];
104
104
 
105
105
  /**
106
106
  * The fhirpath location(s) within the resource that was validated.
107
107
  */
108
- readonly targetLocation?: string[];
108
+ targetLocation?: string[];
109
109
 
110
110
  /**
111
111
  * The frequency with which the target must be validated (none; initial;
112
112
  * periodic).
113
113
  */
114
- readonly need?: CodeableConcept;
114
+ need?: CodeableConcept;
115
115
 
116
116
  /**
117
117
  * The validation status of the target (attested; validated; in process;
118
118
  * requires revalidation; validation failed; revalidation failed).
119
119
  */
120
- readonly status?: string;
120
+ status?: string;
121
121
 
122
122
  /**
123
123
  * When the validation status was updated.
124
124
  */
125
- readonly statusDate?: string;
125
+ statusDate?: string;
126
126
 
127
127
  /**
128
128
  * What the target is validated against (nothing; primary source;
129
129
  * multiple sources).
130
130
  */
131
- readonly validationType?: CodeableConcept;
131
+ validationType?: CodeableConcept;
132
132
 
133
133
  /**
134
134
  * The primary process by which the target is validated (edit check;
135
135
  * value set; primary source; multiple sources; standalone; in context).
136
136
  */
137
- readonly validationProcess?: CodeableConcept[];
137
+ validationProcess?: CodeableConcept[];
138
138
 
139
139
  /**
140
140
  * Frequency of revalidation.
141
141
  */
142
- readonly frequency?: Timing;
142
+ frequency?: Timing;
143
143
 
144
144
  /**
145
145
  * The date/time validation was last completed (including failed
146
146
  * validations).
147
147
  */
148
- readonly lastPerformed?: string;
148
+ lastPerformed?: string;
149
149
 
150
150
  /**
151
151
  * The date when target is next validated, if appropriate.
152
152
  */
153
- readonly nextScheduled?: string;
153
+ nextScheduled?: string;
154
154
 
155
155
  /**
156
156
  * The result if validation fails (fatal; warning; record only; none).
157
157
  */
158
- readonly failureAction?: CodeableConcept;
158
+ failureAction?: CodeableConcept;
159
159
 
160
160
  /**
161
161
  * Information about the primary source(s) involved in validation.
162
162
  */
163
- readonly primarySource?: VerificationResultPrimarySource[];
163
+ primarySource?: VerificationResultPrimarySource[];
164
164
 
165
165
  /**
166
166
  * Information about the entity attesting to information.
167
167
  */
168
- readonly attestation?: VerificationResultAttestation;
168
+ attestation?: VerificationResultAttestation;
169
169
 
170
170
  /**
171
171
  * Information about the entity validating information.
172
172
  */
173
- readonly validator?: VerificationResultValidator[];
173
+ validator?: VerificationResultValidator[];
174
174
  }
175
175
 
176
176
  /**
@@ -182,7 +182,7 @@ export interface VerificationResultAttestation {
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 VerificationResultAttestation {
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,53 +211,53 @@ export interface VerificationResultAttestation {
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 individual or organization attesting to information.
218
218
  */
219
- readonly who?: Reference<Practitioner | PractitionerRole | Organization>;
219
+ who?: Reference<Practitioner | PractitionerRole | Organization>;
220
220
 
221
221
  /**
222
222
  * When the who is asserting on behalf of another (organization or
223
223
  * individual).
224
224
  */
225
- readonly onBehalfOf?: Reference<Organization | Practitioner | PractitionerRole>;
225
+ onBehalfOf?: Reference<Organization | Practitioner | PractitionerRole>;
226
226
 
227
227
  /**
228
228
  * The method by which attested information was submitted/retrieved
229
229
  * (manual; API; Push).
230
230
  */
231
- readonly communicationMethod?: CodeableConcept;
231
+ communicationMethod?: CodeableConcept;
232
232
 
233
233
  /**
234
234
  * The date the information was attested to.
235
235
  */
236
- readonly date?: string;
236
+ date?: string;
237
237
 
238
238
  /**
239
239
  * A digital identity certificate associated with the attestation source.
240
240
  */
241
- readonly sourceIdentityCertificate?: string;
241
+ sourceIdentityCertificate?: string;
242
242
 
243
243
  /**
244
244
  * A digital identity certificate associated with the proxy entity
245
245
  * submitting attested information on behalf of the attestation source.
246
246
  */
247
- readonly proxyIdentityCertificate?: string;
247
+ proxyIdentityCertificate?: string;
248
248
 
249
249
  /**
250
250
  * Signed assertion by the proxy entity indicating that they have the
251
251
  * right to submit attested information on behalf of the attestation
252
252
  * source.
253
253
  */
254
- readonly proxySignature?: Signature;
254
+ proxySignature?: Signature;
255
255
 
256
256
  /**
257
257
  * Signed assertion by the attestation source that they have attested to
258
258
  * the information.
259
259
  */
260
- readonly sourceSignature?: Signature;
260
+ sourceSignature?: Signature;
261
261
  }
262
262
 
263
263
  /**
@@ -269,7 +269,7 @@ export interface VerificationResultPrimarySource {
269
269
  * Unique id for the element within a resource (for internal references).
270
270
  * This may be any string value that does not contain spaces.
271
271
  */
272
- readonly id?: string;
272
+ id?: string;
273
273
 
274
274
  /**
275
275
  * May be used to represent additional information that is not part of
@@ -279,7 +279,7 @@ export interface VerificationResultPrimarySource {
279
279
  * define an extension, there is a set of requirements that SHALL be met
280
280
  * as part of the definition of the extension.
281
281
  */
282
- readonly extension?: Extension[];
282
+ extension?: Extension[];
283
283
 
284
284
  /**
285
285
  * May be used to represent additional information that is not part of
@@ -298,47 +298,47 @@ export interface VerificationResultPrimarySource {
298
298
  * Resource or DomainResource (including cannot change the meaning of
299
299
  * modifierExtension itself).
300
300
  */
301
- readonly modifierExtension?: Extension[];
301
+ modifierExtension?: Extension[];
302
302
 
303
303
  /**
304
304
  * Reference to the primary source.
305
305
  */
306
- readonly who?: Reference<Organization | Practitioner | PractitionerRole>;
306
+ who?: Reference<Organization | Practitioner | PractitionerRole>;
307
307
 
308
308
  /**
309
309
  * Type of primary source (License Board; Primary Education; Continuing
310
310
  * Education; Postal Service; Relationship owner; Registration Authority;
311
311
  * legal source; issuing source; authoritative source).
312
312
  */
313
- readonly type?: CodeableConcept[];
313
+ type?: CodeableConcept[];
314
314
 
315
315
  /**
316
316
  * Method for communicating with the primary source (manual; API; Push).
317
317
  */
318
- readonly communicationMethod?: CodeableConcept[];
318
+ communicationMethod?: CodeableConcept[];
319
319
 
320
320
  /**
321
321
  * Status of the validation of the target against the primary source
322
322
  * (successful; failed; unknown).
323
323
  */
324
- readonly validationStatus?: CodeableConcept;
324
+ validationStatus?: CodeableConcept;
325
325
 
326
326
  /**
327
327
  * When the target was validated against the primary source.
328
328
  */
329
- readonly validationDate?: string;
329
+ validationDate?: string;
330
330
 
331
331
  /**
332
332
  * Ability of the primary source to push updates/alerts (yes; no;
333
333
  * undetermined).
334
334
  */
335
- readonly canPushUpdates?: CodeableConcept;
335
+ canPushUpdates?: CodeableConcept;
336
336
 
337
337
  /**
338
338
  * Type of alerts/updates the primary source can send (specific requested
339
339
  * changes; any changes; as defined by source).
340
340
  */
341
- readonly pushTypeAvailable?: CodeableConcept[];
341
+ pushTypeAvailable?: CodeableConcept[];
342
342
  }
343
343
 
344
344
  /**
@@ -350,7 +350,7 @@ export interface VerificationResultValidator {
350
350
  * Unique id for the element within a resource (for internal references).
351
351
  * This may be any string value that does not contain spaces.
352
352
  */
353
- readonly id?: string;
353
+ id?: string;
354
354
 
355
355
  /**
356
356
  * May be used to represent additional information that is not part of
@@ -360,7 +360,7 @@ export interface VerificationResultValidator {
360
360
  * define an extension, there is a set of requirements that SHALL be met
361
361
  * as part of the definition of the extension.
362
362
  */
363
- readonly extension?: Extension[];
363
+ extension?: Extension[];
364
364
 
365
365
  /**
366
366
  * May be used to represent additional information that is not part of
@@ -379,21 +379,21 @@ export interface VerificationResultValidator {
379
379
  * Resource or DomainResource (including cannot change the meaning of
380
380
  * modifierExtension itself).
381
381
  */
382
- readonly modifierExtension?: Extension[];
382
+ modifierExtension?: Extension[];
383
383
 
384
384
  /**
385
385
  * Reference to the organization validating information.
386
386
  */
387
- readonly organization?: Reference<Organization>;
387
+ organization?: Reference<Organization>;
388
388
 
389
389
  /**
390
390
  * A digital identity certificate associated with the validator.
391
391
  */
392
- readonly identityCertificate?: string;
392
+ identityCertificate?: string;
393
393
 
394
394
  /**
395
395
  * Signed assertion by the validator that they have validated the
396
396
  * information.
397
397
  */
398
- readonly attestationSignature?: Signature;
398
+ attestationSignature?: Signature;
399
399
  }
@@ -32,14 +32,14 @@ export interface VisionPrescription {
32
32
  * The logical id of the resource, as used in the URL for the resource.
33
33
  * Once assigned, this value never changes.
34
34
  */
35
- readonly id?: string;
35
+ id?: string;
36
36
 
37
37
  /**
38
38
  * The metadata about the resource. This is content that is maintained by
39
39
  * the infrastructure. Changes to the content might not always be
40
40
  * associated with version changes to the resource.
41
41
  */
42
- readonly meta?: Meta;
42
+ meta?: Meta;
43
43
 
44
44
  /**
45
45
  * A reference to a set of rules that were followed when the resource was
@@ -47,12 +47,12 @@ export interface VisionPrescription {
47
47
  * Often, this is a reference to an implementation guide that defines the
48
48
  * special rules along with other profiles etc.
49
49
  */
50
- readonly implicitRules?: string;
50
+ implicitRules?: string;
51
51
 
52
52
  /**
53
53
  * The base language in which the resource is written.
54
54
  */
55
- readonly language?: string;
55
+ language?: string;
56
56
 
57
57
  /**
58
58
  * A human-readable narrative that contains a summary of the resource and
@@ -62,14 +62,14 @@ export interface VisionPrescription {
62
62
  * just read the narrative. Resource definitions may define what content
63
63
  * should be represented in the narrative to ensure clinical safety.
64
64
  */
65
- readonly text?: Narrative;
65
+ text?: Narrative;
66
66
 
67
67
  /**
68
68
  * These resources do not have an independent existence apart from the
69
69
  * resource that contains them - they cannot be identified independently,
70
70
  * and nor can they have their own independent transaction scope.
71
71
  */
72
- readonly contained?: Resource[];
72
+ contained?: Resource[];
73
73
 
74
74
  /**
75
75
  * May be used to represent additional information that is not part of
@@ -79,7 +79,7 @@ export interface VisionPrescription {
79
79
  * define an extension, there is a set of requirements that SHALL be met
80
80
  * as part of the definition of the extension.
81
81
  */
82
- readonly extension?: Extension[];
82
+ extension?: Extension[];
83
83
 
84
84
  /**
85
85
  * May be used to represent additional information that is not part of
@@ -97,52 +97,52 @@ export interface VisionPrescription {
97
97
  * Resource or DomainResource (including cannot change the meaning of
98
98
  * modifierExtension itself).
99
99
  */
100
- readonly modifierExtension?: Extension[];
100
+ modifierExtension?: Extension[];
101
101
 
102
102
  /**
103
103
  * A unique identifier assigned to this vision prescription.
104
104
  */
105
- readonly identifier?: Identifier[];
105
+ identifier?: Identifier[];
106
106
 
107
107
  /**
108
108
  * The status of the resource instance.
109
109
  */
110
- readonly status?: string;
110
+ status?: string;
111
111
 
112
112
  /**
113
113
  * The date this resource was created.
114
114
  */
115
- readonly created?: string;
115
+ created?: string;
116
116
 
117
117
  /**
118
118
  * A resource reference to the person to whom the vision prescription
119
119
  * applies.
120
120
  */
121
- readonly patient?: Reference<Patient>;
121
+ patient?: Reference<Patient>;
122
122
 
123
123
  /**
124
124
  * A reference to a resource that identifies the particular occurrence of
125
125
  * contact between patient and health care provider during which the
126
126
  * prescription was issued.
127
127
  */
128
- readonly encounter?: Reference<Encounter>;
128
+ encounter?: Reference<Encounter>;
129
129
 
130
130
  /**
131
131
  * The date (and perhaps time) when the prescription was written.
132
132
  */
133
- readonly dateWritten?: string;
133
+ dateWritten?: string;
134
134
 
135
135
  /**
136
136
  * The healthcare professional responsible for authorizing the
137
137
  * prescription.
138
138
  */
139
- readonly prescriber?: Reference<Practitioner | PractitionerRole>;
139
+ prescriber?: Reference<Practitioner | PractitionerRole>;
140
140
 
141
141
  /**
142
142
  * Contain the details of the individual lens specifications and serves
143
143
  * as the authorization for the fullfillment by certified professionals.
144
144
  */
145
- readonly lensSpecification?: VisionPrescriptionLensSpecification[];
145
+ lensSpecification?: VisionPrescriptionLensSpecification[];
146
146
  }
147
147
 
148
148
  /**
@@ -155,7 +155,7 @@ export interface VisionPrescriptionLensSpecification {
155
155
  * Unique id for the element within a resource (for internal references).
156
156
  * This may be any string value that does not contain spaces.
157
157
  */
158
- readonly id?: string;
158
+ id?: string;
159
159
 
160
160
  /**
161
161
  * May be used to represent additional information that is not part of
@@ -165,7 +165,7 @@ export interface VisionPrescriptionLensSpecification {
165
165
  * define an extension, there is a set of requirements that SHALL be met
166
166
  * as part of the definition of the extension.
167
167
  */
168
- readonly extension?: Extension[];
168
+ extension?: Extension[];
169
169
 
170
170
  /**
171
171
  * May be used to represent additional information that is not part of
@@ -184,79 +184,79 @@ export interface VisionPrescriptionLensSpecification {
184
184
  * Resource or DomainResource (including cannot change the meaning of
185
185
  * modifierExtension itself).
186
186
  */
187
- readonly modifierExtension?: Extension[];
187
+ modifierExtension?: Extension[];
188
188
 
189
189
  /**
190
190
  * Identifies the type of vision correction product which is required for
191
191
  * the patient.
192
192
  */
193
- readonly product?: CodeableConcept;
193
+ product?: CodeableConcept;
194
194
 
195
195
  /**
196
196
  * The eye for which the lens specification applies.
197
197
  */
198
- readonly eye?: string;
198
+ eye?: string;
199
199
 
200
200
  /**
201
201
  * Lens power measured in dioptres (0.25 units).
202
202
  */
203
- readonly sphere?: number;
203
+ sphere?: number;
204
204
 
205
205
  /**
206
206
  * Power adjustment for astigmatism measured in dioptres (0.25 units).
207
207
  */
208
- readonly cylinder?: number;
208
+ cylinder?: number;
209
209
 
210
210
  /**
211
211
  * Adjustment for astigmatism measured in integer degrees.
212
212
  */
213
- readonly axis?: number;
213
+ axis?: number;
214
214
 
215
215
  /**
216
216
  * Allows for adjustment on two axis.
217
217
  */
218
- readonly prism?: VisionPrescriptionLensSpecificationPrism[];
218
+ prism?: VisionPrescriptionLensSpecificationPrism[];
219
219
 
220
220
  /**
221
221
  * Power adjustment for multifocal lenses measured in dioptres (0.25
222
222
  * units).
223
223
  */
224
- readonly add?: number;
224
+ add?: number;
225
225
 
226
226
  /**
227
227
  * Contact lens power measured in dioptres (0.25 units).
228
228
  */
229
- readonly power?: number;
229
+ power?: number;
230
230
 
231
231
  /**
232
232
  * Back curvature measured in millimetres.
233
233
  */
234
- readonly backCurve?: number;
234
+ backCurve?: number;
235
235
 
236
236
  /**
237
237
  * Contact lens diameter measured in millimetres.
238
238
  */
239
- readonly diameter?: number;
239
+ diameter?: number;
240
240
 
241
241
  /**
242
242
  * The recommended maximum wear period for the lens.
243
243
  */
244
- readonly duration?: Quantity;
244
+ duration?: Quantity;
245
245
 
246
246
  /**
247
247
  * Special color or pattern.
248
248
  */
249
- readonly color?: string;
249
+ color?: string;
250
250
 
251
251
  /**
252
252
  * Brand recommendations or restrictions.
253
253
  */
254
- readonly brand?: string;
254
+ brand?: string;
255
255
 
256
256
  /**
257
257
  * Notes for special requirements such as coatings and lens materials.
258
258
  */
259
- readonly note?: Annotation[];
259
+ note?: Annotation[];
260
260
  }
261
261
 
262
262
  /**
@@ -268,7 +268,7 @@ export interface VisionPrescriptionLensSpecificationPrism {
268
268
  * Unique id for the element within a resource (for internal references).
269
269
  * This may be any string value that does not contain spaces.
270
270
  */
271
- readonly id?: string;
271
+ id?: string;
272
272
 
273
273
  /**
274
274
  * May be used to represent additional information that is not part of
@@ -278,7 +278,7 @@ export interface VisionPrescriptionLensSpecificationPrism {
278
278
  * define an extension, there is a set of requirements that SHALL be met
279
279
  * as part of the definition of the extension.
280
280
  */
281
- readonly extension?: Extension[];
281
+ extension?: Extension[];
282
282
 
283
283
  /**
284
284
  * May be used to represent additional information that is not part of
@@ -297,15 +297,15 @@ export interface VisionPrescriptionLensSpecificationPrism {
297
297
  * Resource or DomainResource (including cannot change the meaning of
298
298
  * modifierExtension itself).
299
299
  */
300
- readonly modifierExtension?: Extension[];
300
+ modifierExtension?: Extension[];
301
301
 
302
302
  /**
303
303
  * Amount of prism to compensate for eye alignment in fractional units.
304
304
  */
305
- readonly amount?: number;
305
+ amount?: number;
306
306
 
307
307
  /**
308
308
  * The relative base, or reference lens edge, for the prism.
309
309
  */
310
- readonly base?: string;
310
+ base?: string;
311
311
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "0.5.2",
3
+ "version": "0.9.2",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",