EZDERM
Create assessment
Add an assessment to an encounter.
POSThttps://preview.ontross.com/api/integrations/ezderm/create-assessment
Request Fields
input.patient_id
string
requiredPatient UUID, resolved from a medical record number by list-patients.
Example
"3f7a2c18-9b04-4e51-ae6d-5c21f0a7bd93"input.encounter_id
string
requiredEncounter the request acts on, returned by create-encounter.
Example
"d26f8a40-3b17-4c95-ae82-608c7f0db541"input.assessment_option_id
string
requiredProcedure template ID from list-assessment-options, keeping its original casing.
Example
"5e2a9c74-18b6-4f03-ad59-7c86b1e4f637"auth_id
string
requiredSaved 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
assessment_id
string
Opaque reference from create-assessment tying the medication to that assessment.
patient_id
string
Patient UUID, resolved from a medical record number by list-patients.
Example
"3f7a2c18-9b04-4e51-ae6d-5c21f0a7bd93"encounter_id
string
Encounter the request acts on, returned by create-encounter.
Example
"d26f8a40-3b17-4c95-ae82-608c7f0db541"name
string
Preferred diagnosis term from the selected template.
Example
"Acne vulgaris"Code
curl --request POST \
--url https://preview.ontross.com/api/integrations/ezderm/create-assessment \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"patient_id":"3f7a2c18-9b04-4e51-ae6d-5c21f0a7bd93","encounter_id":"d26f8a40-3b17-4c95-ae82-608c7f0db541","assessment_option_id":"5e2a9c74-18b6-4f03-ad59-7c86b1e4f637"},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"patient_id": "3f7a2c18-9b04-4e51-ae6d-5c21f0a7bd93",
"encounter_id": "d26f8a40-3b17-4c95-ae82-608c7f0db541",
"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": {
"assessment_id": "eyJwIjoiN2MxZDRlNjItMmE1My00Zjg4LTliMGUtNDFkN2M2YTVlMjEwIiwibCI6ImI5NGYwYTE3LTZjMzgtNGQ1Mi04ZTcxLTJhZjNkMDVjOWI2NCIsInQiOiI1ZTJhOWM3NC0xOGI2LTRmMDMtYWQ1OS03Yzg2YjFlNGY5MDIifQ",
"patient_id": "3f7a2c18-9b04-4e51-ae6d-5c21f0a7bd93",
"encounter_id": "d26f8a40-3b17-4c95-ae82-608c7f0db541",
"name": "Acne vulgaris"
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}