Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated valuesets #216

Merged
merged 13 commits into from
Apr 25, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changed OpioidCDSCommon.cql to use update non-synthetic opioid valueset
  • Loading branch information
bryantaustin13 committed Apr 21, 2022
commit 41d3bd50df95cc87b836e936216312cface54c29
4 changes: 2 additions & 2 deletions input/pagecontent/cql/OpioidCDSCommon.cql
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ codesystem "SNOMED": 'http:https://snomed.info/sct'
valueset "Opioid analgesics with ambulatory misuse potential": 'http:https://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-analgesics-with-ambulatory-misuse-potential'
valueset "Extended release opioid analgesics with ambulatory misuse potential": 'http:https://fhir.org/guides/cdc/opioid-cds/ValueSet/extended-release-opioid-with-ambulatory-misuse-potential'
valueset "Buprenorphine and methadone medications": 'http:https://fhir.org/guides/cdc/opioid-cds/ValueSet/buprenorphine-and-methadone-medications'
valueset "Non-synthetic opioid drugs": 'http:https://fhir.org/guides/cdc/opioid-cds/ValueSet/non-synthetic-opioids'
valueset "Non-synthetic opioid medications": 'http:https://fhir.org/guides/cdc/opioid-cds/ValueSet/non-synthetic-medications'

// Enumerated-compose
valueset "Limited life expectancy conditions": 'http:https://fhir.org/guides/cdc/opioid-cds/ValueSet/limited-life-expectancy-conditions'
Expand Down Expand Up @@ -64,7 +64,7 @@ define "Opioid Other Than Synthetic Ordered In Last 12 Months":
[MedicationRequest: status in "Active MedicationRequest"] MR
where date from MR.authoredOn 1 year or less on or before Today()
and MR.medication is Reference or (MR.medication in "Opioid analgesics with ambulatory misuse potential"
and not (MR.medication in "Non-synthetic opioid drugs"))
and not (MR.medication in "Non-synthetic opioid medications"))

define "Active Ambulatory Opioid Rx":
(
Expand Down