Device Request Cancelled 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.

cancelled

Indicates that your connection has cancelled an existing device request.

You can opt in for lightweight or detailed notifications.

  • A lightweight notification provides the DeviceRequest reference, device info, patient identifier, and timestamp.
  • A detailed notification contains everything in the lightweight plus extended patient info, managing organization info, and any related references.

Select payload example

DeviceRequestCancelledFullBundleExample
json
1
{
2
"resourceType": "Bundle",
3
"id": "DeviceRequestCancelledFullBundleExample",
4
"type": "message",
5
"entry": [
6
{
7
"resource": {
8
"eventUri": "https://fhir.redoxengine.com/EventDefinition/DeviceRequestCancelled",
9
"resourceType": "MessageHeader",
10
"id": "DeviceRequestCancelledMessageHeader",
11
"source": {
12
"name": "Good Health Clinics",
13
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
14
},
15
"focus": [
16
{
17
"reference": "DeviceRequest/RedoxDeviceRequestExample"
18
},
19
{
20
"reference": "Patient/RedoxPatientExampleTimothy"
21
}
22
],
23
"definition": "https://fhir.redoxengine.com/MessageDefinition/DeviceRequestCancelledFull"
24
}
25
},
26
{
27
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/DeviceRequest?identifier=56789302|urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
28
"resource": {
29
"resourceType": "DeviceRequest",
30
"id": "RedoxDeviceRequestExample",
31
"identifier": [
32
{
33
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
34
"value": "56789302"
35
}
36
],
37
"subject": {
38
"reference": "Patient/RedoxPatientExampleTimothy"
39
},
40
"encounter": {
41
"reference": "Encounter/RedoxEncounterExample"
42
},
43
"status": "completed",
44
"occurrenceDateTime": "1999-11-01T05:00:00.000Z",
45
"codeCodeableConcept": {
46
"coding": [
47
{
48
"code": "72506001",
49
"system": "http://snomed.info/sct",
50
"display": "Automatic implantable cardioverter/defibrillator"
51
}
52
]
53
},
54
"extension": [
55
{
56
"url": "https://fhir.redoxengine.com/StructureDefinition/devicerequest-quantity",
57
"valueString": "2"
58
}
59
],
60
"_intent": {
61
"extension": [
62
{
63
"url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
64
"valueCode": "unsupported"
65
}
66
]
67
}
68
}
69
},
70
{
71
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient?identifier=0000000001|urn:redox:MRN",
72
"resource": {
73
"resourceType": "Patient",
74
"id": "RedoxPatientExampleTimothy",
75
"meta": {
76
"extension": [
77
{
78
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
79
"valueInteger": 1
80
}
81
]
82
},
83
"extension": [
84
{
85
"extension": [
86
{
87
"url": "text",
88
"valueString": "White"
89
}
90
],
91
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
92
},
93
{
94
"extension": [
95
{
96
"url": "ombCategory",
97
"valueCoding": {
98
"code": "2135-2",
99
"system": "urn:oid:2.16.840.1.113883.6.238",
100
"display": "Hispanic or Latino"
101
}
102
},
103
{
104
"url": "text",
105
"valueString": "Hispanic"
106
}
107
],
108
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
109
}
110
],
111
"identifier": [
112
{
113
"value": "0000000001",
114
"system": "urn:redox:health-one:MR"
115
},
116
{
117
"value": "101-01-0001",
118
"system": "http://hl7.org/fhir/sid/us-ssn"
119
}
120
],
121
"name": [
122
{
123
"given": [
124
"Timothy",
125
"Paul"
126
],
127
"family": "Bixby",
128
"use": "official"
129
},
130
{
131
"text": "Billy",
132
"use": "usual"
133
}
134
],
135
"gender": "male",
136
"birthDate": "2008-01-06",
137
"telecom": [
138
{
139
"value": "+18088675301",
140
"system": "phone",
141
"use": "home"
142
},
143
{
144
"value": "+18008675309",
145
"system": "phone",
146
"use": "work"
147
},
148
{
149
"value": "timothy.bixby@redoxengine.com",
150
"system": "email"
151
}
152
],
153
"address": [
154
{
155
"line": [
156
"4762 Hickory Street"
157
],
158
"city": "Monroe",
159
"district": "Greene",
160
"state": "WI",
161
"postalCode": "53566",
162
"country": "US",
163
"use": "home"
164
}
165
],
166
"maritalStatus": {
167
"coding": [
168
{
169
"code": "M",
170
"system": "http://hl7.org/fhir/v3/MaritalStatus",
171
"display": "Married"
172
}
173
],
174
"text": "Married"
175
},
176
"communication": [
177
{
178
"language": {
179
"coding": [
180
{
181
"code": "en",
182
"system": "urn:ietf:bcp:47"
183
}
184
],
185
"text": "English"
186
}
187
}
188
],
189
"contact": [
190
{
191
"name": {
192
"given": [
193
"Barbara"
194
],
195
"family": "Bixby"
196
},
197
"telecom": [
198
{
199
"value": "+18088675303",
200
"system": "phone",
201
"use": "home"
202
},
203
{
204
"value": "barbara.bixby@redoxengine.com",
205
"system": "email"
206
}
207
],
208
"address": {
209
"line": [
210
"4762 Hickory St."
211
],
212
"city": "Monroe",
213
"district": "Green",
214
"state": "WI",
215
"postalCode": "53566",
216
"country": "USA"
217
},
218
"relationship": [
219
{
220
"coding": [
221
{
222
"code": "MTH",
223
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
224
"display": "mother"
225
}
226
],
227
"text": "Mother"
228
},
229
{
230
"coding": [
231
{
232
"code": "C",
233
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
234
"display": "Emergency Contact"
235
}
236
],
237
"text": "Emergency Contact"
238
}
239
]
240
}
241
],
242
"generalPractitioner": [
243
{
244
"reference": "Practitioner/RedoxPractitionerExamplePat"
245
}
246
],
247
"managingOrganization": {
248
"reference": "Organization/RedoxOrganizationManagingExample"
249
}
250
}
251
},
252
{
253
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter?identifier=zzz123Encounter|urn:redox:encounterId",
254
"resource": {
255
"resourceType": "Encounter",
256
"id": "RedoxEncounterExample",
257
"identifier": [
258
{
259
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
260
"value": "9601346482"
261
}
262
],
263
"status": "finished",
264
"class": {
265
"code": "IMP",
266
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
267
"display": "inpatient encounter"
268
},
269
"type": [
270
{
271
"coding": [
272
{
273
"code": "99222",
274
"system": "http://www.ama-assn.org/go/cpt",
275
"display": "InPatient Admission"
276
}
277
]
278
}
279
],
280
"diagnosis": [
281
{
282
"condition": {
283
"reference": "Condition/RedoxConditionExampleEncounterDx"
284
}
285
}
286
],
287
"participant": [
288
{
289
"individual": {
290
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
291
}
292
}
293
],
294
"location": [
295
{
296
"location": {
297
"reference": "Location/RedoxLocationExampleEncounter"
298
}
299
}
300
],
301
"subject": {
302
"reference": "Patient/RedoxPatientExampleTimothy"
303
},
304
"period": {
305
"start": "2022-02-06T04:00:00.000Z",
306
"end": "2022-02-06T04:15:00.000Z"
307
},
308
"length": {
309
"value": 16,
310
"code": "m",
311
"system": "http://unitsofmeasure.org"
312
},
313
"reasonCode": [
314
{
315
"coding": [
316
{
317
"code": "23360407",
318
"system": "http://snomed.info/sct"
319
}
320
],
321
"text": "Pneumonia"
322
}
323
]
324
}
325
},
326
{
327
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Practitioner/RedoxPractitionerExamplePat",
328
"resource": {
329
"resourceType": "Practitioner",
330
"id": "RedoxPractitionerExamplePat",
331
"identifier": [
332
{
333
"system": "http://hl7.org/fhir/sid/us-npi",
334
"value": "4356789876"
335
}
336
],
337
"name": [
338
{
339
"given": [
340
"Pat"
341
],
342
"family": "Granite"
343
}
344
],
345
"address": [
346
{
347
"line": [
348
"123 Main St."
349
],
350
"city": "Madison",
351
"district": "Dane",
352
"state": "WI",
353
"postalCode": "53703",
354
"country": "USA"
355
}
356
],
357
"telecom": [
358
{
359
"value": "+16085551234"
360
}
361
]
362
}
363
},
364
{
365
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Organization/RedoxOrganizationManagingExample",
366
"resource": {
367
"resourceType": "Organization",
368
"id": "RedoxOrganizationManagingExample",
369
"identifier": [
370
{
371
"value": "1234",
372
"system": "urn:oid:1.2.3.4"
373
}
374
],
375
"active": true,
376
"name": "Custodial Org",
377
"address": [
378
{
379
"line": [
380
"123 Main St"
381
],
382
"city": "Madison",
383
"state": "WI"
384
}
385
],
386
"telecom": [
387
{
388
"value": "1-800-123-4567",
389
"system": "phone"
390
}
391
],
392
"type": [
393
{
394
"text": "Test Type"
395
}
396
]
397
}
398
}
399
],
400
"timestamp": "2021-06-17T20:33:22.422Z"
401
}

Request Body Schema

    Bundle sent as part of a DeviceRequest-cancelled 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, deviceRequest, patient, encounter, practitioner, organization or Other

    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/DeviceRequestCancelled
  • timestamp
    string

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