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.
IntraConnects Unified Model
| Event Type | IntraConnects Request | Data Type | Athena Response |
|---|---|---|---|
| QueryResponse | Meta | Object | |
| QueryResponse | Meta.DataModel | String | Master |
| QueryResponse | Meta.EventType | String | Response |
| QueryResponse | Meta.Raw | Array | |
| QueryResponse | Meta.Source | Object | |
| QueryResponse | Meta.Source.ID | String | |
| QueryResponse | Meta.Source.Name | String | |
| QueryResponse | Medication[] | Array of Objects | |
| QueryResponse | Medication[].Name | String | medication |
| QueryResponse | Medication[].ID | Integer | medicationid |
| QueryResponse | Allergies[] | Array of Objects | |
| QueryResponse | Allergies[].Name | String | allergenname |
| QueryResponse | Allergies[].ID | Integer | allergenid |
| QueryResponse | Severities[] | Array of Objects | |
| QueryResponse | Severities[].Name | String | severity |
| QueryResponse | Severities[].Code | String | snomedcode |
| QueryResponse | Reactions[] | Array of Objects | |
| QueryResponse | Reactions[].Name | String | reactionname |
| QueryResponse | Reactions[].ID | String | reactionid |
| QueryResponse | Reactions[].Code | String | snomedcode |
| QueryResponse | Types[] | Array of Objects | |
| QueryResponse | Types[].Name | String | name |
| QueryResponse | Types[].ID | Integer | documenttypeid |
| QueryResponse | Types[].IDType | String | |
| QueryResponse | Types[].IsDeleted | Boolean | |
| QueryResponse | Types[].Duration | Integer | |
| QueryResponse | Orders[] | Array of Objects | |
| QueryResponse | Orders[].Name | String | name |
| QueryResponse | Orders[].ID | Integer | ordertypeid |
| QueryResponse | Facilities[] | Array of Objects | |
| QueryResponse | Facilities[].State | String | state |
| QueryResponse | Facilities[].City | String | city |
| QueryResponse | Facilities[].Zip | String | zip |
| QueryResponse | Facilities[].StreetAddress | String | address1 |
| QueryResponse | Facilities[].Contacts | Object | |
| QueryResponse | Facilities[].Contacts.Phone | String | phonenumber |
| QueryResponse | Facilities[].Contacts.Fax | String | faxnumber |
| QueryResponse | Facilities[].Provider | Object | |
| QueryResponse | Facilities[].Provider.FirstName | String | clinicalprovidername |
| QueryResponse | Facilities[].Provider.LastName | String | clinicalproviderlastname |
| QueryResponse | ImagingOrderTest[] | Array of Objects | |
| QueryResponse | ImagingOrderTest[].Name | string | |
| QueryResponse | ImagingOrderTest[].ID | Integer | |
| QueryResponse | AncillaryCompanies[] | Array of Objects | |
| QueryResponse | AncillaryCompanies[].ID | Integer | |
| QueryResponse | AncillaryCompanies[].Name | String | |
| QueryResponse | Medications[] | Array of Objects |