Assessment

Introduction #

The Assessment model represents a clinical assessment or evaluation of a patient’s medical Condition.

Basic usage #

To get an assessment by identifier, use the get method on the Assessment model manager:

from canvas_sdk.v1.data.assessment import Assessment

assessment = Assessment.objects.get(id="b80b1cdc-2e6a-4aca-90cc-ebc02e683f35")

If you have a patient object, the assessments for a patient can be accessed with the assessments attribute on a Patient object:

from canvas_sdk.v1.data.patient import Patient

patient = Patient.objects.get(id="1eed3ea2a8d546a1b681a2a45de1d790")
assessments = patient.assessments.all()

Filtering #

Assessments can be filtered by any attribute that exists on the model.

Filtering for assessments is done with the filter method on the Assessment model manager.

By attribute #

Specify an attribute with filter to filter by that attribute:

from canvas_sdk.v1.data.assessment import Assessment, AssessmentStatus

assessments = Assessment.objects.filter(patient__id="1eed3ea2a8d546a1b681a2a45de1d790", status=AssessmentStatus.STATUS_IMPROVING)

Committed assessments #

The committed method returns assessments that have been committed and not entered in error:

from canvas_sdk.v1.data.assessment import Assessment

committed_assessments = Assessment.objects.committed()

Attributes #

Assessment #

Field NameType 
idUUID 
dbidInteger 
createdDateTime 
modifiedDateTime 
originatorCanvasUser 
entered_in_errorCanvasUser 
committerCanvasUser 
patientPatient 
noteNote 
conditionCondition 
interviewInterview 
statusAssessmentStatus 
narrativeString 
backgroundString 
care_teamString 
treatments_statedMedicationStatement[] 
billinglineitem_setBillingLineItem[] 
referralsReferral[] 

Commands linked to an assessment #

A Plan- or Procedures-section command written in the same note can be linked to an assessment, which each of these accessors reads back from the assessment’s side. The command holds the other half of the link on its own assessment field.

Field NameType
follow_upsFollowUp[]
goalsGoal[]
immunizationsImmunization[]
instructionsInstruction[]
note_tasksNoteTask[]
plansPlan[]
proceduresProcedure[]
stopped_medicationsStopMedicationEvent[]
updategoalsUpdateGoal[]

A linked Close Goal command arrives on updategoals rather than through an accessor of its own, because both the Update Goal and Close Goal commands record an UpdateGoal.

Enumeration types #

Assessment Status #

ValueLabel
STATUS_IMPROVINGImproved
STATUS_STABLEUnchanged
STATUS_DETERIORATINGDeteriorated