Order Submission API

Order

Server

Validating and submitting orders


Create Order

POST
https://orders.services.{domain}
/order

Bill Type Field Requirements

The following definitions apply to the Field Requirement column:

  • Client Bill (order.bill_type = "C") places the responsibility for reimbursement on the Labcorp client.

  • Patient Bill (order.bill_type = "P") places the responsibility for reimbursement on the patient.

  • Third Party Bill (order.bill_type = "T") places the responsibility for reimbursement on a third party entity (i.e. Medicare, Medicaid, and Private Insurance).

  • 'A' - This field is always needed for the specified bill type. Failure to provide these fields may require clarification prior to processing the lab.

  • 'D' - This field is desirable but not always needed for the specified bill type.

  • 'N/A' - This field is not applicable for the specified bill type.

Order FieldDescriptionClientPatientThird Party
order.patient.external_idExternal Patient IDAAA
order.patient.last_namePatient Last NameAAA
order.patient.first_namePatient First NameAAA
order.patient.middle_namePatient Middle NameDDD
order.patient.date_of_birthPatient Date of BirthAAA
order.patient.genderPatient GenderAAA
order.patient.address.street_addressPatient Address (Line 1)AAA
order.patient.address.cityPatient CityAAA
order.patient.address.statePatient State or ProvinceAAA
order.patient.address.postal_codePatient Zip or Postal CodeAAA
order.patient.phone_numberPatient Phone NumberAAA
order.patient.emailCommunication Address (Patient Email Address)AAA
order.account.numberAccount NumberAAA
order.bill_typeBill TypeAAA
order.patient.patient_classPatient ClassAAA
order.primary_insurance.idInsurance Company Identification NumberN/AN/AD
order.secondary_insurance.idInsurance Company Identification Number - Secondary
(a.k.a Secondary Insurance Subscriber Number)
N/AN/AD
order.primary_insurance.payer_codeInsurance Payer CodeN/AN/AD
order.secondary_insurance.payer_codeInsurance Payer Code- SecondaryN/AN/AD
order.primary_insurance.nameInsurance Company NameN/AN/AD
order.secondary_insurance.nameInsurance Company Name - SecondaryN/AN/AD
order.primary_insurance.address.street_addressInsurance Company Address (Line 1)N/AN/AA
order.secondary_insurance.address.street_addressInsurance Company Address (Line 1) - SecondaryN/AN/AA
order.primary_insurance.address.line2Insurance Company Address (Line 2)N/AN/AD
order.secondary_insurance.address.line2Insurance Company Address (Line 2) - SecondaryN/AN/AD
order.primary_insurance.address.cityInsurance Company CityN/AN/AA
order.secondary_insurance.address.cityInsurance Company City - SecondaryN/AN/AA
order.primary_insurance.address.stateInsurance Company StateN/AN/AA
order.secondary_insurance.address.stateInsurance Company State -SecondaryN/AN/AA
order.primary_insurance.address.postal_codeInsurance Company Zip CodeN/AN/AA
order.secondary_insurance.address.postal_codeInsurance Company Zip Code - SecondaryN/AN/AA
order.primary_insurance.group_numberGroup Number of Insured PatientN/AN/AD
order.secondary_insurance.group_numberGroup Number of Insured Patient - SecondaryN/AN/AD
order.primary_insurance.employer_nameInsured's Group Employer NameN/AN/AD
order.secondary_insurance.employer_nameInsured's Group Employer Name - SecondaryN/AN/AD
order.primary_insurance.patient_relationshipInsured's Relationship to PatientN/AN/AA
order.secondary_insurance.patient_relationshipInsured's Relationship to Patient - SecondaryN/AN/AA
order.primary_insurance.workers_compType of Agreement (Worker's Compensation Flag)N/AN/AA
order.primary_insurance.policy_numberPolicy Number (Insurance Number/Subscriber Number/Member ID)N/AN/AA
order.secondary_insurance.policy_numberPolicy Number (Insurance Number/Subscriber Number/Member ID) - SecondaryN/AN/AA
order.guarantor.last_nameGuarantor Last NameAAA
order.guarantor.first_nameGuarantor First NameAAA
order.guarantor.address.street_addressGuarantor Address (Line 1)AAA
order.guarantor.address.cityGuarantor CityAAA
order.guarantor.address.stateGuarantor StateAAA
order.guarantor.address.postal_codeGuarantor Zip CodeAAA
order.guarantor.phone_numberGuarantor Phone NumberAAA
order.guarantor.patient_relationshipGuarantor Relationship to PatientAAA
order.guarantor.employer_nameGuarantor's Employer NameN/ADD
order.guarantor.charge_adjustment_codeGuarantor Charge Adjustment CodeN/AN/AD
order.guarantor.household_annual_incomeGuarantor Household Annual IncomeDDD
order.guarantor.household_sizeGuarantor Household SizeDDD
order.diagnoses[0].codeDiagnosis Code IdentifierDDA
order.diagnoses[0].descriptionDiagnosis Code Text DescriptionDDD
order.ordering_provider.id.npi
order.authorizing_provider.id.npi
Ordering Provider ID Number (NPI number is expected)AAA
order.ordering_provider.last_name
order.authorizing_provider.last_name
Ordering Provider Last NameAAA
order.ordering_provider.first_name
order.authorizing_provider.first_name
Ordering Provider First Initial or NameAAA

Create Order › Request Body

​Account · required

Account information of the calling system placing the order.

​IncomingPatient · required

The patient information for whom the labs are being ordered.

​Provider · required
​Guarantor · required

Information identifying the Guarantor.

sending_application
​string · minLength: 1 · maxLength: 15 · required

To identify vendor for routing purposes through LCS. Assigned by Labcorp and used for translation. This field must match the assigned Vendor Mnemonic.

Omission of this field or mismatch of the vendor mnemonic will result in order submission failure.
Maximum field length is 15 alpha-numeric characters with the following exceptions:
  • No control or whitespace characters except space
  • ampersands
  • backslashes (\)
  • carets (^)
  • pipes (|)
  • or any byte value > 0x7d
receiving_application
​string · minLength: 1 · maxLength: 15 · required

To identify the Labcorp System receiving the orders. More could be added in the future.

Omission of this field will result in order submission failure.
Maximum field length is 15 alpha-numeric characters with the following exceptions:
  • No control or whitespace characters except space
  • ampersands
  • backslashes (\)
  • carets (^)
  • pipes (|)
  • or any byte value > 0x7d
sending_facility
​string · minLength: 1 · maxLength: 10 · required

The sending facility. This field must match the Client Site ID (CSID).

Omission of this field or mismatch of the CSID will result in order submission failure.
Maximum field length is 10 alpha-numeric characters with the following exceptions:
  • No control or whitespace characters except space
  • ampersands
  • backslashes (\)
  • carets (^)
  • pipes (|)
  • or any byte value > 0x7d
receiving_facility
​string · minLength: 1 · maxLength: 10 · required

Used for routing through the Labcorp system.

Omission of this field will result in order submission failure.
Maximum field length is 10 alpha-numeric characters with the following exceptions:
  • No control or whitespace characters except space
  • ampersands
  • backslashes (\)
  • carets (^)
  • pipes (|)
  • or any byte value > 0x7d
control_id
​string · minLength: 1 · maxLength: 20 · required

The message identifier.

Omission of this field will result in order submission failure.
Maximum field length is 20 alpha-numeric characters with the following exceptions:
  • No control or whitespace characters except space
  • ampersands
  • backslashes (\)
  • carets (^)
  • pipes (|)
  • or any byte value > 0x7d
bill_type
​string · enum · required

Used to determine responsible "Bill to" party.

Bill Types:

  • C - Client
  • P - Patient
  • T - Third Party
Enum values:
C
P
T
​Specimen[] · minItems: 1 · maxItems: 40 · required

An array of specimens that will be sent to Labcorp for testing.

​Provider

The authorizing provider field may be used for, but is not limited to, cases where an ordering provider does not have sufficient authority to submit the order. The authorizing provider must supply an NPI ID and may optionally include the following types of ID: UPIN, Local ID, Provider Number.

​NextOfKin

Information about the Next of Kin if the patient is < 17 years old.

​InsuranceWithWorkersCompInfo

Primary insurance to used for billing.

​Insurance

Secondary insurance used for billing.

​CourtesyCopy[] · maxItems: 4

Used when a courtesy copy of the report is requested.

​ProcessingInstructions

Used to set the priority of the Order

Create Order › Responses

The order was accepted and processed. Requisitions are returned in the response; delivery to Labcorp continues asynchronously.

This datatype is returned by the /order endpoint
workflowId
​string · maxLength: 32 · required

A server generated unique ID for the order workflow also serves as the ID for the original order.

​object · required

A dictionary consisting of unique source order IDs as keys and the corresponding requisition data as values.

​ValidationIssue[]

An array of validation issues that were found, but which did not stop processing of the Order.

​Notification[]

Optional array of notifications.


Validate Order

POST
https://orders.services.{domain}
/validate

Validate Order › Request Body

​Account · required

Account information of the calling system placing the order.

​Patient · required

The patient information for whom the labs are being ordered.

​Provider · required
​Guarantor · required

Information identifying the Guarantor.

sending_application
​string · minLength: 1 · maxLength: 15 · required

To identify vendor for routing purposes through LCS. Assigned by Labcorp and used for translation. This field must match the assigned Vendor Mnemonic.

Omission of this field or mismatch of the vendor mnemonic will result in order submission failure.
receiving_application
​string · minLength: 1 · maxLength: 15 · required

To identify the Labcorp System receiving the orders. More could be added in the future.

sending_facility
​string · minLength: 1 · maxLength: 10 · required

The sending facility.

receiving_facility
​string · minLength: 1 · maxLength: 10 · required

Used for routing through the Labcorp system.

control_id
​string · minLength: 1 · maxLength: 20 · required

The message identifier.

bill_type
​string · enum · required

Used to determine responsible "Bill to" party.

Bill Types:

  • C - Client
  • P - Patient
  • T - Third Party
Enum values:
C
P
T
​Specimen[] · minItems: 1 · maxItems: 40 · required

An array of specimens that will be sent to Labcorp for testing.

​Provider

The authorizing provider field may be used for, but is not limited to, cases where an ordering provider does not have sufficient authority to submit the order. The authorizing provider must supply an NPI ID and may optionally include the following types of ID: UPIN, Local ID, Provider Number.

​NextOfKin

Information about the Next of Kin if the patient is < 17 years old.

​InsuranceWithWorkersCompInfo

Primary insurance to used for billing.

​Insurance

Secondary insurance used for billing.

​CourtesyCopy[] · maxItems: 4

Used when a courtesy copy of the report is requested.

​ProcessingInstructions

Used to set the priority of the Order

Validate Order › Responses

Successfully processed order validation request.

This datatype is returned by the /validate endpoint.
​Order · required

The Order that was provided.

​ValidationIssue[] · required

An array of validation issues that were found. The array is empty if there are no validation issues found.