Skip to main content

QueryResponse

Description

This is the response to the Referral Query.

API endpoints for Referral Query Response

Sync REST API Endpoint to call the API: https://{base_url}/api/v1/referral/QueryResponse.

Async REST API Endpoint to call the API: https://{base_url}/api/v1/endpoint.

Data Model JSON for QueryResponse

QueryResponse - Sample Payload
{
"Meta": {
"DataModel": "Referral",
"EventType": "QueryResponse",
"EventDateTime": "2022-08-16T14:21:20.733Z",
"Test": true,
"Source": {
"ID": "4a6fccc5-6396-4293-820b-ce140d2e9145",
"Name": "EHR Bridge Tools"
},
"Destinations": [
{
"ID": "e458dbaa-607f-4d16-a38f-96efbf2c73ac",
"Name": "Destintions EMR"
}
],
"Logs": [
{
"ID": "e55e3620-9e6d-4c84-9ac6-19e4484cb611",
"AttemptID": "dfc63222-9275-434a-a31b-95c6bf4e5a57"
}
],
"Message": {
"ID": 5565
},
"Transmission": {
"ID": 12414
},
"FacilityCode": null
},
"Referrals": [
{
"ID": "4356789876",
"IDType": null,
"AlternateID": "2133311",
"Type": "Medical",
"Category": "Outpatient",
"Priority": "Routine",
"Status": "Pending",
"DateTime": "2015-05-05T00:00:00.000Z",
"ExpirationDateTime": "2015-06-05T00:00:00.000Z",
"ProcessDateTime": null,
"Reason": "Provider Ordered",
"ProviderSpecialty": null,
"DepartmentSpecialty": null,
"Notes": [],
"Authorization": {
"Plan": {
"ID": "31572",
"IDType": null,
"Name": "HMO Plan"
},
"Company": {
"ID": "60054",
"IDType": null,
"Name": "aetna (60054 0131)"
},
"DateTime": "2015-05-05T00:00:00.000Z",
"ExpirationDateTime": "2015-06-05T00:00:00.000Z",
"Number": "9140860055",
"ReimbursementLimit": null,
"RequestedTreatmentCount": null,
"RequestedTreatmentUnits": null,
"AuthorizedTreatmentCount": null,
"Notes": []
},
"Diagnoses": [],
"Procedures": [
{
"Code": "400500400",
"Codeset": "CPT4",
"Description": "Therapy Referral",
"Notes": [],
"Quantity": null,
"Units": null,
"Modifiers": []
}
],
"Providers": [
{
"ID": "4236464757",
"IDType": "NPI",
"FirstName": "John",
"LastName": "Harrs",
"Credentials": [
"DO"
],
"Address": {
"StreetAddress": "100 Albert St.",
"City": "San Jose"",
"State": "CA",
"ZIP": "63105",
"County": "Santa Clara",
"Country": "USA"
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": null
},
"Type": "Referring Provider",
"ContactInfo": null,
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
}
],
"Visit": {
"VisitNumber": null
}
}
]
}