@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.
- package/README.md +9 -3
- package/dist/AccessPolicy.d.ts +19 -13
- package/dist/Account.d.ts +30 -30
- package/dist/ActivityDefinition.d.ts +71 -71
- package/dist/Address.d.ts +12 -12
- package/dist/AdverseEvent.d.ts +41 -41
- package/dist/Age.d.ts +7 -7
- package/dist/AllergyIntolerance.d.ts +38 -38
- package/dist/Annotation.d.ts +6 -6
- package/dist/Appointment.d.ts +38 -38
- package/dist/AppointmentResponse.d.ts +16 -16
- package/dist/Attachment.d.ts +10 -10
- package/dist/AuditEvent.d.ts +62 -62
- package/dist/Basic.d.ts +13 -13
- package/dist/Binary.d.ts +8 -8
- package/dist/BiologicallyDerivedProduct.d.ts +47 -47
- package/dist/BodyStructure.d.ts +16 -16
- package/dist/Bot.d.ts +19 -8
- package/dist/Bundle.d.ts +47 -47
- package/dist/CapabilityStatement.d.ts +129 -129
- package/dist/CarePlan.d.ts +63 -63
- package/dist/CareTeam.d.ts +28 -28
- package/dist/CatalogEntry.d.ts +27 -27
- package/dist/ChargeItem.d.ts +43 -43
- package/dist/ChargeItemDefinition.d.ts +49 -49
- package/dist/Claim.d.ts +159 -159
- package/dist/ClaimResponse.d.ts +145 -145
- package/dist/ClientApplication.d.ts +8 -8
- package/dist/ClinicalImpression.d.ts +40 -40
- package/dist/CodeSystem.d.ts +74 -74
- package/dist/CodeableConcept.d.ts +4 -4
- package/dist/Coding.d.ts +7 -7
- package/dist/Communication.d.ts +37 -37
- package/dist/CommunicationRequest.d.ts +37 -37
- package/dist/CompartmentDefinition.d.ts +28 -28
- package/dist/Composition.d.ts +54 -54
- package/dist/ConceptMap.d.ts +66 -66
- package/dist/Condition.d.ts +44 -44
- package/dist/Consent.d.ts +57 -57
- package/dist/ContactDetail.d.ts +4 -4
- package/dist/ContactPoint.d.ts +7 -7
- package/dist/Contract.d.ts +202 -202
- package/dist/Contributor.d.ts +5 -5
- package/dist/Count.d.ts +7 -7
- package/dist/Coverage.d.ts +43 -43
- package/dist/CoverageEligibilityRequest.d.ts +53 -53
- package/dist/CoverageEligibilityResponse.d.ts +62 -62
- package/dist/DataRequirement.d.ts +28 -28
- package/dist/DetectedIssue.d.ts +32 -32
- package/dist/Device.d.ts +65 -65
- package/dist/DeviceDefinition.d.ts +64 -64
- package/dist/DeviceMetric.d.ts +24 -24
- package/dist/DeviceRequest.d.ts +43 -43
- package/dist/DeviceUseStatement.d.ts +23 -23
- package/dist/DiagnosticReport.d.ts +32 -32
- package/dist/Distance.d.ts +7 -7
- package/dist/DocumentManifest.d.ts +25 -25
- package/dist/DocumentReference.d.ts +44 -44
- package/dist/Dosage.d.ts +25 -25
- package/dist/Duration.d.ts +7 -7
- package/dist/EffectEvidenceSynthesis.d.ts +82 -82
- package/dist/Element.d.ts +2 -2
- package/dist/ElementDefinition.d.ts +295 -295
- package/dist/Encounter.d.ts +72 -72
- package/dist/Endpoint.d.ts +19 -19
- package/dist/EnrollmentRequest.d.ts +15 -15
- package/dist/EnrollmentResponse.d.ts +16 -16
- package/dist/EpisodeOfCare.d.ts +31 -31
- package/dist/EventDefinition.d.ts +37 -37
- package/dist/Evidence.d.ts +36 -36
- package/dist/EvidenceVariable.d.ts +53 -53
- package/dist/ExampleScenario.d.ts +85 -85
- package/dist/ExplanationOfBenefit.d.ts +272 -272
- package/dist/Expression.d.ts +7 -7
- package/dist/Extension.d.ts +53 -53
- package/dist/FamilyMemberHistory.d.ts +45 -45
- package/dist/Flag.d.ts +16 -16
- package/dist/Goal.d.ts +38 -38
- package/dist/GraphDefinition.d.ts +48 -48
- package/dist/Group.d.ts +35 -35
- package/dist/GuidanceResponse.d.ts +25 -25
- package/dist/HealthcareService.d.ts +49 -49
- package/dist/HumanName.d.ts +9 -9
- package/dist/Identifier.d.ts +8 -8
- package/dist/ImagingStudy.d.ts +55 -55
- package/dist/Immunization.d.ts +65 -65
- package/dist/ImmunizationEvaluation.d.ts +23 -23
- package/dist/ImmunizationRecommendation.d.ts +35 -35
- package/dist/ImplementationGuide.d.ts +102 -102
- package/dist/InsurancePlan.d.ts +79 -79
- package/dist/Invoice.d.ts +43 -43
- package/dist/JsonWebKey.d.ts +20 -20
- package/dist/Library.d.ts +40 -40
- package/dist/Linkage.d.ts +16 -16
- package/dist/List.d.ts +28 -28
- package/dist/Location.d.ts +38 -38
- package/dist/Login.d.ts +21 -21
- package/dist/MarketingStatus.d.ts +8 -8
- package/dist/Measure.d.ts +83 -83
- package/dist/MeasureReport.d.ts +55 -55
- package/dist/Media.d.ts +31 -31
- package/dist/Medication.d.ts +28 -28
- package/dist/MedicationAdministration.d.ts +44 -44
- package/dist/MedicationDispense.d.ts +46 -46
- package/dist/MedicationKnowledge.d.ts +121 -121
- package/dist/MedicationRequest.d.ts +63 -63
- package/dist/MedicationStatement.d.ts +27 -27
- package/dist/MedicinalProduct.d.ts +65 -65
- package/dist/MedicinalProductAuthorization.d.ts +40 -40
- package/dist/MedicinalProductContraindication.d.ts +21 -21
- package/dist/MedicinalProductIndication.d.ts +23 -23
- package/dist/MedicinalProductIngredient.d.ts +44 -44
- package/dist/MedicinalProductInteraction.d.ts +20 -20
- package/dist/MedicinalProductManufactured.d.ts +15 -15
- package/dist/MedicinalProductPackaged.d.ts +37 -37
- package/dist/MedicinalProductPharmaceutical.d.ts +41 -41
- package/dist/MedicinalProductUndesirableEffect.d.ts +13 -13
- package/dist/MessageDefinition.d.ts +45 -45
- package/dist/MessageHeader.d.ts +41 -41
- package/dist/Meta.d.ts +11 -11
- package/dist/MolecularSequence.d.ts +100 -100
- package/dist/Money.d.ts +4 -4
- package/dist/NamingSystem.d.ts +29 -29
- package/dist/Narrative.d.ts +4 -4
- package/dist/NutritionOrder.d.ts +71 -71
- package/dist/Observation.d.ts +72 -72
- package/dist/ObservationDefinition.d.ts +39 -39
- package/dist/OperationDefinition.d.ts +63 -63
- package/dist/OperationOutcome.d.ts +18 -18
- package/dist/Organization.d.ts +25 -25
- package/dist/OrganizationAffiliation.d.ts +20 -20
- package/dist/ParameterDefinition.d.ts +9 -9
- package/dist/Parameters.d.ts +61 -61
- package/dist/PasswordChangeRequest.d.ts +8 -8
- package/dist/Patient.d.ts +46 -46
- package/dist/PaymentNotice.d.ts +20 -20
- package/dist/PaymentReconciliation.d.ts +41 -41
- package/dist/Period.d.ts +4 -4
- package/dist/Person.d.ts +23 -23
- package/dist/PlanDefinition.d.ts +117 -117
- package/dist/Population.d.ts +8 -8
- package/dist/Practitioner.d.ts +25 -25
- package/dist/PractitionerRole.d.ts +34 -34
- package/dist/Procedure.d.ts +51 -51
- package/dist/ProdCharacteristic.d.ts +14 -14
- package/dist/ProductShelfLife.d.ts +7 -7
- package/dist/Project.d.ts +9 -9
- package/dist/ProjectMembership.d.ts +11 -10
- package/dist/Provenance.d.ts +32 -32
- package/dist/Quantity.d.ts +7 -7
- package/dist/Questionnaire.d.ts +89 -89
- package/dist/QuestionnaireResponse.d.ts +43 -43
- package/dist/Range.d.ts +4 -4
- package/dist/Ratio.d.ts +4 -4
- package/dist/Reference.d.ts +7 -7
- package/dist/RelatedArtifact.d.ts +9 -9
- package/dist/RelatedPerson.d.ts +25 -25
- package/dist/RequestGroup.d.ts +65 -65
- package/dist/ResearchDefinition.d.ts +43 -43
- package/dist/ResearchElementDefinition.d.ts +66 -66
- package/dist/ResearchStudy.d.ts +43 -43
- package/dist/ResearchSubject.d.ts +16 -16
- package/dist/RiskAssessment.d.ts +37 -37
- package/dist/RiskEvidenceSynthesis.d.ts +74 -74
- package/dist/SampledData.d.ts +9 -9
- package/dist/Schedule.d.ts +16 -16
- package/dist/SearchParameter.d.ts +39 -39
- package/dist/ServiceRequest.d.ts +46 -46
- package/dist/Signature.d.ts +9 -9
- package/dist/Slot.d.ts +19 -19
- package/dist/Specimen.d.ts +51 -51
- package/dist/SpecimenDefinition.d.ts +49 -49
- package/dist/StructureDefinition.d.ts +55 -55
- package/dist/StructureMap.d.ts +145 -145
- package/dist/Subscription.d.ts +22 -22
- package/dist/Substance.d.ts +27 -27
- package/dist/SubstanceAmount.d.ts +13 -13
- package/dist/SubstanceNucleicAcid.d.ts +37 -37
- package/dist/SubstancePolymer.d.ts +52 -52
- package/dist/SubstanceProtein.d.ts +23 -23
- package/dist/SubstanceReferenceInformation.d.ts +45 -45
- package/dist/SubstanceSourceMaterial.d.ts +62 -62
- package/dist/SubstanceSpecification.d.ts +121 -121
- package/dist/SupplyDelivery.d.ts +27 -27
- package/dist/SupplyRequest.d.ts +34 -34
- package/dist/Task.d.ts +153 -153
- package/dist/TerminologyCapabilities.d.ts +87 -87
- package/dist/TestReport.d.ts +66 -66
- package/dist/TestScript.d.ts +157 -157
- package/dist/Timing.d.ts +25 -25
- package/dist/TriggerDefinition.d.ts +10 -10
- package/dist/UsageContext.d.ts +7 -7
- package/dist/User.d.ts +7 -7
- package/dist/UserConfiguration.d.ts +20 -20
- package/dist/ValueSet.d.ts +90 -90
- package/dist/VerificationResult.d.ts +49 -49
- package/dist/VisionPrescription.d.ts +38 -38
- package/package.json +1 -1
package/dist/Provenance.d.ts
CHANGED
|
@@ -43,14 +43,14 @@ export interface Provenance {
|
|
|
43
43
|
* The logical id of the resource, as used in the URL for the resource.
|
|
44
44
|
* Once assigned, this value never changes.
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
id?: string;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* The metadata about the resource. This is content that is maintained by
|
|
50
50
|
* the infrastructure. Changes to the content might not always be
|
|
51
51
|
* associated with version changes to the resource.
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
meta?: Meta;
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* A reference to a set of rules that were followed when the resource was
|
|
@@ -58,12 +58,12 @@ export interface Provenance {
|
|
|
58
58
|
* Often, this is a reference to an implementation guide that defines the
|
|
59
59
|
* special rules along with other profiles etc.
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
implicitRules?: string;
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* The base language in which the resource is written.
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
language?: string;
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* A human-readable narrative that contains a summary of the resource and
|
|
@@ -73,14 +73,14 @@ export interface Provenance {
|
|
|
73
73
|
* just read the narrative. Resource definitions may define what content
|
|
74
74
|
* should be represented in the narrative to ensure clinical safety.
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
text?: Narrative;
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* These resources do not have an independent existence apart from the
|
|
80
80
|
* resource that contains them - they cannot be identified independently,
|
|
81
81
|
* and nor can they have their own independent transaction scope.
|
|
82
82
|
*/
|
|
83
|
-
|
|
83
|
+
contained?: Resource[];
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
86
|
* May be used to represent additional information that is not part of
|
|
@@ -90,7 +90,7 @@ export interface Provenance {
|
|
|
90
90
|
* define an extension, there is a set of requirements that SHALL be met
|
|
91
91
|
* as part of the definition of the extension.
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
extension?: Extension[];
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* May be used to represent additional information that is not part of
|
|
@@ -108,7 +108,7 @@ export interface Provenance {
|
|
|
108
108
|
* Resource or DomainResource (including cannot change the meaning of
|
|
109
109
|
* modifierExtension itself).
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
modifierExtension?: Extension[];
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* The Reference(s) that were generated or updated by the activity
|
|
@@ -116,63 +116,63 @@ export interface Provenance {
|
|
|
116
116
|
* target if multiple resources were created/updated by the same
|
|
117
117
|
* activity.
|
|
118
118
|
*/
|
|
119
|
-
|
|
119
|
+
target?: Reference<Resource>[];
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* The period during which the activity occurred.
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
occurredPeriod?: Period;
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
127
|
* The period during which the activity occurred.
|
|
128
128
|
*/
|
|
129
|
-
|
|
129
|
+
occurredDateTime?: string;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
132
|
* The instant of time at which the activity was recorded.
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
recorded?: string;
|
|
135
135
|
|
|
136
136
|
/**
|
|
137
137
|
* Policy or plan the activity was defined by. Typically, a single
|
|
138
138
|
* activity may have multiple applicable policy documents, such as
|
|
139
139
|
* patient consent, guarantor funding, etc.
|
|
140
140
|
*/
|
|
141
|
-
|
|
141
|
+
policy?: string[];
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* Where the activity occurred, if relevant.
|
|
145
145
|
*/
|
|
146
|
-
|
|
146
|
+
location?: Reference<Location>;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* The reason that the activity was taking place.
|
|
150
150
|
*/
|
|
151
|
-
|
|
151
|
+
reason?: CodeableConcept[];
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* An activity is something that occurs over a period of time and acts
|
|
155
155
|
* upon or with entities; it may include consuming, processing,
|
|
156
156
|
* transforming, modifying, relocating, using, or generating entities.
|
|
157
157
|
*/
|
|
158
|
-
|
|
158
|
+
activity?: CodeableConcept;
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* An actor taking a role in an activity for which it can be assigned
|
|
162
162
|
* some degree of responsibility for the activity taking place.
|
|
163
163
|
*/
|
|
164
|
-
|
|
164
|
+
agent?: ProvenanceAgent[];
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
167
|
* An entity used in this activity.
|
|
168
168
|
*/
|
|
169
|
-
|
|
169
|
+
entity?: ProvenanceEntity[];
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* A digital signature on the target Reference(s). The signer should
|
|
173
173
|
* match a Provenance.agent. The purpose of the signature is indicated.
|
|
174
174
|
*/
|
|
175
|
-
|
|
175
|
+
signature?: Signature[];
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
/**
|
|
@@ -185,7 +185,7 @@ export interface ProvenanceAgent {
|
|
|
185
185
|
* Unique id for the element within a resource (for internal references).
|
|
186
186
|
* This may be any string value that does not contain spaces.
|
|
187
187
|
*/
|
|
188
|
-
|
|
188
|
+
id?: string;
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* May be used to represent additional information that is not part of
|
|
@@ -195,7 +195,7 @@ export interface ProvenanceAgent {
|
|
|
195
195
|
* define an extension, there is a set of requirements that SHALL be met
|
|
196
196
|
* as part of the definition of the extension.
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
extension?: Extension[];
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* May be used to represent additional information that is not part of
|
|
@@ -214,28 +214,28 @@ export interface ProvenanceAgent {
|
|
|
214
214
|
* Resource or DomainResource (including cannot change the meaning of
|
|
215
215
|
* modifierExtension itself).
|
|
216
216
|
*/
|
|
217
|
-
|
|
217
|
+
modifierExtension?: Extension[];
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
220
|
* The participation the agent had with respect to the activity.
|
|
221
221
|
*/
|
|
222
|
-
|
|
222
|
+
type?: CodeableConcept;
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
225
|
* The function of the agent with respect to the activity. The security
|
|
226
226
|
* role enabling the agent with respect to the activity.
|
|
227
227
|
*/
|
|
228
|
-
|
|
228
|
+
role?: CodeableConcept[];
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
231
|
* The individual, device or organization that participated in the event.
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
who?: Reference<Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization>;
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* The individual, device, or organization for whom the change was made.
|
|
237
237
|
*/
|
|
238
|
-
|
|
238
|
+
onBehalfOf?: Reference<Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization>;
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
/**
|
|
@@ -247,7 +247,7 @@ export interface ProvenanceEntity {
|
|
|
247
247
|
* Unique id for the element within a resource (for internal references).
|
|
248
248
|
* This may be any string value that does not contain spaces.
|
|
249
249
|
*/
|
|
250
|
-
|
|
250
|
+
id?: string;
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* May be used to represent additional information that is not part of
|
|
@@ -257,7 +257,7 @@ export interface ProvenanceEntity {
|
|
|
257
257
|
* define an extension, there is a set of requirements that SHALL be met
|
|
258
258
|
* as part of the definition of the extension.
|
|
259
259
|
*/
|
|
260
|
-
|
|
260
|
+
extension?: Extension[];
|
|
261
261
|
|
|
262
262
|
/**
|
|
263
263
|
* May be used to represent additional information that is not part of
|
|
@@ -276,18 +276,18 @@ export interface ProvenanceEntity {
|
|
|
276
276
|
* Resource or DomainResource (including cannot change the meaning of
|
|
277
277
|
* modifierExtension itself).
|
|
278
278
|
*/
|
|
279
|
-
|
|
279
|
+
modifierExtension?: Extension[];
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
282
|
* How the entity was used during the activity.
|
|
283
283
|
*/
|
|
284
|
-
|
|
284
|
+
role?: string;
|
|
285
285
|
|
|
286
286
|
/**
|
|
287
287
|
* Identity of the Entity used. May be a logical or physical uri and
|
|
288
288
|
* maybe absolute or relative.
|
|
289
289
|
*/
|
|
290
|
-
|
|
290
|
+
what?: Reference<Resource>;
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
293
|
* The entity is attributed to an agent to express the agent's
|
|
@@ -295,5 +295,5 @@ export interface ProvenanceEntity {
|
|
|
295
295
|
* description can be understood as shorthand for saying that the agent
|
|
296
296
|
* was responsible for the activity which generated the entity.
|
|
297
297
|
*/
|
|
298
|
-
|
|
298
|
+
agent?: ProvenanceAgent[];
|
|
299
299
|
}
|
package/dist/Quantity.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface Quantity {
|
|
|
17
17
|
* Unique id for the element within a resource (for internal references).
|
|
18
18
|
* This may be any string value that does not contain spaces.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
id?: string;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* May be used to represent additional information that is not part of
|
|
@@ -27,33 +27,33 @@ export interface Quantity {
|
|
|
27
27
|
* define an extension, there is a set of requirements that SHALL be met
|
|
28
28
|
* as part of the definition of the extension.
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
extension?: Extension[];
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* The value of the measured amount. The value includes an implicit
|
|
34
34
|
* precision in the presentation of the value.
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
value?: number;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Not allowed to be used in this context
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
comparator?: string;
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
* A human-readable form of the unit.
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
unit?: string;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* The identification of the system that provides the coded form of the
|
|
50
50
|
* unit.
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
system?: string;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* A computer processable form of the unit in some unit representation
|
|
56
56
|
* system.
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
code?: string;
|
|
59
59
|
}
|