MedicationRequest

An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called "MedicationRequest" rather than "MedicationPrescription" or "MedicationOrder" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.

Columns

Header row
# path type required description
0 resourceType string * Resource type identifier. Must be string "MedicationRequest"
1 integer * Number of subrows
2 id string * Logical id of this artifact
3 status code active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown
statusReason CodeableConcept Reason for current status
statusReason.coding Coding Code defined by a terminology system
4 statusReason.coding.system uri Identity of the terminology system
5 statusReason.coding.version string Version of the system - if relevant
6 statusReason.coding.code code Symbol in syntax defined by the system
7 statusReason.coding.display string Representation defined by the system
8 statusReason.coding.userSelected boolean If this coding was chosen directly by the user
9 statusReason.text string Plain text representation of the concept
10 intent code proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
11 priority code routine | urgent | asap | stat
12 doNotPerform boolean True if request is prohibiting action
reported[x] Reported rather than primary record
13 reportedBoolean boolean
reportedReference Reference
14 reportedReference.reference string Literal reference, Relative, internal or absolute URL
15 reportedReference.type uri Type the reference refers to (e.g. "Patient")
reportedReference.identifier Identifier Logical reference, when literal reference is not known
16 reportedReference.identifier.use code usual | official | temp | secondary | old (If known)
reportedReference.identifier.type CodeableConcept Description of identifier
reportedReference.identifier.type.coding Coding Code defined by a terminology system
17 reportedReference.identifier.type.coding.system uri Identity of the terminology system
18 reportedReference.identifier.type.coding.version string Version of the system - if relevant
19 reportedReference.identifier.type.coding.code code Symbol in syntax defined by the system
20 reportedReference.identifier.type.coding.display string Representation defined by the system
21 reportedReference.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
22 reportedReference.identifier.type.text string Plain text representation of the concept
23 reportedReference.identifier.system uri The namespace for the identifier value
24 reportedReference.identifier.value string The value that is unique
reportedReference.identifier.period Period Time period when id is/was valid for use
25 reportedReference.identifier.period.start dateTime Starting time with inclusive boundary
26 reportedReference.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
27 reportedReference.display string Text alternative for the resource
medication[x] Medication to be taken
medicationCodeableConcept CodeableConcept
medicationCodeableConcept.coding Coding Code defined by a terminology system
28 medicationCodeableConcept.coding.system uri Identity of the terminology system
29 medicationCodeableConcept.coding.version string Version of the system - if relevant
30 medicationCodeableConcept.coding.code code Symbol in syntax defined by the system
31 medicationCodeableConcept.coding.display string Representation defined by the system
32 medicationCodeableConcept.coding.userSelected boolean If this coding was chosen directly by the user
33 medicationCodeableConcept.text string Plain text representation of the concept
medicationReference Reference
34 medicationReference.reference string Literal reference, Relative, internal or absolute URL
35 medicationReference.type uri Type the reference refers to (e.g. "Patient")
medicationReference.identifier Identifier Logical reference, when literal reference is not known
36 medicationReference.identifier.use code usual | official | temp | secondary | old (If known)
medicationReference.identifier.type CodeableConcept Description of identifier
medicationReference.identifier.type.coding Coding Code defined by a terminology system
37 medicationReference.identifier.type.coding.system uri Identity of the terminology system
38 medicationReference.identifier.type.coding.version string Version of the system - if relevant
39 medicationReference.identifier.type.coding.code code Symbol in syntax defined by the system
40 medicationReference.identifier.type.coding.display string Representation defined by the system
41 medicationReference.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
42 medicationReference.identifier.type.text string Plain text representation of the concept
43 medicationReference.identifier.system uri The namespace for the identifier value
44 medicationReference.identifier.value string The value that is unique
medicationReference.identifier.period Period Time period when id is/was valid for use
45 medicationReference.identifier.period.start dateTime Starting time with inclusive boundary
46 medicationReference.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
47 medicationReference.display string Text alternative for the resource
subject Reference Who or group medication request is for
48 subject.reference string Literal reference, Relative, internal or absolute URL
49 subject.type uri Type the reference refers to (e.g. "Patient")
subject.identifier Identifier Logical reference, when literal reference is not known
50 subject.identifier.use code usual | official | temp | secondary | old (If known)
subject.identifier.type CodeableConcept Description of identifier
subject.identifier.type.coding Coding Code defined by a terminology system
51 subject.identifier.type.coding.system uri Identity of the terminology system
52 subject.identifier.type.coding.version string Version of the system - if relevant
53 subject.identifier.type.coding.code code Symbol in syntax defined by the system
54 subject.identifier.type.coding.display string Representation defined by the system
55 subject.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
56 subject.identifier.type.text string Plain text representation of the concept
57 subject.identifier.system uri The namespace for the identifier value
58 subject.identifier.value string The value that is unique
subject.identifier.period Period Time period when id is/was valid for use
59 subject.identifier.period.start dateTime Starting time with inclusive boundary
60 subject.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
61 subject.display string Text alternative for the resource
encounter Reference Encounter created as part of encounter/admission/stay
62 encounter.reference string Literal reference, Relative, internal or absolute URL
63 encounter.type uri Type the reference refers to (e.g. "Patient")
encounter.identifier Identifier Logical reference, when literal reference is not known
64 encounter.identifier.use code usual | official | temp | secondary | old (If known)
encounter.identifier.type CodeableConcept Description of identifier
encounter.identifier.type.coding Coding Code defined by a terminology system
65 encounter.identifier.type.coding.system uri Identity of the terminology system
66 encounter.identifier.type.coding.version string Version of the system - if relevant
67 encounter.identifier.type.coding.code code Symbol in syntax defined by the system
68 encounter.identifier.type.coding.display string Representation defined by the system
69 encounter.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
70 encounter.identifier.type.text string Plain text representation of the concept
71 encounter.identifier.system uri The namespace for the identifier value
72 encounter.identifier.value string The value that is unique
encounter.identifier.period Period Time period when id is/was valid for use
73 encounter.identifier.period.start dateTime Starting time with inclusive boundary
74 encounter.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
75 encounter.display string Text alternative for the resource
76 authoredOn dateTime When request was initially authored
requester Reference Who/What requested the Request
77 requester.reference string Literal reference, Relative, internal or absolute URL
78 requester.type uri Type the reference refers to (e.g. "Patient")
requester.identifier Identifier Logical reference, when literal reference is not known
79 requester.identifier.use code usual | official | temp | secondary | old (If known)
requester.identifier.type CodeableConcept Description of identifier
requester.identifier.type.coding Coding Code defined by a terminology system
80 requester.identifier.type.coding.system uri Identity of the terminology system
81 requester.identifier.type.coding.version string Version of the system - if relevant
82 requester.identifier.type.coding.code code Symbol in syntax defined by the system
83 requester.identifier.type.coding.display string Representation defined by the system
84 requester.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
85 requester.identifier.type.text string Plain text representation of the concept
86 requester.identifier.system uri The namespace for the identifier value
87 requester.identifier.value string The value that is unique
requester.identifier.period Period Time period when id is/was valid for use
88 requester.identifier.period.start dateTime Starting time with inclusive boundary
89 requester.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
90 requester.display string Text alternative for the resource
performer Reference Intended performer of administration
91 performer.reference string Literal reference, Relative, internal or absolute URL
92 performer.type uri Type the reference refers to (e.g. "Patient")
performer.identifier Identifier Logical reference, when literal reference is not known
93 performer.identifier.use code usual | official | temp | secondary | old (If known)
performer.identifier.type CodeableConcept Description of identifier
performer.identifier.type.coding Coding Code defined by a terminology system
94 performer.identifier.type.coding.system uri Identity of the terminology system
95 performer.identifier.type.coding.version string Version of the system - if relevant
96 performer.identifier.type.coding.code code Symbol in syntax defined by the system
97 performer.identifier.type.coding.display string Representation defined by the system
98 performer.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
99 performer.identifier.type.text string Plain text representation of the concept
100 performer.identifier.system uri The namespace for the identifier value
101 performer.identifier.value string The value that is unique
performer.identifier.period Period Time period when id is/was valid for use
102 performer.identifier.period.start dateTime Starting time with inclusive boundary
103 performer.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
104 performer.display string Text alternative for the resource
performerType CodeableConcept Desired kind of performer of the medication administration
performerType.coding Coding Code defined by a terminology system
105 performerType.coding.system uri Identity of the terminology system
106 performerType.coding.version string Version of the system - if relevant
107 performerType.coding.code code Symbol in syntax defined by the system
108 performerType.coding.display string Representation defined by the system
109 performerType.coding.userSelected boolean If this coding was chosen directly by the user
110 performerType.text string Plain text representation of the concept
recorder Reference Person who entered the request
111 recorder.reference string Literal reference, Relative, internal or absolute URL
112 recorder.type uri Type the reference refers to (e.g. "Patient")
recorder.identifier Identifier Logical reference, when literal reference is not known
113 recorder.identifier.use code usual | official | temp | secondary | old (If known)
recorder.identifier.type CodeableConcept Description of identifier
recorder.identifier.type.coding Coding Code defined by a terminology system
114 recorder.identifier.type.coding.system uri Identity of the terminology system
115 recorder.identifier.type.coding.version string Version of the system - if relevant
116 recorder.identifier.type.coding.code code Symbol in syntax defined by the system
117 recorder.identifier.type.coding.display string Representation defined by the system
118 recorder.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
119 recorder.identifier.type.text string Plain text representation of the concept
120 recorder.identifier.system uri The namespace for the identifier value
121 recorder.identifier.value string The value that is unique
recorder.identifier.period Period Time period when id is/was valid for use
122 recorder.identifier.period.start dateTime Starting time with inclusive boundary
123 recorder.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
124 recorder.display string Text alternative for the resource
groupIdentifier Identifier Composite request this is part of
125 groupIdentifier.use code usual | official | temp | secondary | old (If known)
groupIdentifier.type CodeableConcept Description of identifier
groupIdentifier.type.coding Coding Code defined by a terminology system
126 groupIdentifier.type.coding.system uri Identity of the terminology system
127 groupIdentifier.type.coding.version string Version of the system - if relevant
128 groupIdentifier.type.coding.code code Symbol in syntax defined by the system
129 groupIdentifier.type.coding.display string Representation defined by the system
130 groupIdentifier.type.coding.userSelected boolean If this coding was chosen directly by the user
131 groupIdentifier.type.text string Plain text representation of the concept
132 groupIdentifier.system uri The namespace for the identifier value
133 groupIdentifier.value string The value that is unique
groupIdentifier.period Period Time period when id is/was valid for use
134 groupIdentifier.period.start dateTime Starting time with inclusive boundary
135 groupIdentifier.period.end dateTime End time with inclusive boundary, if not ongoing
courseOfTherapyType CodeableConcept Overall pattern of medication administration
courseOfTherapyType.coding Coding Code defined by a terminology system
136 courseOfTherapyType.coding.system uri Identity of the terminology system
137 courseOfTherapyType.coding.version string Version of the system - if relevant
138 courseOfTherapyType.coding.code code Symbol in syntax defined by the system
139 courseOfTherapyType.coding.display string Representation defined by the system
140 courseOfTherapyType.coding.userSelected boolean If this coding was chosen directly by the user
141 courseOfTherapyType.text string Plain text representation of the concept
dispenseRequest Medication supply authorization
dispenseRequest.initialFill First fill details
dispenseRequest.initialFill.quantity Quantity First fill quantity
142 dispenseRequest.initialFill.quantity.value decimal Numerical value (with implicit precision)
143 dispenseRequest.initialFill.quantity.unit string Unit representation
144 dispenseRequest.initialFill.quantity.system uri System that defines coded unit form
145 dispenseRequest.initialFill.quantity.code code Coded form of the unit
dispenseRequest.initialFill.duration Duration First fill duration
146 dispenseRequest.initialFill.duration.value decimal Numerical value (with implicit precision)
147 dispenseRequest.initialFill.duration.comparator code < | <= | >= | > - how to understand the value
148 dispenseRequest.initialFill.duration.unit string Unit representation
149 dispenseRequest.initialFill.duration.system uri System that defines coded unit form
150 dispenseRequest.initialFill.duration.code code Coded form of the unit
dispenseRequest.dispenseInterval Duration Minimum period of time between dispenses
151 dispenseRequest.dispenseInterval.value decimal Numerical value (with implicit precision)
152 dispenseRequest.dispenseInterval.comparator code < | <= | >= | > - how to understand the value
153 dispenseRequest.dispenseInterval.unit string Unit representation
154 dispenseRequest.dispenseInterval.system uri System that defines coded unit form
155 dispenseRequest.dispenseInterval.code code Coded form of the unit
dispenseRequest.validityPeriod Period Time period supply is authorized for
156 dispenseRequest.validityPeriod.start dateTime Starting time with inclusive boundary
157 dispenseRequest.validityPeriod.end dateTime End time with inclusive boundary, if not ongoing
158 dispenseRequest.numberOfRepeatsAllowed unsignedInt Number of refills authorized
dispenseRequest.quantity Quantity Amount of medication to supply per dispense
159 dispenseRequest.quantity.value decimal Numerical value (with implicit precision)
160 dispenseRequest.quantity.unit string Unit representation
161 dispenseRequest.quantity.system uri System that defines coded unit form
162 dispenseRequest.quantity.code code Coded form of the unit
dispenseRequest.expectedSupplyDuration Duration Number of days supply per dispense
163 dispenseRequest.expectedSupplyDuration.value decimal Numerical value (with implicit precision)
164 dispenseRequest.expectedSupplyDuration.comparator code < | <= | >= | > - how to understand the value
165 dispenseRequest.expectedSupplyDuration.unit string Unit representation
166 dispenseRequest.expectedSupplyDuration.system uri System that defines coded unit form
167 dispenseRequest.expectedSupplyDuration.code code Coded form of the unit
dispenseRequest.performer Reference Intended dispenser
168 dispenseRequest.performer.reference string Literal reference, Relative, internal or absolute URL
169 dispenseRequest.performer.type uri Type the reference refers to (e.g. "Patient")
dispenseRequest.performer.identifier Identifier Logical reference, when literal reference is not known
170 dispenseRequest.performer.identifier.use code usual | official | temp | secondary | old (If known)
dispenseRequest.performer.identifier.type CodeableConcept Description of identifier
dispenseRequest.performer.identifier.type.coding Coding Code defined by a terminology system
171 dispenseRequest.performer.identifier.type.coding.system uri Identity of the terminology system
172 dispenseRequest.performer.identifier.type.coding.version string Version of the system - if relevant
173 dispenseRequest.performer.identifier.type.coding.code code Symbol in syntax defined by the system
174 dispenseRequest.performer.identifier.type.coding.display string Representation defined by the system
175 dispenseRequest.performer.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
176 dispenseRequest.performer.identifier.type.text string Plain text representation of the concept
177 dispenseRequest.performer.identifier.system uri The namespace for the identifier value
178 dispenseRequest.performer.identifier.value string The value that is unique
dispenseRequest.performer.identifier.period Period Time period when id is/was valid for use
179 dispenseRequest.performer.identifier.period.start dateTime Starting time with inclusive boundary
180 dispenseRequest.performer.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
181 dispenseRequest.performer.display string Text alternative for the resource
substitution Any restrictions on medication substitution
substitution.allowed[x] Whether substitution is allowed or not
182 substitution.allowedBoolean boolean
substitution.allowedCodeableConcept CodeableConcept
substitution.allowedCodeableConcept.coding Coding Code defined by a terminology system
183 substitution.allowedCodeableConcept.coding.system uri Identity of the terminology system
184 substitution.allowedCodeableConcept.coding.version string Version of the system - if relevant
185 substitution.allowedCodeableConcept.coding.code code Symbol in syntax defined by the system
186 substitution.allowedCodeableConcept.coding.display string Representation defined by the system
187 substitution.allowedCodeableConcept.coding.userSelected boolean If this coding was chosen directly by the user
188 substitution.allowedCodeableConcept.text string Plain text representation of the concept
substitution.reason CodeableConcept Why should (not) substitution be made
substitution.reason.coding Coding Code defined by a terminology system
189 substitution.reason.coding.system uri Identity of the terminology system
190 substitution.reason.coding.version string Version of the system - if relevant
191 substitution.reason.coding.code code Symbol in syntax defined by the system
192 substitution.reason.coding.display string Representation defined by the system
193 substitution.reason.coding.userSelected boolean If this coding was chosen directly by the user
194 substitution.reason.text string Plain text representation of the concept
priorPrescription Reference An order/prescription that is being replaced
195 priorPrescription.reference string Literal reference, Relative, internal or absolute URL
196 priorPrescription.type uri Type the reference refers to (e.g. "Patient")
priorPrescription.identifier Identifier Logical reference, when literal reference is not known
197 priorPrescription.identifier.use code usual | official | temp | secondary | old (If known)
priorPrescription.identifier.type CodeableConcept Description of identifier
priorPrescription.identifier.type.coding Coding Code defined by a terminology system
198 priorPrescription.identifier.type.coding.system uri Identity of the terminology system
199 priorPrescription.identifier.type.coding.version string Version of the system - if relevant
200 priorPrescription.identifier.type.coding.code code Symbol in syntax defined by the system
201 priorPrescription.identifier.type.coding.display string Representation defined by the system
202 priorPrescription.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
203 priorPrescription.identifier.type.text string Plain text representation of the concept
204 priorPrescription.identifier.system uri The namespace for the identifier value
205 priorPrescription.identifier.value string The value that is unique
priorPrescription.identifier.period Period Time period when id is/was valid for use
206 priorPrescription.identifier.period.start dateTime Starting time with inclusive boundary
207 priorPrescription.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
208 priorPrescription.display string Text alternative for the resource
Row identifier
# path type required description
0 string * Subrow identifier. Must be string "identifier"
identifier Identifier External ids for this request
1 identifier.use code usual | official | temp | secondary | old (If known)
identifier.type CodeableConcept Description of identifier
identifier.type.coding Coding Code defined by a terminology system
2 identifier.type.coding.system uri Identity of the terminology system
3 identifier.type.coding.version string Version of the system - if relevant
4 identifier.type.coding.code code Symbol in syntax defined by the system
5 identifier.type.coding.display string Representation defined by the system
6 identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
7 identifier.type.text string Plain text representation of the concept
8 identifier.system uri The namespace for the identifier value
9 identifier.value string The value that is unique
identifier.period Period Time period when id is/was valid for use
10 identifier.period.start dateTime Starting time with inclusive boundary
11 identifier.period.end dateTime End time with inclusive boundary, if not ongoing
Row category
# path type required description
0 string * Subrow identifier. Must be string "category"
category CodeableConcept Type of medication usage
category.coding Coding Code defined by a terminology system
1 category.coding.system uri Identity of the terminology system
2 category.coding.version string Version of the system - if relevant
3 category.coding.code code Symbol in syntax defined by the system
4 category.coding.display string Representation defined by the system
5 category.coding.userSelected boolean If this coding was chosen directly by the user
6 category.text string Plain text representation of the concept
Row supportingInformation
# path type required description
0 string * Subrow identifier. Must be string "supportingInformation"
supportingInformation Reference Information to support ordering of the medication
1 supportingInformation.reference string Literal reference, Relative, internal or absolute URL
2 supportingInformation.type uri Type the reference refers to (e.g. "Patient")
supportingInformation.identifier Identifier Logical reference, when literal reference is not known
3 supportingInformation.identifier.use code usual | official | temp | secondary | old (If known)
supportingInformation.identifier.type CodeableConcept Description of identifier
supportingInformation.identifier.type.coding Coding Code defined by a terminology system
4 supportingInformation.identifier.type.coding.system uri Identity of the terminology system
5 supportingInformation.identifier.type.coding.version string Version of the system - if relevant
6 supportingInformation.identifier.type.coding.code code Symbol in syntax defined by the system
7 supportingInformation.identifier.type.coding.display string Representation defined by the system
8 supportingInformation.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
9 supportingInformation.identifier.type.text string Plain text representation of the concept
10 supportingInformation.identifier.system uri The namespace for the identifier value
11 supportingInformation.identifier.value string The value that is unique
supportingInformation.identifier.period Period Time period when id is/was valid for use
12 supportingInformation.identifier.period.start dateTime Starting time with inclusive boundary
13 supportingInformation.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
14 supportingInformation.display string Text alternative for the resource
Row reasonCode
# path type required description
0 string * Subrow identifier. Must be string "reasonCode"
reasonCode CodeableConcept Reason or indication for ordering or not ordering the medication
reasonCode.coding Coding Code defined by a terminology system
1 reasonCode.coding.system uri Identity of the terminology system
2 reasonCode.coding.version string Version of the system - if relevant
3 reasonCode.coding.code code Symbol in syntax defined by the system
4 reasonCode.coding.display string Representation defined by the system
5 reasonCode.coding.userSelected boolean If this coding was chosen directly by the user
6 reasonCode.text string Plain text representation of the concept
Row reasonReference
# path type required description
0 string * Subrow identifier. Must be string "reasonReference"
reasonReference Reference Condition or observation that supports why the prescription is being written
1 reasonReference.reference string Literal reference, Relative, internal or absolute URL
2 reasonReference.type uri Type the reference refers to (e.g. "Patient")
reasonReference.identifier Identifier Logical reference, when literal reference is not known
3 reasonReference.identifier.use code usual | official | temp | secondary | old (If known)
reasonReference.identifier.type CodeableConcept Description of identifier
reasonReference.identifier.type.coding Coding Code defined by a terminology system
4 reasonReference.identifier.type.coding.system uri Identity of the terminology system
5 reasonReference.identifier.type.coding.version string Version of the system - if relevant
6 reasonReference.identifier.type.coding.code code Symbol in syntax defined by the system
7 reasonReference.identifier.type.coding.display string Representation defined by the system
8 reasonReference.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
9 reasonReference.identifier.type.text string Plain text representation of the concept
10 reasonReference.identifier.system uri The namespace for the identifier value
11 reasonReference.identifier.value string The value that is unique
reasonReference.identifier.period Period Time period when id is/was valid for use
12 reasonReference.identifier.period.start dateTime Starting time with inclusive boundary
13 reasonReference.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
14 reasonReference.display string Text alternative for the resource
Row instantiatesCanonical
# path type required description
0 string * Subrow identifier. Must be string "instantiatesCanonical"
1 instantiatesCanonical canonical Instantiates FHIR protocol or definition
Row instantiatesUri
# path type required description
0 string * Subrow identifier. Must be string "instantiatesUri"
1 instantiatesUri uri Instantiates external protocol or definition
Row basedOn
# path type required description
0 string * Subrow identifier. Must be string "basedOn"
basedOn Reference What request fulfills
1 basedOn.reference string Literal reference, Relative, internal or absolute URL
2 basedOn.type uri Type the reference refers to (e.g. "Patient")
basedOn.identifier Identifier Logical reference, when literal reference is not known
3 basedOn.identifier.use code usual | official | temp | secondary | old (If known)
basedOn.identifier.type CodeableConcept Description of identifier
basedOn.identifier.type.coding Coding Code defined by a terminology system
4 basedOn.identifier.type.coding.system uri Identity of the terminology system
5 basedOn.identifier.type.coding.version string Version of the system - if relevant
6 basedOn.identifier.type.coding.code code Symbol in syntax defined by the system
7 basedOn.identifier.type.coding.display string Representation defined by the system
8 basedOn.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
9 basedOn.identifier.type.text string Plain text representation of the concept
10 basedOn.identifier.system uri The namespace for the identifier value
11 basedOn.identifier.value string The value that is unique
basedOn.identifier.period Period Time period when id is/was valid for use
12 basedOn.identifier.period.start dateTime Starting time with inclusive boundary
13 basedOn.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
14 basedOn.display string Text alternative for the resource
Row insurance
# path type required description
0 string * Subrow identifier. Must be string "insurance"
insurance Reference Associated insurance coverage
1 insurance.reference string Literal reference, Relative, internal or absolute URL
2 insurance.type uri Type the reference refers to (e.g. "Patient")
insurance.identifier Identifier Logical reference, when literal reference is not known
3 insurance.identifier.use code usual | official | temp | secondary | old (If known)
insurance.identifier.type CodeableConcept Description of identifier
insurance.identifier.type.coding Coding Code defined by a terminology system
4 insurance.identifier.type.coding.system uri Identity of the terminology system
5 insurance.identifier.type.coding.version string Version of the system - if relevant
6 insurance.identifier.type.coding.code code Symbol in syntax defined by the system
7 insurance.identifier.type.coding.display string Representation defined by the system
8 insurance.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
9 insurance.identifier.type.text string Plain text representation of the concept
10 insurance.identifier.system uri The namespace for the identifier value
11 insurance.identifier.value string The value that is unique
insurance.identifier.period Period Time period when id is/was valid for use
12 insurance.identifier.period.start dateTime Starting time with inclusive boundary
13 insurance.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
14 insurance.display string Text alternative for the resource
Row note
# path type required description
0 string * Subrow identifier. Must be string "note"
note Annotation Information about the prescription
note.author[x] Individual responsible for the annotation
note.authorReference Reference
1 note.authorReference.reference string Literal reference, Relative, internal or absolute URL
2 note.authorReference.type uri Type the reference refers to (e.g. "Patient")
note.authorReference.identifier Identifier Logical reference, when literal reference is not known
3 note.authorReference.identifier.use code usual | official | temp | secondary | old (If known)
note.authorReference.identifier.type CodeableConcept Description of identifier
note.authorReference.identifier.type.coding Coding Code defined by a terminology system
4 note.authorReference.identifier.type.coding.system uri Identity of the terminology system
5 note.authorReference.identifier.type.coding.version string Version of the system - if relevant
6 note.authorReference.identifier.type.coding.code code Symbol in syntax defined by the system
7 note.authorReference.identifier.type.coding.display string Representation defined by the system
8 note.authorReference.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
9 note.authorReference.identifier.type.text string Plain text representation of the concept
10 note.authorReference.identifier.system uri The namespace for the identifier value
11 note.authorReference.identifier.value string The value that is unique
note.authorReference.identifier.period Period Time period when id is/was valid for use
12 note.authorReference.identifier.period.start dateTime Starting time with inclusive boundary
13 note.authorReference.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
14 note.authorReference.display string Text alternative for the resource
15 note.authorString string
16 note.time dateTime When the annotation was made
17 note.text markdown The annotation - text content (as markdown)
Row dosageInstruction
# path type required description
0 string * Subrow identifier. Must be string "dosageInstruction"
dosageInstruction Dosage How the medication should be taken
1 dosageInstruction.sequence integer The order of the dosage instructions
2 dosageInstruction.text string Free text dosage instructions e.g. SIG
dosageInstruction.additionalInstruction CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
dosageInstruction.additionalInstruction.coding Coding Code defined by a terminology system
3 dosageInstruction.additionalInstruction.coding.system uri Identity of the terminology system
4 dosageInstruction.additionalInstruction.coding.version string Version of the system - if relevant
5 dosageInstruction.additionalInstruction.coding.code code Symbol in syntax defined by the system
6 dosageInstruction.additionalInstruction.coding.display string Representation defined by the system
7 dosageInstruction.additionalInstruction.coding.userSelected boolean If this coding was chosen directly by the user
8 dosageInstruction.additionalInstruction.text string Plain text representation of the concept
9 dosageInstruction.patientInstruction string Patient or consumer oriented instructions
dosageInstruction.timing Timing When medication should be administered
10 dosageInstruction.timing.event dateTime When the event occurs
dosageInstruction.timing.repeat When the event is to occur
dosageInstruction.timing.repeat.bounds[x] Length/Range of lengths, or (Start and/or end) limits
dosageInstruction.timing.repeat.boundsDuration Duration
11 dosageInstruction.timing.repeat.boundsDuration.value decimal Numerical value (with implicit precision)
12 dosageInstruction.timing.repeat.boundsDuration.comparator code < | <= | >= | > - how to understand the value
13 dosageInstruction.timing.repeat.boundsDuration.unit string Unit representation
14 dosageInstruction.timing.repeat.boundsDuration.system uri System that defines coded unit form
15 dosageInstruction.timing.repeat.boundsDuration.code code Coded form of the unit
dosageInstruction.timing.repeat.boundsRange Range
dosageInstruction.timing.repeat.boundsRange.low Quantity Low limit
16 dosageInstruction.timing.repeat.boundsRange.low.value decimal Numerical value (with implicit precision)
17 dosageInstruction.timing.repeat.boundsRange.low.unit string Unit representation
18 dosageInstruction.timing.repeat.boundsRange.low.system uri System that defines coded unit form
19 dosageInstruction.timing.repeat.boundsRange.low.code code Coded form of the unit
dosageInstruction.timing.repeat.boundsRange.high Quantity High limit
20 dosageInstruction.timing.repeat.boundsRange.high.value decimal Numerical value (with implicit precision)
21 dosageInstruction.timing.repeat.boundsRange.high.unit string Unit representation
22 dosageInstruction.timing.repeat.boundsRange.high.system uri System that defines coded unit form
23 dosageInstruction.timing.repeat.boundsRange.high.code code Coded form of the unit
dosageInstruction.timing.repeat.boundsPeriod Period
24 dosageInstruction.timing.repeat.boundsPeriod.start dateTime Starting time with inclusive boundary
25 dosageInstruction.timing.repeat.boundsPeriod.end dateTime End time with inclusive boundary, if not ongoing
26 dosageInstruction.timing.repeat.count positiveInt Number of times to repeat
27 dosageInstruction.timing.repeat.countMax positiveInt Maximum number of times to repeat
28 dosageInstruction.timing.repeat.duration decimal How long when it happens
29 dosageInstruction.timing.repeat.durationMax decimal How long when it happens (Max)
30 dosageInstruction.timing.repeat.durationUnit code s | min | h | d | wk | mo | a - unit of time (UCUM)
31 dosageInstruction.timing.repeat.frequency positiveInt Event occurs frequency times per period
32 dosageInstruction.timing.repeat.frequencyMax positiveInt Event occurs up to frequencyMax times per period
33 dosageInstruction.timing.repeat.period decimal Event occurs frequency times per period
34 dosageInstruction.timing.repeat.periodMax decimal Upper limit of period (3-4 hours)
35 dosageInstruction.timing.repeat.periodUnit code s | min | h | d | wk | mo | a - unit of time (UCUM)
36 dosageInstruction.timing.repeat.dayOfWeek code mon | tue | wed | thu | fri | sat | sun
37 dosageInstruction.timing.repeat.timeOfDay time Time of day for action
38 dosageInstruction.timing.repeat.when code Code for time period of occurrence
39 dosageInstruction.timing.repeat.offset unsignedInt Minutes from event (before or after)
dosageInstruction.timing.code CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
dosageInstruction.timing.code.coding Coding Code defined by a terminology system
40 dosageInstruction.timing.code.coding.system uri Identity of the terminology system
41 dosageInstruction.timing.code.coding.version string Version of the system - if relevant
42 dosageInstruction.timing.code.coding.code code Symbol in syntax defined by the system
43 dosageInstruction.timing.code.coding.display string Representation defined by the system
44 dosageInstruction.timing.code.coding.userSelected boolean If this coding was chosen directly by the user
45 dosageInstruction.timing.code.text string Plain text representation of the concept
dosageInstruction.asNeeded[x] Take "as needed" (for x)
46 dosageInstruction.asNeededBoolean boolean
dosageInstruction.asNeededCodeableConcept CodeableConcept
dosageInstruction.asNeededCodeableConcept.coding Coding Code defined by a terminology system
47 dosageInstruction.asNeededCodeableConcept.coding.system uri Identity of the terminology system
48 dosageInstruction.asNeededCodeableConcept.coding.version string Version of the system - if relevant
49 dosageInstruction.asNeededCodeableConcept.coding.code code Symbol in syntax defined by the system
50 dosageInstruction.asNeededCodeableConcept.coding.display string Representation defined by the system
51 dosageInstruction.asNeededCodeableConcept.coding.userSelected boolean If this coding was chosen directly by the user
52 dosageInstruction.asNeededCodeableConcept.text string Plain text representation of the concept
dosageInstruction.site CodeableConcept Body site to administer to
dosageInstruction.site.coding Coding Code defined by a terminology system
53 dosageInstruction.site.coding.system uri Identity of the terminology system
54 dosageInstruction.site.coding.version string Version of the system - if relevant
55 dosageInstruction.site.coding.code code Symbol in syntax defined by the system
56 dosageInstruction.site.coding.display string Representation defined by the system
57 dosageInstruction.site.coding.userSelected boolean If this coding was chosen directly by the user
58 dosageInstruction.site.text string Plain text representation of the concept
dosageInstruction.route CodeableConcept How drug should enter body
dosageInstruction.route.coding Coding Code defined by a terminology system
59 dosageInstruction.route.coding.system uri Identity of the terminology system
60 dosageInstruction.route.coding.version string Version of the system - if relevant
61 dosageInstruction.route.coding.code code Symbol in syntax defined by the system
62 dosageInstruction.route.coding.display string Representation defined by the system
63 dosageInstruction.route.coding.userSelected boolean If this coding was chosen directly by the user
64 dosageInstruction.route.text string Plain text representation of the concept
dosageInstruction.method CodeableConcept Technique for administering medication
dosageInstruction.method.coding Coding Code defined by a terminology system
65 dosageInstruction.method.coding.system uri Identity of the terminology system
66 dosageInstruction.method.coding.version string Version of the system - if relevant
67 dosageInstruction.method.coding.code code Symbol in syntax defined by the system
68 dosageInstruction.method.coding.display string Representation defined by the system
69 dosageInstruction.method.coding.userSelected boolean If this coding was chosen directly by the user
70 dosageInstruction.method.text string Plain text representation of the concept
dosageInstruction.doseAndRate Amount of medication administered
dosageInstruction.doseAndRate.type CodeableConcept The kind of dose or rate specified
dosageInstruction.doseAndRate.type.coding Coding Code defined by a terminology system
71 dosageInstruction.doseAndRate.type.coding.system uri Identity of the terminology system
72 dosageInstruction.doseAndRate.type.coding.version string Version of the system - if relevant
73 dosageInstruction.doseAndRate.type.coding.code code Symbol in syntax defined by the system
74 dosageInstruction.doseAndRate.type.coding.display string Representation defined by the system
75 dosageInstruction.doseAndRate.type.coding.userSelected boolean If this coding was chosen directly by the user
76 dosageInstruction.doseAndRate.type.text string Plain text representation of the concept
dosageInstruction.doseAndRate.dose[x] Amount of medication per dose
dosageInstruction.doseAndRate.doseRange Range
dosageInstruction.doseAndRate.doseRange.low Quantity Low limit
77 dosageInstruction.doseAndRate.doseRange.low.value decimal Numerical value (with implicit precision)
78 dosageInstruction.doseAndRate.doseRange.low.unit string Unit representation
79 dosageInstruction.doseAndRate.doseRange.low.system uri System that defines coded unit form
80 dosageInstruction.doseAndRate.doseRange.low.code code Coded form of the unit
dosageInstruction.doseAndRate.doseRange.high Quantity High limit
81 dosageInstruction.doseAndRate.doseRange.high.value decimal Numerical value (with implicit precision)
82 dosageInstruction.doseAndRate.doseRange.high.unit string Unit representation
83 dosageInstruction.doseAndRate.doseRange.high.system uri System that defines coded unit form
84 dosageInstruction.doseAndRate.doseRange.high.code code Coded form of the unit
dosageInstruction.doseAndRate.doseQuantity Quantity
85 dosageInstruction.doseAndRate.doseQuantity.value decimal Numerical value (with implicit precision)
86 dosageInstruction.doseAndRate.doseQuantity.unit string Unit representation
87 dosageInstruction.doseAndRate.doseQuantity.system uri System that defines coded unit form
88 dosageInstruction.doseAndRate.doseQuantity.code code Coded form of the unit
dosageInstruction.doseAndRate.rate[x] Amount of medication per unit of time
dosageInstruction.doseAndRate.rateRatio Ratio
dosageInstruction.doseAndRate.rateRatio.numerator Quantity Numerator value
89 dosageInstruction.doseAndRate.rateRatio.numerator.value decimal Numerical value (with implicit precision)
90 dosageInstruction.doseAndRate.rateRatio.numerator.comparator code < | <= | >= | > - how to understand the value
91 dosageInstruction.doseAndRate.rateRatio.numerator.unit string Unit representation
92 dosageInstruction.doseAndRate.rateRatio.numerator.system uri System that defines coded unit form
93 dosageInstruction.doseAndRate.rateRatio.numerator.code code Coded form of the unit
dosageInstruction.doseAndRate.rateRatio.denominator Quantity Denominator value
94 dosageInstruction.doseAndRate.rateRatio.denominator.value decimal Numerical value (with implicit precision)
95 dosageInstruction.doseAndRate.rateRatio.denominator.comparator code < | <= | >= | > - how to understand the value
96 dosageInstruction.doseAndRate.rateRatio.denominator.unit string Unit representation
97 dosageInstruction.doseAndRate.rateRatio.denominator.system uri System that defines coded unit form
98 dosageInstruction.doseAndRate.rateRatio.denominator.code code Coded form of the unit
dosageInstruction.doseAndRate.rateRange Range
dosageInstruction.doseAndRate.rateRange.low Quantity Low limit
99 dosageInstruction.doseAndRate.rateRange.low.value decimal Numerical value (with implicit precision)
100 dosageInstruction.doseAndRate.rateRange.low.unit string Unit representation
101 dosageInstruction.doseAndRate.rateRange.low.system uri System that defines coded unit form
102 dosageInstruction.doseAndRate.rateRange.low.code code Coded form of the unit
dosageInstruction.doseAndRate.rateRange.high Quantity High limit
103 dosageInstruction.doseAndRate.rateRange.high.value decimal Numerical value (with implicit precision)
104 dosageInstruction.doseAndRate.rateRange.high.unit string Unit representation
105 dosageInstruction.doseAndRate.rateRange.high.system uri System that defines coded unit form
106 dosageInstruction.doseAndRate.rateRange.high.code code Coded form of the unit
dosageInstruction.doseAndRate.rateQuantity Quantity
107 dosageInstruction.doseAndRate.rateQuantity.value decimal Numerical value (with implicit precision)
108 dosageInstruction.doseAndRate.rateQuantity.unit string Unit representation
109 dosageInstruction.doseAndRate.rateQuantity.system uri System that defines coded unit form
110 dosageInstruction.doseAndRate.rateQuantity.code code Coded form of the unit
dosageInstruction.maxDosePerPeriod Ratio Upper limit on medication per unit of time
dosageInstruction.maxDosePerPeriod.numerator Quantity Numerator value
111 dosageInstruction.maxDosePerPeriod.numerator.value decimal Numerical value (with implicit precision)
112 dosageInstruction.maxDosePerPeriod.numerator.comparator code < | <= | >= | > - how to understand the value
113 dosageInstruction.maxDosePerPeriod.numerator.unit string Unit representation
114 dosageInstruction.maxDosePerPeriod.numerator.system uri System that defines coded unit form
115 dosageInstruction.maxDosePerPeriod.numerator.code code Coded form of the unit
dosageInstruction.maxDosePerPeriod.denominator Quantity Denominator value
116 dosageInstruction.maxDosePerPeriod.denominator.value decimal Numerical value (with implicit precision)
117 dosageInstruction.maxDosePerPeriod.denominator.comparator code < | <= | >= | > - how to understand the value
118 dosageInstruction.maxDosePerPeriod.denominator.unit string Unit representation
119 dosageInstruction.maxDosePerPeriod.denominator.system uri System that defines coded unit form
120 dosageInstruction.maxDosePerPeriod.denominator.code code Coded form of the unit
dosageInstruction.maxDosePerAdministration Quantity Upper limit on medication per administration
121 dosageInstruction.maxDosePerAdministration.value decimal Numerical value (with implicit precision)
122 dosageInstruction.maxDosePerAdministration.unit string Unit representation
123 dosageInstruction.maxDosePerAdministration.system uri System that defines coded unit form
124 dosageInstruction.maxDosePerAdministration.code code Coded form of the unit
dosageInstruction.maxDosePerLifetime Quantity Upper limit on medication per lifetime of the patient
125 dosageInstruction.maxDosePerLifetime.value decimal Numerical value (with implicit precision)
126 dosageInstruction.maxDosePerLifetime.unit string Unit representation
127 dosageInstruction.maxDosePerLifetime.system uri System that defines coded unit form
128 dosageInstruction.maxDosePerLifetime.code code Coded form of the unit
Row detectedIssue
# path type required description
0 string * Subrow identifier. Must be string "detectedIssue"
detectedIssue Reference Clinical Issue with action
1 detectedIssue.reference string Literal reference, Relative, internal or absolute URL
2 detectedIssue.type uri Type the reference refers to (e.g. "Patient")
detectedIssue.identifier Identifier Logical reference, when literal reference is not known
3 detectedIssue.identifier.use code usual | official | temp | secondary | old (If known)
detectedIssue.identifier.type CodeableConcept Description of identifier
detectedIssue.identifier.type.coding Coding Code defined by a terminology system
4 detectedIssue.identifier.type.coding.system uri Identity of the terminology system
5 detectedIssue.identifier.type.coding.version string Version of the system - if relevant
6 detectedIssue.identifier.type.coding.code code Symbol in syntax defined by the system
7 detectedIssue.identifier.type.coding.display string Representation defined by the system
8 detectedIssue.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
9 detectedIssue.identifier.type.text string Plain text representation of the concept
10 detectedIssue.identifier.system uri The namespace for the identifier value
11 detectedIssue.identifier.value string The value that is unique
detectedIssue.identifier.period Period Time period when id is/was valid for use
12 detectedIssue.identifier.period.start dateTime Starting time with inclusive boundary
13 detectedIssue.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
14 detectedIssue.display string Text alternative for the resource
Row eventHistory
# path type required description
0 string * Subrow identifier. Must be string "eventHistory"
eventHistory Reference A list of events of interest in the lifecycle
1 eventHistory.reference string Literal reference, Relative, internal or absolute URL
2 eventHistory.type uri Type the reference refers to (e.g. "Patient")
eventHistory.identifier Identifier Logical reference, when literal reference is not known
3 eventHistory.identifier.use code usual | official | temp | secondary | old (If known)
eventHistory.identifier.type CodeableConcept Description of identifier
eventHistory.identifier.type.coding Coding Code defined by a terminology system
4 eventHistory.identifier.type.coding.system uri Identity of the terminology system
5 eventHistory.identifier.type.coding.version string Version of the system - if relevant
6 eventHistory.identifier.type.coding.code code Symbol in syntax defined by the system
7 eventHistory.identifier.type.coding.display string Representation defined by the system
8 eventHistory.identifier.type.coding.userSelected boolean If this coding was chosen directly by the user
9 eventHistory.identifier.type.text string Plain text representation of the concept
10 eventHistory.identifier.system uri The namespace for the identifier value
11 eventHistory.identifier.value string The value that is unique
eventHistory.identifier.period Period Time period when id is/was valid for use
12 eventHistory.identifier.period.start dateTime Starting time with inclusive boundary
13 eventHistory.identifier.period.end dateTime End time with inclusive boundary, if not ongoing
14 eventHistory.display string Text alternative for the resource

