@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/Money.d.ts CHANGED
@@ -15,7 +15,7 @@ export interface Money {
15
15
  * Unique id for the element within a resource (for internal references).
16
16
  * This may be any string value that does not contain spaces.
17
17
  */
18
- readonly id?: string;
18
+ id?: string;
19
19
 
20
20
  /**
21
21
  * May be used to represent additional information that is not part of
@@ -25,15 +25,15 @@ export interface Money {
25
25
  * define an extension, there is a set of requirements that SHALL be met
26
26
  * as part of the definition of the extension.
27
27
  */
28
- readonly extension?: Extension[];
28
+ extension?: Extension[];
29
29
 
30
30
  /**
31
31
  * Numerical value (with implicit precision).
32
32
  */
33
- readonly value?: number;
33
+ value?: number;
34
34
 
35
35
  /**
36
36
  * ISO 4217 Currency Code.
37
37
  */
38
- readonly currency?: string;
38
+ currency?: string;
39
39
  }
@@ -28,14 +28,14 @@ export interface NamingSystem {
28
28
  * The logical id of the resource, as used in the URL for the resource.
29
29
  * Once assigned, this value never changes.
30
30
  */
31
- readonly id?: string;
31
+ id?: string;
32
32
 
33
33
  /**
34
34
  * The metadata about the resource. This is content that is maintained by
35
35
  * the infrastructure. Changes to the content might not always be
36
36
  * associated with version changes to the resource.
37
37
  */
38
- readonly meta?: Meta;
38
+ meta?: Meta;
39
39
 
40
40
  /**
41
41
  * A reference to a set of rules that were followed when the resource was
@@ -43,12 +43,12 @@ export interface NamingSystem {
43
43
  * Often, this is a reference to an implementation guide that defines the
44
44
  * special rules along with other profiles etc.
45
45
  */
46
- readonly implicitRules?: string;
46
+ implicitRules?: string;
47
47
 
48
48
  /**
49
49
  * The base language in which the resource is written.
50
50
  */
51
- readonly language?: string;
51
+ language?: string;
52
52
 
53
53
  /**
54
54
  * A human-readable narrative that contains a summary of the resource and
@@ -58,14 +58,14 @@ export interface NamingSystem {
58
58
  * just read the narrative. Resource definitions may define what content
59
59
  * should be represented in the narrative to ensure clinical safety.
60
60
  */
61
- readonly text?: Narrative;
61
+ text?: Narrative;
62
62
 
63
63
  /**
64
64
  * These resources do not have an independent existence apart from the
65
65
  * resource that contains them - they cannot be identified independently,
66
66
  * and nor can they have their own independent transaction scope.
67
67
  */
68
- readonly contained?: Resource[];
68
+ contained?: Resource[];
69
69
 
70
70
  /**
71
71
  * May be used to represent additional information that is not part of
@@ -75,7 +75,7 @@ export interface NamingSystem {
75
75
  * define an extension, there is a set of requirements that SHALL be met
76
76
  * as part of the definition of the extension.
77
77
  */
78
- readonly extension?: Extension[];
78
+ extension?: Extension[];
79
79
 
80
80
  /**
81
81
  * May be used to represent additional information that is not part of
@@ -93,26 +93,26 @@ export interface NamingSystem {
93
93
  * Resource or DomainResource (including cannot change the meaning of
94
94
  * modifierExtension itself).
95
95
  */
96
- readonly modifierExtension?: Extension[];
96
+ modifierExtension?: Extension[];
97
97
 
98
98
  /**
99
99
  * A natural language name identifying the naming system. This name
100
100
  * should be usable as an identifier for the module by machine processing
101
101
  * applications such as code generation.
102
102
  */
103
- readonly name?: string;
103
+ name?: string;
104
104
 
105
105
  /**
106
106
  * The status of this naming system. Enables tracking the life-cycle of
107
107
  * the content.
108
108
  */
109
- readonly status?: string;
109
+ status?: string;
110
110
 
111
111
  /**
112
112
  * Indicates the purpose for the naming system - what kinds of things
113
113
  * does it make unique?
114
114
  */
115
- readonly kind?: string;
115
+ kind?: string;
116
116
 
117
117
  /**
118
118
  * The date (and optionally time) when the naming system was published.
@@ -120,39 +120,39 @@ export interface NamingSystem {
120
120
  * change if the status code changes. In addition, it should change when
121
121
  * the substantive content of the naming system changes.
122
122
  */
123
- readonly date?: string;
123
+ date?: string;
124
124
 
125
125
  /**
126
126
  * The name of the organization or individual that published the naming
127
127
  * system.
128
128
  */
129
- readonly publisher?: string;
129
+ publisher?: string;
130
130
 
131
131
  /**
132
132
  * Contact details to assist a user in finding and communicating with the
133
133
  * publisher.
134
134
  */
135
- readonly contact?: ContactDetail[];
135
+ contact?: ContactDetail[];
136
136
 
137
137
  /**
138
138
  * The name of the organization that is responsible for issuing
139
139
  * identifiers or codes for this namespace and ensuring their
140
140
  * non-collision.
141
141
  */
142
- readonly responsible?: string;
142
+ responsible?: string;
143
143
 
144
144
  /**
145
145
  * Categorizes a naming system for easier search by grouping related
146
146
  * naming systems.
147
147
  */
148
- readonly type?: CodeableConcept;
148
+ type?: CodeableConcept;
149
149
 
150
150
  /**
151
151
  * A free text natural language description of the naming system from a
152
152
  * consumer's perspective. Details about what the namespace identifies
153
153
  * including scope, granularity, version labeling, etc.
154
154
  */
155
- readonly description?: string;
155
+ description?: string;
156
156
 
157
157
  /**
158
158
  * The content was developed with a focus and intent of supporting the
@@ -161,25 +161,25 @@ export interface NamingSystem {
161
161
  * (insurance plans, studies, ...) and may be used to assist with
162
162
  * indexing and searching for appropriate naming system instances.
163
163
  */
164
- readonly useContext?: UsageContext[];
164
+ useContext?: UsageContext[];
165
165
 
166
166
  /**
167
167
  * A legal or geographic region in which the naming system is intended to
168
168
  * be used.
169
169
  */
170
- readonly jurisdiction?: CodeableConcept[];
170
+ jurisdiction?: CodeableConcept[];
171
171
 
172
172
  /**
173
173
  * Provides guidance on the use of the namespace, including the handling
174
174
  * of formatting characters, use of upper vs. lower case, etc.
175
175
  */
176
- readonly usage?: string;
176
+ usage?: string;
177
177
 
178
178
  /**
179
179
  * Indicates how the system may be identified when referenced in
180
180
  * electronic exchange.
181
181
  */
182
- readonly uniqueId?: NamingSystemUniqueId[];
182
+ uniqueId?: NamingSystemUniqueId[];
183
183
  }
