@medplum/fhirtypes 0.5.2 → 0.9.0

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 (197) hide show
  1. package/dist/AccessPolicy.d.ts +12 -12
  2. package/dist/Account.d.ts +30 -30
  3. package/dist/ActivityDefinition.d.ts +71 -71
  4. package/dist/Address.d.ts +12 -12
  5. package/dist/AdverseEvent.d.ts +41 -41
  6. package/dist/Age.d.ts +7 -7
  7. package/dist/AllergyIntolerance.d.ts +38 -38
  8. package/dist/Annotation.d.ts +6 -6
  9. package/dist/Appointment.d.ts +38 -38
  10. package/dist/AppointmentResponse.d.ts +16 -16
  11. package/dist/Attachment.d.ts +10 -10
  12. package/dist/AuditEvent.d.ts +62 -62
  13. package/dist/Basic.d.ts +13 -13
  14. package/dist/Binary.d.ts +8 -8
  15. package/dist/BiologicallyDerivedProduct.d.ts +47 -47
  16. package/dist/BodyStructure.d.ts +16 -16
  17. package/dist/Bot.d.ts +19 -8
  18. package/dist/Bundle.d.ts +47 -47
  19. package/dist/CapabilityStatement.d.ts +129 -129
  20. package/dist/CarePlan.d.ts +63 -63
  21. package/dist/CareTeam.d.ts +28 -28
  22. package/dist/CatalogEntry.d.ts +27 -27
  23. package/dist/ChargeItem.d.ts +43 -43
  24. package/dist/ChargeItemDefinition.d.ts +49 -49
  25. package/dist/Claim.d.ts +159 -159
  26. package/dist/ClaimResponse.d.ts +145 -145
  27. package/dist/ClientApplication.d.ts +8 -8
  28. package/dist/ClinicalImpression.d.ts +40 -40
  29. package/dist/CodeSystem.d.ts +74 -74
  30. package/dist/CodeableConcept.d.ts +4 -4
  31. package/dist/Coding.d.ts +7 -7
  32. package/dist/Communication.d.ts +37 -37
  33. package/dist/CommunicationRequest.d.ts +37 -37
  34. package/dist/CompartmentDefinition.d.ts +28 -28
  35. package/dist/Composition.d.ts +54 -54
  36. package/dist/ConceptMap.d.ts +66 -66
  37. package/dist/Condition.d.ts +44 -44
  38. package/dist/Consent.d.ts +57 -57
  39. package/dist/ContactDetail.d.ts +4 -4
  40. package/dist/ContactPoint.d.ts +7 -7
  41. package/dist/Contract.d.ts +202 -202
  42. package/dist/Contributor.d.ts +5 -5
  43. package/dist/Count.d.ts +7 -7
  44. package/dist/Coverage.d.ts +43 -43
  45. package/dist/CoverageEligibilityRequest.d.ts +53 -53
  46. package/dist/CoverageEligibilityResponse.d.ts +62 -62
  47. package/dist/DataRequirement.d.ts +28 -28
  48. package/dist/DetectedIssue.d.ts +32 -32
  49. package/dist/Device.d.ts +65 -65
  50. package/dist/DeviceDefinition.d.ts +64 -64
  51. package/dist/DeviceMetric.d.ts +24 -24
  52. package/dist/DeviceRequest.d.ts +43 -43
  53. package/dist/DeviceUseStatement.d.ts +23 -23
  54. package/dist/DiagnosticReport.d.ts +32 -32
  55. package/dist/Distance.d.ts +7 -7
  56. package/dist/DocumentManifest.d.ts +25 -25
  57. package/dist/DocumentReference.d.ts +44 -44
  58. package/dist/Dosage.d.ts +25 -25
  59. package/dist/Duration.d.ts +7 -7
  60. package/dist/EffectEvidenceSynthesis.d.ts +82 -82
  61. package/dist/Element.d.ts +2 -2
  62. package/dist/ElementDefinition.d.ts +295 -295
  63. package/dist/Encounter.d.ts +72 -72
  64. package/dist/Endpoint.d.ts +19 -19
  65. package/dist/EnrollmentRequest.d.ts +15 -15
  66. package/dist/EnrollmentResponse.d.ts +16 -16
  67. package/dist/EpisodeOfCare.d.ts +31 -31
  68. package/dist/EventDefinition.d.ts +37 -37
  69. package/dist/Evidence.d.ts +36 -36
  70. package/dist/EvidenceVariable.d.ts +53 -53
  71. package/dist/ExampleScenario.d.ts +85 -85
  72. package/dist/ExplanationOfBenefit.d.ts +272 -272
  73. package/dist/Expression.d.ts +7 -7
  74. package/dist/Extension.d.ts +53 -53
  75. package/dist/FamilyMemberHistory.d.ts +45 -45
  76. package/dist/Flag.d.ts +16 -16
  77. package/dist/Goal.d.ts +38 -38
  78. package/dist/GraphDefinition.d.ts +48 -48
  79. package/dist/Group.d.ts +35 -35
  80. package/dist/GuidanceResponse.d.ts +25 -25
  81. package/dist/HealthcareService.d.ts +49 -49
  82. package/dist/HumanName.d.ts +9 -9
  83. package/dist/Identifier.d.ts +8 -8
  84. package/dist/ImagingStudy.d.ts +55 -55
  85. package/dist/Immunization.d.ts +65 -65
  86. package/dist/ImmunizationEvaluation.d.ts +23 -23
  87. package/dist/ImmunizationRecommendation.d.ts +35 -35
  88. package/dist/ImplementationGuide.d.ts +102 -102
  89. package/dist/InsurancePlan.d.ts +79 -79
  90. package/dist/Invoice.d.ts +43 -43
  91. package/dist/JsonWebKey.d.ts +20 -20
  92. package/dist/Library.d.ts +40 -40
  93. package/dist/Linkage.d.ts +16 -16
  94. package/dist/List.d.ts +28 -28
  95. package/dist/Location.d.ts +38 -38
  96. package/dist/Login.d.ts +21 -21
  97. package/dist/MarketingStatus.d.ts +8 -8
  98. package/dist/Measure.d.ts +83 -83
  99. package/dist/MeasureReport.d.ts +55 -55
  100. package/dist/Media.d.ts +31 -31
  101. package/dist/Medication.d.ts +28 -28
  102. package/dist/MedicationAdministration.d.ts +44 -44
  103. package/dist/MedicationDispense.d.ts +46 -46
  104. package/dist/MedicationKnowledge.d.ts +121 -121
  105. package/dist/MedicationRequest.d.ts +63 -63
  106. package/dist/MedicationStatement.d.ts +27 -27
  107. package/dist/MedicinalProduct.d.ts +65 -65
  108. package/dist/MedicinalProductAuthorization.d.ts +40 -40
  109. package/dist/MedicinalProductContraindication.d.ts +21 -21
  110. package/dist/MedicinalProductIndication.d.ts +23 -23
  111. package/dist/MedicinalProductIngredient.d.ts +44 -44
  112. package/dist/MedicinalProductInteraction.d.ts +20 -20
  113. package/dist/MedicinalProductManufactured.d.ts +15 -15
  114. package/dist/MedicinalProductPackaged.d.ts +37 -37
  115. package/dist/MedicinalProductPharmaceutical.d.ts +41 -41
  116. package/dist/MedicinalProductUndesirableEffect.d.ts +13 -13
  117. package/dist/MessageDefinition.d.ts +45 -45
  118. package/dist/MessageHeader.d.ts +41 -41
  119. package/dist/Meta.d.ts +11 -11
  120. package/dist/MolecularSequence.d.ts +100 -100
  121. package/dist/Money.d.ts +4 -4
  122. package/dist/NamingSystem.d.ts +29 -29
  123. package/dist/Narrative.d.ts +4 -4
  124. package/dist/NutritionOrder.d.ts +71 -71
  125. package/dist/Observation.d.ts +72 -72
  126. package/dist/ObservationDefinition.d.ts +39 -39
  127. package/dist/OperationDefinition.d.ts +63 -63
  128. package/dist/OperationOutcome.d.ts +18 -18
  129. package/dist/Organization.d.ts +25 -25
  130. package/dist/OrganizationAffiliation.d.ts +20 -20
  131. package/dist/ParameterDefinition.d.ts +9 -9
  132. package/dist/Parameters.d.ts +61 -61
  133. package/dist/PasswordChangeRequest.d.ts +8 -8
  134. package/dist/Patient.d.ts +46 -46
  135. package/dist/PaymentNotice.d.ts +20 -20
  136. package/dist/PaymentReconciliation.d.ts +41 -41
  137. package/dist/Period.d.ts +4 -4
  138. package/dist/Person.d.ts +23 -23
  139. package/dist/PlanDefinition.d.ts +117 -117
  140. package/dist/Population.d.ts +8 -8
  141. package/dist/Practitioner.d.ts +25 -25
  142. package/dist/PractitionerRole.d.ts +34 -34
  143. package/dist/Procedure.d.ts +51 -51
  144. package/dist/ProdCharacteristic.d.ts +14 -14
  145. package/dist/ProductShelfLife.d.ts +7 -7
  146. package/dist/Project.d.ts +9 -9
  147. package/dist/ProjectMembership.d.ts +11 -10
  148. package/dist/Provenance.d.ts +32 -32
  149. package/dist/Quantity.d.ts +7 -7
  150. package/dist/Questionnaire.d.ts +89 -89
  151. package/dist/QuestionnaireResponse.d.ts +43 -43
  152. package/dist/Range.d.ts +4 -4
  153. package/dist/Ratio.d.ts +4 -4
  154. package/dist/Reference.d.ts +7 -7
  155. package/dist/RelatedArtifact.d.ts +9 -9
  156. package/dist/RelatedPerson.d.ts +25 -25
  157. package/dist/RequestGroup.d.ts +65 -65
  158. package/dist/ResearchDefinition.d.ts +43 -43
  159. package/dist/ResearchElementDefinition.d.ts +66 -66
  160. package/dist/ResearchStudy.d.ts +43 -43
  161. package/dist/ResearchSubject.d.ts +16 -16
  162. package/dist/RiskAssessment.d.ts +37 -37
  163. package/dist/RiskEvidenceSynthesis.d.ts +74 -74
  164. package/dist/SampledData.d.ts +9 -9
  165. package/dist/Schedule.d.ts +16 -16
  166. package/dist/SearchParameter.d.ts +39 -39
  167. package/dist/ServiceRequest.d.ts +46 -46
  168. package/dist/Signature.d.ts +9 -9
  169. package/dist/Slot.d.ts +19 -19
  170. package/dist/Specimen.d.ts +51 -51
  171. package/dist/SpecimenDefinition.d.ts +49 -49
  172. package/dist/StructureDefinition.d.ts +55 -55
  173. package/dist/StructureMap.d.ts +145 -145
  174. package/dist/Subscription.d.ts +22 -22
  175. package/dist/Substance.d.ts +27 -27
  176. package/dist/SubstanceAmount.d.ts +13 -13
  177. package/dist/SubstanceNucleicAcid.d.ts +37 -37
  178. package/dist/SubstancePolymer.d.ts +52 -52
  179. package/dist/SubstanceProtein.d.ts +23 -23
  180. package/dist/SubstanceReferenceInformation.d.ts +45 -45
  181. package/dist/SubstanceSourceMaterial.d.ts +62 -62
  182. package/dist/SubstanceSpecification.d.ts +121 -121
  183. package/dist/SupplyDelivery.d.ts +27 -27
  184. package/dist/SupplyRequest.d.ts +34 -34
  185. package/dist/Task.d.ts +153 -153
  186. package/dist/TerminologyCapabilities.d.ts +87 -87
  187. package/dist/TestReport.d.ts +66 -66
  188. package/dist/TestScript.d.ts +157 -157
  189. package/dist/Timing.d.ts +25 -25
  190. package/dist/TriggerDefinition.d.ts +10 -10
  191. package/dist/UsageContext.d.ts +7 -7
  192. package/dist/User.d.ts +7 -7
  193. package/dist/UserConfiguration.d.ts +20 -20
  194. package/dist/ValueSet.d.ts +90 -90
  195. package/dist/VerificationResult.d.ts +49 -49
  196. package/dist/VisionPrescription.d.ts +38 -38
  197. package/package.json +1 -1