Examples

Example #1
Input CSV
MedicationRequest,9,"medrx0301","completed","http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason",,"altchoice","Try another treatment first",,,"order",,,,,,,,,,,,,,,,,,,,,,,,"#med0310",,,,,,,,,,,,,,"Patient/pat1",,,,,,,,,,,,,"Donald Duck","Encounter/f201",,,,,,,,,,,,,"encounter who leads to this prescription","2015-01-15","Practitioner/f007",,,,,,,,,,,,,"Patrick Pump","Practitioner/f204",,,,,,,,,,,,,"Carla Espinosa","http://snomed.info/sct",,"26369006","Public Health Nurse",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"2015-01-15","2016-01-15",0,30,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",10,,"days","http://unitsofmeasure.org","d","Practitioner/f001",,,,,,,,,,,,,,true,,,,,,,"http://terminology.hl7.org/CodeSystem/v3-ActReason",,"FP","formulary policy",,,,,,,,,,,,,,,,
identifier,"official",,,,,,,"http://www.bmc.nl/portal/prescriptions","12345689",,
category,"http://terminology.hl7.org/CodeSystem/medicationrequest-category",,"inpatient","Inpatient",,
supportingInformation,"Procedure/biopsy",,,,,,,,,,,,,
reasonCode,"http://snomed.info/sct",,"297217002","Rib Pain (finding)",,
insurance,"Coverage/9876B1",,,,,,,,,,,,,
note,,,,,,,,,,,,,,,,,"Patient told to take with food"
dosageInstruction,1,"one to two tablets every 4-6 hours as needed for rib pain","http://snomed.info/sct",,"418914006","Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)",,,"Take one to two tablets every four to six hours as needed for rib pain",,,,,,,,,,,,,,,,,,,,,,1,,4,6,"h",,,,,,,,,,,,"http://snomed.info/sct",,"297217002","Rib Pain (finding)",,,,,,,,,"http://snomed.info/sct",,"26643006","Oral Route",,,"http://snomed.info/sct",,"421521009","Swallow - dosing instruction imperative (qualifier value)",,,"http://terminology.hl7.org/CodeSystem/dose-rate-type",,"ordered","Ordered",,,1,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",2,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
detectedIssue,"DetectedIssue/allergy",,,,,,,,,,,,,
eventHistory,"#signature",,,,,,,,,,,,,"Author's Signature"
Resulting resource
{
  "resourceType": "MedicationRequest",
  "id": "medrx0301",
  "identifier": [
    {
      "use": "official",
      "system": "http://www.bmc.nl/portal/prescriptions",
      "value": "12345689"
    }
  ],
  "status": "completed",
  "statusReason": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason",
        "code": "altchoice",
        "display": "Try another treatment first"
      }
    ]
  },
  "intent": "order",
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
          "code": "inpatient",
          "display": "Inpatient"
        }
      ]
    }
  ],
  "medicationReference": {
    "reference": "#med0310"
  },
  "subject": {
    "reference": "Patient/pat1",
    "display": "Donald Duck"
  },
  "encounter": {
    "reference": "Encounter/f201",
    "display": "encounter who leads to this prescription"
  },
  "supportingInformation": [
    {
      "reference": "Procedure/biopsy"
    }
  ],
  "authoredOn": "2015-01-15",
  "requester": {
    "reference": "Practitioner/f007",
    "display": "Patrick Pump"
  },
  "performer": {
    "reference": "Practitioner/f204",
    "display": "Carla Espinosa"
  },
  "performerType": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "26369006",
        "display": "Public Health Nurse"
      }
    ]
  },
  "reasonCode": [
    {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "297217002",
          "display": "Rib Pain (finding)"
        }
      ]
    }
  ],
  "insurance": [
    {
      "reference": "Coverage/9876B1"
    }
  ],
  "note": [
    {
      "text": "Patient told to take with food"
    }
  ],
  "dosageInstruction": [
    {
      "sequence": 1,
      "text": "one to two tablets every 4-6 hours as needed for rib pain",
      "additionalInstruction": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "418914006",
              "display": "Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)"
            }
          ]
        }
      ],
      "patientInstruction": "Take one to two tablets every four to six hours as needed for rib pain",
      "timing": {
        "repeat": {
          "frequency": 1,
          "period": 4,
          "periodMax": 6,
          "periodUnit": "h"
        }
      },
      "asNeededCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "297217002",
            "display": "Rib Pain (finding)"
          }
        ]
      },
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Oral Route"
          }
        ]
      },
      "method": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "421521009",
            "display": "Swallow - dosing instruction imperative (qualifier value)"
          }
        ]
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ]
          },
          "doseRange": {
            "low": {
              "value": 1,
              "unit": "TAB",
              "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
              "code": "TAB"
            },
            "high": {
              "value": 2,
              "unit": "TAB",
              "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
              "code": "TAB"
            }
          }
        }
      ]
    }
  ],
  "dispenseRequest": {
    "validityPeriod": {
      "start": "2015-01-15",
      "end": "2016-01-15"
    },
    "numberOfRepeatsAllowed": 0,
    "quantity": {
      "value": 30,
      "unit": "TAB",
      "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
      "code": "TAB"
    },
    "expectedSupplyDuration": {
      "value": 10,
      "unit": "days",
      "system": "http://unitsofmeasure.org",
      "code": "d"
    },
    "performer": {
      "reference": "Practitioner/f001"
    }
  },
  "substitution": {
    "allowedBoolean": true,
    "reason": {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
          "code": "FP",
          "display": "formulary policy"
        }
      ]
    }
  },
  "detectedIssue": [
    {
      "reference": "DetectedIssue/allergy"
    }
  ],
  "eventHistory": [
    {
      "reference": "#signature",
      "display": "Author's Signature"
    }
  ]
}
Example #2
Input CSV
MedicationRequest,6,"medrx0302","active",,,,,,,"order",,,,,,,,,,,,,,,,,,,,,,,,"#med0320",,,,,,,,,,,,,,"Patient/pat1",,,,,,,,,,,,,"Donald Duck","Encounter/f001",,,,,,,,,,,,,"encounter who leads to this prescription","2015-01-15","Practitioner/f007",,,,,,,,,,,,,"Patrick Pump",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"2015-01-15","2016-01-15",1,6,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",5,,"days","http://unitsofmeasure.org","d",,,,,,,,,,,,,,,true,,,,,,,"http://terminology.hl7.org/CodeSystem/v3-ActReason",,"FP","formulary policy",,,,,,,,,,,,,,,,
identifier,"official",,,,,,,"http://www.bmc.nl/portal/prescriptions","12345689",,
supportingInformation,"Coverage/SP1234",,,,,,,,,,,,,
reasonCode,"http://snomed.info/sct",,"11840006","Traveller's Diarrhea (disorder)",,
note,,,,,,,,,,,,,,,,,"Patient told to take with food"
dosageInstruction,1,"Two tablets at once","http://snomed.info/sct",,"311504000","With or after food",,,,,,,,,,,,,,,,,,,,,,,,,1,,1,,"d",,,,,,,,,,,,,,,,,,,,,,,,"http://snomed.info/sct",,"26643006","Oral Route",,,"http://snomed.info/sct",,"421521009","Swallow - dosing instruction imperative (qualifier value)",,,"http://terminology.hl7.org/CodeSystem/dose-rate-type",,"ordered","Ordered",,,,,,,,,,,2,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
dosageInstruction,2,"One tablet daily for 4 days","http://snomed.info/sct",,"311504000","With or after food",,,,,,,,,,,,,,,,,,,,,,,,,4,,1,,"d",,,,,,,,,,,,,,,,,,,,,,,,"http://snomed.info/sct",,"26643006","Oral Route",,,,,,,,,"http://terminology.hl7.org/CodeSystem/dose-rate-type",,"ordered","Ordered",,,,,,,,,,,1,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Resulting resource
{
  "resourceType": "MedicationRequest",
  "id": "medrx0302",
  "identifier": [
    {
      "use": "official",
      "system": "http://www.bmc.nl/portal/prescriptions",
      "value": "12345689"
    }
  ],
  "status": "active",
  "intent": "order",
  "medicationReference": {
    "reference": "#med0320"
  },
  "subject": {
    "reference": "Patient/pat1",
    "display": "Donald Duck"
  },
  "encounter": {
    "reference": "Encounter/f001",
    "display": "encounter who leads to this prescription"
  },
  "supportingInformation": [
    {
      "reference": "Coverage/SP1234"
    }
  ],
  "authoredOn": "2015-01-15",
  "requester": {
    "reference": "Practitioner/f007",
    "display": "Patrick Pump"
  },
  "reasonCode": [
    {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "11840006",
          "display": "Traveller's Diarrhea (disorder)"
        }
      ]
    }
  ],
  "note": [
    {
      "text": "Patient told to take with food"
    }
  ],
  "dosageInstruction": [
    {
      "sequence": 1,
      "text": "Two tablets at once",
      "additionalInstruction": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "311504000",
              "display": "With or after food"
            }
          ]
        }
      ],
      "timing": {
        "repeat": {
          "frequency": 1,
          "period": 1,
          "periodUnit": "d"
        }
      },
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Oral Route"
          }
        ]
      },
      "method": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "421521009",
            "display": "Swallow - dosing instruction imperative (qualifier value)"
          }
        ]
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ]
          },
          "doseQuantity": {
            "value": 2,
            "unit": "TAB",
            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
            "code": "TAB"
          }
        }
      ]
    },
    {
      "sequence": 2,
      "text": "One tablet daily for 4 days",
      "additionalInstruction": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "311504000",
              "display": "With or after food"
            }
          ]
        }
      ],
      "timing": {
        "repeat": {
          "frequency": 4,
          "period": 1,
          "periodUnit": "d"
        }
      },
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Oral Route"
          }
        ]
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ]
          },
          "doseQuantity": {
            "value": 1,
            "unit": "TAB",
            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
            "code": "TAB"
          }
        }
      ]
    }
  ],
  "dispenseRequest": {
    "validityPeriod": {
      "start": "2015-01-15",
      "end": "2016-01-15"
    },
    "numberOfRepeatsAllowed": 1,
    "quantity": {
      "value": 6,
      "unit": "TAB",
      "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
      "code": "TAB"
    },
    "expectedSupplyDuration": {
      "value": 5,
      "unit": "days",
      "system": "http://unitsofmeasure.org",
      "code": "d"
    }
  },
  "substitution": {
    "allowedBoolean": true,
    "reason": {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
          "code": "FP",
          "display": "formulary policy"
        }
      ]
    }
  }
}
Example #3
Input CSV
MedicationRequest,6,"medrx0303","active",,,,,,,"order",,,,,,,,,,,,,,,,,,,,,,,,"#med0311",,,,,,,,,,,,,,"Patient/pat1",,,,,,,,,,,,,"Donald Duck","Encounter/f001",,,,,,,,,,,,,"encounter who leads to this prescription","2015-01-15","Practitioner/f007",,,,,,,,,,,,,"Patrick Pump",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"official",,,,,,,"http://www.bmc.nl/portal/prescriptions","983939393",,,,,,,,,,,,,,,,,,,,,,,"2015-01-15","2016-01-15",1,51,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",21,,"days","http://unitsofmeasure.org","d","Organization/f001",,,,,,,,,,,,,,,"http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution",,"TB","Therapeutic Brand",,,"http://terminology.hl7.org/CodeSystem/v3-ActReason",,"FP","formulary policy",,,,,,,,,,,,,,,,
identifier,"official",,,,,,,"http://www.bmc.nl/portal/prescriptions","12345689",,
basedOn,"CarePlan/gpvisit",,,,,,,,,,,,,
note,,,,,,,,,,,,,,,,,"Patient told to take with food"
dosageInstruction,1,"Take 4 tablets daily for 7 days starting January 16, 2015",,,,,,,,,,,,,,,,,,,,,,"2015-01-16","2015-01-20",,,,,,1,,1,,"d",,,,,,,,,,,,,,,,,,,,,,,,"http://snomed.info/sct",,"26643006","Oral Route",,,"http://snomed.info/sct",,"421521009","Swallow - dosing instruction imperative (qualifier value)",,,"http://terminology.hl7.org/CodeSystem/dose-rate-type",,"ordered","Ordered",,,,,,,,,,,4,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
dosageInstruction,2,"Take 2 tablets daily for 7 days starting January 23, 2015",,,,,,,,,,,,,,,,,,,,,,"2015-01-23","2015-01-30",,,,,,1,,1,,"d",,,,,,,,,,,,,,,,,,,,,,,,"http://snomed.info/sct",,"26643006","Oral Route",,,"http://snomed.info/sct",,"421521009","Swallow - dosing instruction imperative (qualifier value)",,,"http://terminology.hl7.org/CodeSystem/dose-rate-type",,"ordered","Ordered",,,,,,,,,,,2,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
dosageInstruction,3,"Take 1 tablets daily for 7 days starting January 31, 2015",,,,,,,,,,,,,,,,,,,,,,"2015-01-31","2015-02-06",,,,,,1,,1,,"d",,,,,,,,,,,,,,,,,,,,,,,,"http://snomed.info/sct",,"26643006","Oral Route",,,"http://snomed.info/sct",,"421521009","Swallow - dosing instruction imperative (qualifier value)",,,"http://terminology.hl7.org/CodeSystem/dose-rate-type",,"ordered","Ordered",,,,,,,,,,,1,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Resulting resource
{
  "resourceType": "MedicationRequest",
  "id": "medrx0303",
  "identifier": [
    {
      "use": "official",
      "system": "http://www.bmc.nl/portal/prescriptions",
      "value": "12345689"
    }
  ],
  "status": "active",
  "intent": "order",
  "medicationReference": {
    "reference": "#med0311"
  },
  "subject": {
    "reference": "Patient/pat1",
    "display": "Donald Duck"
  },
  "encounter": {
    "reference": "Encounter/f001",
    "display": "encounter who leads to this prescription"
  },
  "authoredOn": "2015-01-15",
  "requester": {
    "reference": "Practitioner/f007",
    "display": "Patrick Pump"
  },
  "basedOn": [
    {
      "reference": "CarePlan/gpvisit"
    }
  ],
  "groupIdentifier": {
    "use": "official",
    "system": "http://www.bmc.nl/portal/prescriptions",
    "value": "983939393"
  },
  "note": [
    {
      "text": "Patient told to take with food"
    }
  ],
  "dosageInstruction": [
    {
      "sequence": 1,
      "text": "Take 4 tablets daily for 7 days starting January 16, 2015",
      "timing": {
        "repeat": {
          "boundsPeriod": {
            "start": "2015-01-16",
            "end": "2015-01-20"
          },
          "frequency": 1,
          "period": 1,
          "periodUnit": "d"
        }
      },
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Oral Route"
          }
        ]
      },
      "method": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "421521009",
            "display": "Swallow - dosing instruction imperative (qualifier value)"
          }
        ]
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ]
          },
          "doseQuantity": {
            "value": 4,
            "unit": "TAB",
            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
            "code": "TAB"
          }
        }
      ]
    },
    {
      "sequence": 2,
      "text": "Take 2 tablets daily for 7 days starting January 23, 2015",
      "timing": {
        "repeat": {
          "boundsPeriod": {
            "start": "2015-01-23",
            "end": "2015-01-30"
          },
          "frequency": 1,
          "period": 1,
          "periodUnit": "d"
        }
      },
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Oral Route"
          }
        ]
      },
      "method": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "421521009",
            "display": "Swallow - dosing instruction imperative (qualifier value)"
          }
        ]
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ]
          },
          "doseQuantity": {
            "value": 2,
            "unit": "TAB",
            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
            "code": "TAB"
          }
        }
      ]
    },
    {
      "sequence": 3,
      "text": "Take 1 tablets daily for 7 days starting January 31, 2015",
      "timing": {
        "repeat": {
          "boundsPeriod": {
            "start": "2015-01-31",
            "end": "2015-02-06"
          },
          "frequency": 1,
          "period": 1,
          "periodUnit": "d"
        }
      },
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Oral Route"
          }
        ]
      },
      "method": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "421521009",
            "display": "Swallow - dosing instruction imperative (qualifier value)"
          }
        ]
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ]
          },
          "doseQuantity": {
            "value": 1,
            "unit": "TAB",
            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
            "code": "TAB"
          }
        }
      ]
    }
  ],
  "dispenseRequest": {
    "validityPeriod": {
      "start": "2015-01-15",
      "end": "2016-01-15"
    },
    "numberOfRepeatsAllowed": 1,
    "quantity": {
      "value": 51,
      "unit": "TAB",
      "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
      "code": "TAB"
    },
    "expectedSupplyDuration": {
      "value": 21,
      "unit": "days",
      "system": "http://unitsofmeasure.org",
      "code": "d"
    },
    "performer": {
      "reference": "Organization/f001"
    }
  },
  "substitution": {
    "allowedCodeableConcept": {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution",
          "code": "TB",
          "display": "Therapeutic Brand"
        }
      ]
    },
    "reason": {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
          "code": "FP",
          "display": "formulary policy"
        }
      ]
    }
  }
}
Example #4
Input CSV
MedicationRequest,2,"medrx0304","completed",,,,,,,"order",,,,,,,,,,,,,,,,,,,,,,,,"#med0312",,,,,,,,,,,,,"Nystatin 100,000 u/ml oral suspension","Patient/pat1",,,,,,,,,,,,,"Donald Duck",,,,,,,,,,,,,,,"2015-01-15","Practitioner/f007",,,,,,,,,,,,,"Patrick Pump",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"2015-01-15","2016-01-15",3,10,"ml","http://unitsofmeasure.org","ml",10,,"days","http://unitsofmeasure.org","d",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
identifier,"official",,,,,,,"http://www.bmc.nl/portal/prescriptions","12345689",,
dosageInstruction,1,"10 drops four times daily - apply in mouth using cotton swab or finger",,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,,1,,"d",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"http://terminology.hl7.org/CodeSystem/dose-rate-type",,"ordered","Ordered",,,,,,,,,,,10,"drop","http://unitsofmeasure.org","drop",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Resulting resource
{
  "resourceType": "MedicationRequest",
  "id": "medrx0304",
  "identifier": [
    {
      "use": "official",
      "system": "http://www.bmc.nl/portal/prescriptions",
      "value": "12345689"
    }
  ],
  "status": "completed",
  "intent": "order",
  "medicationReference": {
    "reference": "#med0312",
    "display": "Nystatin 100,000 u/ml oral suspension"
  },
  "subject": {
    "reference": "Patient/pat1",
    "display": "Donald Duck"
  },
  "authoredOn": "2015-01-15",
  "requester": {
    "reference": "Practitioner/f007",
    "display": "Patrick Pump"
  },
  "dosageInstruction": [
    {
      "sequence": 1,
      "text": "10 drops four times daily - apply in mouth using cotton swab or finger",
      "timing": {
        "repeat": {
          "frequency": 4,
          "period": 1,
          "periodUnit": "d"
        }
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ]
          },
          "doseQuantity": {
            "value": 10,
            "unit": "drop",
            "system": "http://unitsofmeasure.org",
            "code": "drop"
          }
        }
      ]
    }
  ],
  "dispenseRequest": {
    "validityPeriod": {
      "start": "2015-01-15",
      "end": "2016-01-15"
    },
    "numberOfRepeatsAllowed": 3,
    "quantity": {
      "value": 10,
      "unit": "ml",
      "system": "http://unitsofmeasure.org",
      "code": "ml"
    },
    "expectedSupplyDuration": {
      "value": 10,
      "unit": "days",
      "system": "http://unitsofmeasure.org",
      "code": "d"
    }
  }
}
Example #5
Input CSV
MedicationRequest,2,"medrx0305","completed",,,,,,,"order",,,,,,,,,,,,,,,,,,,,,,,,"#med0314",,,,,,,,,,,,,,"Patient/pat1",,,,,,,,,,,,,"Donald Duck","Encounter/f001",,,,,,,,,,,,,"encounter who leads to this prescription","2015-01-15","Practitioner/f007",,,,,,,,,,,,,"Patrick Pump",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"2015-01-15","2016-01-15",1,30,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",10,,"days","http://unitsofmeasure.org","d",,,,,,,,,,,,,,,true,,,,,,,"http://terminology.hl7.org/CodeSystem/v3-ActReason",,"FP","formulary policy",,,,,,,,,,,,,,,,
identifier,"official",,,,,,,"http://www.bmc.nl/portal/prescriptions","12345689",,
dosageInstruction,1,"0.25mg PO every 6-12 hours as needed for menses from Jan 15-20, 2015.  Do not exceed more than 4mg per day","http://snomed.info/sct",,"418914006","Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)",,,,,,,,,,,,,,,,,,"2015-01-15","2015-01-20",,,,,,1,,6,12,"h",,,,,,,,,,,,"http://snomed.info/sct",,"266599000","Dysmenorrhea (disorder)",,,,,,,,,"http://snomed.info/sct",,"26643006","Oral Route",,,,,,,,,"http://terminology.hl7.org/CodeSystem/dose-rate-type",,"ordered","Ordered",,,,,,,,,,,1,"TAB","http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","TAB",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,"mg","http://unitsofmeasure.org","mg",,,,
Resulting resource
{
  "resourceType": "MedicationRequest",
  "id": "medrx0305",
  "identifier": [
    {
      "use": "official",
      "system": "http://www.bmc.nl/portal/prescriptions",
      "value": "12345689"
    }
  ],
  "status": "completed",
  "intent": "order",
  "medicationReference": {
    "reference": "#med0314"
  },
  "subject": {
    "reference": "Patient/pat1",
    "display": "Donald Duck"
  },
  "encounter": {
    "reference": "Encounter/f001",
    "display": "encounter who leads to this prescription"
  },
  "authoredOn": "2015-01-15",
  "requester": {
    "reference": "Practitioner/f007",
    "display": "Patrick Pump"
  },
  "dosageInstruction": [
    {
      "sequence": 1,
      "text": "0.25mg PO every 6-12 hours as needed for menses from Jan 15-20, 2015.  Do not exceed more than 4mg per day",
      "additionalInstruction": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "418914006",
              "display": "Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)"
            }
          ]
        }
      ],
      "timing": {
        "repeat": {
          "boundsPeriod": {
            "start": "2015-01-15",
            "end": "2015-01-20"
          },
          "frequency": 1,
          "period": 6,
          "periodMax": 12,
          "periodUnit": "h"
        }
      },
      "asNeededCodeableConcept": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "266599000",
            "display": "Dysmenorrhea (disorder)"
          }
        ]
      },
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Oral Route"
          }
        ]
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ]
          },
          "doseQuantity": {
            "value": 1,
            "unit": "TAB",
            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
            "code": "TAB"
          }
        }
      ],
      "maxDosePerAdministration": {
        "value": 4,
        "unit": "mg",
        "system": "http://unitsofmeasure.org",
        "code": "mg"
      }
    }
  ],
  "dispenseRequest": {
    "validityPeriod": {
      "start": "2015-01-15",
      "end": "2016-01-15"
    },
    "numberOfRepeatsAllowed": 1,
    "quantity": {
      "value": 30,
      "unit": "TAB",
      "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
      "code": "TAB"
    },
    "expectedSupplyDuration": {
      "value": 10,
      "unit": "days",
      "system": "http://unitsofmeasure.org",
      "code": "d"
    }
  },
  "substitution": {
    "allowedBoolean": true,
    "reason": {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
          "code": "FP",
          "display": "formulary policy"
        }
      ]
    }
  }
}