Comments (7)
Yes, I have refactored the CDS Hooks request resolution. We were using standardized CQL expressions, but it was discovered that they don't scale well for more complex operations. I was hoping I could get some documentation up before it impacted anyone.
Anyway, sorry about that!
See the example cdc-opioid-guidance PlanDefinition changes - note the dynamicValues.
from cqf-ruler.
I will be pushing some documentation to the wiki shortly.
from cqf-ruler.
from cqf-ruler.
Yes, your testing has been invaluable Jeff. I am very appreciative and I apologize for throwing this monkey wrench into your efforts.
I will be working to stabilize the process and am happy to help in anyway I can.
from cqf-ruler.
from cqf-ruler.
Here's what I am getting:
hookFentaNYLPrefetchFentaNYL:
{
"cards": [
{
"links": [
{
"label": "CDC guideline for prescribing opioids for chronic pain",
"url": "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420"
},
{
"label": "MME Conversion Tables",
"url": "https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf"
}
]
},
{
"summary": "High risk for opioid overdose - taper now",
"indicator": "warning",
"detail": "Total morphine milligram equivalent (MME) is 504.000mg/d. Taper to less than 50."
}
]
}
hookOxyCODONE15mgPrefetchFentaNYL:
{
"cards": [
{
"links": [
{
"label": "CDC guideline for prescribing opioids for chronic pain",
"url": "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420"
},
{
"label": "MME Conversion Tables",
"url": "https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf"
}
]
},
{
"summary": "High risk for opioid overdose - taper now",
"indicator": "warning",
"detail": "Total morphine milligram equivalent (MME) is 624.000mg/d. Taper to less than 50."
}
]
}
hookFentaNYLNoPrefetch:
{
"cards": [
{
"links": [
{
"label": "CDC guideline for prescribing opioids for chronic pain",
"url": "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420"
},
{
"label": "MME Conversion Tables",
"url": "https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf"
}
]
},
{
"summary": "High risk for opioid overdose - taper now",
"indicator": "warning",
"detail": "Total morphine milligram equivalent (MME) is 504.000mg/d. Taper to less than 50."
}
]
}
hookOxyCODONE80mgPrefetchFentaNYL:
{
"cards": [
{
"links": [
{
"label": "CDC guideline for prescribing opioids for chronic pain",
"url": "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420"
},
{
"label": "MME Conversion Tables",
"url": "https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf"
}
]
},
{
"summary": "High risk for opioid overdose - taper now",
"indicator": "warning",
"detail": "Total morphine milligram equivalent (MME) is 624.000mg/d. Taper to less than 50."
}
]
}
hookCODONE15mgPrefix3RxOxyCODONE15mg:
{
"cards": [
{
"links": [
{
"label": "CDC guideline for prescribing opioids for chronic pain",
"url": "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420"
},
{
"label": "MME Conversion Tables",
"url": "https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf"
}
]
},
{
"summary": "Success",
"indicator": "info",
"detail": "Prescription satisfies recommendation #5 of the cdc opioid guidance."
}
]
}
hookOxyCODONE80mgNoPrefix:
{
"cards": [
{
"links": [
{
"label": "CDC guideline for prescribing opioids for chronic pain",
"url": "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420"
},
{
"label": "MME Conversion Tables",
"url": "https://www.cdc.gov/drugoverdose/pdf/calculating_total_daily_dose-a.pdf"
}
]
},
{
"summary": "High risk for opioid overdose - taper now",
"indicator": "warning",
"detail": "Total morphine milligram equivalent (MME) is 120.00mg/d. Taper to less than 50."
}
]
}
If you aren't getting these results, try reloading the decision support artifacts
from cqf-ruler.
Agreed. I wasn't properly parsing the links field and the new artifacts fix the missing MME. I'm still suspicious of the calculations, but thats another issue. Closing this one.
from cqf-ruler.
Related Issues (20)
- Implement the $ra.resolve-coding-gaps operation (replace existing) HOT 4
- Release 0.7.1 Ruler
- Ruler Release 0.8.0
- Ruler Release 0.8.1
- Tag the generated Docker image with the commit hash that was used to generate it
- RA Report spec updates HOT 1
- RA Remediate spec updates HOT 1
- Implement the RA $approve operation HOT 2
- error compiling latest at Use evaluator utilities (#666) HOT 2
- $ra.resolve should error if approve has not been called first
- Implement the RA Assisted MeasureReport (CSV) operation
- ValueSets not expanded in queries to EHR HOT 1
- CDS Service Request fhirAuthorization broken in 0.5.1 and above HOT 2
- Ruler Release 0.10.0
- cds service giving missing type id exception
- Translation of library expression failed with the following message: Syntax error at meno HOT 1
- Data format parsing exception HOT 2
- CQFRuler sandbox issue
- updating for 2023 CQMs
- Is it possible to isolate $apply operation from cqf-ruler and run it with fhir server.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cqf-ruler.