@@ -21,14 +21,14 @@ export interface AccessPolicy {
21
21
  * The logical id of the resource, as used in the URL for the resource.
22
22
  * Once assigned, this value never changes.
23
23
  */
24
- readonly id?: string;
24
+ id?: string;
25
25
 
26
26
  /**
27
27
  * The metadata about the resource. This is content that is maintained by
28
28
  * the infrastructure. Changes to the content might not always be
29
29
  * associated with version changes to the resource.
30
30
  */
31
- readonly meta?: Meta;
31
+ meta?: Meta;
32
32
 
33
33
  /**
34
34
  * A reference to a set of rules that were followed when the resource was
@@ -36,29 +36,29 @@ export interface AccessPolicy {
36
36
  * Often, this is a reference to an implementation guide that defines the
37
37
  * special rules along with other profiles etc.
38
38
  */
39
- readonly implicitRules?: string;
39
+ implicitRules?: string;
40
40
 
41
41
  /**
42
42
  * The base language in which the resource is written.
43
43
  */
44
- readonly language?: string;
44
+ language?: string;
45
45
 
46
46
  /**
47
47
  * A name associated with the AccessPolicy.
48
48
  */
49
- readonly name?: string;
49
+ name?: string;
50
50
 
51
51
  /**
52
52
  * Optional compartment for newly created resources. If this field is
53
53
  * set, any resources created by a user with this access policy will
54
54
  * automatically be included in the specified compartment.
55
55
  */
56
- readonly compartment?: Reference;
56
+ compartment?: Reference;
57
57
 
58
58
  /**
59
59
  * Access details for a resource type.
60
60
  */
61
- readonly resource?: AccessPolicyResource[];
61
+ resource?: AccessPolicyResource[];
62
62
  }
