Medication Request Created Detailed

Page View

Order notifications contain details about any order placed by your connection's system to your organization. This could include device, medication, or service requests, depending on what your organization provides or manages for patients.

You can receive notifications when an order is created, cancelled, or updated.

created

Indicates that a new medication request has been placed for a patient that your organization works with.

You can opt in for lightweight or detailed notifications.

  • A lightweight notification provides the MedicationRequest reference, medication code, patient identifier, and timestamp.
  • A detailed notification contains everything in the lightweight plus extended medication and patient info, pharmacy/practitioner info, and any related references.

Select payload example

MedicationRequestCreatedFullBundleExample
json
1
{
2
"resourceType": "Bundle",
3
"id": "MedicationRequestCreatedFullBundleExample",
4
"type": "message",
5
"entry": [
6
{
7
"resource": {
8
"eventUri": "https://fhir.redoxengine.com/EventDefinition/MedicationRequestCreated",
9
"resourceType": "MessageHeader",
10
"id": "MedicationRequestCreatedMessageHeader",
11
"source": {
12
"name": "Good Health Clinics",
13
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
14
},
15
"focus": [
16
{
17
"reference": "MedicationRequest/RedoxMedicationRequestExample"
18
},
19
{
20
"reference": "Patient/RedoxPatientExampleTimothy"
21
}
22
],
23
"definition": "https://fhir.redoxengine.com/MessageDefinition/MedicationRequestCreatedFull"
24
}
25
},
26
{
27
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/MedicationRequest?identifier=06dc94e9-ce21-4ad6-89b7-bfb51154bbd6|urn:redox:example:MedOrderID",
28
"resource": {
29
"resourceType": "MedicationRequest",
30
"id": "RedoxMedicationRequestExample",
31
"identifier": [
32
{
33
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
34
"value": "865492246"
35
}
36
],
37
"subject": {
38
"reference": "Patient/RedoxPatientExampleTimothy"
39
},
40
"intent": "order",
41
"encounter": {
42
"reference": "Encounter/RedoxEncompassingEncounterExample"
43
},
44
"medicationCodeableConcept": {
45
"coding": [
46
{
47
"code": "104894",
48
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
49
"display": "Ondansetron 4 Mg Po Tbdp"
50
}
51
],
52
"text": "Ondansetron 4 Mg Po Tbdp"
53
},
54
"dispenseRequest": {
55
"quantity": {
56
"value": 30,
57
"unit": "tablet"
58
},
59
"numberOfRepeatsAllowed": 0,
60
"validityPeriod": {
61
"start": "2019-04-01T00:00:00.000Z",
62
"end": "2019-05-31T00:00:00.000Z"
63
},
64
"performer": {
65
"reference": "Organization/RedoxOrganizationPharmacyExample"
66
}
67
},
68
"status": "active",
69
"priority": "routine",
70
"reasonCode": [
71
{
72
"coding": [
73
{
74
"code": "422587007",
75
"system": "http://snomed.info/sct"
76
}
77
],
78
"text": "Nausea"
79
}
80
],
81
"authoredOn": "2019-04-01T17:04:16.605Z",
82
"requester": {
83
"reference": "PractitionerRole/RedoxPAPractitionerRoleExamplePat"
84
},
85
"recorder": {
86
"reference": "Practitioner/RedoxPractitionerExampleMedicationRequest"
87
},
88
"dosageInstruction": [
89
{
90
"text": "one tablet every 8 hours",
91
"asNeededBoolean": false,
92
"route": {
93
"coding": [
94
{
95
"code": "C38288",
96
"system": "urn:oid:2.16.840.1.113883.3.26.1.1",
97
"display": "Oral"
98
}
99
]
100
},
101
"doseAndRate": [
102
{
103
"doseQuantity": {
104
"value": 4,
105
"unit": "mg"
106
}
107
}
108
],
109
"timing": {
110
"repeat": {
111
"frequency": 1,
112
"period": 8,
113
"periodUnit": "h",
114
"boundsPeriod": {
115
"start": "2013-11-11T05:00:00.000Z"
116
}
117
}
118
}
119
}
120
]
121
}
122
},
123
{
124
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient?identifier=0000000001|urn:redox:MRN",
125
"resource": {
126
"resourceType": "Patient",
127
"id": "RedoxPatientExampleTimothy",
128
"meta": {
129
"extension": [
130
{
131
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
132
"valueInteger": 1
133
}
134
]
135
},
136
"extension": [
137
{
138
"extension": [
139
{
140
"url": "text",
141
"valueString": "White"
142
}
143
],
144
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
145
},
146
{
147
"extension": [
148
{
149
"url": "ombCategory",
150
"valueCoding": {
151
"code": "2135-2",
152
"system": "urn:oid:2.16.840.1.113883.6.238",
153
"display": "Hispanic or Latino"
154
}
155
},
156
{
157
"url": "text",
158
"valueString": "Hispanic"
159
}
160
],
161
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
162
}
163
],
164
"identifier": [
165
{
166
"value": "0000000001",
167
"system": "urn:redox:health-one:MR"
168
},
169
{
170
"value": "101-01-0001",
171
"system": "http://hl7.org/fhir/sid/us-ssn"
172
}
173
],
174
"name": [
175
{
176
"given": [
177
"Timothy",
178
"Paul"
179
],
180
"family": "Bixby",
181
"use": "official"
182
},
183
{
184
"text": "Billy",
185
"use": "usual"
186
}
187
],
188
"gender": "male",
189
"birthDate": "2008-01-06",
190
"telecom": [
191
{
192
"value": "+18088675301",
193
"system": "phone",
194
"use": "home"
195
},
196
{
197
"value": "+18008675309",
198
"system": "phone",
199
"use": "work"
200
},
201
{
202
"value": "timothy.bixby@redoxengine.com",
203
"system": "email"
204
}
205
],
206
"address": [
207
{
208
"line": [
209
"4762 Hickory Street"
210
],
211
"city": "Monroe",
212
"district": "Greene",
213
"state": "WI",
214
"postalCode": "53566",
215
"country": "US",
216
"use": "home"
217
}
218
],
219
"maritalStatus": {
220
"coding": [
221
{
222
"code": "M",
223
"system": "http://hl7.org/fhir/v3/MaritalStatus",
224
"display": "Married"
225
}
226
],
227
"text": "Married"
228
},
229
"communication": [
230
{
231
"language": {
232
"coding": [
233
{
234
"code": "en",
235
"system": "urn:ietf:bcp:47"
236
}
237
],
238
"text": "English"
239
}
240
}
241
],
242
"contact": [
243
{
244
"name": {
245
"given": [
246
"Barbara"
247
],
248
"family": "Bixby"
249
},
250
"telecom": [
251
{
252
"value": "+18088675303",
253
"system": "phone",
254
"use": "home"
255
},
256
{
257
"value": "barbara.bixby@redoxengine.com",
258
"system": "email"
259
}
260
],
261
"address": {
262
"line": [
263
"4762 Hickory St."
264
],
265
"city": "Monroe",
266
"district": "Green",
267
"state": "WI",
268
"postalCode": "53566",
269
"country": "USA"
270
},
271
"relationship": [
272
{
273
"coding": [
274
{
275
"code": "MTH",
276
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
277
"display": "mother"
278
}
279
],
280
"text": "Mother"
281
},
282
{
283
"coding": [
284
{
285
"code": "C",
286
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
287
"display": "Emergency Contact"
288
}
289
],
290
"text": "Emergency Contact"
291
}
292
]
293
}
294
],
295
"generalPractitioner": [
296
{
297
"reference": "Practitioner/RedoxPractitionerExamplePat"
298
}
299
],
300
"managingOrganization": {
301
"reference": "Organization/RedoxOrganizationManagingExample"
302
}
303
}
304
},
305
{
306
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter?identifier=6425784126|urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
307
"resource": {
308
"resourceType": "Encounter",
309
"id": "RedoxEncompassingEncounterExample",
310
"identifier": [
311
{
312
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
313
"value": "6425784126"
314
}
315
],
316
"status": "finished",
317
"class": {
318
"code": "IMP",
319
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
320
"display": "inpatient encounter"
321
},
322
"type": [
323
{
324
"coding": [
325
{
326
"code": "99222",
327
"system": "http://www.ama-assn.org/go/cpt",
328
"display": "InPatient Admission"
329
}
330
]
331
}
332
],
333
"period": {
334
"start": "2022-02-02T15:17:55.221Z",
335
"end": "2022-02-02T15:17:55.221Z"
336
},
337
"location": [
338
{
339
"location": {
340
"reference": "Location/RedoxLocationExampleFacility"
341
}
342
},
343
{
344
"location": {
345
"reference": "Location/RedoxLocationExampleDepartment"
346
}
347
},
348
{
349
"location": {
350
"reference": "Location/RedoxLocationExampleRoom"
351
}
352
}
353
],
354
"subject": {
355
"reference": "Patient/RedoxPatientExampleTimothy"
356
}
357
}
358
},
359
{
360
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Organization/RedoxOrganizationPharmacyExample",
361
"resource": {
362
"resourceType": "Organization",
363
"id": "RedoxOrganizationPharmacyExample",
364
"identifier": [
365
{
366
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
367
"value": "4861304611"
368
},
369
{
370
"system": "http://terminology.hl7.org/CodeSystem/NCPDPProviderIdentificationNumber",
371
"value": "1234567"
372
}
373
],
374
"active": true,
375
"name": "Fake Pharmacy",
376
"type": [
377
{
378
"text": "Pharmacy",
379
"coding": [
380
{
381
"code": "PHARM",
382
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
383
"display": "Pharmacy"
384
}
385
]
386
}
387
],
388
"address": [
389
{
390
"line": [
391
"123 Fake St."
392
],
393
"city": "Madison",
394
"district": "Dane",
395
"state": "WI",
396
"postalCode": "53703",
397
"country": "USA"
398
}
399
],
400
"telecom": [
401
{
402
"value": "+16085556789",
403
"system": "phone",
404
"use": "work"
405
}
406
]
407
}
408
},
409
{
410
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Practitioner/RedoxPractitionerExampleMedicationRequest",
411
"resource": {
412
"resourceType": "Practitioner",
413
"id": "RedoxPractitionerExampleMedicationRequest",
414
"identifier": [
415
{
416
"system": "http://hl7.org/fhir/sid/us-npi",
417
"value": "3459132305"
418
},
419
{
420
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698077",
421
"value": "4890215231"
422
}
423
],
424
"name": [
425
{
426
"given": [
427
"Aaheli"
428
],
429
"family": "Ghoshal"
430
}
431
]
432
}
433
},
434
{
435
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/PractitionerRole/RedoxPAPractitionerRoleExamplePat",
436
"resource": {
437
"resourceType": "PractitionerRole",
438
"id": "RedoxPAPractitionerRoleExamplePat",
439
"practitioner": {
440
"reference": "Practitioner/RedoxPAPractitionerExamplePat"
441
},
442
"organization": {
443
"reference": "Organization/RedoxPARequestorOrganizationExample"
444
},
445
"location": [
446
{
447
"display": "1st Street Family Clinic"
448
}
449
],
450
"specialty": [
451
{
452
"coding": [
453
{
454
"code": "394579002",
455
"system": "http://snomed.info/sct",
456
"display": "Cardiology"
457
}
458
]
459
}
460
]
461
}
462
}
463
],
464
"timestamp": "2021-06-17T20:33:22.422Z"
465
}

