Tross
EZDERM

Fetch patient rx history

Fetch patient prescription history and status events.

POSThttps://api.ontross.com/api/integrations/ezderm/fetch-patient-rx-history
Request Fields
input.patient_id
string
required
EZDerm patient UUID returned by list-patients.
Example
"00000000-0000-4000-8000-000000001001"
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
patient_id
string
EZDerm patient UUID whose prescription history was fetched.
Example
"00000000-0000-4000-8000-000000001001"
prescriptions
array
Unmodified EZDerm prescription history records, including each prescriptionHistoryItems event list, in server order.
Code
curl --request POST \
  --url https://api.ontross.com/api/integrations/ezderm/fetch-patient-rx-history \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"patient_id":"00000000-0000-4000-8000-000000001001"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "patient_id": "00000000-0000-4000-8000-000000001001"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "patient_id": "00000000-0000-4000-8000-000000001001",
    "prescriptions": [
      {}
    ]
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}