63
63
 
64
64
  /**
@@ -69,27 +69,27 @@ export interface AccessPolicyResource {
69
69
  /**
70
70
  * The resource type.
71
71
  */
72
- readonly resourceType?: string;
72
+ resourceType?: string;
73
73
 
74
74
  /**
75
75
  * Optional compartment restriction for the resource type.
76
76
  */
77
- readonly compartment?: Reference;
77
+ compartment?: Reference;
78
78
 
79
79
  /**
80
80
  * Optional flag to indicate that the resource type is read-only.
81
81
  */
82
- readonly readonly?: boolean;
82
+ readonly?: boolean;
83
83
 
84
84
  /**
85
85
  * Optional list of hidden fields. Hidden fields are not readable or
86
86
  * writeable.
87
87
  */
88
- readonly hiddenFields?: string[];
88
+ hiddenFields?: string[];
89
89
 
90
90
  /**
91
91
  * Optional list of read-only fields. Read-only fields are readable but
92
92
  * not writeable.
93
93
  */
94
- readonly readonlyFields?: string[];
94
+ readonlyFields?: string[];
95
95
  }
package/dist/Account.d.ts CHANGED
@@ -37,14 +37,14 @@ export interface Account {
37
37
  * The logical id of the resource, as used in the URL for the resource.
38
38
  * Once assigned, this value never changes.
39
39
  */
40
- readonly id?: string;
40
+ id?: string;
41
41
 
42
42
  /**
43
43
  * The metadata about the resource. This is content that is maintained by
44
44
  * the infrastructure. Changes to the content might not always be
45
45
  * associated with version changes to the resource.
46
46
  */
47
- readonly meta?: Meta;
47
+ meta?: Meta;
48
48
 
49
49
  /**
50
50
  * A reference to a set of rules that were followed when the resource was
@@ -52,12 +52,12 @@ export interface Account {
52
52
  * Often, this is a reference to an implementation guide that defines the
53
53
  * special rules along with other profiles etc.
54
54
  */
55
- readonly implicitRules?: string;
55
+ implicitRules?: string;
56
56
 
57
57
  /**
58
58
  * The base language in which the resource is written.
59
59
  */
60
- readonly language?: string;
60
+ language?: string;
61
61
 
62
62
  /**
63
63
  * A human-readable narrative that contains a summary of the resource and
@@ -67,14 +67,14 @@ export interface Account {
67
67
  * just read the narrative. Resource definitions may define what content
68
68
  * should be represented in the narrative to ensure clinical safety.
69
69
  */
70
- readonly text?: Narrative;
70
+ text?: Narrative;
71
71
 
72
72
  /**
73
73
  * These resources do not have an independent existence apart from the
74
74
  * resource that contains them - they cannot be identified independently,
75
75
  * and nor can they have their own independent transaction scope.
76
76
  */
77
- readonly contained?: Resource[];
77
+ contained?: Resource[];
78
78
 
79
79
  /**
80
80
  * May be used to represent additional information that is not part of
@@ -84,7 +84,7 @@ export interface Account {
84
84
  * define an extension, there is a set of requirements that SHALL be met
85
85
  * as part of the definition of the extension.
86
86
  */
87
- readonly extension?: Extension[];
87
+ extension?: Extension[];
88
88
 
89
89
  /**
90
90
  * May be used to represent additional information that is not part of
@@ -102,29 +102,29 @@ export interface Account {
102
102
  * Resource or DomainResource (including cannot change the meaning of
103
103
  * modifierExtension itself).
104
104
  */
105
- readonly modifierExtension?: Extension[];
105
+ modifierExtension?: Extension[];
106
106
 
107
107
  /**
108
108
  * Unique identifier used to reference the account. Might or might not
109
109
  * be intended for human use (e.g. credit card number).
110
110
  */
111
- readonly identifier?: Identifier[];
111
+ identifier?: Identifier[];
112
112
 
113
113
  /**
114
114
  * Indicates whether the account is presently used/usable or not.
115
115
  */
116
- readonly status?: string;
116
+ status?: string;
117
117
 
118
118
  /**
119
119
  * Categorizes the account for reporting and searching purposes.
120
120
  */
121
- readonly type?: CodeableConcept;
121
+ type?: CodeableConcept;
122
122
 
123
123
  /**
124
124
  * Name used for the account when displaying it to humans in reports,
125
125
  * etc.
126
126
  */
127
- readonly name?: string;
127
+ name?: string;
128
128
 
129
129
  /**
130
130
  * Identifies the entity which incurs the expenses. While the immediate
@@ -132,41 +132,41 @@ export interface Account {
132
132
  * subject, the expenses were ultimately incurred by the subject of the
133
133
  * Account.
134
134
  */
135
- readonly subject?: Reference<Patient | Device | Practitioner | PractitionerRole | Location | HealthcareService | Organization>[];
135
+ subject?: Reference<Patient | Device | Practitioner | PractitionerRole | Location | HealthcareService | Organization>[];
136
136
 
137
137
  /**
138
138
  * The date range of services associated with this account.
139
139
  */
140
- readonly servicePeriod?: Period;
140
+ servicePeriod?: Period;
141
141
 
142
142
  /**
143
143
  * The party(s) that are responsible for covering the payment of this
144
144
  * account, and what order should they be applied to the account.
145
145
  */
146
- readonly coverage?: AccountCoverage[];
146
+ coverage?: AccountCoverage[];
147
147
 
148
148
  /**
149
149
  * Indicates the service area, hospital, department, etc. with
150
150
  * responsibility for managing the Account.
151
151
  */
152
- readonly owner?: Reference<Organization>;
152
+ owner?: Reference<Organization>;
153
153
 
154
154
  /**
155
155
  * Provides additional information about what the account tracks and how
156
156
  * it is used.
157
157
  */
158
- readonly description?: string;
158
+ description?: string;
159
159
 
160
160
  /**
161
161
  * The parties responsible for balancing the account if other payment
162
162
  * options fall short.
163
163
  */
164
- readonly guarantor?: AccountGuarantor[];
164
+ guarantor?: AccountGuarantor[];
165
165
 
166
166
  /**
167
167
  * Reference to a parent Account.
168
168
  */
169
- readonly partOf?: Reference<Account>;
169
+ partOf?: Reference<Account>;
170
170
  }
