ELATION
Set visit note type
Change a visit note's type.
POSThttps://preview.ontross.com/api/integrations/elation/set-visit-note-type
Request Fields
input.patient_id
string
requiredPatient whose chart is read or written, from search-patients.
Example
"712044851039930"input.note_id
string
requiredVisit note being edited, from create-visit-note or get-patient-appointments.
Example
"757609084724418"input.note_type_id
string
Visit-note type from list-visit-note-types, or pass note_type_name instead.
Example
"452834271811330"input.note_type_name
string
Visit-note type by display name, resolved against list-visit-note-types.
Example
"CCM"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
note_id
string
Visit note being edited, from create-visit-note or get-patient-appointments.
Example
"999000000000701"note_type_id
string
Visit-note type from list-visit-note-types, or pass note_type_name instead.
Example
"999000000000602"Code
curl --request POST \
--url https://preview.ontross.com/api/integrations/elation/set-visit-note-type \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"patient_id":"712044851039930","note_id":"757609084724418","note_type_id":"452834271811330","note_type_name":"CCM"},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"patient_id": "712044851039930",
"note_id": "757609084724418",
"note_type_id": "452834271811330",
"note_type_name": "CCM"
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"note_id": "999000000000701",
"note_type_id": "999000000000602"
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}