Request Body Schema

    Bundle sent as part of a MedicationRequest-created event

  • resourceType
    required, string

    Identifies the type of the resource

    Value: Bundle
  • type
    required, string

    Indicates the purpose of this bundle - how it is intended to be used.

    Value: message
  • entry
    required, Array of messageHeader, medicationRequest, patient, encounter

    An entry in the bundle containing a FHIR resource

    • fullUrl
      string

      The Absolute URL for the resource. The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that:

      • fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)
      • Results from operations might involve resources that are not identified.
    • resource
      object

      The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type.

      • resourceType
        required, string

        Identifies the type of the resource

        Value: MessageHeader
      • source
        required, object

        The source application from which this message originated.

        • endpoint
          required, string

          Identifies the routing target to send acknowledgements to.

      • focus
        required, Array of object

        The actual data of the message - a reference to the root/focus class of the event.

        Must be a resource of type Resource.

        • reference
          string

          A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with # and refers to a contained resource.

      • definition
        required, string

        Permanent link to the MessageDefinition for this message.

      • eventUri
        required, string

        Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value "http://terminology.hl7.org/CodeSystem/message-events". Alternatively uri to the EventDefinition.

        Value: https://fhir.redoxengine.com/EventDefinition/MedicationRequestCreated
  • timestamp
    string

    The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle.