Skip to main content

QueryResponse

Description

The response format for a Department:Query would typically include the following department details such as department name, code, and description,Staff information, including staff members associated with the department, their roles, and contact information.

API Endpoints for Department QueryResponse

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

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

Data Model JSON for Department Query Response

QueryResponse - Sample Payload
{
"Meta": {
"DataModel": "Department",
"EventType": "QueryResponse",
"EventDateTime": "2022-08-16T14:21:20.733Z",
"Test": true,
"Source": {
"ID": "7ce6f387-c33c-417d-8682-81e83628cbd9",
"Name": "Ehr bridge Dev Tools"
},
"Destinations": [
{
"ID": "af394f14-b34a-464f-8d24-895f370af4c9",
"Name": "Destinations EMR"
}
],
"Logs": [
{
"ID": "d9f5d293-7110-461e-a875-3beb089e79f3",
"AttemptID": "925d1617-2fe0-468c-a14c-f8c04b572c54"
}
],
"Message": {
"ID": 5565
},
"Transmission": {
"ID": 12414
},
"FacilityCode": null
},
"Departments": [
{
"Active": true,
"Name": "Test Org",
"Aliases": [],
"Identifiers": [
{
"ID": "0000000001",
"IDType": "FACID"
},
{
"ID": "1.2.3.4.5",
"IDType": "OID"
}
],
"Type": {
"System": "http://hl7.org/fhir/organization-type",
"Value": "Implementer"
},
"PartOf": {
"Identifier": {
"Type": "HCID",
"System": "http://www.hl7.org/oid/",
"Value": "1.2.3.4"
}
},
"Contacts": {
"Home": "+18088675303",
"Work": null,
"Mobile": "+19189368865",
"Fax": null
}
},
"Address": {
"StreetAddress": "123 Main St.",
"City": "San Jose",
"State": "CA",
"ZIP": "86754",
"County": "Santa Clara",
"Country": "USA"
},
"ManagingOrg": "EHR Bridge Health System"
}