Value Sets

v2021 #

Value sets are bundled lists of codes (RXNORM, SNOMED, ICD…) that represent abstract concepts. These concepts can represent anything such as conditions, immunizations, patient attributes, and procedures. Rather than working in multiple code systems with unwieldy lists of identifiers, value sets make code readable and vastly reduces development time.

The list is maintained by the Agency for Healthcare Research and Quality (or AHRQ) and is updated throughout the year to return the most up-to-date results.

Example

from canvas_workflow_sdk.value_set.v2021 import Hba1CLaboratoryTest

last_test = patient.lab_reports.find(Hba1CLaboratoryTest).last()

While value sets are categorized into subsets, all can be imported using from canvas_workflow_sdk.value_set.v2021 import <ValueSetClassName>