@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1759844545 → 2.0.0-alpha.0-rc.1759853778
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/dist/__version__.d.ts +1 -1
- package/dist/__version__.js +1 -1
- package/dist/api/base/health-data/health-data-request.d.ts +6 -1
- package/dist/api/base/health-data/health-manager.d.ts +40 -2
- package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.js +25 -0
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +4 -1
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +64 -2
- package/dist/graphql/operations/index.d.ts +43 -8
- package/dist/graphql/operations/index.js +633 -121
- package/dist/graphql/operations/types.d.ts +9328 -5771
- package/dist/models/common/dispense-request.d.ts +67 -0
- package/dist/models/common/dispense-request.js +1 -0
- package/dist/models/common/dosage.d.ts +68 -0
- package/dist/models/common/dosage.js +1 -0
- package/dist/models/common/index.d.ts +4 -0
- package/dist/models/common/medication.d.ts +42 -0
- package/dist/models/common/medication.js +1 -0
- package/dist/models/health-data/diagnostic-report.d.ts +82 -0
- package/dist/models/health-data/diagnostic-report.js +1 -0
- package/dist/models/health-data/index.d.ts +3 -0
- package/dist/models/health-data/medication-dispense.d.ts +108 -0
- package/dist/models/health-data/medication-dispense.js +1 -0
- package/dist/models/health-data/medication-request.d.ts +107 -0
- package/dist/models/health-data/medication-request.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { Organization, Period, Quantity, Reference } from "./index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Represents the initial fill component of a dispense request.
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title InitialFill
|
|
7
|
+
* @excerpt Represents the initial fill component of a dispense request.
|
|
8
|
+
*/
|
|
9
|
+
export type InitialFill = {
|
|
10
|
+
/**
|
|
11
|
+
* Unique id for the element.
|
|
12
|
+
*/
|
|
13
|
+
id: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* The amount or quantity to provide as part of the first dispense.
|
|
16
|
+
*/
|
|
17
|
+
quantity: Quantity | null;
|
|
18
|
+
/**
|
|
19
|
+
* The length of time that the first dispense is expected to last.
|
|
20
|
+
*/
|
|
21
|
+
duration: Quantity | null;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Represents a medication request dispense request.
|
|
25
|
+
* Indicates the specific details for the dispense or medication supply part of a
|
|
26
|
+
* medication request (also known as a Medication Prescription or Medication Order).
|
|
27
|
+
*
|
|
28
|
+
* @category Models
|
|
29
|
+
* @title DispenseRequest
|
|
30
|
+
* @excerpt Represents a medication request dispense request.
|
|
31
|
+
*/
|
|
32
|
+
export type DispenseRequest = {
|
|
33
|
+
/**
|
|
34
|
+
* Unique id for the element.
|
|
35
|
+
*/
|
|
36
|
+
id: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Indicates the quantity or duration for the first dispense of the medication.
|
|
39
|
+
*/
|
|
40
|
+
initialFill: InitialFill | null;
|
|
41
|
+
/**
|
|
42
|
+
* The minimum period of time that must occur between dispenses of the medication.
|
|
43
|
+
*/
|
|
44
|
+
dispenseInterval: Quantity | null;
|
|
45
|
+
/**
|
|
46
|
+
* This indicates the validity period of a prescription (stale dating the Prescription).
|
|
47
|
+
*/
|
|
48
|
+
validityPeriod: Period | null;
|
|
49
|
+
/**
|
|
50
|
+
* An integer indicating the number of times, in addition to the original dispense,
|
|
51
|
+
* (aka refills or repeats) that the patient can receive the prescribed medication.
|
|
52
|
+
*/
|
|
53
|
+
numberOfRepeatsAllowed: number | null;
|
|
54
|
+
/**
|
|
55
|
+
* The amount that is to be dispensed for one fill.
|
|
56
|
+
*/
|
|
57
|
+
quantity: Quantity | null;
|
|
58
|
+
/**
|
|
59
|
+
* Identifies the period time over which the supplied product is expected to be used,
|
|
60
|
+
* or the length of time the dispense is expected to last.
|
|
61
|
+
*/
|
|
62
|
+
expectedSupplyDuration: Quantity | null;
|
|
63
|
+
/**
|
|
64
|
+
* Indicates the intended dispensing Organization specified by the prescriber.
|
|
65
|
+
*/
|
|
66
|
+
performer: Reference<Organization> | null;
|
|
67
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { CodeableConcept } from "./codeable-concept.js";
|
|
2
|
+
import type { Quantity } from "./quantity.js";
|
|
3
|
+
import type { Range } from "./range.js";
|
|
4
|
+
import type { Ratio } from "./ratio.js";
|
|
5
|
+
import type { Timing } from "./timing.js";
|
|
6
|
+
/**
|
|
7
|
+
* Represents dose and rate information for medication dosage.
|
|
8
|
+
*
|
|
9
|
+
* @category Models
|
|
10
|
+
* @title DoseAndRate
|
|
11
|
+
* @excerpt Dose and rate information for medication dosage
|
|
12
|
+
*/
|
|
13
|
+
export type DoseAndRate = {
|
|
14
|
+
/** Unique identifier for this dose and rate element */
|
|
15
|
+
id: string | null;
|
|
16
|
+
/** The kind of dose or rate specified */
|
|
17
|
+
type: CodeableConcept | null;
|
|
18
|
+
/** Amount of medication per dose as a range */
|
|
19
|
+
doseRange: Range | null;
|
|
20
|
+
/** Amount of medication per dose as a quantity */
|
|
21
|
+
doseQuantity: Quantity | null;
|
|
22
|
+
/** Amount of medication per unit of time as a quantity */
|
|
23
|
+
rateQuantity: Quantity | null;
|
|
24
|
+
/** Amount of medication per unit of time as a range */
|
|
25
|
+
rateRange: Range | null;
|
|
26
|
+
/** Amount of medication per unit of time as a ratio */
|
|
27
|
+
rateRatio: Ratio | null;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Represents dosage instruction for medication.
|
|
31
|
+
* Indicates how the medication is/was taken or should be taken by the patient.
|
|
32
|
+
*
|
|
33
|
+
* @category Models
|
|
34
|
+
* @title Dosage
|
|
35
|
+
* @excerpt Dosage instruction for medication
|
|
36
|
+
*/
|
|
37
|
+
export type Dosage = {
|
|
38
|
+
/** Unique identifier for this dosage element */
|
|
39
|
+
id: string | null;
|
|
40
|
+
/** Supplemental instruction or warnings to the patient */
|
|
41
|
+
additionalInstruction: (CodeableConcept | null)[] | null;
|
|
42
|
+
/** Take "as needed" (boolean) */
|
|
43
|
+
asNeededBoolean: boolean | null;
|
|
44
|
+
/** Take "as needed" for condition */
|
|
45
|
+
asNeededCodeableConcept: CodeableConcept | null;
|
|
46
|
+
/** Amount of medication administered */
|
|
47
|
+
doseAndRate: (DoseAndRate | null)[] | null;
|
|
48
|
+
/** Upper limit on medication per administration */
|
|
49
|
+
maxDosePerAdministration: Quantity | null;
|
|
50
|
+
/** Upper limit on medication per lifetime of the patient */
|
|
51
|
+
maxDosePerLifetime: Quantity | null;
|
|
52
|
+
/** Upper limit on medication per unit of time */
|
|
53
|
+
maxDosePerPeriod: Ratio | null;
|
|
54
|
+
/** Technique for administering medication */
|
|
55
|
+
method: CodeableConcept | null;
|
|
56
|
+
/** Patient or consumer oriented instructions */
|
|
57
|
+
patientInstruction: string | null;
|
|
58
|
+
/** How drug should enter body */
|
|
59
|
+
route: CodeableConcept | null;
|
|
60
|
+
/** The order of the dosage instructions */
|
|
61
|
+
sequence: number | null;
|
|
62
|
+
/** Body site to administer to */
|
|
63
|
+
site: CodeableConcept | null;
|
|
64
|
+
/** Free text dosage instructions */
|
|
65
|
+
text: string | null;
|
|
66
|
+
/** When medication should be administered */
|
|
67
|
+
timing: Timing | null;
|
|
68
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -18,7 +18,9 @@ export type { Address } from "./address.js";
|
|
|
18
18
|
export type { ContactPoint } from "./contact-point.js";
|
|
19
19
|
export type { ResourceBundle, EntryBundle, ResourceEntry, IdentifiedResourceEntry, } from "./bundle.js";
|
|
20
20
|
export type { Location } from "./location.js";
|
|
21
|
+
export type { Range } from "./range.js";
|
|
21
22
|
export type { Ratio } from "./ratio.js";
|
|
23
|
+
export type { Dosage, DoseAndRate } from "./dosage.js";
|
|
22
24
|
export type { ReferenceRange } from "./reference-range.js";
|
|
23
25
|
export type { Component } from "./component.js";
|
|
24
26
|
export type { Score } from "./score.js";
|
|
@@ -31,3 +33,5 @@ export type { Practitioner } from "./practitioner.js";
|
|
|
31
33
|
export type { Patient } from "./patient.js";
|
|
32
34
|
export type { PractitionerRole } from "./practitioner-role.js";
|
|
33
35
|
export type { RelatedPerson } from "./related-person.js";
|
|
36
|
+
export type { Medication } from "./medication.js";
|
|
37
|
+
export type { DispenseRequest, InitialFill } from "./dispense-request.js";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { CodeableConcept } from "./codeable-concept.js";
|
|
2
|
+
import { Identifier } from "./identifier.js";
|
|
3
|
+
import { Ratio } from "./ratio.js";
|
|
4
|
+
import { Reference } from "./reference.js";
|
|
5
|
+
/**
|
|
6
|
+
* Represents a medication resource.
|
|
7
|
+
*
|
|
8
|
+
* @category Models
|
|
9
|
+
* @title Medication
|
|
10
|
+
* @excerpt Represents a medication resource.
|
|
11
|
+
*/
|
|
12
|
+
export type Medication = {
|
|
13
|
+
/** Resource type */
|
|
14
|
+
resourceType: string | null;
|
|
15
|
+
/** Logical id of the resource */
|
|
16
|
+
id: string;
|
|
17
|
+
/** Identifiers for this medication */
|
|
18
|
+
identifier: (Identifier | null)[] | null;
|
|
19
|
+
/** Medication code */
|
|
20
|
+
code: CodeableConcept | null;
|
|
21
|
+
/** Ingredients */
|
|
22
|
+
ingredient: (MedicationIngredient | null)[] | null;
|
|
23
|
+
/** Form of the medication */
|
|
24
|
+
form: CodeableConcept | null;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* A Medication Ingredient resource
|
|
28
|
+
*
|
|
29
|
+
* @category Models
|
|
30
|
+
* @title MedicationIngredient
|
|
31
|
+
* @excerpt A Medication Ingredient resource
|
|
32
|
+
*/
|
|
33
|
+
export type MedicationIngredient = {
|
|
34
|
+
/** Ingredient codes */
|
|
35
|
+
itemCodeableConcept: CodeableConcept | null;
|
|
36
|
+
/** Reference to a substance or medication type */
|
|
37
|
+
itemReference: Reference<Medication> | null;
|
|
38
|
+
/** Ingredient strength */
|
|
39
|
+
strength: Ratio | null;
|
|
40
|
+
/** Indication of whether this ingredient affects the therapeutic action of the drug.*/
|
|
41
|
+
isActive: boolean | null;
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { Attachment, CodeableConcept, EntryBundle, IdentifiedResourceEntry, Identifier, Meta, Reference } from "../common/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a diagnostic report resource.
|
|
4
|
+
* The findings and interpretation of diagnostic tests performed on patients, groups of patients,
|
|
5
|
+
* devices, and locations, and/or specimens derived from these.
|
|
6
|
+
*
|
|
7
|
+
* @category Models
|
|
8
|
+
* @title DiagnosticReport
|
|
9
|
+
* @excerpt Represents a diagnostic report resource.
|
|
10
|
+
*/
|
|
11
|
+
export type DiagnosticReport = {
|
|
12
|
+
/** Resource type */
|
|
13
|
+
resourceType: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* The logical id of the resource.
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* The metadata about the resource.
|
|
20
|
+
*/
|
|
21
|
+
meta: Meta | null;
|
|
22
|
+
/**
|
|
23
|
+
* Identifiers assigned to this report by the performer or other systems.
|
|
24
|
+
*/
|
|
25
|
+
identifier: (Identifier | null)[] | null;
|
|
26
|
+
/**
|
|
27
|
+
* Details concerning a service requested.
|
|
28
|
+
*/
|
|
29
|
+
basedOn: (Reference | null)[] | null;
|
|
30
|
+
/**
|
|
31
|
+
* The status of the diagnostic report.
|
|
32
|
+
*/
|
|
33
|
+
status: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* A code that classifies the clinical discipline, department or diagnostic service that created the report.
|
|
36
|
+
*/
|
|
37
|
+
category: (CodeableConcept | null)[] | null;
|
|
38
|
+
/**
|
|
39
|
+
* A code or name that describes this diagnostic report.
|
|
40
|
+
*/
|
|
41
|
+
code: CodeableConcept | null;
|
|
42
|
+
/**
|
|
43
|
+
* The time or time-period the observed values are related to.
|
|
44
|
+
*/
|
|
45
|
+
effectiveDateTime: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* The healthcare event which this DiagnosticReport is about.
|
|
48
|
+
*/
|
|
49
|
+
encounter: Reference | null;
|
|
50
|
+
/**
|
|
51
|
+
* The date and time that this version of the report was made available to providers.
|
|
52
|
+
*/
|
|
53
|
+
issued: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* The diagnostic service that is responsible for issuing the report.
|
|
56
|
+
*/
|
|
57
|
+
performer: (Reference | null)[] | null;
|
|
58
|
+
/**
|
|
59
|
+
* Rich text representation of the entire result as issued by the diagnostic service.
|
|
60
|
+
*/
|
|
61
|
+
presentedForm: (Attachment | null)[] | null;
|
|
62
|
+
/**
|
|
63
|
+
* Observations that are part of this diagnostic report.
|
|
64
|
+
*/
|
|
65
|
+
result: (Reference | null)[] | null;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Entry in diagnostic report bundle.
|
|
69
|
+
*
|
|
70
|
+
* @category Models
|
|
71
|
+
* @title DiagnosticReportEntry
|
|
72
|
+
* @excerpt Entry in diagnostic report bundle.
|
|
73
|
+
*/
|
|
74
|
+
export type DiagnosticReportEntry = IdentifiedResourceEntry<DiagnosticReport>;
|
|
75
|
+
/**
|
|
76
|
+
* Bundle of diagnostic report results.
|
|
77
|
+
*
|
|
78
|
+
* @category Models
|
|
79
|
+
* @title DiagnosticReportBundle
|
|
80
|
+
* @excerpt Bundle of diagnostic report results.
|
|
81
|
+
*/
|
|
82
|
+
export type DiagnosticReportBundle = EntryBundle<DiagnosticReportEntry>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -21,3 +21,6 @@ export { ProcedureBundle, Procedure } from "./procedure.js";
|
|
|
21
21
|
export { VitalSignBundle } from "./vital-sign-bundle.js";
|
|
22
22
|
export { CareTeamBundle, CareTeam } from "./care-team.js";
|
|
23
23
|
export { EncounterBundle, Encounter } from "./encounter.js";
|
|
24
|
+
export { MedicationDispenseBundle, MedicationDispense, } from "./medication-dispense.js";
|
|
25
|
+
export { MedicationRequestBundle, MedicationRequest, } from "./medication-request.js";
|
|
26
|
+
export { DiagnosticReportBundle, DiagnosticReport, } from "./diagnostic-report.js";
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { CodeableConcept, Dosage, EntryBundle, IdentifiedResourceEntry, Identifier, Location, Medication, Meta, Patient, Practitioner, PractitionerRole, Quantity, Reference } from "../common/index.js";
|
|
2
|
+
import { Encounter } from "./index.js";
|
|
3
|
+
/**
|
|
4
|
+
* Represents a MedicationDispense performer actor.
|
|
5
|
+
*/
|
|
6
|
+
export type MedicationDispensePerformerActor = Practitioner | PractitionerRole;
|
|
7
|
+
/**
|
|
8
|
+
* Represents a medication dispense resource.
|
|
9
|
+
*
|
|
10
|
+
* @category Models
|
|
11
|
+
* @title MedicationDispense
|
|
12
|
+
* @excerpt Represents a medication dispense resource.
|
|
13
|
+
*/
|
|
14
|
+
export type MedicationDispense = {
|
|
15
|
+
/** Resource type */
|
|
16
|
+
resourceType: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* The logical id of the resource.
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/** Identifiers for this medication dispense */
|
|
22
|
+
identifier: (Identifier | null)[] | null;
|
|
23
|
+
/**
|
|
24
|
+
* The metadata about the resource.
|
|
25
|
+
*/
|
|
26
|
+
meta: Meta | null;
|
|
27
|
+
/**
|
|
28
|
+
* A code specifying the state of the dispense event.
|
|
29
|
+
*/
|
|
30
|
+
status: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* Indicates the type of medication dispense (for example, where the medication is expected to be consumed or administered)
|
|
33
|
+
*/
|
|
34
|
+
category: CodeableConcept | null;
|
|
35
|
+
/**
|
|
36
|
+
* Identifies the medication being administered.
|
|
37
|
+
*/
|
|
38
|
+
medicationCodeableConcept: CodeableConcept | null;
|
|
39
|
+
/**
|
|
40
|
+
* Identifies the medication being administered.
|
|
41
|
+
*/
|
|
42
|
+
medicationReference: Reference<Medication> | null;
|
|
43
|
+
/**
|
|
44
|
+
* A link to a resource representing the person or the group to whom the medication will be given.
|
|
45
|
+
*/
|
|
46
|
+
subject: Reference<Patient> | null;
|
|
47
|
+
/**
|
|
48
|
+
* The encounter or episode of care that establishes the context for this event.
|
|
49
|
+
*/
|
|
50
|
+
context: Reference<Encounter> | null;
|
|
51
|
+
/**
|
|
52
|
+
* Indicates who or what performed the event. (TODO)
|
|
53
|
+
*/
|
|
54
|
+
performer: {
|
|
55
|
+
/**
|
|
56
|
+
* The device, practitioner, etc. that performed the action.
|
|
57
|
+
*/
|
|
58
|
+
actor: Reference<MedicationDispensePerformerActor> | null;
|
|
59
|
+
}[] | null;
|
|
60
|
+
/**
|
|
61
|
+
* The number of days supply of medication.
|
|
62
|
+
*/
|
|
63
|
+
daysSupply: Quantity | null;
|
|
64
|
+
/**
|
|
65
|
+
* The amount of medication that has been dispensed. Includes unit of measure.
|
|
66
|
+
*/
|
|
67
|
+
quantity: Quantity | null;
|
|
68
|
+
/**
|
|
69
|
+
* The time when the dispensed product was packaged and reviewed.
|
|
70
|
+
*/
|
|
71
|
+
whenPrepared: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* The time the dispensed product was provided to the patient or their representative.
|
|
74
|
+
*/
|
|
75
|
+
whenHandedOver: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* Indicates how the medication is to be used by the patient.
|
|
78
|
+
*/
|
|
79
|
+
dosageInstruction: (Dosage | null)[] | null;
|
|
80
|
+
/**
|
|
81
|
+
* Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
|
|
82
|
+
*/
|
|
83
|
+
type: CodeableConcept | null;
|
|
84
|
+
/**
|
|
85
|
+
* The principal physical location where the dispense was performed.
|
|
86
|
+
*/
|
|
87
|
+
location: Reference<Location> | null;
|
|
88
|
+
/**
|
|
89
|
+
* Indicates the medication order that is being dispensed against.
|
|
90
|
+
*/
|
|
91
|
+
authorizingPrescription: (Reference | null)[] | null;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Entry in medication dispense bundle.
|
|
95
|
+
*
|
|
96
|
+
* @category Models
|
|
97
|
+
* @title MedicationDispenseEntry
|
|
98
|
+
* @excerpt Entry in medication dispense bundle.
|
|
99
|
+
*/
|
|
100
|
+
export type MedicationDispenseEntry = IdentifiedResourceEntry<MedicationDispense>;
|
|
101
|
+
/**
|
|
102
|
+
* Bundle of medication dispense results.
|
|
103
|
+
*
|
|
104
|
+
* @category Models
|
|
105
|
+
* @title MedicationDispenseBundle
|
|
106
|
+
* @excerpt Bundle of medication dispense results.
|
|
107
|
+
*/
|
|
108
|
+
export type MedicationDispenseBundle = EntryBundle<MedicationDispenseEntry>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { CodeableConcept, DispenseRequest, Dosage, EntryBundle, IdentifiedResourceEntry, Identifier, Medication, Meta, Narrative, Patient, Practitioner, Reference } from "../common/index.js";
|
|
2
|
+
import type { Encounter } from "./index.js";
|
|
3
|
+
/**
|
|
4
|
+
* Represents a medication request resource.
|
|
5
|
+
* An order or request for both supply of the medication and the instructions for
|
|
6
|
+
* administration of the medication to a patient.
|
|
7
|
+
*
|
|
8
|
+
* @category Models
|
|
9
|
+
* @title MedicationRequest
|
|
10
|
+
* @excerpt Represents a medication request resource.
|
|
11
|
+
*/
|
|
12
|
+
export type MedicationRequest = {
|
|
13
|
+
/** Resource type */
|
|
14
|
+
resourceType: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* The logical id of the resource.
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* The metadata about the resource.
|
|
21
|
+
*/
|
|
22
|
+
meta: Meta | null;
|
|
23
|
+
/**
|
|
24
|
+
* A code specifying the current state of the order.
|
|
25
|
+
*/
|
|
26
|
+
status: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Indicates the type of medication request (for example, where the medication is expected to be consumed or administered).
|
|
29
|
+
*/
|
|
30
|
+
category: CodeableConcept | null;
|
|
31
|
+
/**
|
|
32
|
+
* Identifiers associated with this medication request.
|
|
33
|
+
*/
|
|
34
|
+
identifier: (Identifier | null)[] | null;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the request is a proposal, plan, or an original order.
|
|
37
|
+
*/
|
|
38
|
+
intent: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* The base language in which the resource is written.
|
|
41
|
+
*/
|
|
42
|
+
language: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Identifies the medication being requested.
|
|
45
|
+
*/
|
|
46
|
+
medicationCodeableConcept: CodeableConcept | null;
|
|
47
|
+
/**
|
|
48
|
+
* Identifies the medication being requested.
|
|
49
|
+
*/
|
|
50
|
+
medicationReference: Reference<Medication> | null;
|
|
51
|
+
/**
|
|
52
|
+
* A human-readable narrative that contains a summary of the resource.
|
|
53
|
+
*/
|
|
54
|
+
text: Narrative | null;
|
|
55
|
+
/**
|
|
56
|
+
* A link to a resource representing the person or group to whom the medication will be given.
|
|
57
|
+
*/
|
|
58
|
+
subject: Reference<Patient> | null;
|
|
59
|
+
/**
|
|
60
|
+
* The individual, organization, or device that initiated the request and has responsibility for its activation.
|
|
61
|
+
*/
|
|
62
|
+
requester: Reference<Practitioner> | null;
|
|
63
|
+
/**
|
|
64
|
+
* The person who entered the order on behalf of another individual.
|
|
65
|
+
*/
|
|
66
|
+
recorder: Reference<Practitioner> | null;
|
|
67
|
+
/**
|
|
68
|
+
* The encounter or episode of care that provides additional context for this request.
|
|
69
|
+
*/
|
|
70
|
+
encounter: Reference<Encounter> | null;
|
|
71
|
+
/**
|
|
72
|
+
* The date (and perhaps time) when the prescription was initially written or authored on.
|
|
73
|
+
*/
|
|
74
|
+
authoredOn: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* Indicates how the medication is to be used by the patient.
|
|
77
|
+
*/
|
|
78
|
+
dosageInstruction: (Dosage | null)[] | null;
|
|
79
|
+
/**
|
|
80
|
+
* Indicates the specific details for the dispense or medication supply part of a medication request.
|
|
81
|
+
*/
|
|
82
|
+
dispenseRequest: DispenseRequest | null;
|
|
83
|
+
/**
|
|
84
|
+
* The reason or the indication for ordering or not ordering the medication.
|
|
85
|
+
*/
|
|
86
|
+
reasonCode: (CodeableConcept | null)[] | null;
|
|
87
|
+
/**
|
|
88
|
+
* The description of the overall pattern of the administration of the medication to the patient.
|
|
89
|
+
*/
|
|
90
|
+
courseOfTherapyType: CodeableConcept | null;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Entry in medication request bundle.
|
|
94
|
+
*
|
|
95
|
+
* @category Models
|
|
96
|
+
* @title MedicationRequestEntry
|
|
97
|
+
* @excerpt Entry in medication request bundle.
|
|
98
|
+
*/
|
|
99
|
+
export type MedicationRequestEntry = IdentifiedResourceEntry<MedicationRequest>;
|
|
100
|
+
/**
|
|
101
|
+
* Bundle of medication request results.
|
|
102
|
+
*
|
|
103
|
+
* @category Models
|
|
104
|
+
* @title MedicationRequestBundle
|
|
105
|
+
* @excerpt Bundle of medication request results.
|
|
106
|
+
*/
|
|
107
|
+
export type MedicationRequestBundle = EntryBundle<MedicationRequestEntry>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|