Tross
EZDERM

Fetch patient timeline

Fetch and combine every page of the patient timeline.

POSThttps://api.ontross.com/api/integrations/ezderm/fetch-patient-timeline
Request Fields
input.patient_id
string
required
EZDerm patient UUID returned by list-patients.
Example
"00000000-0000-4000-8000-000000001001"
input.fetch_size
integer
Items per EZDerm request; all pages are fetched. The desktop app requests 50.
Example
50
Default
50
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
Requested EZDerm patient UUID.
patientEncounterTimelineInfos
array
Encounter events in EZDerm server order.
patientEncounterTimelineInfos[].id
string
Encounter UUID.
patientEncounterTimelineInfos[].dateOfService
string
Service timestamp in EZDerm's original format.
patientEncounterTimelineInfos[].color
string
Calendar color value.
patientEncounterTimelineInfos[].appointmentTypeName
string
Appointment type label.
patientEncounterTimelineInfos[].complaint
string
Chief complaint text.
patientEncounterTimelineInfos[].virtualEncounter
boolean
Whether this was a virtual encounter.
patientEncounterTimelineInfos[].followUpEncounter
boolean
Whether this was a follow-up encounter.
patientEncounterTimelineInfos[].attendingProvider
string
Attending provider display name.
patientEncounterTimelineInfos[].assessmentAndPlanText
string
Assessment and plan summary text.
patientTaskTimelineInfos
array
Task events in EZDerm server order.
patientTaskTimelineInfos[].id
string
Task UUID.
patientTaskTimelineInfos[].active
boolean
Whether the task is active.
patientTaskTimelineInfos[].dateCreated
string
Task creation timestamp.
patientTaskTimelineInfos[].subject
string
Task subject, omitted for some tasks.
patientTaskTimelineInfos[].description
string
Task description text.
patientTaskTimelineInfos[].status
string
Task status label.
patientTaskTimelineInfos[].overdue
boolean
Whether the task is overdue.
patientTaskTimelineInfos[].commentCount
integer
Number of task comments.
patientTaskTimelineInfos[].unread
boolean
Whether the task is unread.
patientTaskTimelineInfos[].important
boolean
Whether the task is marked important.
patientTaskTimelineInfos[].smsSent
boolean
Whether a task SMS was sent.
patientTaskTimelineInfos[].dateCompleted
string
Completion timestamp, omitted for incomplete tasks.
patientTaskTimelineInfos[].relatedEncounterId
string
Related encounter UUID when EZDerm includes one.
patientTaskTimelineInfos[].reminderEnabled
boolean
Whether a reminder is enabled.
patientTaskTimelineInfos[].links
array
Linked entities in EZDerm order.
patientTaskTimelineInfos[].links[].linkType
string
Linked entity type.
patientTaskTimelineInfos[].links[].linkEntityId
string
Linked entity identifier.
patientTaskTimelineInfos[].links[].description
string
Link display text.
patientTaskTimelineInfos[].links[].order
integer
Link display order.
patientTaskTimelineInfos[].users
array
Assigned and related users in EZDerm order.
patientTaskTimelineInfos[].users[].userType
string
User relationship to the task.
patientTaskTimelineInfos[].users[].userId
string
EZDerm user identifier.
patientTaskTimelineInfos[].users[].name
string
User display name.
patientTaskTimelineInfos[].users[].dateCreated
string
Relationship creation timestamp.
patientTaskTimelineInfos[].attachments
array
Task attachment objects. The captured timelines contained empty arrays, so source fields are retained without speculation.
patientNoteTimelineInfos
array
Note and alert events in EZDerm server order.
patientNoteTimelineInfos[].id
string
Note UUID.
patientNoteTimelineInfos[].text
string
Full note or alert text.
patientNoteTimelineInfos[].dateCreated
string
Note creation timestamp.
patientNoteTimelineInfos[].alert
boolean
Whether EZDerm marks this note as an alert.
patientFollowUpTimelineInfos
array
Follow-up events in EZDerm server order.
patientFollowUpTimelineInfos[].id
string
Follow-up UUID.
patientFollowUpTimelineInfos[].duration
integer
Follow-up interval amount.
patientFollowUpTimelineInfos[].durationUnit
string
Follow-up interval unit.
patientFollowUpTimelineInfos[].dateCreated
string
Follow-up creation timestamp.
patientRecallTimelineInfos
array
Recall event objects. None appeared in the captured timelines, so their source fields are retained without speculation.
hasMoreResults
boolean
Whether EZDerm has another page after this one.
pages_fetched
integer
Number of EZDerm pages combined into this complete timeline.
Code
curl --request POST \
  --url https://api.ontross.com/api/integrations/ezderm/fetch-patient-timeline \
  --header 'X-API-Key: REPLACE_KEY_VALUE' \
  --header 'content-type: application/json' \
  --data '{"input":{"patient_id":"00000000-0000-4000-8000-000000001001","fetch_size":50},"auth_id":"auth_uuid_here"}'
Request BODY
{
  "input": {
    "patient_id": "00000000-0000-4000-8000-000000001001",
    "fetch_size": 50
  },
  "auth_id": "auth_uuid_here"
}
Response BODY
{
  "id": "string",
  "workflow_id": "string",
  "auth_id": "string",
  "status": "string",
  "input": {},
  "output": {
    "patient_id": "string",
    "patientEncounterTimelineInfos": [
      {
        "id": "string",
        "dateOfService": "2019-08-24",
        "color": "string",
        "appointmentTypeName": "string",
        "complaint": "string",
        "virtualEncounter": true,
        "followUpEncounter": true,
        "attendingProvider": "string",
        "assessmentAndPlanText": "string"
      }
    ],
    "patientTaskTimelineInfos": [
      {
        "id": "string",
        "active": true,
        "dateCreated": "2019-08-24",
        "subject": "string",
        "description": "string",
        "status": "string",
        "overdue": true,
        "commentCount": 0,
        "unread": true,
        "important": true,
        "smsSent": true,
        "dateCompleted": "2019-08-24",
        "relatedEncounterId": "string",
        "reminderEnabled": true,
        "links": [
          {
            "linkType": "string",
            "linkEntityId": "string",
            "description": "string",
            "order": 0
          }
        ],
        "users": [
          {
            "userType": "string",
            "userId": "string",
            "name": "string",
            "dateCreated": "2019-08-24"
          }
        ],
        "attachments": [
          {}
        ]
      }
    ],
    "patientNoteTimelineInfos": [
      {
        "id": "string",
        "text": "string",
        "dateCreated": "2019-08-24",
        "alert": true
      }
    ],
    "patientFollowUpTimelineInfos": [
      {
        "id": "string",
        "duration": 0,
        "durationUnit": "string",
        "dateCreated": "2019-08-24"
      }
    ],
    "patientRecallTimelineInfos": [
      {}
    ],
    "hasMoreResults": true,
    "pages_fetched": 0
  },
  "files": null,
  "created_at": "2019-08-24T14:15:22Z",
  "started_at": "2019-08-24T14:15:22Z",
  "completed_at": "2019-08-24T14:15:22Z"
}