Tross
Demo dataBook a demo
EZDERM

List medication options

List medications from an assessment template.

POSThttps://preview.ontross.com/api/integrations/ezderm/list-medication-options
Request Fields
input.assessment_option_id
string
required
Procedure template ID from list-assessment-options, keeping its original casing.
Example
"5e2a9c74-18b6-4f03-ad59-7c86b1e4f637"
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
medication_options
array
Favorite prescriptions attached to that assessment template.
medication_options[].id
string
Favorite prescription identifier belonging to the selected procedure template.
Example
"7b5c0e38-9f24-4a61-b8d3-0e61a7c25f40"
medication_options[].name
string
Favorite prescription label, or empty text when unavailable.
Example
"tretinoin 0.025% topical cream"
medication_options[].description
string
Drug database wording, or empty text when unavailable.
Example
"tretinoin 0.025 % topical cream"
Code
curl --request POST \
  --url https://preview.ontross.com/api/integrations/ezderm/list-medication-options \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"assessment_option_id":"5e2a9c74-18b6-4f03-ad59-7c86b1e4f637"},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "assessment_option_id": "5e2a9c74-18b6-4f03-ad59-7c86b1e4f637"
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "medication_options": [
      {
        "id": "7b5c0e38-9f24-4a61-b8d3-0e61a7c25f40",
        "name": "tretinoin 0.025% topical cream",
        "description": "tretinoin 0.025 % topical cream"
      }
    ]
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}