GET api/v1/{EMRSystem}/Orders/{OrderId}
Returns Order details for a given Order Id. FHIR connectors use the following resources for R4: ServiceRequest.Read, Patient.Read, Practitioner.Read, and Encounter.Read.
Status: Released
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EMRSystem |
The emr system. |
EMRSystem |
None. |
| UserId |
Gets or sets the user identifier. |
string |
Required |
| UserType |
Gets or sets the type of the user. |
UserType |
None. |
| OrderId |
The Order identifier. |
string |
Required |
| OrderIdType |
The Order identifier type. |
string |
None. |
| EncounterId |
The Encounter identifier. |
string |
Required if EMRSystem = Athena |
Header Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| LoginId |
Gets or sets the login identifier. This Login Id will be encrypted and passed in Sansoro specific Http Request Headers. |
string |
Required if EMRSystem = Allscripts, or Athena, or Cerner, or Meditech, or Sandbox |
| Password |
Gets or sets the password. This Password will be encrypted and passed in Sansoro specific Http Request Headers. |
string |
Data type: Password Required if EMRSystem = Allscripts, or Athena, or Cerner, or Meditech, or Sandbox |
| EmrInstance |
Gets or sets the emr instance. This emr instance info will be encrypted and passed in Sansoro specific Http Request Headers. |
string |
None. |
| ApplicationName |
Gets or sets the requesting application name. This requesting application name will be encrypted and passed in Sansoro specific Http Request Headers. |
string |
Required if using application keys |
| ApplicationKey |
Gets or sets the requesting application key. This requesting application key will be encrypted and passed in Sansoro specific Http Request Headers. |
string |
Data type: Password Required if using application keys |
| AuthorizationToken |
Gets or sets the custom authorization token. This requesting authorization token will be encrypted and passed in Sansoro specific Http Request Headers. |
string |
None. |
| RequestVerboseLogging |
Enables verbose logging for a single request. When "true", verbose logging will occur. When "false", the configuration setting will be respected. This value will be passed in Sansoro specific Http Request Headers. |
boolean |
None. |
Response Information
UdmSingleOrderResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Order |
Gets or sets the order. |
UdmOrderResponse |
None. |
Response Codes
Http Status Code 200 - Indicates that the request was processed successfully.
Http Status Code 404 - Indicates that the resource to get could not be found.
Http Status Code 400 - Indicates that the request did not contain all the required fields or had an invalid value.
Http Status Code 401 - Indicates that authentication to the underlying EMR server using the provided LoginId and Password failed.
Http Status Code 403 - Indicates that there is an issue with the request UserId.
Http Status Code 408 - Indicates that the request to the underlying EMR server timed out.
Http Status Code 500 - Indicates that an internal server error occurred during processing of the request.
Http Status Code 502 - Indicates that a request made to the underlying EMR server could not be completed.
Response Formats
application/json
{
"Order": {
"AlternativeOrderName": "sample string 1",
"OrderedBy": "sample string 2",
"ActionPersonnel": "sample string 3",
"ExamAccessionNumber": "sample string 4",
"DepartmentStatus": "sample string 5",
"OrderDetails": [
{
"Code": "sample string 1",
"Display": "sample string 2",
"DisplaySequence": "sample string 3",
"GroupSequence": "sample string 4",
"Value": "sample string 5"
},
{
"Code": "sample string 1",
"Display": "sample string 2",
"DisplaySequence": "sample string 3",
"GroupSequence": "sample string 4",
"Value": "sample string 5"
}
],
"OrderComments": [
{
"CommentType": "sample string 1",
"Comments": [
{
"CommentText": "sample string 1",
"CommentUpdateDateTime": "2025-12-12T20:51:47.599524+00:00",
"CommentUpdatePersonnel": "2025-12-12",
"InternalSequence": "sample string 2"
},
{
"CommentText": "sample string 1",
"CommentUpdateDateTime": "2025-12-12T20:51:47.599524+00:00",
"CommentUpdatePersonnel": "2025-12-12",
"InternalSequence": "sample string 2"
}
]
},
{
"CommentType": "sample string 1",
"Comments": [
{
"CommentText": "sample string 1",
"CommentUpdateDateTime": "2025-12-12T20:51:47.599524+00:00",
"CommentUpdatePersonnel": "2025-12-12",
"InternalSequence": "sample string 2"
},
{
"CommentText": "sample string 1",
"CommentUpdateDateTime": "2025-12-12T20:51:47.599524+00:00",
"CommentUpdatePersonnel": "2025-12-12",
"InternalSequence": "sample string 2"
}
]
}
],
"ParentOrderId": "sample string 6",
"VerifiedStatus": "sample string 7",
"IsNurseReviewed": true,
"PatientId": "sample string 8",
"OrderId": "sample string 9",
"EncounterId": "sample string 10",
"OrderName": "sample string 11",
"OrderStatus": "sample string 12",
"OrderType": "sample string 13",
"OrderedDateTime": "2025-12-12T20:51:47.6016736+00:00",
"OrderClinicalDisplayLineLong": "sample string 14",
"OrderClinicalDisplayLineShort": "sample string 15",
"PatientClass": {
"Id": "sample string 1",
"Name": "sample string 2"
},
"EncounterType": {
"Id": "sample string 1",
"Name": "sample string 2"
},
"OrderableCodeIdentities": [
{
"Value": "sample string 1",
"Type": "sample string 2"
},
{
"Value": "sample string 1",
"Type": "sample string 2"
}
],
"Providers": [
{
"Name": "sample string 1",
"NPI": "sample string 2",
"UserId": "sample string 3",
"ProviderId": "sample string 4",
"Type": {
"Id": "sample string 1",
"Name": "sample string 2"
}
},
{
"Name": "sample string 1",
"NPI": "sample string 2",
"UserId": "sample string 3",
"ProviderId": "sample string 4",
"Type": {
"Id": "sample string 1",
"Name": "sample string 2"
}
}
],
"OrderableCode": {
"Id": "sample string 1",
"Name": "sample string 2"
},
"OrderStartDateTime": "2025-12-12T20:51:47.6035765+00:00",
"OrderStopDateTime": "2025-12-12T20:51:47.6036256+00:00",
"OrderPriority": {
"Id": "sample string 1",
"Name": "sample string 2"
},
"LastOrderActivityDateTime": "2025-12-12T20:51:47.6036973+00:00"
}
}