FHIR.Encounter
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequiredread
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
id
id
string
PossibleRequiredThe id of the resource
{
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "read"
},
"id": "250c81a6-1822-4500-9611-432557cd4852"
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequiredsearch
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
_id
_id[]
token
PossibleThe internal ID (UUIDv4) of the encounter.
_count
_count[]
number
PossibleSpecifies the maximum number of Encounter resources to return.
_lastUpdated
_lastUpdated[]
date
PossibleDate last updated. Server has discretion on the boundary precision.
_include
_include[]
special
PossibleSet to
Encounter:location
andLocation:partof
to include all location information associated with encounters.Additionally,
Encounter:patient
andEncounter:practitioner
can be included to return patient and practitioners resources within the same search result bundle. If omitted, these resources can also be retrieved individually at a later time.
_revinclude
_revinclude[]
special
PossibleInclude resources that reference the Encounter resource in the results. Value should be
ReferencingResource:parameter
where the parameter is a reference-type parameter of a resource that references the Encounter resource.
_sort
_sort[]
string
PossibleThe name of a Encounter parameter used to sort multiple search results in ascending order. Prefix with - to sort in descending order.
identifier
identifier[]
token
PossibleIdentifier(s) by which this encounter is known
date
date[]
date
PossibleA date within the period the Encounter lasted
practitioner
practitioner[]
reference
PossiblePersons involved in the encounter other than the patient
practitioner.identifier[]
array
PossibleOne or more external identifiers for the practitioner
patient
patient[]
reference
PossibleThe patient or group present at the encounter
patient.identifier[]
array
PossibleOne or more external identifiers for the patient
location
location[]
reference
PossibleLocation the encounter takes place
location.name[]
array
PossibleThe location's name.
location.name-physical-type[]
array
PossibleSpecify both name and physical-type at once. This is a Redox-specific parameter.
destination
destination[]
reference
PossibleLocation to which the patient is discharged
status
status[]
token
PossibleThe encounter's status
class-display
class-display[]
string
PossibleThe encounter's class; inpatient | outpatient | ambulatory | emergency +
{
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "search"
},
"_id": [],
"_count": [],
"_lastUpdated": [],
"_include": [],
"_revinclude": [],
"_sort": [],
"identifier": [],
"date": [],
"practitioner": [],
"patient": [],
"location": [],
"destination": [],
"status": [],
"class-display": [],
"practitioner.identifier": [],
"patient.identifier": [],
"location.name": [],
"location.name-physical-type": []
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequiredcreate
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "create"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequiredupdate
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
id
id
string
PossibleRequiredThe id of the resource
{
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "update"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequired$write
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"resourceType": "Bundle",
"id": "RedoxEncounterMessageBundleExample",
"type": "message",
"entry": [
{
"resource": {
"eventCoding": {
"code": "Encounter-New",
"system": "urn:redox:event-type"
},
"resourceType": "MessageHeader",
"id": "RedoxMessageHeaderExample",
"source": {
"name": "Good Health Clinics",
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
}
}
},
{
"resource": {
"resourceType": "Encounter",
"id": "RedoxEncounterExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
"value": "9601346482"
}
],
"status": "finished",
"class": {
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "inpatient encounter"
},
"type": [
{
"coding": [
{
"code": "99222",
"system": "http://www.ama-assn.org/go/cpt",
"display": "InPatient Admission"
}
]
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/RedoxConditionExampleEncounterDx"
}
}
],
"participant": [
{
"individual": {
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
}
}
],
"location": [
{
"location": {
"reference": "Location/RedoxLocationExampleEncounter"
}
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2022-02-06T04:00:00.000Z",
"end": "2022-02-06T04:15:00.000Z"
},
"length": {
"value": 16,
"code": "m",
"system": "http://unitsofmeasure.org"
},
"reasonCode": [
{
"coding": [
{
"code": "23360407",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
]
},
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter?identifier=zzz123Encounter|urn:redox:encounterId"
},
{
"resource": {
"resourceType": "Patient",
"id": "RedoxPatientExampleTimothy",
"meta": {
"extension": [
{
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
"valueInteger": 1
}
]
},
"extension": [
{
"extension": [
{
"url": "text",
"valueString": "White"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2135-2",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Hispanic"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"value": "0000000001",
"system": "urn:redox:health-one:MR"
},
{
"value": "101-01-0001",
"system": "http://hl7.org/fhir/sid/us-ssn"
}
],
"name": [
{
"given": [
"Timothy",
"Paul"
],
"family": "Bixby",
"use": "official"
},
{
"text": "Billy",
"use": "usual"
}
],
"gender": "male",
"birthDate": "2008-01-06",
"telecom": [
{
"value": "+18088675301",
"system": "phone",
"use": "home"
},
{
"value": "+18008675309",
"system": "phone",
"use": "work"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory Street"
],
"city": "Monroe",
"district": "Greene",
"state": "WI",
"postalCode": "53566",
"country": "US",
"use": "home"
}
],
"maritalStatus": {
"coding": [
{
"code": "M",
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"display": "Married"
}
],
"text": "Married"
},
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47"
}
],
"text": "English"
}
}
],
"contact": [
{
"name": {
"given": [
"Barbara"
],
"family": "Bixby"
},
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": {
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
},
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
],
"generalPractitioner": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"managingOrganization": {
"reference": "Organization/RedoxOrganizationManagingExample"
}
},
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient?identifier=0000000001|urn:redox:MRN"
}
],
"timestamp": "2021-12-17T20:33:22.422Z",
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "$write"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequired$encounter-preadmit
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"resourceType": "Bundle",
"id": "RedoxEncounterPreadmitBundleExample",
"type": "message",
"entry": [
{
"resource": {
"eventUri": "https://fhir.redoxengine.com/EventDefinition/EncounterPreadmit",
"resourceType": "MessageHeader",
"id": "RedoxEncounterCreateMessageHeaderExample",
"source": {
"name": "Good Health Clinics",
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
},
"focus": [
{
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter/RedoxEncounterCreateEncounterExample",
"resource": {
"resourceType": "Encounter",
"id": "RedoxEncounterCreateEncounterExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
"value": "9601346482"
}
],
"status": "planned",
"class": {
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "inpatient encounter"
},
"type": [
{
"coding": [
{
"code": "99222",
"system": "http://www.ama-assn.org/go/cpt",
"display": "InPatient Admission"
}
]
}
],
"account": [
{
"reference": "Account/RedoxEncounterCreateRedoxAccountExample"
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/RedoxConditionExampleEncounterDx"
}
}
],
"reasonReference": [
{
"reference": "Procedure/RedoxProcedureExampleMinimumCompleted"
}
],
"participant": [
{
"individual": {
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
}
}
],
"location": [
{
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"status": "reserved"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2022-02-06T04:00:00.000Z",
"end": "2022-02-06T04:15:00.000Z"
},
"length": {
"value": 16,
"code": "m",
"system": "http://unitsofmeasure.org"
},
"reasonCode": [
{
"coding": [
{
"code": "23360407",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient/RedoxPatientExampleTimothy",
"resource": {
"resourceType": "Patient",
"id": "RedoxPatientExampleTimothy",
"meta": {
"extension": [
{
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
"valueInteger": 1
}
]
},
"extension": [
{
"extension": [
{
"url": "text",
"valueString": "White"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2135-2",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Hispanic"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"value": "0000000001",
"system": "urn:redox:health-one:MR"
},
{
"value": "101-01-0001",
"system": "http://hl7.org/fhir/sid/us-ssn"
}
],
"name": [
{
"given": [
"Timothy",
"Paul"
],
"family": "Bixby",
"use": "official"
},
{
"text": "Billy",
"use": "usual"
}
],
"gender": "male",
"birthDate": "2008-01-06",
"telecom": [
{
"value": "+18088675301",
"system": "phone",
"use": "home"
},
{
"value": "+18008675309",
"system": "phone",
"use": "work"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory Street"
],
"city": "Monroe",
"district": "Greene",
"state": "WI",
"postalCode": "53566",
"country": "US",
"use": "home"
}
],
"maritalStatus": {
"coding": [
{
"code": "M",
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"display": "Married"
}
],
"text": "Married"
},
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47"
}
],
"text": "English"
}
}
],
"contact": [
{
"name": {
"given": [
"Barbara"
],
"family": "Bixby"
},
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": {
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
},
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
],
"generalPractitioner": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"managingOrganization": {
"reference": "Organization/RedoxOrganizationManagingExample"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Account/RedoxEncounterCreateRedoxAccountExample",
"resource": {
"resourceType": "Account",
"id": "RedoxEncounterCreateRedoxAccountExample",
"status": "active",
"type": {
"coding": [
{
"code": "PBILLACCT",
"display": "Patient Billing Account"
}
]
},
"name": "Redox Account Example",
"subject": [
{
"reference": "Patient/RedoxPatientExampleTimothy"
}
],
"coverage": [
{
"coverage": {
"reference": "Coverage/RedoxCoverageExample"
}
}
],
"guarantor": [
{
"party": {
"reference": "RelatedPerson/RedoxRelatedPersonExample"
}
}
],
"identifier": [
{
"value": "acct12345",
"system": "urn:redox:accountNumber"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Coverage/RedoxCoverageExample",
"resource": {
"resourceType": "Coverage",
"id": "RedoxCoverageExample",
"class": [
{
"type": {
"coding": [
{
"code": "group",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "847025-024-0009",
"name": "Accelerator Labs"
},
{
"type": {
"coding": [
{
"code": "plan",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "31572",
"name": "HMO Deductible Plan"
},
{
"type": {
"coding": [
{
"code": "agreement-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Standard"
},
{
"type": {
"coding": [
{
"code": "coverage-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Insurance"
}
],
"identifier": [
{
"system": "urn:redox:example:MBRNUM",
"value": "2234566"
},
{
"system": "urn:redox:example:POLNUM",
"value": "9140860055"
}
],
"type": {
"text": "HMO"
},
"status": "active",
"subscriber": {
"reference": "#RedoxRelatedPersonExample"
},
"beneficiary": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2015-01-01",
"end": "2020-12-31"
},
"payor": [
{
"reference": "#RedoxInsurerOrganizationExample"
}
],
"contained": [
{
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
},
{
"resourceType": "Organization",
"id": "RedoxInsurerOrganizationExample",
"active": true,
"identifier": [
{
"type": {
"text": "PayorID"
},
"value": "60054"
}
],
"telecom": [
{
"system": "phone",
"value": "+18089541123"
}
],
"name": "Aetna",
"address": [
{
"line": [
"PO Box 14080"
],
"city": "Lexington",
"district": "Fayette",
"state": "KY",
"postalCode": "40512-4079",
"country": "USA"
}
]
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/RelatedPerson/RedoxRelatedPersonExample",
"resource": {
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleRoom",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleRoom",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "6592045611"
}
],
"name": "136",
"physicalType": {
"coding": [
{
"code": "ro",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Room"
}
]
},
"partOf": {
"reference": "Location/RedoxLocationExampleDepartment"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleDepartment",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleDepartment",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "3490285621"
}
],
"name": "3N",
"type": [
{
"text": "Inpatient"
}
],
"physicalType": {
"coding": [
{
"code": "wa",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Ward"
}
],
"text": "Department"
},
"partOf": {
"reference": "Location/RedoxLocationExampleFacility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleFacility",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleFacility",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "461904242"
}
],
"name": "RES General Hospital",
"physicalType": {
"coding": [
{
"code": "si",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Site"
}
],
"text": "Facility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Condition/RedoxConditionExampleEncounterDx",
"resource": {
"resourceType": "Condition",
"id": "RedoxConditionExampleEncounterDx",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696871",
"value": "8769522345"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"code": {
"coding": [
{
"code": "233604007",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/AllergyIntolerance/AllergyExample",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "AllergyExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "35892347"
}
],
"clinicalStatus": {
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
],
"text": "Active"
},
"type": "allergy",
"_type": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Propensity to adverse reaction to drug"
}
]
},
"criticality": "low",
"code": {
"coding": [
{
"code": "2670",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"display": "Codeine"
}
],
"text": "Codeine"
},
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"onsetDateTime": "2022-01-03T16:30:00.000Z",
"reaction": [
{
"manifestation": [
{
"coding": [
{
"code": "267036007",
"system": "http://snomed.info/sct",
"display": "Shortness of Breath"
}
]
}
],
"description": "Shortness of Breath",
"severity": "moderate",
"_severity": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Mild to moderate"
}
]
}
}
],
"note": [
{
"text": "Additional information"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Procedure/RedoxProcedureExampleMinimumCompleted",
"resource": {
"resourceType": "Procedure",
"id": "RedoxProcedureExampleMinimumCompleted",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "6891241274"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"performedDateTime": "2022-02-08T19:00:00.000Z",
"performedPeriod": {
"start": "2022-02-08T19:00:00.000Z",
"end": "2022-02-08T20:00:00.000Z"
},
"status": "completed",
"_status": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Finished"
}
]
},
"bodySite": [
{
"coding": [
{
"code": "181608004",
"system": "http://snomed.info/sct",
"display": "Entire chest wall (body structure)"
}
]
}
],
"code": {
"coding": [
{
"code": "168731009",
"system": "http://snomed.info/sct",
"display": "Chest X-Ray"
}
]
},
"category": {
"coding": [
{
"code": "Procedures",
"system": "urn:redox:procedure_act_type",
"display": "Procedures"
}
]
},
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"note": [
{
"authorReference": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"text": "A comment."
}
],
"performer": [
{
"actor": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"function": {
"coding": [
{
"code": "41904004",
"system": "http://snomed.info/sct",
"display": "Medical X-ray technician"
}
]
}
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxSocialHistoryObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxSocialHistoryObservationExample",
"category": [
{
"coding": [
{
"code": "social-history",
"system": "http://terminology.hl7.org/CodeSystem/observation-category"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "3059131578"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterExample"
},
"status": "final",
"code": {
"coding": [
{
"code": "160573003",
"system": "http://snomed.info/sct",
"display": "Alcohol Consumption"
}
]
},
"effectivePeriod": {
"start": "1990-05-01T04:00:00.000Z"
},
"valueString": "None"
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxWeightObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxWeightObservationExample",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
"text": "vital-signs"
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "1438629037"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"status": "final",
"code": {
"coding": [
{
"code": "3141-9",
"system": "http://loinc.org"
}
],
"text": "Patient Body Weight - Measured"
},
"effectiveDateTime": "1999-11-14T00:00:00.000Z",
"valueQuantity": {
"value": 86,
"unit": "kg"
},
"interpretation": [
{
"coding": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
"display": "Normal"
}
]
}
],
"note": [
{
"text": "Body weight measurement performed"
}
],
"performer": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"referenceRange": [
{
"low": {
"value": 80,
"unit": "kg"
},
"high": {
"value": 120,
"unit": "kg"
},
"text": "Body weight range"
}
]
}
}
],
"timestamp": "2021-06-17T20:33:22.422Z",
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "$encounter-preadmit"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequired$encounter-register
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"resourceType": "Bundle",
"id": "RedoxEncounterRegisterBundleExample",
"type": "message",
"entry": [
{
"resource": {
"eventUri": "https://fhir.redoxengine.com/EventDefinition/EncounterRegister",
"resourceType": "MessageHeader",
"id": "RedoxEncounterCreateMessageHeaderExample",
"source": {
"name": "Good Health Clinics",
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
},
"focus": [
{
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter/RedoxEncounterCreateEncounterExample",
"resource": {
"resourceType": "Encounter",
"id": "RedoxEncounterCreateEncounterExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
"value": "9601346482"
}
],
"status": "planned",
"class": {
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "inpatient encounter"
},
"type": [
{
"coding": [
{
"code": "99222",
"system": "http://www.ama-assn.org/go/cpt",
"display": "InPatient Admission"
}
]
}
],
"account": [
{
"reference": "Account/RedoxEncounterCreateRedoxAccountExample"
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/RedoxConditionExampleEncounterDx"
}
}
],
"reasonReference": [
{
"reference": "Procedure/RedoxProcedureExampleMinimumCompleted"
}
],
"participant": [
{
"individual": {
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
}
}
],
"location": [
{
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"status": "reserved"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2022-02-06T04:00:00.000Z",
"end": "2022-02-06T04:15:00.000Z"
},
"length": {
"value": 16,
"code": "m",
"system": "http://unitsofmeasure.org"
},
"reasonCode": [
{
"coding": [
{
"code": "23360407",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient/RedoxPatientExampleTimothy",
"resource": {
"resourceType": "Patient",
"id": "RedoxPatientExampleTimothy",
"meta": {
"extension": [
{
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
"valueInteger": 1
}
]
},
"extension": [
{
"extension": [
{
"url": "text",
"valueString": "White"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2135-2",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Hispanic"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"value": "0000000001",
"system": "urn:redox:health-one:MR"
},
{
"value": "101-01-0001",
"system": "http://hl7.org/fhir/sid/us-ssn"
}
],
"name": [
{
"given": [
"Timothy",
"Paul"
],
"family": "Bixby",
"use": "official"
},
{
"text": "Billy",
"use": "usual"
}
],
"gender": "male",
"birthDate": "2008-01-06",
"telecom": [
{
"value": "+18088675301",
"system": "phone",
"use": "home"
},
{
"value": "+18008675309",
"system": "phone",
"use": "work"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory Street"
],
"city": "Monroe",
"district": "Greene",
"state": "WI",
"postalCode": "53566",
"country": "US",
"use": "home"
}
],
"maritalStatus": {
"coding": [
{
"code": "M",
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"display": "Married"
}
],
"text": "Married"
},
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47"
}
],
"text": "English"
}
}
],
"contact": [
{
"name": {
"given": [
"Barbara"
],
"family": "Bixby"
},
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": {
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
},
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
],
"generalPractitioner": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"managingOrganization": {
"reference": "Organization/RedoxOrganizationManagingExample"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Account/RedoxEncounterCreateRedoxAccountExample",
"resource": {
"resourceType": "Account",
"id": "RedoxEncounterCreateRedoxAccountExample",
"status": "active",
"type": {
"coding": [
{
"code": "PBILLACCT",
"display": "Patient Billing Account"
}
]
},
"name": "Redox Account Example",
"subject": [
{
"reference": "Patient/RedoxPatientExampleTimothy"
}
],
"coverage": [
{
"coverage": {
"reference": "Coverage/RedoxCoverageExample"
}
}
],
"guarantor": [
{
"party": {
"reference": "RelatedPerson/RedoxRelatedPersonExample"
}
}
],
"identifier": [
{
"value": "acct12345",
"system": "urn:redox:accountNumber"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Coverage/RedoxCoverageExample",
"resource": {
"resourceType": "Coverage",
"id": "RedoxCoverageExample",
"class": [
{
"type": {
"coding": [
{
"code": "group",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "847025-024-0009",
"name": "Accelerator Labs"
},
{
"type": {
"coding": [
{
"code": "plan",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "31572",
"name": "HMO Deductible Plan"
},
{
"type": {
"coding": [
{
"code": "agreement-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Standard"
},
{
"type": {
"coding": [
{
"code": "coverage-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Insurance"
}
],
"identifier": [
{
"system": "urn:redox:example:MBRNUM",
"value": "2234566"
},
{
"system": "urn:redox:example:POLNUM",
"value": "9140860055"
}
],
"type": {
"text": "HMO"
},
"status": "active",
"subscriber": {
"reference": "#RedoxRelatedPersonExample"
},
"beneficiary": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2015-01-01",
"end": "2020-12-31"
},
"payor": [
{
"reference": "#RedoxInsurerOrganizationExample"
}
],
"contained": [
{
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
},
{
"resourceType": "Organization",
"id": "RedoxInsurerOrganizationExample",
"active": true,
"identifier": [
{
"type": {
"text": "PayorID"
},
"value": "60054"
}
],
"telecom": [
{
"system": "phone",
"value": "+18089541123"
}
],
"name": "Aetna",
"address": [
{
"line": [
"PO Box 14080"
],
"city": "Lexington",
"district": "Fayette",
"state": "KY",
"postalCode": "40512-4079",
"country": "USA"
}
]
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/RelatedPerson/RedoxRelatedPersonExample",
"resource": {
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleRoom",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleRoom",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "6592045611"
}
],
"name": "136",
"physicalType": {
"coding": [
{
"code": "ro",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Room"
}
]
},
"partOf": {
"reference": "Location/RedoxLocationExampleDepartment"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleDepartment",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleDepartment",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "3490285621"
}
],
"name": "3N",
"type": [
{
"text": "Inpatient"
}
],
"physicalType": {
"coding": [
{
"code": "wa",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Ward"
}
],
"text": "Department"
},
"partOf": {
"reference": "Location/RedoxLocationExampleFacility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleFacility",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleFacility",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "461904242"
}
],
"name": "RES General Hospital",
"physicalType": {
"coding": [
{
"code": "si",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Site"
}
],
"text": "Facility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Condition/RedoxConditionExampleEncounterDx",
"resource": {
"resourceType": "Condition",
"id": "RedoxConditionExampleEncounterDx",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696871",
"value": "8769522345"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"code": {
"coding": [
{
"code": "233604007",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/AllergyIntolerance/AllergyExample",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "AllergyExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "35892347"
}
],
"clinicalStatus": {
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
],
"text": "Active"
},
"type": "allergy",
"_type": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Propensity to adverse reaction to drug"
}
]
},
"criticality": "low",
"code": {
"coding": [
{
"code": "2670",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"display": "Codeine"
}
],
"text": "Codeine"
},
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"onsetDateTime": "2022-01-03T16:30:00.000Z",
"reaction": [
{
"manifestation": [
{
"coding": [
{
"code": "267036007",
"system": "http://snomed.info/sct",
"display": "Shortness of Breath"
}
]
}
],
"description": "Shortness of Breath",
"severity": "moderate",
"_severity": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Mild to moderate"
}
]
}
}
],
"note": [
{
"text": "Additional information"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Procedure/RedoxProcedureExampleMinimumCompleted",
"resource": {
"resourceType": "Procedure",
"id": "RedoxProcedureExampleMinimumCompleted",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "6891241274"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"performedDateTime": "2022-02-08T19:00:00.000Z",
"performedPeriod": {
"start": "2022-02-08T19:00:00.000Z",
"end": "2022-02-08T20:00:00.000Z"
},
"status": "completed",
"_status": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Finished"
}
]
},
"bodySite": [
{
"coding": [
{
"code": "181608004",
"system": "http://snomed.info/sct",
"display": "Entire chest wall (body structure)"
}
]
}
],
"code": {
"coding": [
{
"code": "168731009",
"system": "http://snomed.info/sct",
"display": "Chest X-Ray"
}
]
},
"category": {
"coding": [
{
"code": "Procedures",
"system": "urn:redox:procedure_act_type",
"display": "Procedures"
}
]
},
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"note": [
{
"authorReference": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"text": "A comment."
}
],
"performer": [
{
"actor": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"function": {
"coding": [
{
"code": "41904004",
"system": "http://snomed.info/sct",
"display": "Medical X-ray technician"
}
]
}
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxSocialHistoryObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxSocialHistoryObservationExample",
"category": [
{
"coding": [
{
"code": "social-history",
"system": "http://terminology.hl7.org/CodeSystem/observation-category"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "3059131578"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterExample"
},
"status": "final",
"code": {
"coding": [
{
"code": "160573003",
"system": "http://snomed.info/sct",
"display": "Alcohol Consumption"
}
]
},
"effectivePeriod": {
"start": "1990-05-01T04:00:00.000Z"
},
"valueString": "None"
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxWeightObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxWeightObservationExample",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
"text": "vital-signs"
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "1438629037"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"status": "final",
"code": {
"coding": [
{
"code": "3141-9",
"system": "http://loinc.org"
}
],
"text": "Patient Body Weight - Measured"
},
"effectiveDateTime": "1999-11-14T00:00:00.000Z",
"valueQuantity": {
"value": 86,
"unit": "kg"
},
"interpretation": [
{
"coding": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
"display": "Normal"
}
]
}
],
"note": [
{
"text": "Body weight measurement performed"
}
],
"performer": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"referenceRange": [
{
"low": {
"value": 80,
"unit": "kg"
},
"high": {
"value": 120,
"unit": "kg"
},
"text": "Body weight range"
}
]
}
}
],
"timestamp": "2021-06-17T20:33:22.422Z",
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "$encounter-register"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequired$encounter-arrive
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"resourceType": "Bundle",
"id": "RedoxEncounterArriveBundleExample",
"type": "message",
"entry": [
{
"resource": {
"eventUri": "https://fhir.redoxengine.com/EventDefinition/EncounterArrive",
"resourceType": "MessageHeader",
"id": "RedoxEncounterCreateMessageHeaderExample",
"source": {
"name": "Good Health Clinics",
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
},
"focus": [
{
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter/RedoxEncounterCreateEncounterExample",
"resource": {
"resourceType": "Encounter",
"id": "RedoxEncounterCreateEncounterExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
"value": "9601346482"
}
],
"status": "planned",
"class": {
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "inpatient encounter"
},
"type": [
{
"coding": [
{
"code": "99222",
"system": "http://www.ama-assn.org/go/cpt",
"display": "InPatient Admission"
}
]
}
],
"account": [
{
"reference": "Account/RedoxEncounterCreateRedoxAccountExample"
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/RedoxConditionExampleEncounterDx"
}
}
],
"reasonReference": [
{
"reference": "Procedure/RedoxProcedureExampleMinimumCompleted"
}
],
"participant": [
{
"individual": {
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
}
}
],
"location": [
{
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"status": "reserved"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2022-02-06T04:00:00.000Z",
"end": "2022-02-06T04:15:00.000Z"
},
"length": {
"value": 16,
"code": "m",
"system": "http://unitsofmeasure.org"
},
"reasonCode": [
{
"coding": [
{
"code": "23360407",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient/RedoxPatientExampleTimothy",
"resource": {
"resourceType": "Patient",
"id": "RedoxPatientExampleTimothy",
"meta": {
"extension": [
{
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
"valueInteger": 1
}
]
},
"extension": [
{
"extension": [
{
"url": "text",
"valueString": "White"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2135-2",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Hispanic"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"value": "0000000001",
"system": "urn:redox:health-one:MR"
},
{
"value": "101-01-0001",
"system": "http://hl7.org/fhir/sid/us-ssn"
}
],
"name": [
{
"given": [
"Timothy",
"Paul"
],
"family": "Bixby",
"use": "official"
},
{
"text": "Billy",
"use": "usual"
}
],
"gender": "male",
"birthDate": "2008-01-06",
"telecom": [
{
"value": "+18088675301",
"system": "phone",
"use": "home"
},
{
"value": "+18008675309",
"system": "phone",
"use": "work"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory Street"
],
"city": "Monroe",
"district": "Greene",
"state": "WI",
"postalCode": "53566",
"country": "US",
"use": "home"
}
],
"maritalStatus": {
"coding": [
{
"code": "M",
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"display": "Married"
}
],
"text": "Married"
},
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47"
}
],
"text": "English"
}
}
],
"contact": [
{
"name": {
"given": [
"Barbara"
],
"family": "Bixby"
},
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": {
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
},
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
],
"generalPractitioner": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"managingOrganization": {
"reference": "Organization/RedoxOrganizationManagingExample"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Account/RedoxEncounterCreateRedoxAccountExample",
"resource": {
"resourceType": "Account",
"id": "RedoxEncounterCreateRedoxAccountExample",
"status": "active",
"type": {
"coding": [
{
"code": "PBILLACCT",
"display": "Patient Billing Account"
}
]
},
"name": "Redox Account Example",
"subject": [
{
"reference": "Patient/RedoxPatientExampleTimothy"
}
],
"coverage": [
{
"coverage": {
"reference": "Coverage/RedoxCoverageExample"
}
}
],
"guarantor": [
{
"party": {
"reference": "RelatedPerson/RedoxRelatedPersonExample"
}
}
],
"identifier": [
{
"value": "acct12345",
"system": "urn:redox:accountNumber"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Coverage/RedoxCoverageExample",
"resource": {
"resourceType": "Coverage",
"id": "RedoxCoverageExample",
"class": [
{
"type": {
"coding": [
{
"code": "group",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "847025-024-0009",
"name": "Accelerator Labs"
},
{
"type": {
"coding": [
{
"code": "plan",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "31572",
"name": "HMO Deductible Plan"
},
{
"type": {
"coding": [
{
"code": "agreement-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Standard"
},
{
"type": {
"coding": [
{
"code": "coverage-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Insurance"
}
],
"identifier": [
{
"system": "urn:redox:example:MBRNUM",
"value": "2234566"
},
{
"system": "urn:redox:example:POLNUM",
"value": "9140860055"
}
],
"type": {
"text": "HMO"
},
"status": "active",
"subscriber": {
"reference": "#RedoxRelatedPersonExample"
},
"beneficiary": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2015-01-01",
"end": "2020-12-31"
},
"payor": [
{
"reference": "#RedoxInsurerOrganizationExample"
}
],
"contained": [
{
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
},
{
"resourceType": "Organization",
"id": "RedoxInsurerOrganizationExample",
"active": true,
"identifier": [
{
"type": {
"text": "PayorID"
},
"value": "60054"
}
],
"telecom": [
{
"system": "phone",
"value": "+18089541123"
}
],
"name": "Aetna",
"address": [
{
"line": [
"PO Box 14080"
],
"city": "Lexington",
"district": "Fayette",
"state": "KY",
"postalCode": "40512-4079",
"country": "USA"
}
]
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/RelatedPerson/RedoxRelatedPersonExample",
"resource": {
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleRoom",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleRoom",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "6592045611"
}
],
"name": "136",
"physicalType": {
"coding": [
{
"code": "ro",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Room"
}
]
},
"partOf": {
"reference": "Location/RedoxLocationExampleDepartment"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleDepartment",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleDepartment",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "3490285621"
}
],
"name": "3N",
"type": [
{
"text": "Inpatient"
}
],
"physicalType": {
"coding": [
{
"code": "wa",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Ward"
}
],
"text": "Department"
},
"partOf": {
"reference": "Location/RedoxLocationExampleFacility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleFacility",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleFacility",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "461904242"
}
],
"name": "RES General Hospital",
"physicalType": {
"coding": [
{
"code": "si",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Site"
}
],
"text": "Facility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Condition/RedoxConditionExampleEncounterDx",
"resource": {
"resourceType": "Condition",
"id": "RedoxConditionExampleEncounterDx",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696871",
"value": "8769522345"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"code": {
"coding": [
{
"code": "233604007",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/AllergyIntolerance/AllergyExample",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "AllergyExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "35892347"
}
],
"clinicalStatus": {
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
],
"text": "Active"
},
"type": "allergy",
"_type": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Propensity to adverse reaction to drug"
}
]
},
"criticality": "low",
"code": {
"coding": [
{
"code": "2670",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"display": "Codeine"
}
],
"text": "Codeine"
},
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"onsetDateTime": "2022-01-03T16:30:00.000Z",
"reaction": [
{
"manifestation": [
{
"coding": [
{
"code": "267036007",
"system": "http://snomed.info/sct",
"display": "Shortness of Breath"
}
]
}
],
"description": "Shortness of Breath",
"severity": "moderate",
"_severity": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Mild to moderate"
}
]
}
}
],
"note": [
{
"text": "Additional information"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Procedure/RedoxProcedureExampleMinimumCompleted",
"resource": {
"resourceType": "Procedure",
"id": "RedoxProcedureExampleMinimumCompleted",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "6891241274"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"performedDateTime": "2022-02-08T19:00:00.000Z",
"performedPeriod": {
"start": "2022-02-08T19:00:00.000Z",
"end": "2022-02-08T20:00:00.000Z"
},
"status": "completed",
"_status": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Finished"
}
]
},
"bodySite": [
{
"coding": [
{
"code": "181608004",
"system": "http://snomed.info/sct",
"display": "Entire chest wall (body structure)"
}
]
}
],
"code": {
"coding": [
{
"code": "168731009",
"system": "http://snomed.info/sct",
"display": "Chest X-Ray"
}
]
},
"category": {
"coding": [
{
"code": "Procedures",
"system": "urn:redox:procedure_act_type",
"display": "Procedures"
}
]
},
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"note": [
{
"authorReference": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"text": "A comment."
}
],
"performer": [
{
"actor": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"function": {
"coding": [
{
"code": "41904004",
"system": "http://snomed.info/sct",
"display": "Medical X-ray technician"
}
]
}
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxSocialHistoryObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxSocialHistoryObservationExample",
"category": [
{
"coding": [
{
"code": "social-history",
"system": "http://terminology.hl7.org/CodeSystem/observation-category"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "3059131578"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterExample"
},
"status": "final",
"code": {
"coding": [
{
"code": "160573003",
"system": "http://snomed.info/sct",
"display": "Alcohol Consumption"
}
]
},
"effectivePeriod": {
"start": "1990-05-01T04:00:00.000Z"
},
"valueString": "None"
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxWeightObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxWeightObservationExample",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
"text": "vital-signs"
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "1438629037"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"status": "final",
"code": {
"coding": [
{
"code": "3141-9",
"system": "http://loinc.org"
}
],
"text": "Patient Body Weight - Measured"
},
"effectiveDateTime": "1999-11-14T00:00:00.000Z",
"valueQuantity": {
"value": 86,
"unit": "kg"
},
"interpretation": [
{
"coding": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
"display": "Normal"
}
]
}
],
"note": [
{
"text": "Body weight measurement performed"
}
],
"performer": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"referenceRange": [
{
"low": {
"value": 80,
"unit": "kg"
},
"high": {
"value": 120,
"unit": "kg"
},
"text": "Body weight range"
}
]
}
}
],
"timestamp": "2021-06-17T20:33:22.422Z",
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "$encounter-arrive"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequired$encounter-update
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"resourceType": "Bundle",
"id": "RedoxEncounterUpdateBundleExample",
"type": "message",
"entry": [
{
"resource": {
"eventUri": "https://fhir.redoxengine.com/EventDefinition/EncounterUpdate",
"resourceType": "MessageHeader",
"id": "RedoxEncounterUpdateMessageHeaderExample",
"source": {
"name": "Good Health Clinics",
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
},
"focus": [
{
"reference": "Encounter/RedoxEncounterUpdateEncounterExample"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter/RedoxEncounterUpdateEncounterExample",
"resource": {
"resourceType": "Encounter",
"id": "RedoxEncounterUpdateEncounterExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
"value": "9601346482"
}
],
"status": "in-progress",
"class": {
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "inpatient encounter"
},
"type": [
{
"coding": [
{
"code": "99222",
"system": "http://www.ama-assn.org/go/cpt",
"display": "InPatient Admission"
}
]
}
],
"account": [
{
"reference": "Account/RedoxEncounterCreateRedoxAccountExample"
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/RedoxConditionExampleEncounterDx"
}
}
],
"reasonReference": [
{
"reference": "Procedure/RedoxProcedureExampleMinimumCompleted"
}
],
"participant": [
{
"individual": {
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
}
}
],
"location": [
{
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"status": "reserved"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2022-02-06T04:00:00.000Z",
"end": "2022-02-06T04:15:00.000Z"
},
"length": {
"value": 16,
"code": "m",
"system": "http://unitsofmeasure.org"
},
"reasonCode": [
{
"coding": [
{
"code": "23360407",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient/RedoxPatientExampleTimothy",
"resource": {
"resourceType": "Patient",
"id": "RedoxPatientExampleTimothy",
"meta": {
"extension": [
{
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
"valueInteger": 1
}
]
},
"extension": [
{
"extension": [
{
"url": "text",
"valueString": "White"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2135-2",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Hispanic"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"value": "0000000001",
"system": "urn:redox:health-one:MR"
},
{
"value": "101-01-0001",
"system": "http://hl7.org/fhir/sid/us-ssn"
}
],
"name": [
{
"given": [
"Timothy",
"Paul"
],
"family": "Bixby",
"use": "official"
},
{
"text": "Billy",
"use": "usual"
}
],
"gender": "male",
"birthDate": "2008-01-06",
"telecom": [
{
"value": "+18088675301",
"system": "phone",
"use": "home"
},
{
"value": "+18008675309",
"system": "phone",
"use": "work"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory Street"
],
"city": "Monroe",
"district": "Greene",
"state": "WI",
"postalCode": "53566",
"country": "US",
"use": "home"
}
],
"maritalStatus": {
"coding": [
{
"code": "M",
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"display": "Married"
}
],
"text": "Married"
},
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47"
}
],
"text": "English"
}
}
],
"contact": [
{
"name": {
"given": [
"Barbara"
],
"family": "Bixby"
},
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": {
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
},
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
],
"generalPractitioner": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"managingOrganization": {
"reference": "Organization/RedoxOrganizationManagingExample"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Account/RedoxEncounterUpdateRedoxAccountExample",
"resource": {
"resourceType": "Account",
"id": "RedoxEncounterUpdateRedoxAccountExample",
"status": "active",
"type": {
"coding": [
{
"code": "PBILLACCT",
"display": "Patient Billing Account"
}
]
},
"name": "Redox Account Example",
"subject": [
{
"reference": "Patient/RedoxPatientExampleTimothy"
}
],
"coverage": [
{
"coverage": {
"reference": "Coverage/RedoxCoverageExample"
}
}
],
"guarantor": [
{
"party": {
"reference": "RelatedPerson/RedoxRelatedPersonExample"
}
}
],
"identifier": [
{
"value": "acct12345",
"system": "urn:redox:accountNumber"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Coverage/RedoxCoverageExample",
"resource": {
"resourceType": "Coverage",
"id": "RedoxCoverageExample",
"class": [
{
"type": {
"coding": [
{
"code": "group",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "847025-024-0009",
"name": "Accelerator Labs"
},
{
"type": {
"coding": [
{
"code": "plan",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "31572",
"name": "HMO Deductible Plan"
},
{
"type": {
"coding": [
{
"code": "agreement-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Standard"
},
{
"type": {
"coding": [
{
"code": "coverage-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Insurance"
}
],
"identifier": [
{
"system": "urn:redox:example:MBRNUM",
"value": "2234566"
},
{
"system": "urn:redox:example:POLNUM",
"value": "9140860055"
}
],
"type": {
"text": "HMO"
},
"status": "active",
"subscriber": {
"reference": "#RedoxRelatedPersonExample"
},
"beneficiary": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2015-01-01",
"end": "2020-12-31"
},
"payor": [
{
"reference": "#RedoxInsurerOrganizationExample"
}
],
"contained": [
{
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
},
{
"resourceType": "Organization",
"id": "RedoxInsurerOrganizationExample",
"active": true,
"identifier": [
{
"type": {
"text": "PayorID"
},
"value": "60054"
}
],
"telecom": [
{
"system": "phone",
"value": "+18089541123"
}
],
"name": "Aetna",
"address": [
{
"line": [
"PO Box 14080"
],
"city": "Lexington",
"district": "Fayette",
"state": "KY",
"postalCode": "40512-4079",
"country": "USA"
}
]
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/RelatedPerson/RedoxRelatedPersonExample",
"resource": {
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleRoom",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleRoom",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "6592045611"
}
],
"name": "136",
"physicalType": {
"coding": [
{
"code": "ro",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Room"
}
]
},
"partOf": {
"reference": "Location/RedoxLocationExampleDepartment"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleDepartment",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleDepartment",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "3490285621"
}
],
"name": "3N",
"type": [
{
"text": "Inpatient"
}
],
"physicalType": {
"coding": [
{
"code": "wa",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Ward"
}
],
"text": "Department"
},
"partOf": {
"reference": "Location/RedoxLocationExampleFacility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleFacility",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleFacility",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "461904242"
}
],
"name": "RES General Hospital",
"physicalType": {
"coding": [
{
"code": "si",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Site"
}
],
"text": "Facility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Condition/RedoxConditionExampleEncounterDx",
"resource": {
"resourceType": "Condition",
"id": "RedoxConditionExampleEncounterDx",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696871",
"value": "8769522345"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterUpdateEncounterExample"
},
"code": {
"coding": [
{
"code": "233604007",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/AllergyIntolerance/AllergyExample",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "AllergyExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "35892347"
}
],
"clinicalStatus": {
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
],
"text": "Active"
},
"type": "allergy",
"_type": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Propensity to adverse reaction to drug"
}
]
},
"criticality": "low",
"code": {
"coding": [
{
"code": "2670",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"display": "Codeine"
}
],
"text": "Codeine"
},
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterUpdateEncounterExample"
},
"onsetDateTime": "2022-01-03T16:30:00.000Z",
"reaction": [
{
"manifestation": [
{
"coding": [
{
"code": "267036007",
"system": "http://snomed.info/sct",
"display": "Shortness of Breath"
}
]
}
],
"description": "Shortness of Breath",
"severity": "moderate",
"_severity": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Mild to moderate"
}
]
}
}
],
"note": [
{
"text": "Additional information"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Procedure/RedoxProcedureExampleMinimumCompleted",
"resource": {
"resourceType": "Procedure",
"id": "RedoxProcedureExampleMinimumCompleted",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "6891241274"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterUpdateEncounterExample"
},
"performedDateTime": "2022-02-08T19:00:00.000Z",
"performedPeriod": {
"start": "2022-02-08T19:00:00.000Z",
"end": "2022-02-08T20:00:00.000Z"
},
"status": "completed",
"_status": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Finished"
}
]
},
"bodySite": [
{
"coding": [
{
"code": "181608004",
"system": "http://snomed.info/sct",
"display": "Entire chest wall (body structure)"
}
]
}
],
"code": {
"coding": [
{
"code": "168731009",
"system": "http://snomed.info/sct",
"display": "Chest X-Ray"
}
]
},
"category": {
"coding": [
{
"code": "Procedures",
"system": "urn:redox:procedure_act_type",
"display": "Procedures"
}
]
},
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"note": [
{
"authorReference": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"text": "A comment."
}
],
"performer": [
{
"actor": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"function": {
"coding": [
{
"code": "41904004",
"system": "http://snomed.info/sct",
"display": "Medical X-ray technician"
}
]
}
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxSocialHistoryObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxSocialHistoryObservationExample",
"category": [
{
"coding": [
{
"code": "social-history",
"system": "http://terminology.hl7.org/CodeSystem/observation-category"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "3059131578"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterExample"
},
"status": "final",
"code": {
"coding": [
{
"code": "160573003",
"system": "http://snomed.info/sct",
"display": "Alcohol Consumption"
}
]
},
"effectivePeriod": {
"start": "1990-05-01T04:00:00.000Z"
},
"valueString": "None"
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxWeightObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxWeightObservationExample",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
"text": "vital-signs"
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "1438629037"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"status": "final",
"code": {
"coding": [
{
"code": "3141-9",
"system": "http://loinc.org"
}
],
"text": "Patient Body Weight - Measured"
},
"effectiveDateTime": "1999-11-14T00:00:00.000Z",
"valueQuantity": {
"value": 86,
"unit": "kg"
},
"interpretation": [
{
"coding": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
"display": "Normal"
}
]
}
],
"note": [
{
"text": "Body weight measurement performed"
}
],
"performer": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"referenceRange": [
{
"low": {
"value": 80,
"unit": "kg"
},
"high": {
"value": 120,
"unit": "kg"
},
"text": "Body weight range"
}
]
}
}
],
"timestamp": "2021-06-18T20:33:22.422Z",
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "$encounter-update"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequired$encounter-transfer
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"resourceType": "Bundle",
"id": "RedoxEncounterTransferBundleExample",
"type": "message",
"entry": [
{
"resource": {
"eventUri": "https://fhir.redoxengine.com/EventDefinition/EncounterTransfer",
"resourceType": "MessageHeader",
"id": "RedoxEncounterCreateMessageHeaderExample",
"source": {
"name": "Good Health Clinics",
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
},
"focus": [
{
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter/RedoxEncounterCreateEncounterExample",
"resource": {
"resourceType": "Encounter",
"id": "RedoxEncounterCreateEncounterExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
"value": "9601346482"
}
],
"status": "planned",
"class": {
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "inpatient encounter"
},
"type": [
{
"coding": [
{
"code": "99222",
"system": "http://www.ama-assn.org/go/cpt",
"display": "InPatient Admission"
}
]
}
],
"account": [
{
"reference": "Account/RedoxEncounterCreateRedoxAccountExample"
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/RedoxConditionExampleEncounterDx"
}
}
],
"reasonReference": [
{
"reference": "Procedure/RedoxProcedureExampleMinimumCompleted"
}
],
"participant": [
{
"individual": {
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
}
}
],
"location": [
{
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"status": "reserved"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2022-02-06T04:00:00.000Z",
"end": "2022-02-06T04:15:00.000Z"
},
"length": {
"value": 16,
"code": "m",
"system": "http://unitsofmeasure.org"
},
"reasonCode": [
{
"coding": [
{
"code": "23360407",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient/RedoxPatientExampleTimothy",
"resource": {
"resourceType": "Patient",
"id": "RedoxPatientExampleTimothy",
"meta": {
"extension": [
{
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
"valueInteger": 1
}
]
},
"extension": [
{
"extension": [
{
"url": "text",
"valueString": "White"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2135-2",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Hispanic"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"value": "0000000001",
"system": "urn:redox:health-one:MR"
},
{
"value": "101-01-0001",
"system": "http://hl7.org/fhir/sid/us-ssn"
}
],
"name": [
{
"given": [
"Timothy",
"Paul"
],
"family": "Bixby",
"use": "official"
},
{
"text": "Billy",
"use": "usual"
}
],
"gender": "male",
"birthDate": "2008-01-06",
"telecom": [
{
"value": "+18088675301",
"system": "phone",
"use": "home"
},
{
"value": "+18008675309",
"system": "phone",
"use": "work"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory Street"
],
"city": "Monroe",
"district": "Greene",
"state": "WI",
"postalCode": "53566",
"country": "US",
"use": "home"
}
],
"maritalStatus": {
"coding": [
{
"code": "M",
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"display": "Married"
}
],
"text": "Married"
},
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47"
}
],
"text": "English"
}
}
],
"contact": [
{
"name": {
"given": [
"Barbara"
],
"family": "Bixby"
},
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": {
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
},
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
],
"generalPractitioner": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"managingOrganization": {
"reference": "Organization/RedoxOrganizationManagingExample"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Account/RedoxEncounterCreateRedoxAccountExample",
"resource": {
"resourceType": "Account",
"id": "RedoxEncounterCreateRedoxAccountExample",
"status": "active",
"type": {
"coding": [
{
"code": "PBILLACCT",
"display": "Patient Billing Account"
}
]
},
"name": "Redox Account Example",
"subject": [
{
"reference": "Patient/RedoxPatientExampleTimothy"
}
],
"coverage": [
{
"coverage": {
"reference": "Coverage/RedoxCoverageExample"
}
}
],
"guarantor": [
{
"party": {
"reference": "RelatedPerson/RedoxRelatedPersonExample"
}
}
],
"identifier": [
{
"value": "acct12345",
"system": "urn:redox:accountNumber"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Coverage/RedoxCoverageExample",
"resource": {
"resourceType": "Coverage",
"id": "RedoxCoverageExample",
"class": [
{
"type": {
"coding": [
{
"code": "group",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "847025-024-0009",
"name": "Accelerator Labs"
},
{
"type": {
"coding": [
{
"code": "plan",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "31572",
"name": "HMO Deductible Plan"
},
{
"type": {
"coding": [
{
"code": "agreement-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Standard"
},
{
"type": {
"coding": [
{
"code": "coverage-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Insurance"
}
],
"identifier": [
{
"system": "urn:redox:example:MBRNUM",
"value": "2234566"
},
{
"system": "urn:redox:example:POLNUM",
"value": "9140860055"
}
],
"type": {
"text": "HMO"
},
"status": "active",
"subscriber": {
"reference": "#RedoxRelatedPersonExample"
},
"beneficiary": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2015-01-01",
"end": "2020-12-31"
},
"payor": [
{
"reference": "#RedoxInsurerOrganizationExample"
}
],
"contained": [
{
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
},
{
"resourceType": "Organization",
"id": "RedoxInsurerOrganizationExample",
"active": true,
"identifier": [
{
"type": {
"text": "PayorID"
},
"value": "60054"
}
],
"telecom": [
{
"system": "phone",
"value": "+18089541123"
}
],
"name": "Aetna",
"address": [
{
"line": [
"PO Box 14080"
],
"city": "Lexington",
"district": "Fayette",
"state": "KY",
"postalCode": "40512-4079",
"country": "USA"
}
]
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/RelatedPerson/RedoxRelatedPersonExample",
"resource": {
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleRoom",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleRoom",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "6592045611"
}
],
"name": "136",
"physicalType": {
"coding": [
{
"code": "ro",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Room"
}
]
},
"partOf": {
"reference": "Location/RedoxLocationExampleDepartment"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleDepartment",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleDepartment",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "3490285621"
}
],
"name": "3N",
"type": [
{
"text": "Inpatient"
}
],
"physicalType": {
"coding": [
{
"code": "wa",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Ward"
}
],
"text": "Department"
},
"partOf": {
"reference": "Location/RedoxLocationExampleFacility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleFacility",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleFacility",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "461904242"
}
],
"name": "RES General Hospital",
"physicalType": {
"coding": [
{
"code": "si",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Site"
}
],
"text": "Facility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Condition/RedoxConditionExampleEncounterDx",
"resource": {
"resourceType": "Condition",
"id": "RedoxConditionExampleEncounterDx",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696871",
"value": "8769522345"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"code": {
"coding": [
{
"code": "233604007",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/AllergyIntolerance/AllergyExample",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "AllergyExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "35892347"
}
],
"clinicalStatus": {
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
],
"text": "Active"
},
"type": "allergy",
"_type": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Propensity to adverse reaction to drug"
}
]
},
"criticality": "low",
"code": {
"coding": [
{
"code": "2670",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"display": "Codeine"
}
],
"text": "Codeine"
},
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"onsetDateTime": "2022-01-03T16:30:00.000Z",
"reaction": [
{
"manifestation": [
{
"coding": [
{
"code": "267036007",
"system": "http://snomed.info/sct",
"display": "Shortness of Breath"
}
]
}
],
"description": "Shortness of Breath",
"severity": "moderate",
"_severity": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Mild to moderate"
}
]
}
}
],
"note": [
{
"text": "Additional information"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Procedure/RedoxProcedureExampleMinimumCompleted",
"resource": {
"resourceType": "Procedure",
"id": "RedoxProcedureExampleMinimumCompleted",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "6891241274"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"performedDateTime": "2022-02-08T19:00:00.000Z",
"performedPeriod": {
"start": "2022-02-08T19:00:00.000Z",
"end": "2022-02-08T20:00:00.000Z"
},
"status": "completed",
"_status": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Finished"
}
]
},
"bodySite": [
{
"coding": [
{
"code": "181608004",
"system": "http://snomed.info/sct",
"display": "Entire chest wall (body structure)"
}
]
}
],
"code": {
"coding": [
{
"code": "168731009",
"system": "http://snomed.info/sct",
"display": "Chest X-Ray"
}
]
},
"category": {
"coding": [
{
"code": "Procedures",
"system": "urn:redox:procedure_act_type",
"display": "Procedures"
}
]
},
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"note": [
{
"authorReference": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"text": "A comment."
}
],
"performer": [
{
"actor": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"function": {
"coding": [
{
"code": "41904004",
"system": "http://snomed.info/sct",
"display": "Medical X-ray technician"
}
]
}
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxSocialHistoryObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxSocialHistoryObservationExample",
"category": [
{
"coding": [
{
"code": "social-history",
"system": "http://terminology.hl7.org/CodeSystem/observation-category"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "3059131578"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterExample"
},
"status": "final",
"code": {
"coding": [
{
"code": "160573003",
"system": "http://snomed.info/sct",
"display": "Alcohol Consumption"
}
]
},
"effectivePeriod": {
"start": "1990-05-01T04:00:00.000Z"
},
"valueString": "None"
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxWeightObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxWeightObservationExample",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
"text": "vital-signs"
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "1438629037"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"status": "final",
"code": {
"coding": [
{
"code": "3141-9",
"system": "http://loinc.org"
}
],
"text": "Patient Body Weight - Measured"
},
"effectiveDateTime": "1999-11-14T00:00:00.000Z",
"valueQuantity": {
"value": 86,
"unit": "kg"
},
"interpretation": [
{
"coding": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
"display": "Normal"
}
]
}
],
"note": [
{
"text": "Body weight measurement performed"
}
],
"performer": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"referenceRange": [
{
"low": {
"value": 80,
"unit": "kg"
},
"high": {
"value": 120,
"unit": "kg"
},
"text": "Body weight range"
}
]
}
}
],
"timestamp": "2021-06-17T20:33:22.422Z",
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "$encounter-transfer"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequired$encounter-discharge
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"resourceType": "Bundle",
"id": "RedoxEncounterDischargeBundleExample",
"type": "message",
"entry": [
{
"resource": {
"eventUri": "https://fhir.redoxengine.com/EventDefinition/EncounterDischarge",
"resourceType": "MessageHeader",
"id": "RedoxEncounterDischargeMessageHeaderExample",
"source": {
"name": "Good Health Clinics",
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
},
"focus": [
{
"reference": "Encounter/RedoxEncounterDischargeEncounterExample"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter/RedoxEncounterDischargeEncounterExample",
"resource": {
"resourceType": "Encounter",
"id": "RedoxEncounterDischargeEncounterExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
"value": "9601346482"
}
],
"status": "finished",
"class": {
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "inpatient encounter"
},
"type": [
{
"coding": [
{
"code": "99222",
"system": "http://www.ama-assn.org/go/cpt",
"display": "InPatient Admission"
}
]
}
],
"account": [
{
"reference": "Account/RedoxEncounterCreateRedoxAccountExample"
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/RedoxConditionExampleEncounterDx"
}
}
],
"reasonReference": [
{
"reference": "Procedure/RedoxProcedureExampleMinimumCompleted"
}
],
"participant": [
{
"individual": {
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
}
}
],
"location": [
{
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"status": "reserved"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2022-02-06T04:00:00.000Z",
"end": "2022-02-06T04:15:00.000Z"
},
"length": {
"value": 16,
"code": "m",
"system": "http://unitsofmeasure.org"
},
"reasonCode": [
{
"coding": [
{
"code": "23360407",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient/RedoxPatientExampleTimothy",
"resource": {
"resourceType": "Patient",
"id": "RedoxPatientExampleTimothy",
"meta": {
"extension": [
{
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
"valueInteger": 1
}
]
},
"extension": [
{
"extension": [
{
"url": "text",
"valueString": "White"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2135-2",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Hispanic"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"value": "0000000001",
"system": "urn:redox:health-one:MR"
},
{
"value": "101-01-0001",
"system": "http://hl7.org/fhir/sid/us-ssn"
}
],
"name": [
{
"given": [
"Timothy",
"Paul"
],
"family": "Bixby",
"use": "official"
},
{
"text": "Billy",
"use": "usual"
}
],
"gender": "male",
"birthDate": "2008-01-06",
"telecom": [
{
"value": "+18088675301",
"system": "phone",
"use": "home"
},
{
"value": "+18008675309",
"system": "phone",
"use": "work"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory Street"
],
"city": "Monroe",
"district": "Greene",
"state": "WI",
"postalCode": "53566",
"country": "US",
"use": "home"
}
],
"maritalStatus": {
"coding": [
{
"code": "M",
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"display": "Married"
}
],
"text": "Married"
},
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47"
}
],
"text": "English"
}
}
],
"contact": [
{
"name": {
"given": [
"Barbara"
],
"family": "Bixby"
},
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": {
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
},
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
],
"generalPractitioner": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"managingOrganization": {
"reference": "Organization/RedoxOrganizationManagingExample"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Account/RedoxEncounterDischargeRedoxAccountExample",
"resource": {
"resourceType": "Account",
"id": "RedoxEncounterDischargeRedoxAccountExample",
"status": "active",
"type": {
"coding": [
{
"code": "PBILLACCT",
"display": "Patient Billing Account"
}
]
},
"name": "Redox Account Example",
"subject": [
{
"reference": "Patient/RedoxPatientExampleTimothy"
}
],
"coverage": [
{
"coverage": {
"reference": "Coverage/RedoxCoverageExample"
}
}
],
"guarantor": [
{
"party": {
"reference": "RelatedPerson/RedoxRelatedPersonExample"
}
}
],
"identifier": [
{
"value": "acct12345",
"system": "urn:redox:accountNumber"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Coverage/RedoxCoverageExample",
"resource": {
"resourceType": "Coverage",
"id": "RedoxCoverageExample",
"class": [
{
"type": {
"coding": [
{
"code": "group",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "847025-024-0009",
"name": "Accelerator Labs"
},
{
"type": {
"coding": [
{
"code": "plan",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "31572",
"name": "HMO Deductible Plan"
},
{
"type": {
"coding": [
{
"code": "agreement-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Standard"
},
{
"type": {
"coding": [
{
"code": "coverage-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Insurance"
}
],
"identifier": [
{
"system": "urn:redox:example:MBRNUM",
"value": "2234566"
},
{
"system": "urn:redox:example:POLNUM",
"value": "9140860055"
}
],
"type": {
"text": "HMO"
},
"status": "active",
"subscriber": {
"reference": "#RedoxRelatedPersonExample"
},
"beneficiary": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2015-01-01",
"end": "2020-12-31"
},
"payor": [
{
"reference": "#RedoxInsurerOrganizationExample"
}
],
"contained": [
{
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
},
{
"resourceType": "Organization",
"id": "RedoxInsurerOrganizationExample",
"active": true,
"identifier": [
{
"type": {
"text": "PayorID"
},
"value": "60054"
}
],
"telecom": [
{
"system": "phone",
"value": "+18089541123"
}
],
"name": "Aetna",
"address": [
{
"line": [
"PO Box 14080"
],
"city": "Lexington",
"district": "Fayette",
"state": "KY",
"postalCode": "40512-4079",
"country": "USA"
}
]
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/RelatedPerson/RedoxRelatedPersonExample",
"resource": {
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleRoom",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleRoom",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "6592045611"
}
],
"name": "136",
"physicalType": {
"coding": [
{
"code": "ro",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Room"
}
]
},
"partOf": {
"reference": "Location/RedoxLocationExampleDepartment"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleDepartment",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleDepartment",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "3490285621"
}
],
"name": "3N",
"type": [
{
"text": "Inpatient"
}
],
"physicalType": {
"coding": [
{
"code": "wa",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Ward"
}
],
"text": "Department"
},
"partOf": {
"reference": "Location/RedoxLocationExampleFacility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleFacility",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleFacility",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "461904242"
}
],
"name": "RES General Hospital",
"physicalType": {
"coding": [
{
"code": "si",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Site"
}
],
"text": "Facility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Condition/RedoxConditionExampleEncounterDx",
"resource": {
"resourceType": "Condition",
"id": "RedoxConditionExampleEncounterDx",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696871",
"value": "8769522345"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterDischargeEncounterExample"
},
"code": {
"coding": [
{
"code": "233604007",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/AllergyIntolerance/AllergyExample",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "AllergyExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "35892347"
}
],
"clinicalStatus": {
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
],
"text": "Active"
},
"type": "allergy",
"_type": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Propensity to adverse reaction to drug"
}
]
},
"criticality": "low",
"code": {
"coding": [
{
"code": "2670",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"display": "Codeine"
}
],
"text": "Codeine"
},
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterDischargeEncounterExample"
},
"onsetDateTime": "2022-01-03T16:30:00.000Z",
"reaction": [
{
"manifestation": [
{
"coding": [
{
"code": "267036007",
"system": "http://snomed.info/sct",
"display": "Shortness of Breath"
}
]
}
],
"description": "Shortness of Breath",
"severity": "moderate",
"_severity": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Mild to moderate"
}
]
}
}
],
"note": [
{
"text": "Additional information"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Procedure/RedoxProcedureExampleMinimumCompleted",
"resource": {
"resourceType": "Procedure",
"id": "RedoxProcedureExampleMinimumCompleted",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "6891241274"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterDischargeEncounterExample"
},
"performedDateTime": "2022-02-08T19:00:00.000Z",
"performedPeriod": {
"start": "2022-02-08T19:00:00.000Z",
"end": "2022-02-08T20:00:00.000Z"
},
"status": "completed",
"_status": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Finished"
}
]
},
"bodySite": [
{
"coding": [
{
"code": "181608004",
"system": "http://snomed.info/sct",
"display": "Entire chest wall (body structure)"
}
]
}
],
"code": {
"coding": [
{
"code": "168731009",
"system": "http://snomed.info/sct",
"display": "Chest X-Ray"
}
]
},
"category": {
"coding": [
{
"code": "Procedures",
"system": "urn:redox:procedure_act_type",
"display": "Procedures"
}
]
},
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"note": [
{
"authorReference": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"text": "A comment."
}
],
"performer": [
{
"actor": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"function": {
"coding": [
{
"code": "41904004",
"system": "http://snomed.info/sct",
"display": "Medical X-ray technician"
}
]
}
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxSocialHistoryObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxSocialHistoryObservationExample",
"category": [
{
"coding": [
{
"code": "social-history",
"system": "http://terminology.hl7.org/CodeSystem/observation-category"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "3059131578"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterExample"
},
"status": "final",
"code": {
"coding": [
{
"code": "160573003",
"system": "http://snomed.info/sct",
"display": "Alcohol Consumption"
}
]
},
"effectivePeriod": {
"start": "1990-05-01T04:00:00.000Z"
},
"valueString": "None"
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxWeightObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxWeightObservationExample",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
"text": "vital-signs"
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "1438629037"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"status": "final",
"code": {
"coding": [
{
"code": "3141-9",
"system": "http://loinc.org"
}
],
"text": "Patient Body Weight - Measured"
},
"effectiveDateTime": "1999-11-14T00:00:00.000Z",
"valueQuantity": {
"value": 86,
"unit": "kg"
},
"interpretation": [
{
"coding": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
"display": "Normal"
}
]
}
],
"note": [
{
"text": "Body weight measurement performed"
}
],
"performer": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"referenceRange": [
{
"low": {
"value": 80,
"unit": "kg"
},
"high": {
"value": 120,
"unit": "kg"
},
"text": "Body weight range"
}
]
}
}
],
"timestamp": "2021-06-18T20:33:22.422Z",
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "$encounter-discharge"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequired$encounter-cancel-preadmit
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"resourceType": "Bundle",
"id": "RedoxEncounterCancelPreadmitBundleExample",
"type": "message",
"entry": [
{
"resource": {
"eventUri": "https://fhir.redoxengine.com/EventDefinition/EncounterCancelPreadmit",
"resourceType": "MessageHeader",
"id": "RedoxEncounterCreateMessageHeaderExample",
"source": {
"name": "Good Health Clinics",
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
},
"focus": [
{
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter/RedoxEncounterCreateEncounterExample",
"resource": {
"resourceType": "Encounter",
"id": "RedoxEncounterCreateEncounterExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
"value": "9601346482"
}
],
"status": "planned",
"class": {
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "inpatient encounter"
},
"type": [
{
"coding": [
{
"code": "99222",
"system": "http://www.ama-assn.org/go/cpt",
"display": "InPatient Admission"
}
]
}
],
"account": [
{
"reference": "Account/RedoxEncounterCreateRedoxAccountExample"
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/RedoxConditionExampleEncounterDx"
}
}
],
"reasonReference": [
{
"reference": "Procedure/RedoxProcedureExampleMinimumCompleted"
}
],
"participant": [
{
"individual": {
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
}
}
],
"location": [
{
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"status": "reserved"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2022-02-06T04:00:00.000Z",
"end": "2022-02-06T04:15:00.000Z"
},
"length": {
"value": 16,
"code": "m",
"system": "http://unitsofmeasure.org"
},
"reasonCode": [
{
"coding": [
{
"code": "23360407",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient/RedoxPatientExampleTimothy",
"resource": {
"resourceType": "Patient",
"id": "RedoxPatientExampleTimothy",
"meta": {
"extension": [
{
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
"valueInteger": 1
}
]
},
"extension": [
{
"extension": [
{
"url": "text",
"valueString": "White"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2135-2",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Hispanic"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"value": "0000000001",
"system": "urn:redox:health-one:MR"
},
{
"value": "101-01-0001",
"system": "http://hl7.org/fhir/sid/us-ssn"
}
],
"name": [
{
"given": [
"Timothy",
"Paul"
],
"family": "Bixby",
"use": "official"
},
{
"text": "Billy",
"use": "usual"
}
],
"gender": "male",
"birthDate": "2008-01-06",
"telecom": [
{
"value": "+18088675301",
"system": "phone",
"use": "home"
},
{
"value": "+18008675309",
"system": "phone",
"use": "work"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory Street"
],
"city": "Monroe",
"district": "Greene",
"state": "WI",
"postalCode": "53566",
"country": "US",
"use": "home"
}
],
"maritalStatus": {
"coding": [
{
"code": "M",
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"display": "Married"
}
],
"text": "Married"
},
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47"
}
],
"text": "English"
}
}
],
"contact": [
{
"name": {
"given": [
"Barbara"
],
"family": "Bixby"
},
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": {
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
},
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
],
"generalPractitioner": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"managingOrganization": {
"reference": "Organization/RedoxOrganizationManagingExample"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Account/RedoxEncounterCreateRedoxAccountExample",
"resource": {
"resourceType": "Account",
"id": "RedoxEncounterCreateRedoxAccountExample",
"status": "active",
"type": {
"coding": [
{
"code": "PBILLACCT",
"display": "Patient Billing Account"
}
]
},
"name": "Redox Account Example",
"subject": [
{
"reference": "Patient/RedoxPatientExampleTimothy"
}
],
"coverage": [
{
"coverage": {
"reference": "Coverage/RedoxCoverageExample"
}
}
],
"guarantor": [
{
"party": {
"reference": "RelatedPerson/RedoxRelatedPersonExample"
}
}
],
"identifier": [
{
"value": "acct12345",
"system": "urn:redox:accountNumber"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Coverage/RedoxCoverageExample",
"resource": {
"resourceType": "Coverage",
"id": "RedoxCoverageExample",
"class": [
{
"type": {
"coding": [
{
"code": "group",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "847025-024-0009",
"name": "Accelerator Labs"
},
{
"type": {
"coding": [
{
"code": "plan",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "31572",
"name": "HMO Deductible Plan"
},
{
"type": {
"coding": [
{
"code": "agreement-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Standard"
},
{
"type": {
"coding": [
{
"code": "coverage-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Insurance"
}
],
"identifier": [
{
"system": "urn:redox:example:MBRNUM",
"value": "2234566"
},
{
"system": "urn:redox:example:POLNUM",
"value": "9140860055"
}
],
"type": {
"text": "HMO"
},
"status": "active",
"subscriber": {
"reference": "#RedoxRelatedPersonExample"
},
"beneficiary": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2015-01-01",
"end": "2020-12-31"
},
"payor": [
{
"reference": "#RedoxInsurerOrganizationExample"
}
],
"contained": [
{
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
},
{
"resourceType": "Organization",
"id": "RedoxInsurerOrganizationExample",
"active": true,
"identifier": [
{
"type": {
"text": "PayorID"
},
"value": "60054"
}
],
"telecom": [
{
"system": "phone",
"value": "+18089541123"
}
],
"name": "Aetna",
"address": [
{
"line": [
"PO Box 14080"
],
"city": "Lexington",
"district": "Fayette",
"state": "KY",
"postalCode": "40512-4079",
"country": "USA"
}
]
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/RelatedPerson/RedoxRelatedPersonExample",
"resource": {
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleRoom",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleRoom",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "6592045611"
}
],
"name": "136",
"physicalType": {
"coding": [
{
"code": "ro",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Room"
}
]
},
"partOf": {
"reference": "Location/RedoxLocationExampleDepartment"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleDepartment",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleDepartment",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "3490285621"
}
],
"name": "3N",
"type": [
{
"text": "Inpatient"
}
],
"physicalType": {
"coding": [
{
"code": "wa",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Ward"
}
],
"text": "Department"
},
"partOf": {
"reference": "Location/RedoxLocationExampleFacility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleFacility",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleFacility",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "461904242"
}
],
"name": "RES General Hospital",
"physicalType": {
"coding": [
{
"code": "si",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Site"
}
],
"text": "Facility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Condition/RedoxConditionExampleEncounterDx",
"resource": {
"resourceType": "Condition",
"id": "RedoxConditionExampleEncounterDx",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696871",
"value": "8769522345"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"code": {
"coding": [
{
"code": "233604007",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/AllergyIntolerance/AllergyExample",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "AllergyExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "35892347"
}
],
"clinicalStatus": {
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
],
"text": "Active"
},
"type": "allergy",
"_type": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Propensity to adverse reaction to drug"
}
]
},
"criticality": "low",
"code": {
"coding": [
{
"code": "2670",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"display": "Codeine"
}
],
"text": "Codeine"
},
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"onsetDateTime": "2022-01-03T16:30:00.000Z",
"reaction": [
{
"manifestation": [
{
"coding": [
{
"code": "267036007",
"system": "http://snomed.info/sct",
"display": "Shortness of Breath"
}
]
}
],
"description": "Shortness of Breath",
"severity": "moderate",
"_severity": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Mild to moderate"
}
]
}
}
],
"note": [
{
"text": "Additional information"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Procedure/RedoxProcedureExampleMinimumCompleted",
"resource": {
"resourceType": "Procedure",
"id": "RedoxProcedureExampleMinimumCompleted",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "6891241274"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"performedDateTime": "2022-02-08T19:00:00.000Z",
"performedPeriod": {
"start": "2022-02-08T19:00:00.000Z",
"end": "2022-02-08T20:00:00.000Z"
},
"status": "completed",
"_status": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Finished"
}
]
},
"bodySite": [
{
"coding": [
{
"code": "181608004",
"system": "http://snomed.info/sct",
"display": "Entire chest wall (body structure)"
}
]
}
],
"code": {
"coding": [
{
"code": "168731009",
"system": "http://snomed.info/sct",
"display": "Chest X-Ray"
}
]
},
"category": {
"coding": [
{
"code": "Procedures",
"system": "urn:redox:procedure_act_type",
"display": "Procedures"
}
]
},
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"note": [
{
"authorReference": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"text": "A comment."
}
],
"performer": [
{
"actor": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"function": {
"coding": [
{
"code": "41904004",
"system": "http://snomed.info/sct",
"display": "Medical X-ray technician"
}
]
}
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxSocialHistoryObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxSocialHistoryObservationExample",
"category": [
{
"coding": [
{
"code": "social-history",
"system": "http://terminology.hl7.org/CodeSystem/observation-category"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "3059131578"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterExample"
},
"status": "final",
"code": {
"coding": [
{
"code": "160573003",
"system": "http://snomed.info/sct",
"display": "Alcohol Consumption"
}
]
},
"effectivePeriod": {
"start": "1990-05-01T04:00:00.000Z"
},
"valueString": "None"
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxWeightObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxWeightObservationExample",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
"text": "vital-signs"
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "1438629037"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"status": "final",
"code": {
"coding": [
{
"code": "3141-9",
"system": "http://loinc.org"
}
],
"text": "Patient Body Weight - Measured"
},
"effectiveDateTime": "1999-11-14T00:00:00.000Z",
"valueQuantity": {
"value": 86,
"unit": "kg"
},
"interpretation": [
{
"coding": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
"display": "Normal"
}
]
}
],
"note": [
{
"text": "Body weight measurement performed"
}
],
"performer": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"referenceRange": [
{
"low": {
"value": 80,
"unit": "kg"
},
"high": {
"value": 120,
"unit": "kg"
},
"text": "Body weight range"
}
]
}
}
],
"timestamp": "2021-06-17T20:33:22.422Z",
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "$encounter-cancel-preadmit"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequired$encounter-cancel-arrive
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"resourceType": "Bundle",
"id": "RedoxEncounterCancelArriveBundleExample",
"type": "message",
"entry": [
{
"resource": {
"eventUri": "https://fhir.redoxengine.com/EventDefinition/EncounterCancelArrive",
"resourceType": "MessageHeader",
"id": "RedoxEncounterCreateMessageHeaderExample",
"source": {
"name": "Good Health Clinics",
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
},
"focus": [
{
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter/RedoxEncounterCreateEncounterExample",
"resource": {
"resourceType": "Encounter",
"id": "RedoxEncounterCreateEncounterExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
"value": "9601346482"
}
],
"status": "planned",
"class": {
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "inpatient encounter"
},
"type": [
{
"coding": [
{
"code": "99222",
"system": "http://www.ama-assn.org/go/cpt",
"display": "InPatient Admission"
}
]
}
],
"account": [
{
"reference": "Account/RedoxEncounterCreateRedoxAccountExample"
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/RedoxConditionExampleEncounterDx"
}
}
],
"reasonReference": [
{
"reference": "Procedure/RedoxProcedureExampleMinimumCompleted"
}
],
"participant": [
{
"individual": {
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
}
}
],
"location": [
{
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"status": "reserved"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2022-02-06T04:00:00.000Z",
"end": "2022-02-06T04:15:00.000Z"
},
"length": {
"value": 16,
"code": "m",
"system": "http://unitsofmeasure.org"
},
"reasonCode": [
{
"coding": [
{
"code": "23360407",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient/RedoxPatientExampleTimothy",
"resource": {
"resourceType": "Patient",
"id": "RedoxPatientExampleTimothy",
"meta": {
"extension": [
{
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
"valueInteger": 1
}
]
},
"extension": [
{
"extension": [
{
"url": "text",
"valueString": "White"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2135-2",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Hispanic"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"value": "0000000001",
"system": "urn:redox:health-one:MR"
},
{
"value": "101-01-0001",
"system": "http://hl7.org/fhir/sid/us-ssn"
}
],
"name": [
{
"given": [
"Timothy",
"Paul"
],
"family": "Bixby",
"use": "official"
},
{
"text": "Billy",
"use": "usual"
}
],
"gender": "male",
"birthDate": "2008-01-06",
"telecom": [
{
"value": "+18088675301",
"system": "phone",
"use": "home"
},
{
"value": "+18008675309",
"system": "phone",
"use": "work"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory Street"
],
"city": "Monroe",
"district": "Greene",
"state": "WI",
"postalCode": "53566",
"country": "US",
"use": "home"
}
],
"maritalStatus": {
"coding": [
{
"code": "M",
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"display": "Married"
}
],
"text": "Married"
},
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47"
}
],
"text": "English"
}
}
],
"contact": [
{
"name": {
"given": [
"Barbara"
],
"family": "Bixby"
},
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": {
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
},
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
],
"generalPractitioner": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"managingOrganization": {
"reference": "Organization/RedoxOrganizationManagingExample"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Account/RedoxEncounterCreateRedoxAccountExample",
"resource": {
"resourceType": "Account",
"id": "RedoxEncounterCreateRedoxAccountExample",
"status": "active",
"type": {
"coding": [
{
"code": "PBILLACCT",
"display": "Patient Billing Account"
}
]
},
"name": "Redox Account Example",
"subject": [
{
"reference": "Patient/RedoxPatientExampleTimothy"
}
],
"coverage": [
{
"coverage": {
"reference": "Coverage/RedoxCoverageExample"
}
}
],
"guarantor": [
{
"party": {
"reference": "RelatedPerson/RedoxRelatedPersonExample"
}
}
],
"identifier": [
{
"value": "acct12345",
"system": "urn:redox:accountNumber"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Coverage/RedoxCoverageExample",
"resource": {
"resourceType": "Coverage",
"id": "RedoxCoverageExample",
"class": [
{
"type": {
"coding": [
{
"code": "group",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "847025-024-0009",
"name": "Accelerator Labs"
},
{
"type": {
"coding": [
{
"code": "plan",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "31572",
"name": "HMO Deductible Plan"
},
{
"type": {
"coding": [
{
"code": "agreement-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Standard"
},
{
"type": {
"coding": [
{
"code": "coverage-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Insurance"
}
],
"identifier": [
{
"system": "urn:redox:example:MBRNUM",
"value": "2234566"
},
{
"system": "urn:redox:example:POLNUM",
"value": "9140860055"
}
],
"type": {
"text": "HMO"
},
"status": "active",
"subscriber": {
"reference": "#RedoxRelatedPersonExample"
},
"beneficiary": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2015-01-01",
"end": "2020-12-31"
},
"payor": [
{
"reference": "#RedoxInsurerOrganizationExample"
}
],
"contained": [
{
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
},
{
"resourceType": "Organization",
"id": "RedoxInsurerOrganizationExample",
"active": true,
"identifier": [
{
"type": {
"text": "PayorID"
},
"value": "60054"
}
],
"telecom": [
{
"system": "phone",
"value": "+18089541123"
}
],
"name": "Aetna",
"address": [
{
"line": [
"PO Box 14080"
],
"city": "Lexington",
"district": "Fayette",
"state": "KY",
"postalCode": "40512-4079",
"country": "USA"
}
]
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/RelatedPerson/RedoxRelatedPersonExample",
"resource": {
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleRoom",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleRoom",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "6592045611"
}
],
"name": "136",
"physicalType": {
"coding": [
{
"code": "ro",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Room"
}
]
},
"partOf": {
"reference": "Location/RedoxLocationExampleDepartment"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleDepartment",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleDepartment",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "3490285621"
}
],
"name": "3N",
"type": [
{
"text": "Inpatient"
}
],
"physicalType": {
"coding": [
{
"code": "wa",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Ward"
}
],
"text": "Department"
},
"partOf": {
"reference": "Location/RedoxLocationExampleFacility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleFacility",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleFacility",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "461904242"
}
],
"name": "RES General Hospital",
"physicalType": {
"coding": [
{
"code": "si",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Site"
}
],
"text": "Facility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Condition/RedoxConditionExampleEncounterDx",
"resource": {
"resourceType": "Condition",
"id": "RedoxConditionExampleEncounterDx",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696871",
"value": "8769522345"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"code": {
"coding": [
{
"code": "233604007",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/AllergyIntolerance/AllergyExample",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "AllergyExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "35892347"
}
],
"clinicalStatus": {
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
],
"text": "Active"
},
"type": "allergy",
"_type": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Propensity to adverse reaction to drug"
}
]
},
"criticality": "low",
"code": {
"coding": [
{
"code": "2670",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"display": "Codeine"
}
],
"text": "Codeine"
},
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"onsetDateTime": "2022-01-03T16:30:00.000Z",
"reaction": [
{
"manifestation": [
{
"coding": [
{
"code": "267036007",
"system": "http://snomed.info/sct",
"display": "Shortness of Breath"
}
]
}
],
"description": "Shortness of Breath",
"severity": "moderate",
"_severity": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Mild to moderate"
}
]
}
}
],
"note": [
{
"text": "Additional information"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Procedure/RedoxProcedureExampleMinimumCompleted",
"resource": {
"resourceType": "Procedure",
"id": "RedoxProcedureExampleMinimumCompleted",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "6891241274"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"performedDateTime": "2022-02-08T19:00:00.000Z",
"performedPeriod": {
"start": "2022-02-08T19:00:00.000Z",
"end": "2022-02-08T20:00:00.000Z"
},
"status": "completed",
"_status": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Finished"
}
]
},
"bodySite": [
{
"coding": [
{
"code": "181608004",
"system": "http://snomed.info/sct",
"display": "Entire chest wall (body structure)"
}
]
}
],
"code": {
"coding": [
{
"code": "168731009",
"system": "http://snomed.info/sct",
"display": "Chest X-Ray"
}
]
},
"category": {
"coding": [
{
"code": "Procedures",
"system": "urn:redox:procedure_act_type",
"display": "Procedures"
}
]
},
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"note": [
{
"authorReference": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"text": "A comment."
}
],
"performer": [
{
"actor": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"function": {
"coding": [
{
"code": "41904004",
"system": "http://snomed.info/sct",
"display": "Medical X-ray technician"
}
]
}
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxSocialHistoryObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxSocialHistoryObservationExample",
"category": [
{
"coding": [
{
"code": "social-history",
"system": "http://terminology.hl7.org/CodeSystem/observation-category"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "3059131578"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterExample"
},
"status": "final",
"code": {
"coding": [
{
"code": "160573003",
"system": "http://snomed.info/sct",
"display": "Alcohol Consumption"
}
]
},
"effectivePeriod": {
"start": "1990-05-01T04:00:00.000Z"
},
"valueString": "None"
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxWeightObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxWeightObservationExample",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
"text": "vital-signs"
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "1438629037"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"status": "final",
"code": {
"coding": [
{
"code": "3141-9",
"system": "http://loinc.org"
}
],
"text": "Patient Body Weight - Measured"
},
"effectiveDateTime": "1999-11-14T00:00:00.000Z",
"valueQuantity": {
"value": 86,
"unit": "kg"
},
"interpretation": [
{
"coding": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
"display": "Normal"
}
]
}
],
"note": [
{
"text": "Body weight measurement performed"
}
],
"performer": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"referenceRange": [
{
"low": {
"value": 80,
"unit": "kg"
},
"high": {
"value": 120,
"unit": "kg"
},
"text": "Body weight range"
}
]
}
}
],
"timestamp": "2021-06-17T20:33:22.422Z",
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "$encounter-cancel-arrive"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequired$encounter-cancel-transfer
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"resourceType": "Bundle",
"id": "RedoxEncounterCancelTransferBundleExample",
"type": "message",
"entry": [
{
"resource": {
"eventUri": "https://fhir.redoxengine.com/EventDefinition/EncounterCancelTransfer",
"resourceType": "MessageHeader",
"id": "RedoxEncounterCreateMessageHeaderExample",
"source": {
"name": "Good Health Clinics",
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
},
"focus": [
{
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter/RedoxEncounterCreateEncounterExample",
"resource": {
"resourceType": "Encounter",
"id": "RedoxEncounterCreateEncounterExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
"value": "9601346482"
}
],
"status": "planned",
"class": {
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "inpatient encounter"
},
"type": [
{
"coding": [
{
"code": "99222",
"system": "http://www.ama-assn.org/go/cpt",
"display": "InPatient Admission"
}
]
}
],
"account": [
{
"reference": "Account/RedoxEncounterCreateRedoxAccountExample"
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/RedoxConditionExampleEncounterDx"
}
}
],
"reasonReference": [
{
"reference": "Procedure/RedoxProcedureExampleMinimumCompleted"
}
],
"participant": [
{
"individual": {
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
}
}
],
"location": [
{
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"status": "reserved"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2022-02-06T04:00:00.000Z",
"end": "2022-02-06T04:15:00.000Z"
},
"length": {
"value": 16,
"code": "m",
"system": "http://unitsofmeasure.org"
},
"reasonCode": [
{
"coding": [
{
"code": "23360407",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient/RedoxPatientExampleTimothy",
"resource": {
"resourceType": "Patient",
"id": "RedoxPatientExampleTimothy",
"meta": {
"extension": [
{
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
"valueInteger": 1
}
]
},
"extension": [
{
"extension": [
{
"url": "text",
"valueString": "White"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2135-2",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Hispanic"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"value": "0000000001",
"system": "urn:redox:health-one:MR"
},
{
"value": "101-01-0001",
"system": "http://hl7.org/fhir/sid/us-ssn"
}
],
"name": [
{
"given": [
"Timothy",
"Paul"
],
"family": "Bixby",
"use": "official"
},
{
"text": "Billy",
"use": "usual"
}
],
"gender": "male",
"birthDate": "2008-01-06",
"telecom": [
{
"value": "+18088675301",
"system": "phone",
"use": "home"
},
{
"value": "+18008675309",
"system": "phone",
"use": "work"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory Street"
],
"city": "Monroe",
"district": "Greene",
"state": "WI",
"postalCode": "53566",
"country": "US",
"use": "home"
}
],
"maritalStatus": {
"coding": [
{
"code": "M",
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"display": "Married"
}
],
"text": "Married"
},
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47"
}
],
"text": "English"
}
}
],
"contact": [
{
"name": {
"given": [
"Barbara"
],
"family": "Bixby"
},
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": {
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
},
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
],
"generalPractitioner": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"managingOrganization": {
"reference": "Organization/RedoxOrganizationManagingExample"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Account/RedoxEncounterCreateRedoxAccountExample",
"resource": {
"resourceType": "Account",
"id": "RedoxEncounterCreateRedoxAccountExample",
"status": "active",
"type": {
"coding": [
{
"code": "PBILLACCT",
"display": "Patient Billing Account"
}
]
},
"name": "Redox Account Example",
"subject": [
{
"reference": "Patient/RedoxPatientExampleTimothy"
}
],
"coverage": [
{
"coverage": {
"reference": "Coverage/RedoxCoverageExample"
}
}
],
"guarantor": [
{
"party": {
"reference": "RelatedPerson/RedoxRelatedPersonExample"
}
}
],
"identifier": [
{
"value": "acct12345",
"system": "urn:redox:accountNumber"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Coverage/RedoxCoverageExample",
"resource": {
"resourceType": "Coverage",
"id": "RedoxCoverageExample",
"class": [
{
"type": {
"coding": [
{
"code": "group",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "847025-024-0009",
"name": "Accelerator Labs"
},
{
"type": {
"coding": [
{
"code": "plan",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "31572",
"name": "HMO Deductible Plan"
},
{
"type": {
"coding": [
{
"code": "agreement-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Standard"
},
{
"type": {
"coding": [
{
"code": "coverage-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Insurance"
}
],
"identifier": [
{
"system": "urn:redox:example:MBRNUM",
"value": "2234566"
},
{
"system": "urn:redox:example:POLNUM",
"value": "9140860055"
}
],
"type": {
"text": "HMO"
},
"status": "active",
"subscriber": {
"reference": "#RedoxRelatedPersonExample"
},
"beneficiary": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2015-01-01",
"end": "2020-12-31"
},
"payor": [
{
"reference": "#RedoxInsurerOrganizationExample"
}
],
"contained": [
{
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
},
{
"resourceType": "Organization",
"id": "RedoxInsurerOrganizationExample",
"active": true,
"identifier": [
{
"type": {
"text": "PayorID"
},
"value": "60054"
}
],
"telecom": [
{
"system": "phone",
"value": "+18089541123"
}
],
"name": "Aetna",
"address": [
{
"line": [
"PO Box 14080"
],
"city": "Lexington",
"district": "Fayette",
"state": "KY",
"postalCode": "40512-4079",
"country": "USA"
}
]
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/RelatedPerson/RedoxRelatedPersonExample",
"resource": {
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleRoom",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleRoom",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "6592045611"
}
],
"name": "136",
"physicalType": {
"coding": [
{
"code": "ro",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Room"
}
]
},
"partOf": {
"reference": "Location/RedoxLocationExampleDepartment"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleDepartment",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleDepartment",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "3490285621"
}
],
"name": "3N",
"type": [
{
"text": "Inpatient"
}
],
"physicalType": {
"coding": [
{
"code": "wa",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Ward"
}
],
"text": "Department"
},
"partOf": {
"reference": "Location/RedoxLocationExampleFacility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleFacility",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleFacility",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "461904242"
}
],
"name": "RES General Hospital",
"physicalType": {
"coding": [
{
"code": "si",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Site"
}
],
"text": "Facility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Condition/RedoxConditionExampleEncounterDx",
"resource": {
"resourceType": "Condition",
"id": "RedoxConditionExampleEncounterDx",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696871",
"value": "8769522345"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"code": {
"coding": [
{
"code": "233604007",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/AllergyIntolerance/AllergyExample",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "AllergyExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "35892347"
}
],
"clinicalStatus": {
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
],
"text": "Active"
},
"type": "allergy",
"_type": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Propensity to adverse reaction to drug"
}
]
},
"criticality": "low",
"code": {
"coding": [
{
"code": "2670",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"display": "Codeine"
}
],
"text": "Codeine"
},
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"onsetDateTime": "2022-01-03T16:30:00.000Z",
"reaction": [
{
"manifestation": [
{
"coding": [
{
"code": "267036007",
"system": "http://snomed.info/sct",
"display": "Shortness of Breath"
}
]
}
],
"description": "Shortness of Breath",
"severity": "moderate",
"_severity": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Mild to moderate"
}
]
}
}
],
"note": [
{
"text": "Additional information"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Procedure/RedoxProcedureExampleMinimumCompleted",
"resource": {
"resourceType": "Procedure",
"id": "RedoxProcedureExampleMinimumCompleted",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "6891241274"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"performedDateTime": "2022-02-08T19:00:00.000Z",
"performedPeriod": {
"start": "2022-02-08T19:00:00.000Z",
"end": "2022-02-08T20:00:00.000Z"
},
"status": "completed",
"_status": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Finished"
}
]
},
"bodySite": [
{
"coding": [
{
"code": "181608004",
"system": "http://snomed.info/sct",
"display": "Entire chest wall (body structure)"
}
]
}
],
"code": {
"coding": [
{
"code": "168731009",
"system": "http://snomed.info/sct",
"display": "Chest X-Ray"
}
]
},
"category": {
"coding": [
{
"code": "Procedures",
"system": "urn:redox:procedure_act_type",
"display": "Procedures"
}
]
},
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"note": [
{
"authorReference": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"text": "A comment."
}
],
"performer": [
{
"actor": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"function": {
"coding": [
{
"code": "41904004",
"system": "http://snomed.info/sct",
"display": "Medical X-ray technician"
}
]
}
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxSocialHistoryObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxSocialHistoryObservationExample",
"category": [
{
"coding": [
{
"code": "social-history",
"system": "http://terminology.hl7.org/CodeSystem/observation-category"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "3059131578"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterExample"
},
"status": "final",
"code": {
"coding": [
{
"code": "160573003",
"system": "http://snomed.info/sct",
"display": "Alcohol Consumption"
}
]
},
"effectivePeriod": {
"start": "1990-05-01T04:00:00.000Z"
},
"valueString": "None"
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxWeightObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxWeightObservationExample",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
"text": "vital-signs"
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "1438629037"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"status": "final",
"code": {
"coding": [
{
"code": "3141-9",
"system": "http://loinc.org"
}
],
"text": "Patient Body Weight - Measured"
},
"effectiveDateTime": "1999-11-14T00:00:00.000Z",
"valueQuantity": {
"value": 86,
"unit": "kg"
},
"interpretation": [
{
"coding": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
"display": "Normal"
}
]
}
],
"note": [
{
"text": "Body weight measurement performed"
}
],
"performer": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"referenceRange": [
{
"low": {
"value": 80,
"unit": "kg"
},
"high": {
"value": 120,
"unit": "kg"
},
"text": "Body weight range"
}
]
}
}
],
"timestamp": "2021-06-17T20:33:22.422Z",
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "$encounter-cancel-transfer"
}
}
Fields
Meta
Meta.DataModel
String
ReliableRequiredFHIR.Encounter
Meta.EventType
String
ReliableRequired$encounter-cancel-discharge
Meta.EventDateTime
DateTime
ReliableDisplays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format
Meta.Test
Boolean
ReliableIndicates whether the request is a test or not.
Meta.Source
String
ReliableContains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox
Meta.Source.ID
String
ReliableIdentifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID
Meta.Source.Name
String
ReliableDisplays the name of the system initiating the message.
Meta.Destinations[]
Array of Objects
ReliableContains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.
Meta.Destinations[].ID
String
ReliableIdentifies the endpoint that the request is directed to.
UUID
Meta.Destinations[].Name
String
ReliableDisplays the name of the endpoint that the request is directed to.
Meta.Logs[]
Array of Objects
ReliableContains the log identifier(s) for the request.
Meta.Logs[].ID
String
ReliableIdentifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID
Meta.Logs[].AttemptID
String
ReliableIdentifies the request log attempt value, which is useful when retries are possible.
UUID
Meta.FacilityCode
String
PossibleCode for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
Meta.SessionID
String
PossibleSession ID to be passed through for 3rd party sessions.
This is used for SMART App Launch and other OAuth/OpenID Connect flows where an access token is provided in addition to the SSO claims. The SessionID can be used on subsequent Redox API requests to fetch data.
Meta.RespondAsync
Boolean
PossibleA flag for indicating that the query response should follow the Asynchronous Buld Data Request pattern
{
"resourceType": "Bundle",
"id": "RedoxEncounterCancelDischargeBundleExample",
"type": "message",
"entry": [
{
"resource": {
"eventUri": "https://fhir.redoxengine.com/EventDefinition/EncounterCancelDischarge",
"resourceType": "MessageHeader",
"id": "RedoxEncounterCreateMessageHeaderExample",
"source": {
"name": "Good Health Clinics",
"endpoint": "05107c08-fe2f-4740-8c1d-c7107d18ebe5"
},
"focus": [
{
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Encounter/RedoxEncounterCreateEncounterExample",
"resource": {
"resourceType": "Encounter",
"id": "RedoxEncounterCreateEncounterExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.698084.11",
"value": "9601346482"
}
],
"status": "planned",
"class": {
"code": "IMP",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"display": "inpatient encounter"
},
"type": [
{
"coding": [
{
"code": "99222",
"system": "http://www.ama-assn.org/go/cpt",
"display": "InPatient Admission"
}
]
}
],
"account": [
{
"reference": "Account/RedoxEncounterCreateRedoxAccountExample"
}
],
"diagnosis": [
{
"condition": {
"reference": "Condition/RedoxConditionExampleEncounterDx"
}
}
],
"reasonReference": [
{
"reference": "Procedure/RedoxProcedureExampleMinimumCompleted"
}
],
"participant": [
{
"individual": {
"reference": "Practitioner/RedoxPractitionerExampleEncounter"
}
}
],
"location": [
{
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"status": "reserved"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2022-02-06T04:00:00.000Z",
"end": "2022-02-06T04:15:00.000Z"
},
"length": {
"value": 16,
"code": "m",
"system": "http://unitsofmeasure.org"
},
"reasonCode": [
{
"coding": [
{
"code": "23360407",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Patient/RedoxPatientExampleTimothy",
"resource": {
"resourceType": "Patient",
"id": "RedoxPatientExampleTimothy",
"meta": {
"extension": [
{
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
"valueInteger": 1
}
]
},
"extension": [
{
"extension": [
{
"url": "text",
"valueString": "White"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2135-2",
"system": "urn:oid:2.16.840.1.113883.6.238",
"display": "Hispanic or Latino"
}
},
{
"url": "text",
"valueString": "Hispanic"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
}
],
"identifier": [
{
"value": "0000000001",
"system": "urn:redox:health-one:MR"
},
{
"value": "101-01-0001",
"system": "http://hl7.org/fhir/sid/us-ssn"
}
],
"name": [
{
"given": [
"Timothy",
"Paul"
],
"family": "Bixby",
"use": "official"
},
{
"text": "Billy",
"use": "usual"
}
],
"gender": "male",
"birthDate": "2008-01-06",
"telecom": [
{
"value": "+18088675301",
"system": "phone",
"use": "home"
},
{
"value": "+18008675309",
"system": "phone",
"use": "work"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory Street"
],
"city": "Monroe",
"district": "Greene",
"state": "WI",
"postalCode": "53566",
"country": "US",
"use": "home"
}
],
"maritalStatus": {
"coding": [
{
"code": "M",
"system": "http://hl7.org/fhir/v3/MaritalStatus",
"display": "Married"
}
],
"text": "Married"
},
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"system": "urn:ietf:bcp:47"
}
],
"text": "English"
}
}
],
"contact": [
{
"name": {
"given": [
"Barbara"
],
"family": "Bixby"
},
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": {
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
},
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
],
"generalPractitioner": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"managingOrganization": {
"reference": "Organization/RedoxOrganizationManagingExample"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Account/RedoxEncounterCreateRedoxAccountExample",
"resource": {
"resourceType": "Account",
"id": "RedoxEncounterCreateRedoxAccountExample",
"status": "active",
"type": {
"coding": [
{
"code": "PBILLACCT",
"display": "Patient Billing Account"
}
]
},
"name": "Redox Account Example",
"subject": [
{
"reference": "Patient/RedoxPatientExampleTimothy"
}
],
"coverage": [
{
"coverage": {
"reference": "Coverage/RedoxCoverageExample"
}
}
],
"guarantor": [
{
"party": {
"reference": "RelatedPerson/RedoxRelatedPersonExample"
}
}
],
"identifier": [
{
"value": "acct12345",
"system": "urn:redox:accountNumber"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Coverage/RedoxCoverageExample",
"resource": {
"resourceType": "Coverage",
"id": "RedoxCoverageExample",
"class": [
{
"type": {
"coding": [
{
"code": "group",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "847025-024-0009",
"name": "Accelerator Labs"
},
{
"type": {
"coding": [
{
"code": "plan",
"system": "http://terminology.hl7.org/CodeSystem/coverage-class"
}
]
},
"value": "31572",
"name": "HMO Deductible Plan"
},
{
"type": {
"coding": [
{
"code": "agreement-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Standard"
},
{
"type": {
"coding": [
{
"code": "coverage-type",
"system": "https://fhir.redoxengine.com/CodeSystem/other-coverage-class"
}
]
},
"value": "Insurance"
}
],
"identifier": [
{
"system": "urn:redox:example:MBRNUM",
"value": "2234566"
},
{
"system": "urn:redox:example:POLNUM",
"value": "9140860055"
}
],
"type": {
"text": "HMO"
},
"status": "active",
"subscriber": {
"reference": "#RedoxRelatedPersonExample"
},
"beneficiary": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"period": {
"start": "2015-01-01",
"end": "2020-12-31"
},
"payor": [
{
"reference": "#RedoxInsurerOrganizationExample"
}
],
"contained": [
{
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
},
{
"resourceType": "Organization",
"id": "RedoxInsurerOrganizationExample",
"active": true,
"identifier": [
{
"type": {
"text": "PayorID"
},
"value": "60054"
}
],
"telecom": [
{
"system": "phone",
"value": "+18089541123"
}
],
"name": "Aetna",
"address": [
{
"line": [
"PO Box 14080"
],
"city": "Lexington",
"district": "Fayette",
"state": "KY",
"postalCode": "40512-4079",
"country": "USA"
}
]
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/RelatedPerson/RedoxRelatedPersonExample",
"resource": {
"resourceType": "RelatedPerson",
"id": "RedoxRelatedPersonExample",
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"name": [
{
"given": [
"Barbara"
],
"family": "Bixby"
}
],
"telecom": [
{
"value": "+18088675303",
"system": "phone",
"use": "home"
},
{
"value": "[email protected]",
"system": "email"
}
],
"address": [
{
"line": [
"4762 Hickory St."
],
"city": "Monroe",
"district": "Green",
"state": "WI",
"postalCode": "53566",
"country": "USA"
}
],
"relationship": [
{
"coding": [
{
"code": "MTH",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
"display": "mother"
}
],
"text": "Mother"
},
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131",
"display": "Emergency Contact"
}
],
"text": "Emergency Contact"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleRoom",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleRoom",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "6592045611"
}
],
"name": "136",
"physicalType": {
"coding": [
{
"code": "ro",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Room"
}
]
},
"partOf": {
"reference": "Location/RedoxLocationExampleDepartment"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleDepartment",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleDepartment",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "3490285621"
}
],
"name": "3N",
"type": [
{
"text": "Inpatient"
}
],
"physicalType": {
"coding": [
{
"code": "wa",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Ward"
}
],
"text": "Department"
},
"partOf": {
"reference": "Location/RedoxLocationExampleFacility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Location/RedoxLocationExampleFacility",
"resource": {
"resourceType": "Location",
"id": "RedoxLocationExampleFacility",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696570",
"value": "461904242"
}
],
"name": "RES General Hospital",
"physicalType": {
"coding": [
{
"code": "si",
"system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
"display": "Site"
}
],
"text": "Facility"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Condition/RedoxConditionExampleEncounterDx",
"resource": {
"resourceType": "Condition",
"id": "RedoxConditionExampleEncounterDx",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.696871",
"value": "8769522345"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"code": {
"coding": [
{
"code": "233604007",
"system": "http://snomed.info/sct"
}
],
"text": "Pneumonia"
}
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/AllergyIntolerance/AllergyExample",
"resource": {
"resourceType": "AllergyIntolerance",
"id": "AllergyExample",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "35892347"
}
],
"clinicalStatus": {
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
],
"text": "Active"
},
"type": "allergy",
"_type": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Propensity to adverse reaction to drug"
}
]
},
"criticality": "low",
"code": {
"coding": [
{
"code": "2670",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"display": "Codeine"
}
],
"text": "Codeine"
},
"patient": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"onsetDateTime": "2022-01-03T16:30:00.000Z",
"reaction": [
{
"manifestation": [
{
"coding": [
{
"code": "267036007",
"system": "http://snomed.info/sct",
"display": "Shortness of Breath"
}
]
}
],
"description": "Shortness of Breath",
"severity": "moderate",
"_severity": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Mild to moderate"
}
]
}
}
],
"note": [
{
"text": "Additional information"
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Procedure/RedoxProcedureExampleMinimumCompleted",
"resource": {
"resourceType": "Procedure",
"id": "RedoxProcedureExampleMinimumCompleted",
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "6891241274"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterCreateEncounterExample"
},
"performedDateTime": "2022-02-08T19:00:00.000Z",
"performedPeriod": {
"start": "2022-02-08T19:00:00.000Z",
"end": "2022-02-08T20:00:00.000Z"
},
"status": "completed",
"_status": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/originalText",
"valueString": "Finished"
}
]
},
"bodySite": [
{
"coding": [
{
"code": "181608004",
"system": "http://snomed.info/sct",
"display": "Entire chest wall (body structure)"
}
]
}
],
"code": {
"coding": [
{
"code": "168731009",
"system": "http://snomed.info/sct",
"display": "Chest X-Ray"
}
]
},
"category": {
"coding": [
{
"code": "Procedures",
"system": "urn:redox:procedure_act_type",
"display": "Procedures"
}
]
},
"location": {
"reference": "Location/RedoxLocationExampleRoom"
},
"note": [
{
"authorReference": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"text": "A comment."
}
],
"performer": [
{
"actor": {
"reference": "Practitioner/RedoxPractitionerExamplePat"
},
"function": {
"coding": [
{
"code": "41904004",
"system": "http://snomed.info/sct",
"display": "Medical X-ray technician"
}
]
}
}
]
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxSocialHistoryObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxSocialHistoryObservationExample",
"category": [
{
"coding": [
{
"code": "social-history",
"system": "http://terminology.hl7.org/CodeSystem/observation-category"
}
]
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "3059131578"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"encounter": {
"reference": "Encounter/RedoxEncounterExample"
},
"status": "final",
"code": {
"coding": [
{
"code": "160573003",
"system": "http://snomed.info/sct",
"display": "Alcohol Consumption"
}
]
},
"effectivePeriod": {
"start": "1990-05-01T04:00:00.000Z"
},
"valueString": "None"
}
},
{
"fullUrl": "https://api.redoxengine.com/fhir/R4/redox-fhir-sandbox/Development/Observation/RedoxWeightObservationExample",
"resource": {
"resourceType": "Observation",
"id": "RedoxWeightObservationExample",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
],
"text": "vital-signs"
}
],
"identifier": [
{
"system": "urn:oid:1.2.840.114350.1.13.12345.1.7.2.798268",
"value": "1438629037"
}
],
"subject": {
"reference": "Patient/RedoxPatientExampleTimothy"
},
"status": "final",
"code": {
"coding": [
{
"code": "3141-9",
"system": "http://loinc.org"
}
],
"text": "Patient Body Weight - Measured"
},
"effectiveDateTime": "1999-11-14T00:00:00.000Z",
"valueQuantity": {
"value": 86,
"unit": "kg"
},
"interpretation": [
{
"coding": [
{
"code": "N",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
"display": "Normal"
}
]
}
],
"note": [
{
"text": "Body weight measurement performed"
}
],
"performer": [
{
"reference": "Practitioner/RedoxPractitionerExamplePat"
}
],
"referenceRange": [
{
"low": {
"value": 80,
"unit": "kg"
},
"high": {
"value": 120,
"unit": "kg"
},
"text": "Body weight range"
}
]
}
}
],
"timestamp": "2021-06-17T20:33:22.422Z",
"Meta": {
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Test": true,
"EventDateTime": "2024-07-29T16:55:22.999Z",
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Redox Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Redox EMR"
}
],
"DataModel": "FHIR.Encounter",
"EventType": "$encounter-cancel-discharge"
}
}