Queryuery
Description
This query is used to search for and retrieve results that match the specified query criteria.
API endpoints for Results Query
Sync REST API Endpoint to call the API: https://{base_url}/api/v1/results/new/query.
Async REST API Endpoint to call the API: https://{base_url}/api/v1/endpoint.
Data Model JSON for Query
Query - Sample Payload
{
"Meta": {
"DataModel": "Results",
"EventType": "Query",
"EventDateTime": "2022-08-16T14:21:20.733Z",
"Test": true,
"Destinations": [
{
"ID": "f00ea13d-7d64-4974-919b-169abeaca8e1",
"Name": "Destinations EMR"
}
],
"Logs": [
{
"ID": "947e5c3f-b955-4988-9a49-701edd4e6421",
"AttemptID": "e6e3bbaf-94df-430a-b9d1-10b5f009e4cf"
}
],
"FacilityCode": null
},
"Patients": [
{
"Identifiers": [
{
"ID": "000000001",
"IDType": "MRN"
}
]
}
],
"Completion": {
"StartDateTime": "2015-05-06T06:00:00.000Z",
"EndDateTime": "2015-05-06T07:00:00.000Z"
},
"ResultStatuses": [
"Final"
],
"OrderIDs": [
"123",
"456",
"789"
],
"Procedures": [],
"Location": {
"Department": null
},
"LastUpdated": {
"StartDateTime": null,
"EndDateTime": null
}
}