GET v1/order/cptcodes?EMRLinkOrderID={EMRLinkOrderID}
Get CPT Codes: Get a list of CPT codes for the tests and service provider in a given order.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
EMRLinkOrderID |
EMR-Link generated EMRLinkOrderID. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
OrderCPTCodesResponseName | Description | Type | Additional information |
---|---|---|---|
EMRLinkOrderID |
Internal EMR-Link generated order ID. |
string |
None. |
OrderID |
Order ID provided by EMR vendor when order was created. If Order ID is not provided by EMR vendor, this will be an EMR-Link generated Order ID. |
string |
None. |
ServiceProviderName |
The name of the lab or imaging service provider the order was sent to (or is to be sent to). |
string |
None. |
CPTCodeInfoList |
Collection of CPT Code Info objects |
Collection of CPTCodeInfo |
None. |
Error |
Will be set to True if any errors occur during the processing of the API method. |
boolean |
None. |
ErrorMessage |
Will contain an error message string if Error is True. |
string |
None. |
Response Formats
application/json, text/json
{ "EMRLinkOrderID": "sample string 1", "OrderID": "sample string 2", "ServiceProviderName": "sample string 3", "CPTCodeInfoList": [ { "TestCode": "sample string 1", "CPTCodeList": [ "sample string 1", "sample string 2" ] }, { "TestCode": "sample string 1", "CPTCodeList": [ "sample string 1", "sample string 2" ] } ], "Error": true, "ErrorMessage": "sample string 5" }
application/xml, text/xml
<OrderCPTCodesResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Error>true</Error> <ErrorMessage>sample string 5</ErrorMessage> <EMRLinkOrderID>sample string 1</EMRLinkOrderID> <OrderID>sample string 2</OrderID> <ServiceProviderName>sample string 3</ServiceProviderName> <CPTCodeInfoList> <CPTCodeInfo> <TestCode>sample string 1</TestCode> <CPTCodeList> <string>sample string 1</string> <string>sample string 2</string> </CPTCodeList> </CPTCodeInfo> <CPTCodeInfo> <TestCode>sample string 1</TestCode> <CPTCodeList> <string>sample string 1</string> <string>sample string 2</string> </CPTCodeList> </CPTCodeInfo> </CPTCodeInfoList> </OrderCPTCodesResponse>