Skip to main content
GET
/
api
/
v2
/
integrations
/
oncoemr
/
{slug}
/
orders
Get complete order details from OncoEMR
curl --request GET \
  --url https://api.example.com/api/v2/integrations/oncoemr/{slug}/orders
{
  "approvalStatus": "<string>",
  "category": "<string>",
  "intent": "<string>",
  "isBillable": true,
  "cptCode": "<string>",
  "cptQuantity": 123,
  "deliveryCptCode": "<string>",
  "deliveryCptQuantity": 123,
  "loincCode": "<string>",
  "schedulerResource": "<string>",
  "instruction": "<string>",
  "statusText": "<string>",
  "value": "<string>",
  "specimenType": "<string>",
  "option": {
    "statusTextOptions": [
      "<string>"
    ],
    "testLocationOptions": [
      "<string>"
    ],
    "defaultTestLocation": "<string>",
    "defaultActivityLocation": "<string>",
    "priorityTextOptions": [
      "<string>"
    ],
    "defaultPriorityText": "<string>",
    "activityLocationOptions": [
      "<string>"
    ],
    "contrastOptions": [
      "<string>"
    ],
    "compareWithPriorOptions": [
      "<string>"
    ],
    "showProviderContactDetails": true,
    "showReason": true,
    "showOnVisitList": true,
    "frequency": "<string>",
    "defaultFrequency": "<string>",
    "defaultReason": "<string>",
    "defaultLoinc": "<string>",
    "loincDescription": "<string>",
    "defaultCpt": "<string>",
    "imageLocationOptions": [
      "<string>"
    ]
  },
  "additionalInformation": "<string>",
  "changeReason": "<string>",
  "providerContactDetails": [
    "<unknown>"
  ],
  "testLocation": "<string>",
  "id": "<string>",
  "componentName": "<string>",
  "componentType": "<string>",
  "oeResourceProvenance": {
    "identifier": "<string>",
    "author": {
      "resource": "<string>",
      "identifier": "<string>"
    },
    "occurred": "<string>"
  },
  "group": "<string>",
  "subject": "<string>",
  "recorder": "<string>",
  "authoredOn": "<string>",
  "approvalRecorder": "<string>",
  "approvalRecordedOn": "<string>",
  "approver": "<string>",
  "approvedOn": "<string>",
  "deleter": "<string>",
  "deletedOn": "<string>",
  "location": "<string>",
  "requester": "<string>",
  "note": "<string>",
  "encounter": "<string>",
  "priority": "<string>",
  "administrationStatus": "<string>",
  "orchestration": "<string>",
  "protocolComponent": "<string>",
  "reasonCode": {
    "icd9Codes": [
      "<string>"
    ],
    "icd10Codes": [
      "<string>"
    ]
  },
  "sequence": 123,
  "occurrenceDateTime": "<string>",
  "status": "<string>",
  "requiresAuth": true,
  "orderStatusUpdatedBy": "<string>",
  "orderStatusUpdatedOn": "<string>",
  "orderDate": "<string>",
  "testIdentifier": "<string>",
  "requisitionNumber": "<string>",
  "document": "<string>",
  "occurrenceTiming": {
    "repeatFrequency": "<string>",
    "repeatPeriod": "<string>",
    "repeatPeriodUnit": "<string>",
    "plannedDurationValue": 123,
    "plannedDurationUnit": "<string>",
    "event": "<string>",
    "frequencyText": "<string>",
    "durationValue": 123
  },
  "compareWithPriorAnswer": "<string>",
  "compareWithPriorFacility": "<string>",
  "compareWithPriorDate": "<string>",
  "ivContrast": "<string>",
  "oralContrast": "<string>",
  "bodySite": [
    "<string>"
  ],
  "priorityText": "<string>",
  "reasonText": "<string>",
  "orderStatus": "<string>",
  "isCancellable": true,
  "hasDetails": true,
  "orderDetailsHistoryRowId": "<string>",
  "superseder": "<string>",
  "supersededOn": "<string>",
  "plannedDuration": "<string>",
  "associatedResources": null
}

Documentation Index

Fetch the complete documentation index at: https://docs.samplehc.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

slug
string
required

The slug of the OncoEMR connection.

Query Parameters

orderId
string
required

The OncoEMR order ID (e.g., OH_xxx).

patientId
string
required

The OncoEMR patient ID (e.g., PD_xxx).

orderDate
string
required

The order date in YYYY-MM-DD format.

Response

Default Response

approvalStatus
string | null
required
category
string | null
required
intent
string | null
required
isBillable
boolean | null
required
cptCode
string | null
required
cptQuantity
number | null
required
deliveryCptCode
string | null
required
deliveryCptQuantity
number | null
required
loincCode
string | null
required
schedulerResource
string | null
required
instruction
string | null
required
statusText
string | null
required
value
string | null
required
specimenType
string | null
required
option
object
required
additionalInformation
string | null
required
changeReason
string | null
required
providerContactDetails
any[]
required
testLocation
string | null
required
id
string
required
componentName
string | null
required
componentType
string | null
required
oeResourceProvenance
object
required
group
string | null
required
subject
string | null
required
recorder
string | null
required
authoredOn
string | null
required
approvalRecorder
string | null
required
approvalRecordedOn
string | null
required
approver
string | null
required
approvedOn
string | null
required
deleter
string | null
required
deletedOn
string | null
required
location
string | null
required
requester
string | null
required
note
string | null
required
encounter
string | null
required
priority
string | null
required
administrationStatus
string | null
required
orchestration
string | null
required
protocolComponent
string | null
required
reasonCode
object
required
sequence
number | null
required
occurrenceDateTime
string | null
required
status
string | null
required
requiresAuth
boolean | null
required
orderStatusUpdatedBy
string | null
required
orderStatusUpdatedOn
string | null
required
orderDate
string | null
required
testIdentifier
string | null
required
requisitionNumber
string | null
required
document
string | null
required
occurrenceTiming
object
required
compareWithPriorAnswer
string | null
required
compareWithPriorFacility
string | null
required
compareWithPriorDate
string | null
required
ivContrast
string | null
required
oralContrast
string | null
required
bodySite
string[]
required
priorityText
string | null
required
reasonText
string | null
required
orderStatus
string | null
required
isCancellable
boolean | null
required
hasDetails
boolean | null
required
orderDetailsHistoryRowId
string | null
required
superseder
string | null
required
supersededOn
string | null
required
plannedDuration
string | null
required
associatedResources
unknown