Protocol

Update program status

Description

Automatically update the patient's program status in a structured field in Canvas based on application events such as Questionnaire responses or lab results.

Contributors
Canvas Medical
Last modified
November 20, 2023

Clinical notes

This protocol automatically updates the program status by writing to the FHIR API when requisite events occur in Canvas. When all patients are created, update program status to “Intake”. If intake questionnaire is completed, and the patient has any of the following (age > 65, severe cardiovascular disease, end-stage renal disease, or type 1 diabetes) then update the status to “Disqualified”. If intake questionnaire has been completed and the patient has none of the above attributes, and hemoglobin A1c, TSH, 24-hour urine cortisol are not yet completed, then program status is “Condition screening”. If those tests are all complete, and hemoglobin A1c < 9, TSH and 24-hour urine cortisol are normal, then program status is “Treatment”. If A1c >= 9, or TSH and 24-hour urine cortisol are abnormal, then program status is “Disqualified”. Update the program status in the system by adding the patient to the corresponding patient group, and removing them from all other patient groups.

Relevant links

Protocol code


CopyCopy