Skip to main content

Query

Description

The Query event typically involves sending a request to a healthcare system to retrieve detailed information about a specific clinical term. The response format may vary depending on the system being queried and the search parameters provided.

API endpoints for Master Query

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

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

Data Model JSON for Master Query

Query - Sample Payload
{
"Meta": {
"DataModel": "Master",
"EventType": "Query",
"Test": false,
"Source": {
"ID": "a1ac9e62-7fe7-4781-a9d8-0460492765df",
"Name": "CustomerID"
}

},
"Patient": {
"Identifier": {
"ID": 1313,
"IDType": "EHRID"
}
},
"Location": {
"Department": 1
},
"search_reason": "documenttypes",
"search_value": "health"
}