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

Fix opiate drug screening #213

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions input/pagecontent/cql/OpioidCDSCommon.cql
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ valueset "Non-opioid drug urine screening": 'http://fhir.org/guides/cdc/opioid-c
valueset "Naloxone medications": 'http://fhir.org/guides/cdc/opioid-cds/ValueSet/naloxone-medications'
valueset "Opioid misuse assessment procedure": 'http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-misuse-assessment-procedure'
valueset "Opioid drug urine screening": 'http://fhir.org/guides/cdc/opioid-cds/ValueSet/opioid-drug-urine-screening'
valueset "Opiate drug urine screening": 'http://fhir.org/guides/cdc/opioid-cds/ValueSet/opiate-specific-urine-drug-screening-tests'
valueset "Hospice Disposition": 'http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-disposition' // Harvested from VSAC - OID: 2.16.840.1.113762.1.4.1108.15
valueset "Hospice Finding Codes": 'http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-finding'
valueset "Hospice Procedure Codes": 'http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-procedure'
Expand Down
2 changes: 1 addition & 1 deletion input/pagecontent/cql/OpioidCDSCommonConfig.cql
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ define "PDMP Data Not Reviewed in Past 90 Days Criteria Enabled":

// Recommendation 10
define "Opiate Urine Screening Check Enabled":
false
true

// Recommendation 12
define "Evidence Based Treatment Criteria For Opioid Use Disorder":
Expand Down
4 changes: 2 additions & 2 deletions input/pagecontent/cql/OpioidCDSREC10Common.cql
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ define "Patient had Urine Screening in Last 12 Months":
or exists ("Cocaine Screenings")
or exists ("PCP Screenings")
)
and
or
if Config."Opiate Urine Screening Check Enabled" then
exists ("Opiate Screenings")
else
Expand All @@ -87,7 +87,7 @@ define "Non-opioid Screenings":

define "Opiate Screenings":
GetRelevantScreenings("Laboratory Observations" LabObservations
where (LabObservations.code in Common."Opioid drug urine screening")
where (LabObservations.code in Common."Opiate drug urine screening")
)

define "Cocaine Screenings":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@
"coding": [
{
"system": "http://loinc.org",
"version": "2.68",
"code": "11246-6",
"display": "oxyCODONE (U) [Mass/Vol]"
"version": "2.72",
"code": "19600-6",
"display": "Morphine cutoff [Mass/volume] in Urine for Confirmatory method"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@
"coding": [
{
"system": "http://loinc.org",
"version": "2.68",
"code": "11246-6",
"display": "oxyCODONE (U) [Mass/Vol]"
"version": "2.72",
"code": "19600-6",
"display": "Morphine cutoff [Mass/volume] in Urine for Confirmatory method"
}
]
},
Expand Down Expand Up @@ -306,9 +306,9 @@
"coding": [
{
"system": "http://loinc.org",
"version": "2.68",
"code": "11246-6",
"display": "oxyCODONE (U) [Mass/Vol]"
"version": "2.72",
"code": "19600-6",
"display": "Morphine cutoff [Mass/volume] in Urine for Confirmatory method"
}
]
},
Expand Down Expand Up @@ -368,9 +368,9 @@
"coding": [
{
"system": "http://loinc.org",
"version": "2.68",
"code": "11246-6",
"display": "oxyCODONE (U) [Mass/Vol]"
"version": "2.72",
"code": "19600-6",
"display": "Morphine cutoff [Mass/volume] in Urine for Confirmatory method"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@
"coding": [
{
"system": "http://loinc.org",
"version": "2.68",
"code": "11246-6",
"display": "oxyCODONE (U) [Mass/Vol]"
"version": "2.72",
"code": "19600-6",
"display": "Morphine cutoff [Mass/volume] in Urine for Confirmatory method"
}
]
},
Expand Down Expand Up @@ -303,9 +303,9 @@
"coding": [
{
"system": "http://loinc.org",
"version": "2.68",
"code": "11246-6",
"display": "oxyCODONE (U) [Mass/Vol]"
"version": "2.72",
"code": "19600-6",
"display": "Morphine cutoff [Mass/volume] in Urine for Confirmatory method"
}
]
},
Expand Down Expand Up @@ -365,9 +365,9 @@
"coding": [
{
"system": "http://loinc.org",
"version": "2.68",
"code": "11246-6",
"display": "oxyCODONE (U) [Mass/Vol]"
"version": "2.72",
"code": "19600-6",
"display": "Morphine cutoff [Mass/volume] in Urine for Confirmatory method"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@
"coding": [
{
"system": "http://loinc.org",
"version": "2.68",
"code": "11246-6",
"display": "oxyCODONE (U) [Mass/Vol]"
"version": "2.72",
"code": "19600-6",
"display": "Morphine cutoff [Mass/volume] in Urine for Confirmatory method"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
"subject": {
"reference": "Patient/example-rec-10-patient-view-POS-Cocaine-drugs"
},
"effectiveDateTime": "2021-04-29",
"effectiveDateTime": "2022-04-29",
"valueString": "POS",
"interpretation": [
{
Expand Down Expand Up @@ -351,7 +351,7 @@
"subject": {
"reference": "Patient/example-rec-10-patient-view-POS-Cocaine-drugs"
},
"effectiveDateTime": "2021-06-06",
"effectiveDateTime": "2022-06-06",
"valueString": "NEG",
"interpretation": [
{
Expand Down Expand Up @@ -474,7 +474,7 @@
"subject": {
"reference": "Patient/example-rec-10-patient-view-POS-Cocaine-drugs"
},
"effectiveDateTime": "2021-05-31",
"effectiveDateTime": "2022-05-31",
"valueString": "POS",
"interpretation": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@
"coding": [
{
"system": "http://loinc.org",
"version": "2.68",
"code": "11246-6",
"display": "oxyCODONE (U) [Mass/Vol]"
"version": "2.72",
"code": "19600-6",
"display": "Morphine cutoff [Mass/volume] in Urine for Confirmatory method"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,16 @@
}
],
"status": "final",
"code": {
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "laboratory"
}
]
}
], "code": {
"coding": [
{
"system": "http://loinc.org",
Expand Down