1
curl 'https://api.redoxengine.com/fhir/R4/{destinationSlug}/{environmentFlag}/Appointment/$appointment-cancel' \
3
--header 'Authorization: Bearer $API_TOKEN' \
4
--header 'Content-Type: application/fhir+json' \
6
"resourceType": "Bundle",
7
"id": "RedoxAppointmentCancelBundleExample",
12
"eventUri": "https://fhir.redoxengine.com/EventDefinition/AppointmentCancel",
13
"resourceType": "MessageHeader",
14
"id": "RedoxAppointmentCancelMessageHeaderExample",
16
"name": "Good Health Clinics",
17
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
21
"reference": "Appointment/RedoxAppointmentCancelExample"
27
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Appointment/RedoxAppointmentCancelExample",
29
"resourceType": "Appointment",
30
"id": "RedoxAppointmentCancelExample",
35
"reference": "Patient/RedoxPatientExampleTimothy"
40
"reference": "Location/RedoxLocationExampleDepartment"
46
"reference": "Practitioner/RedoxPractitionerExamplePat"
51
"status": "cancelled",
52
"cancelationReason": {
55
"system": "http://terminology.hl7.org/CodeSystem/appointment-cancellation-reason",
57
"display": "Patient: Canceled via automated reminder system"
64
"system": "http://terminology.hl7.org/CodeSystem/v2-0276",
66
"display": "A follow up visit from a previous appointment"
75
"system": "http://snomed.info/sct",
76
"display": "Food allergy diet"
85
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExample",
87
"resourceType": "Location",
88
"id": "RedoxLocationExample",
89
"name": "RHS Vista Oaks Clinic",
95
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
96
"display": "Outpatient Facility"
105
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
106
"display": "Building"
113
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient/RedoxPatientExampleTimothy",
115
"resourceType": "Patient",
116
"id": "RedoxPatientExampleTimothy",
120
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
130
"valueString": "White"
133
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
138
"url": "ombCategory",
141
"system": "urn:oid:2.16.840.1.113883.6.238",
142
"display": "Hispanic or Latino"
147
"valueString": "Hispanic"
150
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
155
"value": "0000000001",
156
"system": "urn:redox:health-one:MR"
159
"value": "101-01-0001",
160
"system": "http://hl7.org/fhir/sid/us-ssn"
178
"birthDate": "2008-01-06",
181
"value": "+18088675301",
186
"value": "+18008675309",
191
"value": "timothy.bixby@redoxengine.com",
198
"4762 Hickory Street"
201
"district": "Greene",
203
"postalCode": "53566",
212
"system": "http://hl7.org/fhir/v3/MaritalStatus",
224
"system": "urn:ietf:bcp:47"
241
"value": "+18088675303",
246
"value": "barbara.bixby@redoxengine.com",
257
"postalCode": "53566",
265
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
275
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
276
"display": "Emergency Contact"
279
"text": "Emergency Contact"
284
"generalPractitioner": [
286
"reference": "Practitioner/RedoxPractitionerExamplePat"
289
"managingOrganization": {
290
"reference": "Organization/RedoxOrganizationManagingExample"
295
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Practitioner/RedoxPractitionerExamplePat",
297
"resourceType": "Practitioner",
298
"id": "RedoxPractitionerExamplePat",
301
"system": "http://hl7.org/fhir/sid/us-npi",
302
"value": "4356789876"
321
"postalCode": "53703",
327
"value": "+16085551234"
333
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Organization/RedoxOrganizationManagingExample",
335
"resourceType": "Organization",
336
"id": "RedoxOrganizationManagingExample",
340
"system": "urn:oid:1.2.3.4"
344
"name": "Custodial Org",
356
"value": "1-800-123-4567",
368
"timestamp": "2021-06-17T20:33:22.422Z"