ATHENA
Fetch notes
Retrieve encounter notes and clinical intake data.
POSThttps://preview.ontross.com/api/integrations/athena/fetch-notes
Request Fields
input.encounter_id
string
requiredEncounter whose note is read or written, from fetch-encounters-patient.
Example
"19706"input.org_id
string
requiredPractice context, shown in the athenanet portal URL.
Example
47902auth_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
hpiNote
string
History of present illness text saved on the encounter.
Example
"Reports intermittent headaches for three days without fever or vision changes."medications
array
Active medications from the encounter, flattened to one entry each.
allergy_severities
array
Raw allergy severity entries from the encounter intake sources.
allergy_reactions
object
Raw allergy reaction payload from the encounter intake sources.
active_problems
object
Raw active problem payload from the encounter intake sources.
family_history_by_problem
object
Raw family history payload from the encounter intake sources.
ros_current_findings
object
Raw review of systems payload from the encounter intake sources.
past_medical_history
object
Raw past medical history payload from the encounter intake sources.
Code
curl --request POST \
--url https://preview.ontross.com/api/integrations/athena/fetch-notes \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"encounter_id":"19706","org_id":47902},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"encounter_id": "19706",
"org_id": 47902
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"hpiNote": "Reports intermittent headaches for three days without fever or vision changes.",
"medications": [
{}
],
"allergy_severities": [
{}
],
"allergy_reactions": {},
"active_problems": {},
"family_history_by_problem": {},
"ros_current_findings": {},
"past_medical_history": {}
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}