@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
|
@@ -54,14 +54,14 @@ export interface MedicationRequest {
|
|
|
54
54
|
* The logical id of the resource, as used in the URL for the resource.
|
|
55
55
|
* Once assigned, this value never changes.
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
id?: string;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* The metadata about the resource. This is content that is maintained by
|
|
61
61
|
* the infrastructure. Changes to the content might not always be
|
|
62
62
|
* associated with version changes to the resource.
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
meta?: Meta;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* A reference to a set of rules that were followed when the resource was
|
|
@@ -69,12 +69,12 @@ export interface MedicationRequest {
|
|
|
69
69
|
* Often, this is a reference to an implementation guide that defines the
|
|
70
70
|
* special rules along with other profiles etc.
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
implicitRules?: string;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* The base language in which the resource is written.
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
language?: string;
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
80
|
* A human-readable narrative that contains a summary of the resource and
|
|
@@ -84,14 +84,14 @@ export interface MedicationRequest {
|
|
|
84
84
|
* just read the narrative. Resource definitions may define what content
|
|
85
85
|
* should be represented in the narrative to ensure clinical safety.
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
text?: Narrative;
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* These resources do not have an independent existence apart from the
|
|
91
91
|
* resource that contains them - they cannot be identified independently,
|
|
92
92
|
* and nor can they have their own independent transaction scope.
|
|
93
93
|
*/
|
|
94
|
-
|
|
94
|
+
contained?: Resource[];
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
97
|
* May be used to represent additional information that is not part of
|
|
@@ -101,7 +101,7 @@ export interface MedicationRequest {
|
|
|
101
101
|
* define an extension, there is a set of requirements that SHALL be met
|
|
102
102
|
* as part of the definition of the extension.
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
extension?: Extension[];
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* May be used to represent additional information that is not part of
|
|
@@ -119,7 +119,7 @@ export interface MedicationRequest {
|
|
|
119
119
|
* Resource or DomainResource (including cannot change the meaning of
|
|
120
120
|
* modifierExtension itself).
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
modifierExtension?: Extension[];
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* Identifiers associated with this medication request that are defined
|
|
@@ -129,56 +129,56 @@ export interface MedicationRequest {
|
|
|
129
129
|
* systems and remain constant as the resource is updated and propagates
|
|
130
130
|
* from server to server.
|
|
131
131
|
*/
|
|
132
|
-
|
|
132
|
+
identifier?: Identifier[];
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* A code specifying the current state of the order. Generally, this
|
|
136
136
|
* will be active or completed state.
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
status?: string;
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* Captures the reason for the current state of the MedicationRequest.
|
|
142
142
|
*/
|
|
143
|
-
|
|
143
|
+
statusReason?: CodeableConcept;
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
146
|
* Whether the request is a proposal, plan, or an original order.
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
intent?: string;
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* Indicates the type of medication request (for example, where the
|
|
152
152
|
* medication is expected to be consumed or administered (i.e. inpatient
|
|
153
153
|
* or outpatient)).
|
|
154
154
|
*/
|
|
155
|
-
|
|
155
|
+
category?: CodeableConcept[];
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* Indicates how quickly the Medication Request should be addressed with
|
|
159
159
|
* respect to other requests.
|
|
160
160
|
*/
|
|
161
|
-
|
|
161
|
+
priority?: string;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
164
|
* If true indicates that the provider is asking for the medication
|
|
165
165
|
* request not to occur.
|
|
166
166
|
*/
|
|
167
|
-
|
|
167
|
+
doNotPerform?: boolean;
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* Indicates if this record was captured as a secondary 'reported' record
|
|
171
171
|
* rather than as an original primary source-of-truth record. It may
|
|
172
172
|
* also indicate the source of the report.
|
|
173
173
|
*/
|
|
174
|
-
|
|
174
|
+
reportedBoolean?: boolean;
|
|
175
175
|
|
|
176
176
|
/**
|
|
177
177
|
* Indicates if this record was captured as a secondary 'reported' record
|
|
178
178
|
* rather than as an original primary source-of-truth record. It may
|
|
179
179
|
* also indicate the source of the report.
|
|
180
180
|
*/
|
|
181
|
-
|
|
181
|
+
reportedReference?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson | Organization>;
|
|
182
182
|
|
|
183
183
|
/**
|
|
184
184
|
* Identifies the medication being requested. This is a link to a
|
|
@@ -186,7 +186,7 @@ export interface MedicationRequest {
|
|
|
186
186
|
* the medication or simply an attribute carrying a code that identifies
|
|
187
187
|
* the medication from a known list of medications.
|
|
188
188
|
*/
|
|
189
|
-
|
|
189
|
+
medicationCodeableConcept?: CodeableConcept;
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
192
|
* Identifies the medication being requested. This is a link to a
|
|
@@ -194,117 +194,117 @@ export interface MedicationRequest {
|
|
|
194
194
|
* the medication or simply an attribute carrying a code that identifies
|
|
195
195
|
* the medication from a known list of medications.
|
|
196
196
|
*/
|
|
197
|
-
|
|
197
|
+
medicationReference?: Reference<Medication>;
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* A link to a resource representing the person or set of individuals to
|
|
201
201
|
* whom the medication will be given.
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
subject?: Reference<Patient | Group>;
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
* The Encounter during which this [x] was created or to which the
|
|
207
207
|
* creation of this record is tightly associated.
|
|
208
208
|
*/
|
|
209
|
-
|
|
209
|
+
encounter?: Reference<Encounter>;
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
212
|
* Include additional information (for example, patient height and
|
|
213
213
|
* weight) that supports the ordering of the medication.
|
|
214
214
|
*/
|
|
215
|
-
|
|
215
|
+
supportingInformation?: Reference<Resource>[];
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
218
|
* The date (and perhaps time) when the prescription was initially
|
|
219
219
|
* written or authored on.
|
|
220
220
|
*/
|
|
221
|
-
|
|
221
|
+
authoredOn?: string;
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
224
|
* The individual, organization, or device that initiated the request and
|
|
225
225
|
* has responsibility for its activation.
|
|
226
226
|
*/
|
|
227
|
-
|
|
227
|
+
requester?: Reference<Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device>;
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
230
|
* The specified desired performer of the medication treatment (e.g. the
|
|
231
231
|
* performer of the medication administration).
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
performer?: Reference<Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam>;
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Indicates the type of performer of the administration of the
|
|
237
237
|
* medication.
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
performerType?: CodeableConcept;
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
242
|
* The person who entered the order on behalf of another individual for
|
|
243
243
|
* example in the case of a verbal or a telephone order.
|
|
244
244
|
*/
|
|
245
|
-
|
|
245
|
+
recorder?: Reference<Practitioner | PractitionerRole>;
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
248
|
* The reason or the indication for ordering or not ordering the
|
|
249
249
|
* medication.
|
|
250
250
|
*/
|
|
251
|
-
|
|
251
|
+
reasonCode?: CodeableConcept[];
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
254
|
* Condition or observation that supports why the medication was ordered.
|
|
255
255
|
*/
|
|
256
|
-
|
|
256
|
+
reasonReference?: Reference<Condition | Observation>[];
|
|
257
257
|
|
|
258
258
|
/**
|
|
259
259
|
* The URL pointing to a protocol, guideline, orderset, or other
|
|
260
260
|
* definition that is adhered to in whole or in part by this
|
|
261
261
|
* MedicationRequest.
|
|
262
262
|
*/
|
|
263
|
-
|
|
263
|
+
instantiatesCanonical?: string[];
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
266
|
* The URL pointing to an externally maintained protocol, guideline,
|
|
267
267
|
* orderset or other definition that is adhered to in whole or in part by
|
|
268
268
|
* this MedicationRequest.
|
|
269
269
|
*/
|
|
270
|
-
|
|
270
|
+
instantiatesUri?: string[];
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
273
|
* A plan or request that is fulfilled in whole or in part by this
|
|
274
274
|
* medication request.
|
|
275
275
|
*/
|
|
276
|
-
|
|
276
|
+
basedOn?: Reference<CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation>[];
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* A shared identifier common to all requests that were authorized more
|
|
280
280
|
* or less simultaneously by a single author, representing the identifier
|
|
281
281
|
* of the requisition or prescription.
|
|
282
282
|
*/
|
|
283
|
-
|
|
283
|
+
groupIdentifier?: Identifier;
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
286
|
* The description of the overall patte3rn of the administration of the
|
|
287
287
|
* medication to the patient.
|
|
288
288
|
*/
|
|
289
|
-
|
|
289
|
+
courseOfTherapyType?: CodeableConcept;
|
|
290
290
|
|
|
291
291
|
/**
|
|
292
292
|
* Insurance plans, coverage extensions, pre-authorizations and/or
|
|
293
293
|
* pre-determinations that may be required for delivering the requested
|
|
294
294
|
* service.
|
|
295
295
|
*/
|
|
296
|
-
|
|
296
|
+
insurance?: Reference<Coverage | ClaimResponse>[];
|
|
297
297
|
|
|
298
298
|
/**
|
|
299
299
|
* Extra information about the prescription that could not be conveyed by
|
|
300
300
|
* the other attributes.
|
|
301
301
|
*/
|
|
302
|
-
|
|
302
|
+
note?: Annotation[];
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
305
|
* Indicates how the medication is to be used by the patient.
|
|
306
306
|
*/
|
|
307
|
-
|
|
307
|
+
dosageInstruction?: Dosage[];
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
310
|
* Indicates the specific details for the dispense or medication supply
|
|
@@ -314,7 +314,7 @@ export interface MedicationRequest {
|
|
|
314
314
|
* institutional or system support for completing the dispense details in
|
|
315
315
|
* the pharmacy department.
|
|
316
316
|
*/
|
|
317
|
-
|
|
317
|
+
dispenseRequest?: MedicationRequestDispenseRequest;
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Indicates whether or not substitution can or should be part of the
|
|
@@ -322,20 +322,20 @@ export interface MedicationRequest {
|
|
|
322
322
|
* substitution must not happen. This block explains the prescriber's
|
|
323
323
|
* intent. If nothing is specified substitution may be done.
|
|
324
324
|
*/
|
|
325
|
-
|
|
325
|
+
substitution?: MedicationRequestSubstitution;
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* A link to a resource representing an earlier order related order or
|
|
329
329
|
* prescription.
|
|
330
330
|
*/
|
|
331
|
-
|
|
331
|
+
priorPrescription?: Reference<MedicationRequest>;
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
334
|
* Indicates an actual or potential clinical issue with or between one or
|
|
335
335
|
* more active or proposed clinical actions for a patient; e.g. Drug-drug
|
|
336
336
|
* interaction, duplicate therapy, dosage alert etc.
|
|
337
337
|
*/
|
|
338
|
-
|
|
338
|
+
detectedIssue?: Reference<DetectedIssue>[];
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
341
|
* Links to Provenance records for past versions of this resource or
|
|
@@ -343,7 +343,7 @@ export interface MedicationRequest {
|
|
|
343
343
|
* transitions or updates that are likely to be relevant to a user
|
|
344
344
|
* looking at the current version of the resource.
|
|
345
345
|
*/
|
|
346
|
-
|
|
346
|
+
eventHistory?: Reference<Provenance>[];
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
/**
|
|
@@ -360,7 +360,7 @@ export interface MedicationRequestDispenseRequest {
|
|
|
360
360
|
* Unique id for the element within a resource (for internal references).
|
|
361
361
|
* This may be any string value that does not contain spaces.
|
|
362
362
|
*/
|
|
363
|
-
|
|
363
|
+
id?: string;
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
366
|
* May be used to represent additional information that is not part of
|
|
@@ -370,7 +370,7 @@ export interface MedicationRequestDispenseRequest {
|
|
|
370
370
|
* define an extension, there is a set of requirements that SHALL be met
|
|
371
371
|
* as part of the definition of the extension.
|
|
372
372
|
*/
|
|
373
|
-
|
|
373
|
+
extension?: Extension[];
|
|
374
374
|
|
|
375
375
|
/**
|
|
376
376
|
* May be used to represent additional information that is not part of
|
|
@@ -389,25 +389,25 @@ export interface MedicationRequestDispenseRequest {
|
|
|
389
389
|
* Resource or DomainResource (including cannot change the meaning of
|
|
390
390
|
* modifierExtension itself).
|
|
391
391
|
*/
|
|
392
|
-
|
|
392
|
+
modifierExtension?: Extension[];
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* Indicates the quantity or duration for the first dispense of the
|
|
396
396
|
* medication.
|
|
397
397
|
*/
|
|
398
|
-
|
|
398
|
+
initialFill?: MedicationRequestDispenseRequestInitialFill;
|
|
399
399
|
|
|
400
400
|
/**
|
|
401
401
|
* The minimum period of time that must occur between dispenses of the
|
|
402
402
|
* medication.
|
|
403
403
|
*/
|
|
404
|
-
|
|
404
|
+
dispenseInterval?: Duration;
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
407
|
* This indicates the validity period of a prescription (stale dating the
|
|
408
408
|
* Prescription).
|
|
409
409
|
*/
|
|
410
|
-
|
|
410
|
+
validityPeriod?: Period;
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
413
|
* An integer indicating the number of times, in addition to the original
|
|
@@ -419,24 +419,24 @@ export interface MedicationRequestDispenseRequest {
|
|
|
419
419
|
* A prescriber may explicitly say that zero refills are permitted after
|
|
420
420
|
* the initial dispense.
|
|
421
421
|
*/
|
|
422
|
-
|
|
422
|
+
numberOfRepeatsAllowed?: number;
|
|
423
423
|
|
|
424
424
|
/**
|
|
425
425
|
* The amount that is to be dispensed for one fill.
|
|
426
426
|
*/
|
|
427
|
-
|
|
427
|
+
quantity?: Quantity;
|
|
428
428
|
|
|
429
429
|
/**
|
|
430
430
|
* Identifies the period time over which the supplied product is expected
|
|
431
431
|
* to be used, or the length of time the dispense is expected to last.
|
|
432
432
|
*/
|
|
433
|
-
|
|
433
|
+
expectedSupplyDuration?: Duration;
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
436
|
* Indicates the intended dispensing Organization specified by the
|
|
437
437
|
* prescriber.
|
|
438
438
|
*/
|
|
439
|
-
|
|
439
|
+
performer?: Reference<Organization>;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
/**
|
|
@@ -449,7 +449,7 @@ export interface MedicationRequestDispenseRequestInitialFill {
|
|
|
449
449
|
* Unique id for the element within a resource (for internal references).
|
|
450
450
|
* This may be any string value that does not contain spaces.
|
|
451
451
|
*/
|
|
452
|
-
|
|
452
|
+
id?: string;
|
|
453
453
|
|
|
454
454
|
/**
|
|
455
455
|
* May be used to represent additional information that is not part of
|
|
@@ -459,7 +459,7 @@ export interface MedicationRequestDispenseRequestInitialFill {
|
|
|
459
459
|
* define an extension, there is a set of requirements that SHALL be met
|
|
460
460
|
* as part of the definition of the extension.
|
|
461
461
|
*/
|
|
462
|
-
|
|
462
|
+
extension?: Extension[];
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
465
|
* May be used to represent additional information that is not part of
|
|
@@ -478,17 +478,17 @@ export interface MedicationRequestDispenseRequestInitialFill {
|
|
|
478
478
|
* Resource or DomainResource (including cannot change the meaning of
|
|
479
479
|
* modifierExtension itself).
|
|
480
480
|
*/
|
|
481
|
-
|
|
481
|
+
modifierExtension?: Extension[];
|
|
482
482
|
|
|
483
483
|
/**
|
|
484
484
|
* The amount or quantity to provide as part of the first dispense.
|
|
485
485
|
*/
|
|
486
|
-
|
|
486
|
+
quantity?: Quantity;
|
|
487
487
|
|
|
488
488
|
/**
|
|
489
489
|
* The length of time that the first dispense is expected to last.
|
|
490
490
|
*/
|
|
491
|
-
|
|
491
|
+
duration?: Duration;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
/**
|
|
@@ -503,7 +503,7 @@ export interface MedicationRequestSubstitution {
|
|
|
503
503
|
* Unique id for the element within a resource (for internal references).
|
|
504
504
|
* This may be any string value that does not contain spaces.
|
|
505
505
|
*/
|
|
506
|
-
|
|
506
|
+
id?: string;
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
509
|
* May be used to represent additional information that is not part of
|
|
@@ -513,7 +513,7 @@ export interface MedicationRequestSubstitution {
|
|
|
513
513
|
* define an extension, there is a set of requirements that SHALL be met
|
|
514
514
|
* as part of the definition of the extension.
|
|
515
515
|
*/
|
|
516
|
-
|
|
516
|
+
extension?: Extension[];
|
|
517
517
|
|
|
518
518
|
/**
|
|
519
519
|
* May be used to represent additional information that is not part of
|
|
@@ -532,23 +532,23 @@ export interface MedicationRequestSubstitution {
|
|
|
532
532
|
* Resource or DomainResource (including cannot change the meaning of
|
|
533
533
|
* modifierExtension itself).
|
|
534
534
|
*/
|
|
535
|
-
|
|
535
|
+
modifierExtension?: Extension[];
|
|
536
536
|
|
|
537
537
|
/**
|
|
538
538
|
* True if the prescriber allows a different drug to be dispensed from
|
|
539
539
|
* what was prescribed.
|
|
540
540
|
*/
|
|
541
|
-
|
|
541
|
+
allowedBoolean?: boolean;
|
|
542
542
|
|
|
543
543
|
/**
|
|
544
544
|
* True if the prescriber allows a different drug to be dispensed from
|
|
545
545
|
* what was prescribed.
|
|
546
546
|
*/
|
|
547
|
-
|
|
547
|
+
allowedCodeableConcept?: CodeableConcept;
|
|
548
548
|
|
|
549
549
|
/**
|
|
550
550
|
* Indicates the reason for the substitution, or why substitution must or
|
|
551
551
|
* must not be performed.
|
|
552
552
|
*/
|
|
553
|
-
|
|
553
|
+
reason?: CodeableConcept;
|
|
554
554
|
}
|
|
@@ -70,14 +70,14 @@ export interface MedicationStatement {
|
|
|
70
70
|
* The logical id of the resource, as used in the URL for the resource.
|
|
71
71
|
* Once assigned, this value never changes.
|
|
72
72
|
*/
|
|
73
|
-
|
|
73
|
+
id?: string;
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* The metadata about the resource. This is content that is maintained by
|
|
77
77
|
* the infrastructure. Changes to the content might not always be
|
|
78
78
|
* associated with version changes to the resource.
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
meta?: Meta;
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* A reference to a set of rules that were followed when the resource was
|
|
@@ -85,12 +85,12 @@ export interface MedicationStatement {
|
|
|
85
85
|
* Often, this is a reference to an implementation guide that defines the
|
|
86
86
|
* special rules along with other profiles etc.
|
|
87
87
|
*/
|
|
88
|
-
|
|
88
|
+
implicitRules?: string;
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* The base language in which the resource is written.
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
language?: string;
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
96
|
* A human-readable narrative that contains a summary of the resource and
|
|
@@ -100,14 +100,14 @@ export interface MedicationStatement {
|
|
|
100
100
|
* just read the narrative. Resource definitions may define what content
|
|
101
101
|
* should be represented in the narrative to ensure clinical safety.
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
text?: Narrative;
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
106
|
* These resources do not have an independent existence apart from the
|
|
107
107
|
* resource that contains them - they cannot be identified independently,
|
|
108
108
|
* and nor can they have their own independent transaction scope.
|
|
109
109
|
*/
|
|
110
|
-
|
|
110
|
+
contained?: Resource[];
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* May be used to represent additional information that is not part of
|
|
@@ -117,7 +117,7 @@ export interface MedicationStatement {
|
|
|
117
117
|
* define an extension, there is a set of requirements that SHALL be met
|
|
118
118
|
* as part of the definition of the extension.
|
|
119
119
|
*/
|
|
120
|
-
|
|
120
|
+
extension?: Extension[];
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* May be used to represent additional information that is not part of
|
|
@@ -135,7 +135,7 @@ export interface MedicationStatement {
|
|
|
135
135
|
* Resource or DomainResource (including cannot change the meaning of
|
|
136
136
|
* modifierExtension itself).
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
modifierExtension?: Extension[];
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* Identifiers associated with this Medication Statement that are defined
|
|
@@ -145,36 +145,36 @@ export interface MedicationStatement {
|
|
|
145
145
|
* systems and remain constant as the resource is updated and propagates
|
|
146
146
|
* from server to server.
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
identifier?: Identifier[];
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* A plan, proposal or order that is fulfilled in whole or in part by
|
|
152
152
|
* this event.
|
|
153
153
|
*/
|
|
154
|
-
|
|
154
|
+
basedOn?: Reference<MedicationRequest | CarePlan | ServiceRequest>[];
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* A larger event of which this particular event is a component or step.
|
|
158
158
|
*/
|
|
159
|
-
|
|
159
|
+
partOf?: Reference<MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation>[];
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
162
|
* A code representing the patient or other source's judgment about the
|
|
163
163
|
* state of the medication used that this statement is about. Generally,
|
|
164
164
|
* this will be active or completed.
|
|
165
165
|
*/
|
|
166
|
-
|
|
166
|
+
status?: string;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
169
|
* Captures the reason for the current state of the MedicationStatement.
|
|
170
170
|
*/
|
|
171
|
-
|
|
171
|
+
statusReason?: CodeableConcept[];
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
174
|
* Indicates where the medication is expected to be consumed or
|
|
175
175
|
* administered.
|
|
176
176
|
*/
|
|
177
|
-
|
|
177
|
+
category?: CodeableConcept;
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
180
|
* Identifies the medication being administered. This is either a link to
|
|
@@ -182,7 +182,7 @@ export interface MedicationStatement {
|
|
|
182
182
|
* attribute carrying a code that identifies the medication from a known
|
|
183
183
|
* list of medications.
|
|
184
184
|
*/
|
|
185
|
-
|
|
185
|
+
medicationCodeableConcept?: CodeableConcept;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* Identifies the medication being administered. This is either a link to
|
|
@@ -190,38 +190,38 @@ export interface MedicationStatement {
|
|
|
190
190
|
* attribute carrying a code that identifies the medication from a known
|
|
191
191
|
* list of medications.
|
|
192
192
|
*/
|
|
193
|
-
|
|
193
|
+
medicationReference?: Reference<Medication>;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* The person, animal or group who is/was taking the medication.
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
subject?: Reference<Patient | Group>;
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
201
|
* The encounter or episode of care that establishes the context for this
|
|
202
202
|
* MedicationStatement.
|
|
203
203
|
*/
|
|
204
|
-
|
|
204
|
+
context?: Reference<Encounter | EpisodeOfCare>;
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* The interval of time during which it is being asserted that the
|
|
208
208
|
* patient is/was/will be taking the medication (or was not taking, when
|
|
209
209
|
* the MedicationStatement.taken element is No).
|
|
210
210
|
*/
|
|
211
|
-
|
|
211
|
+
effectiveDateTime?: string;
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
214
|
* The interval of time during which it is being asserted that the
|
|
215
215
|
* patient is/was/will be taking the medication (or was not taking, when
|
|
216
216
|
* the MedicationStatement.taken element is No).
|
|
217
217
|
*/
|
|
218
|
-
|
|
218
|
+
effectivePeriod?: Period;
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
221
|
* The date when the medication statement was asserted by the information
|
|
222
222
|
* source.
|
|
223
223
|
*/
|
|
224
|
-
|
|
224
|
+
dateAsserted?: string;
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* The person or organization that provided the information about the
|
|
@@ -229,34 +229,34 @@ export interface MedicationStatement {
|
|
|
229
229
|
* MedicationStatement is derived from other resources, e.g. Claim or
|
|
230
230
|
* MedicationRequest.
|
|
231
231
|
*/
|
|
232
|
-
|
|
232
|
+
informationSource?: Reference<Patient | Practitioner | PractitionerRole | RelatedPerson | Organization>;
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
235
|
* Allows linking the MedicationStatement to the underlying
|
|
236
236
|
* MedicationRequest, or to other information that supports or is used to
|
|
237
237
|
* derive the MedicationStatement.
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
derivedFrom?: Reference<Resource>[];
|
|
240
240
|
|
|
241
241
|
/**
|
|
242
242
|
* A reason for why the medication is being/was taken.
|
|
243
243
|
*/
|
|
244
|
-
|
|
244
|
+
reasonCode?: CodeableConcept[];
|
|
245
245
|
|
|
246
246
|
/**
|
|
247
247
|
* Condition or observation that supports why the medication is being/was
|
|
248
248
|
* taken.
|
|
249
249
|
*/
|
|
250
|
-
|
|
250
|
+
reasonReference?: Reference<Condition | Observation | DiagnosticReport>[];
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* Provides extra information about the medication statement that is not
|
|
254
254
|
* conveyed by the other attributes.
|
|
255
255
|
*/
|
|
256
|
-
|
|
256
|
+
note?: Annotation[];
|
|
257
257
|
|
|
258
258
|
/**
|
|
259
259
|
* Indicates how the medication is/was or should be taken by the patient.
|
|
260
260
|
*/
|
|
261
|
-
|
|
261
|
+
dosage?: Dosage[];
|
|
262
262
|
}
|