171
171
 
172
172
  /**
@@ -179,7 +179,7 @@ export interface AccountCoverage {
179
179
  * Unique id for the element within a resource (for internal references).
180
180
  * This may be any string value that does not contain spaces.
181
181
  */
182
- readonly id?: string;
182
+ id?: string;
183
183
 
184
184
  /**
185
185
  * May be used to represent additional information that is not part of
@@ -189,7 +189,7 @@ export interface AccountCoverage {
189
189
  * define an extension, there is a set of requirements that SHALL be met
190
190
  * as part of the definition of the extension.
191
191
  */
192
- readonly extension?: Extension[];
192
+ extension?: Extension[];
193
193
 
194
194
  /**
195
195
  * May be used to represent additional information that is not part of
@@ -208,7 +208,7 @@ export interface AccountCoverage {
208
208
  * Resource or DomainResource (including cannot change the meaning of
209
209
  * modifierExtension itself).
210
210
  */
211
- readonly modifierExtension?: Extension[];
211
+ modifierExtension?: Extension[];
212
212
 
213
213
  /**
214
214
  * The party(s) that contribute to payment (or part of) of the charges
@@ -218,12 +218,12 @@ export interface AccountCoverage {
218
218
  * the sequence of the coverages in the account could be important when
219
219
  * processing billing.
220
220
  */
