Stream: cds hooks
Topic: Getting empty cards
Surya (Nov 28 2019 at 11:07):
Hi All ,
In the cqf ruler project, I tried to create cards ,In recommendation-10 for this Patient(example-rec-10-illicit-drugs) i created card
{
"cards": [
{
"summary": "Illicit Drugs Found In Urine Screening",
"indicator": "warning",
"detail": "Found the following illicit drug(s) in urine drug screen: Tetrahydrocannabinol",
"source": {
"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"
}
}
]
}
but for this Patient(example-rec-10-end-of-life-med-exclusion) i am getting empty cards, ..why?
{
"cards": []
}
can anyone suggest me how to resolve this issue... Thanks in advance.
Christopher Schuler (Dec 03 2019 at 22:30):
You are getting empty cards because the patient has an end of life condition that excludes them from the guideline.
Christopher Schuler (Dec 03 2019 at 22:31):
To be clear, there isn't anything to resolve and an empty card set is expected
Surya (Dec 05 2019 at 10:27):
Hi @Christopher Schuler thank you for the information .i am not getting cards while doing post operation of all recommendation-8 examples in cqf-ruler project.One example like {Patient/example-rec-08-on-benzodiazepine}, like wise...
POST: {base-url}/cds-services/opioidcds-08.
response :
{
"cards": [
{
"summary": "InvalidPrefetchException encountered during execution",
"indicator": "hard-stop",
"detail": "Expecting 4 fields in the prefetch. Found 16 fields",
"source": {}
}
]
}
Last updated: Apr 12 2022 at 19:14 UTC