184
184
 
185
185
  /**
@@ -192,7 +192,7 @@ export interface NamingSystemUniqueId {
192
192
  * Unique id for the element within a resource (for internal references).
193
193
  * This may be any string value that does not contain spaces.
194
194
  */
195
- readonly id?: string;
195
+ id?: string;
196
196
 
197
197
  /**
198
198
  * May be used to represent additional information that is not part of
@@ -202,7 +202,7 @@ export interface NamingSystemUniqueId {
202
202
  * define an extension, there is a set of requirements that SHALL be met
203
203
  * as part of the definition of the extension.
204
204
  */
205
- readonly extension?: Extension[];
205
+ extension?: Extension[];
206
206
 
207
207
  /**
208
208
  * May be used to represent additional information that is not part of
@@ -221,35 +221,35 @@ export interface NamingSystemUniqueId {
221
221
  * Resource or DomainResource (including cannot change the meaning of
222
222
  * modifierExtension itself).
223
223
  */
224
- readonly modifierExtension?: Extension[];
224
+ modifierExtension?: Extension[];
225
225
 
226
226
  /**
227
227
  * Identifies the unique identifier scheme used for this particular
228
228
  * identifier.
229
229
  */
230
- readonly type?: string;
230
+ type?: string;
231
231
 
232
232
  /**
233
233
  * The string that should be sent over the wire to identify the code
234
234
  * system or identifier system.
235
235
  */
236
- readonly value?: string;
236
+ value?: string;
237
237
 
238
238
  /**
239
239
  * Indicates whether this identifier is the "preferred" identifier of
240
240
  * this type.
241
241
  */
242
- readonly preferred?: boolean;
242
+ preferred?: boolean;
243
243
 
244
244
  /**
245
245
  * Notes about the past or intended usage of this identifier.
246
246
  */
247
- readonly comment?: string;
247
+ comment?: string;
248
248
 
249
249
  /**
250
250
  * Identifies the period of time over which this identifier is considered
251
251
  * appropriate to refer to the naming system. Outside of this window,
252
252
  * the identifier might be non-deterministic.
253
253
  */
254
- readonly period?: Period;
254
+ period?: Period;
255
255
  }
@@ -16,7 +16,7 @@ export interface Narrative {
16
16
  * Unique id for the element within a resource (for internal references).
17
17
  * This may be any string value that does not contain spaces.
18
18
  */
19
- readonly id?: string;
19
+ id?: string;
20
20
 
21
21
  /**
22
22
  * May be used to represent additional information that is not part of
@@ -26,17 +26,17 @@ export interface Narrative {
26
26
  * define an extension, there is a set of requirements that SHALL be met
27
27
  * as part of the definition of the extension.
28
28
  */
29
- readonly extension?: Extension[];
29
+ extension?: Extension[];
30
30
 
31
31
  /**
32
32
  * The status of the narrative - whether it's entirely generated (from
33
33
  * just the defined data or the extensions too), or whether a human
34
34
  * authored it and it may contain additional data.
35
35
  */
36
- readonly status?: string;
36
+ status?: string;
37
37
 
38
38
  /**
39
39
  * The actual narrative content, a stripped down version of XHTML.
40
40
  */
41
- readonly div?: string;
41
+ div?: string;
42
42
  }