221
- readonly coverage?: Reference<Coverage>;
221
+ coverage?: Reference<Coverage>;
222
222
 
223
223
  /**
224
224
  * The priority of the coverage in the context of this account.
225
225
  */
226
- readonly priority?: number;
226
+ priority?: number;
227
227
  }
228
228
 
229
229
  /**
@@ -236,7 +236,7 @@ export interface AccountGuarantor {
236
236
  * Unique id for the element within a resource (for internal references).
237
237
  * This may be any string value that does not contain spaces.
238
238
  */
239
- readonly id?: string;
239
+ id?: string;
240
240
 
241
241
  /**
242
242
  * May be used to represent additional information that is not part of
@@ -246,7 +246,7 @@ export interface AccountGuarantor {
246
246
  * define an extension, there is a set of requirements that SHALL be met
247
247
  * as part of the definition of the extension.
248
248
  */
249
- readonly extension?: Extension[];
249
+ extension?: Extension[];
250
250
 
251
251
  /**
252
252
  * May be used to represent additional information that is not part of
@@ -265,22 +265,22 @@ export interface AccountGuarantor {
265
265
  * Resource or DomainResource (including cannot change the meaning of
266
266
  * modifierExtension itself).
267
267
  */
268
- readonly modifierExtension?: Extension[];
268
+ modifierExtension?: Extension[];
269
269
 
270
270
  /**
271
271
  * The entity who is responsible.
272
272
  */
273
- readonly party?: Reference<Patient | RelatedPerson | Organization>;
273
+ party?: Reference<Patient | RelatedPerson | Organization>;
274
274
 
275
275
  /**
276
276
  * A guarantor may be placed on credit hold or otherwise have their role
277
277
  * temporarily suspended.
278
278
  */
279
- readonly onHold?: boolean;
279
+ onHold?: boolean;
280
280
 
281
281
  /**
282
282
  * The timeframe during which the guarantor accepts responsibility for
283
283
  * the account.
284
284
  */
285
- readonly period?: Period;
285
+ period?: Period;
286
286
  }