Skip to main content

QueryResponse

Description

This is the format of the response you will receive for a MasterQuery.

API endpoints for Master Query Ressponse

Sync REST API Endpoint to call the API: https://{base_url}/api/v1/master/query-response .

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

Data Model JSON for QueryResponse

QueryResponse - Sample Payload
{
"Meta": {
"DataModel": "Master",
"EventType": "QueryResponse",
"Source": {
"ID": "cca238d3-5c16-474e-8974-527b8eabc030",
"Name": "CustomerID"
},
"Raw": []
},
"Medication": [
{
"Name": "HealthPro Test Strips",
"ID": 373895
},
{
"Name": "HealthWise Insulin Syringe",
"ID": 390582
}
],
"Allergies": [
{
"Name": "50 Plus Adult Eye Health",
"ID": 91662
},
{
"Name": "Coromega Healthy Heart",
"ID": 26638
}
],
"Severities": [
{
"Name": "Mild",
"Code": "255604002"
},
{
"Name": "Mild to moderate",
"Code": "371923003"
}
],
"RadiologyOrders": [
{
"Name": "XR, chest",
"ID": 392532
},
{
"Name": "XR, hand, 2 view",
"ID": 392347
}
],
"LabOrders": [
{
"Name": "cholesterol crystals, QL, X-ray diffraction, stone",
"ID": 463067
}
],
"PrescriptionOrders": [
{
"Name": "pantoprazole 40 mg tablet,delayed release",
"ID": 206395
},
{
"Name": "Medrol (Pak) 4 mg tablets in a dose pack",
"ID": 194221
}
],
"Pharmacies": [
{
"State": "CA",
"City": "San Jose",
"Zip": "02452",
"StreetAddress": "6 Lexington St",
"Contacts": {
"Phone": "7818995555",
"Fax": "7818990300"
},
"Provider": {
"FirstName": "Henry J Merola MD",
"LastName": null
}
}
],
"LabFacility": {
"State": "CA",
"City": "San Jose",
"Zip": "08043",
"StreetAddress": "200 Bowman Dr",
"Contacts": {
"Phone": "8566024000",
"Fax": "8569461747"
},
"Provider": {
"ID": 12500612,
"FirstName": "Regional Otolaryngology Head And Neck Associates LLC",
"LastName": null
}
}
}