Skip to main content

Query Response

description

This is the response format for a Media Query.

API for Media Query Response

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

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

Data Model JSON for Query Response

Query Response - Sample Payload
{
"Meta": {
"DataModel": "Media",
"EventType": "QueryResponse",
"EventDateTime": "2022-08-16T14:21:20.733Z",
"Test": true,
"Source": {
"ID": "51b3ca42-cb3f-4502-83a7-586d2e2f7465",
"Name": "EHR Bridge Dev Tools"
},
"Destinations": [
{
"ID": "1f2d73e9-1fd6-4c70-b26b-59626d845167 ",
"Name": "Destinations EMR"
}
],
"Logs": [
{
"ID": "ec8f180c-451e-46d1-b042-bb03797b3fa2 ",
"AttemptID": "f2f666c1-89ae-4eea-84f9-5e2230f0a9e3"
}
],
"Message": {
"ID": 5565
},
"Transmission": {
"ID": 12414
},
"FacilityCode": null
},
"Media": [
{
"Patient": {
"Identifiers": [
{
"ID": "0000000001",
"IDType": "MR"
},
{
"ID": "e3eb15c6-bed8-493a-bfb9-d26d0eb377dc",
"IDType": "EHRID"
},
{
"ID": "9456490d-ab28-4570-8d92-050f872b4766",
"IDType": "NIST"
}
]
},
"Visit": {
"VisitNumber": "1234"
},
"FileType": "JPG",
"FileName": "SampleImage",
"FileContents": "/9j/4AAQSkZJRgABAQEAeAB4AAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0KCgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCABIAJEDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3OD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dPwP8AsS/8IZ/wUV8d/H3/AISb7T/wmvhDTfCn9hf2ds+xfZJ5JfP+0ead+/zMbPKXbjO45xW1P3XTTd1erzfN1ZR9FdwaS2u72vIyqpyVRpf8++X5KkpfOymm3ulbVcp7xRRRUmgUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAf//Z",
"DocumentType": "Sample Image",
"DocumentID": "36fd0f22-624c-41ab-9394-a848f78a55c2",
"DocumentDescription": null,
"CreationDateTime": "2017-06-22T19:30:04.387Z",
"ServiceDateTime": "2017-06-22T17:00:00.387Z"
}
]
}