Tross
Demo dataBook a demo
EZDERM

List suggested lab orders

List suggested lab tests for an encounter.

POSThttps://preview.ontross.com/api/integrations/ezderm/list-suggested-lab-orders
Request Fields
input.encounter_id
string
required
EZDerm encounter identifier.
Example
"d26f8a40-3b17-4c95-ae82-608c7f0db541"
auth_id
string
required
Saved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"
Output Fields
suggested_lab_orders
array
EZDerm's Suggested-tab groups, in server order.
suggested_lab_orders[].problem_id
string
Encounter medical problem UUID used to select grouped tests.
Example
"7c1d4e62-2a53-4f88-9b0e-41d7c6a5e210"
suggested_lab_orders[].laboratory_tests
array
Complete suggested service records associated with this medical problem.
suggested_lab_orders[].laboratory_tests[].active
boolean
Server eligibility flag that must be true when ordering.
Example
true
suggested_lab_orders[].laboratory_tests[].type
string
Server test category, required to equal LAB_TEST when ordering.
Example
"LAB_TEST"
suggested_lab_orders[].laboratory_tests[].problem_ids
array
Server-reported clinical associations, replaced by the selected group when ordering.
suggested_lab_orders[].laboratory_tests[].primary_service_identifier
string
Test code copied exactly when selecting a suggested service.
Example
"85025"
suggested_lab_orders[].laboratory_tests[].primary_service_name
string
Server test label copied into the new laboratory order.
Example
"CBC with differential"
suggested_lab_orders[].laboratory_tests[].primary_service_id_type
string
Coding system identifying the selected laboratory service code.
Example
"99QDI"
suggested_lab_orders[].laboratory_tests[].is_test_from_stamp
boolean
Server template-origin flag ignored during ordering, which always sends one.
Example
false
suggested_lab_orders[].laboratory_tests[].obsolete
boolean
Server retirement flag that prevents ordering when true.
Example
false
suggested_lab_orders[].laboratory_tests[].icd10_list
array
Suggested diagnosis records, replaced with current problem mappings when ordering.
suggested_lab_orders[].laboratory_tests[].locations
array
Server-supplied test location records, not used when placing orders.
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/ezderm/list-suggested-lab-orders \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"encounter_id":"d26f8a40-3b17-4c95-ae82-608c7f0db541"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "encounter_id": "d26f8a40-3b17-4c95-ae82-608c7f0db541"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "suggested_lab_orders": [
      {
        "problem_id": "7c1d4e62-2a53-4f88-9b0e-41d7c6a5e210",
        "laboratory_tests": [
          {
            "active": true,
            "type": "LAB_TEST",
            "problem_ids": [
              "string"
            ],
            "primary_service_identifier": "85025",
            "primary_service_name": "CBC with differential",
            "primary_service_id_type": "99QDI",
            "is_test_from_stamp": false,
            "obsolete": false,
            "icd10_list": [
              null
            ],
            "locations": [
              null
            ]
          }
        ]
      }
    ]
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}