Data

The data module provides you with data to compute on. It provides curated, secure access to both PHI (e.g. patient data) and non-PHI (e.g. staff and practice-level data), representing the current state of your target Canvas instance. The module’s classes offer convenience methods and operators that make business logic and clinical logic easy to express with standard terminologies like ICD-10, SNOMED-CT, CPT, and the like.

Data module classes are Django ORM models, which allow easy retrieval of data at runtime through Django’s expressive QuerySet API.

The pages below provide listings of the models, their attributes, and examples of usage.

Allergy Intolerance

Harmful or undesired physiological responses associated with exposure to a substance.

Command

Structured units of documentation in a patient's chart.

Condition

Condition, diagnosis, or reason for seeking medical attention.

Detected Issue

Actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient.

Device

Type of a manufactured item that is used in the provision of healthcare.

Imaging

Analysis of imaging tests to obtain information about the health of a patient.

Labs

Analysis of clinical specimens to obtain information about the health of a patient.

Medication

Pharmacologic agents used in the diagnosis, cure, mitigation, treatment, or prevention of disease.

Observation

Measurements and simple assertions made about a patient.

Patient

Data used to categorize individuals for identification, records matching, and other purposes.

ProtocolOverride

A record of a protocol being snoozed for a patient.

Questionnaire

Groups of coded questions and the coded patient responses.

Staff

Data associated with Staff members.

Task

Data associated with Tasks.

Value Sets

Lists of codes and terms from various clinical coding systems grouped by a defining concept.