Comments (8)
Here's another file with a Colonoscopy instead of Sigmoidoscopy that has similar issues. I've got some pretty good tools for creating this sort of test data now. Let me know if you have any specific needs other than these measures.
My terminology service
ValueSet 2.16.840.1.113883.3.464.1003.108.11.1001 contains 'http://snomed.info/sct' 285312008
Adding resource - Condition-1
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1019 does not contain 'http://loinc.org' 2335-8
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1019 does not contain 'http://snomed.info/sct' 73761001
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1019 contains 'http://www.ama-assn.org/go/cpt' 44155
Adding resource - Procedure-14
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 2335-8
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 contains 'http://snomed.info/sct' 73761001
Adding resource - Procedure-9
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://www.ama-assn.org/go/cpt' 44155
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 14563-1
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 contains 'http://www.ama-assn.org/go/cpt' 45378
Adding resource - Observation-10
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 2335-8
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://snomed.info/sct' 73761001
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://www.ama-assn.org/go/cpt' 44155
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 14563-1
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://www.ama-assn.org/go/cpt' 45378
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 contains 'http://loinc.org' 2335-8
Adding resource - Procedure-4
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://snomed.info/sct' 73761001
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://www.ama-assn.org/go/cpt' 44155
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 contains 'http://loinc.org' 14563-1
Adding resource - Observation-5
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://www.ama-assn.org/go/cpt' 45378
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://loinc.org' 8716-3
2017-07-23 14:19:23 INFO FhirContext:172 - Creating new FHIR context for FHIR version [DSTU3]
cqf-ruler terminology service
ValueSet 2.16.840.1.113883.3.464.1003.108.11.1001 does not contain 'http://snomed.info/sct' 285312008
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1019 does not contain 'http://loinc.org' 2335-8
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1019 does not contain 'http://snomed.info/sct' 73761001
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1019 does not contain 'http://www.ama-assn.org/go/cpt' 44155
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 2335-8
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://snomed.info/sct' 73761001
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://www.ama-assn.org/go/cpt' 44155
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 14563-1
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 contains 'http://www.ama-assn.org/go/cpt' 45378
Adding resource - Observation-10
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 2335-8
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://snomed.info/sct' 73761001
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://www.ama-assn.org/go/cpt' 44155
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 14563-1
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://www.ama-assn.org/go/cpt' 45378
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 contains 'http://loinc.org' 2335-8
Adding resource - Procedure-4
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://snomed.info/sct' 73761001
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://www.ama-assn.org/go/cpt' 44155
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 contains 'http://loinc.org' 14563-1
Adding resource - Observation-5
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://www.ama-assn.org/go/cpt' 45378
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://loinc.org' 8716-3
And the test bundle:
col_encounter2.json.txt
from cqf-ruler.
Here's one that has all of the groups populated. Simpler than importing both of the above because of the id overloading.
from cqf-ruler.
I populated the hapi server with the resources you provided (I edited them to reference Patient-12214 and Practitioner-12208 and removed the encounter and location references for simplicity) and ran the following:
All the resources were returned in the report successfully. What period dates are you using to test?
from cqf-ruler.
from cqf-ruler.
Is this still an issue? I was unable to reproduce with the resources you provided...
from cqf-ruler.
Yes. When I run COL locally, I get this result:
Theodore Lonnie Villarreal [60]
ValueSet 2.16.840.1.113883.3.464.1003.108.11.1001 contains 'http://snomed.info/sct' 94105000
Adding resource - Condition-1
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1019 does not contain 'http://loinc.org' 2335-8
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1019 does not contain 'http://www.ama-assn.org/go/cpt' 45331
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1019 contains 'http://www.ama-assn.org/go/cpt' 44156
Adding resource - Procedure-74
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 2335-8
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://www.ama-assn.org/go/cpt' 45331
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://www.ama-assn.org/go/cpt' 44156
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 12504-7
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://www.ama-assn.org/go/cpt' 45340
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.108.12.1020 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 2335-8
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 contains 'http://www.ama-assn.org/go/cpt' 45331
Adding resource - Procedure-49
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://www.ama-assn.org/go/cpt' 44156
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 12504-7
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 contains 'http://www.ama-assn.org/go/cpt' 45340
Adding resource - Observation-50
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1010 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 contains 'http://loinc.org' 2335-8
Adding resource - Procedure-8
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://www.ama-assn.org/go/cpt' 45331
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://www.ama-assn.org/go/cpt' 44156
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 contains 'http://loinc.org' 12504-7
Adding resource - Observation-9
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://www.ama-assn.org/go/cpt' 45340
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://loinc.org' 8716-3
ValueSet 2.16.840.1.113883.3.464.1003.198.12.1011 does not contain 'http://loinc.org' 8716-3
in-demographic count= 1
history-of-colorectal-cancer count= 1
history-of-total-colectomy count= 1
colonoscopy-performed count= 0
colonoscopy-results count= 0
sigmoidoscopy-procedure count= 1
sigmoidoscopy-observation count= 1
fobt-procedure count= 1
fobt-observation count= 1
but when I run against cqf-ruler-ruler with the same patients, I get this:
Sending 'GET' request to URL: http://localhost:8080/cqf-ruler/baseDstu3/Measure/col/$evaluate?patient=Patient-2&startPeriod=2020-01&endPeriod=2020-12&_raw=true
200
http://localhost:8080/cqf-ruler/baseDstu3/Patient/Patient-2/_history/1
in-demographic count= 1
history-of-colorectal-cancer count= 1
history-of-total-colectomy count= 1
colonoscopy-performed count= 0
colonoscopy-results count= 0
sigmoidoscopy-procedure count= 1
sigmoidoscopy-observation count= 1
fobt-procedure count= 0
fobt-observation count= 0
so it looks to me like the fobt value set <def name="Fecal Occult Blood Test (FOBT)" id="2.16.840.1.113883.3.464.1003.198.12.1011" accessLevel="Public"/>
is not matching properly. Unfortunately, I cannot get the same checkCodeMembership debugging on the server so I'm stuck.
from cqf-ruler.
The period dates are incorrect as they do not correspond with the FOBT resources associated with the patient. Works just fine with 2016 dates:
http://measure.eval.kanvix.com/cqf-ruler/baseDstu3/Measure/col/$evaluate?patient=Patient-2&startPeriod=2016-01&endPeriod=2016-12
Note the "Lookback" date interval filter will exclude any resources not performed within the last year. That would be in the 2019-2020 range for the request you sent (http://localhost:8080/cqf-ruler/baseDstu3/Measure/col/$evaluate?patient=Patient-2&startPeriod=2020-01&endPeriod=2020-12&_raw=true). However, the resource's performedPeriod and effectiveDateTime properties are for 2016. Therefore, the resources are excluded.
define "FOBT Procedure":
[Procedure: "Fecal Occult Blood Test (FOBT)"] F
where F.status.value = 'completed'
and F.performedPeriod."end".value during "Lookback Interval One Year"
define "FOBT Observation":
[Observation: "Fecal Occult Blood Test (FOBT)"] O
where O.status.value = 'final'
and O.effectiveDateTime.value during "Lookback Interval One Year"
I ran some other tests as well just to be sure. Everything seems to be in good working order.
Ran this, which returned Procedure 113 with FOBT code 2335-8:
http://measure.eval.kanvix.com/cqf-ruler/baseDstu3/Measure/col/$evaluate?patient=110&startPeriod=2020-01-01&endPeriod=2020-12-31
Also ran this, which returned Procedure 252 with FOBT code 12504-7:
http://measure.eval.kanvix.com/cqf-ruler/baseDstu3/Measure/col/$evaluate?patient=249&startPeriod=2020-01-01&endPeriod=2020-12-31
from cqf-ruler.
Ah, sure, when I created the Bundle to upload to your server I neglected to set the sample date to the dates I use for the measure period. Glad its all working on your end. Thanks for debugging mine.
Closing this issue.
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.