Resources for use at HL7/CMS FHIR Connectathon, Clinical Reasoning Track.
-
CQF-Ruler Docker Container:
Select a Docker Container that is appropriate for the verion of FHIR you are working with:
DSTU3/R4
docker pull contentgroup/cqf-ruler
docker run -p 8080:8080 contentgroup/cqf-ruler
R4.0.1
docker pull contentgroup/cqf-ruler:develop
docker run -p 8080:8080 contentgroup/cqf-ruler:develop
- Sandbox:
http://cqm-sandbox.alphora.com/cqf-ruler-r4/fhir/ The sandbox will be using the contentgroup/cqf-ruler:develop Docker Container which is approprioate for FHIR R4.0.1 work. A sandbox willl not be provided for FHIR3 or FHIR4. Please use the appropriate container to host your own instance.
- Postman Scripts:
Note: each FHIR version has been implemented as a separate IG. Folder structures have changed to match.
Note: the FHIR version (FHIR3, FHIR4) has been removed from the naming convention for R4.0.1.
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM104
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM104
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM104-FHIR4
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM104-FHIR4
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM104-FHIR3
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM104-FHIR3
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM105
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM105
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM105-FHIR4
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM105-FHIR4
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM105-FHIR3
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM105-FHIR3
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM108
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM108
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM108-FHIR4
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM108-FHIR4
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM108-FHIR3
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM108-FHIR3
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Stratification 1 Test Bundle
- Stratification 1 Patient ID: measure-strat1-EXM111
- Stratification 1 Exclusion Test Bundle
- Stratification 1 Exclusion Patient ID: measure-strat1-excl-EXM111
- Stratification 2 Test Bundle
- Stratification 2 Patient ID: measure-strat2-EXM111
- Stratification 2 Exclusion Test Bundle
- Stratification 2 Exclusion Patient ID: measure-strat2-excl-EXM111
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM124-FHI4
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM124
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM124-FHI4
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM124-FHIR4
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM124-FHIR3
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM124-FHIR3
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM125
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM125
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM125-FHIR4
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM125-FHIR4
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM125-FHIR3
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM125-FHIR3
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM130
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM130
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM130-FHIR4
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM130-FHIR4
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM130-FHIR3
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM130-FHIR3
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM149
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM149
- Denominator Exclusion Test Bundle
- Denominator Exclusion Patient ID: denex-EXM149
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM153
- Numerator Stratification 1 Test Bundle
- Numerator Stratification 1 Patient ID: numer-strat1-EXM153
- Numerator Stratification 2 Test Bundle
- Numerator Stratification 2 Patient ID: numer-strat2-EXM153
- Denominator Exclusion Test Bundle
- Denominator Exclusion Patient ID: denomexcl-EXM153
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM165-FHIR4
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM165-FHIR4
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM165-FHIR3
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM165-FHIR3
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM349
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM349
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM349-FHIR4
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM349-FHIR4
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM349-FHIR3
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM349-FHIR3
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM506
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM506
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM506-FHIR4
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM506-FHIR4
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Denominator Test Bundle
- Denominator Patient ID: denom-EXM506-FHIR3
- Numerator Test Bundle
- Numerator Patient ID: numer-EXM506-FHIR3
- Measure CQL
- Master Bundle (includes all the Individual bundles)
Individual bundles:
- Measure Bundle
- Terminology Bundle
- Initial Population Test Bundle
- Initial Population Patient ID: ip-EXM529
curl -X POST \
'http://3.90.39.179:5000/$import' \
-H 'Accept: application/fhir+json' \
-H 'Content-Type: application/json' \
-H 'Prefer: respond-async' \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-d '{
"inputFormat": "application/fhir+ndjson",
"inputSource": "https://sample.s3.amazonaws.com/",
"storageDetail":
{
"type": "https"
},
"input": [
{
"type": "Patient",
"url": "https://sample.s3.amazonaws.com/Patient.ndjson"
}
]
}'
Example POST for a bulk data import pass-through. The expectation is that the passthrough proxy will post each line in the input file as a POST to the base if the resource type is Bundle, and as a POST to the resource type endpoint if the resource is any other type.
- IDs
- Context ID (Patient ID): [test name]-[id]-[1]
- ex: Denom-98ce13ee-450b-43ca-9fbe-08b05999532b-1
- Child ID: [context id]-[number]
- ex: Denom-98ce13ee-450b-43ca-9fbe-08b05999532b-2
- Context ID (Patient ID): [test name]-[id]-[1]
This repository contains a directory for each supported version of FHIR. Within each FHIR directory, there are directories for CQL source, resources, and tests, according to the following conventions:
- CQL files
- File names: [library name]-[library version]
- ex: EXM124_FHIR3-7.2.000.cql
- note: this must match the library
name
andversion
in the CQL content
- File names: [library name]-[library version]
|-- fhir3
|-- cql
|-- EXM124_FHIR3-7.2.000.cql
|-- EXM125_FHIR3-7.2.000.cql
|-- fhir4
|-- cql
|-- EXM124_FHIR4-7.2.000.cql
|-- EXM125_FHIR4-7.2.000.cql
- Test files
- Root name: tests
- Library test folder names: [cql library name]
- ex: EXM124_FHIR3
- CQL test folder names: [context id]
- ex: denom-EXM124-FHIR3
- note: this must match the Context ID for the CQL Library (usually the ID of the Patient resource)
- Resource folder names: [resource name]
- ex: Encounter
- Test file names: [id]
- ex: denom-EXM124-FHIR3.json
- note: this must match the id of the resource file
|-- fhir3
|-- tests
| |-- EXM124_FHIR3-7.2.000
| | |-- denom-EXM124-FHIR3
| | | |-- Patient
| | | | |-- denom-EXM124-FHIR3.json
| | | |-- Encounter
| | | |-- denom-EXM124-FHIR3-1.json
| | |-- numer-EXM124-FHIR3
| | |-- Patient
| | | |-- denom-EXM125-FHIR3.json
| | |-- Encounter
| | |-- denom-EXM125-FHIR3-1.json
| |-- EXM125_FHIR3-7.2.000
|-- fhir4
|-- tests
connectathon's People
Forkers
okeefm sushanth-reddy vnprathima kumarerubandi healthedata1 hajiratasneem hrnagesh-zz projecttacoma vishnuyar mdnazmulkarim matthewtiller adongare barbdowns stonn48 gglennon svalluripalli rohitkandimalla dand9959 brandonrburgess dkwasny-ibm mholck abdullah-git1 sindhu-nconnectathon's Issues
Need check that Encounter.diagnosis.use is billing in Global."PrincipalDiagnosis"
https://github.com/DBCG/connectathon/blob/master/fhir401/input/pagecontent/cql/MATGlobalCommonFunctions-5.0.000.cql#L224
does not check that Encounter.diagnosis.use is 'billing'
http://hl7.org/fhir/us/qicore/STU4/StructureDefinition-qicore-encounter-definitions.html#Encounter.diagnosis.use
It also does not match pattern at
http://hl7.org/fhir/us/qicore/STU4/patterns.html#322-inpatient-encounter-with-principal-diagnosis
(which is wrong, should be D.use instead of D.role)
MeasureReport resources for EXM130 R4 contain invalid references
When trying to post this bundle to cqf-ruler, I get a 400 bad request due to references in the MeasureReport resources.
Some of the references in the MeasureReport resources just specify an id
, rather than ResourceType/id
, and cqf-ruler cannot resolve these. See here and here for the lines that cause this.
scripts/uploadbundles.sh doesn't do anything
In the scripts/uploadbundles.sh
script, the only bundle that's uncommented is Loading FHIR Helpers
. All others are commented out, so no CQMs, patients, histories, valuesets, etc. get uploaded.
Incorrect URL in dependent library references for EXM104-8.2.000, EXM108-8.3.000, EXM124-8.2.000, and EXM124-9.0.000
Summary
In bundles: EXM104-8.2.000
, EXM108-8.3.000
, EXM124-8.2.000
, EXM124-9.0.000
, the main library uses an incorrect url to reference a dependent library in several places. These incorrect references make it difficult to assemble all the dependent libraries of a measure, when given the main library.
Locations
- library-EXM104-8.2.000 references SupplementalDataElements library using url
"http://hl7.org/fhir/Library/SupplementalDataElements|2.0.0"
, here, but url forlibrary-SupplementalDataElements-2.0.000
inlibrary-deps-EXM104-8.2.000-bundle.json
is"http://fhir.org/guides/dbcg/connectathon/Library/SupplementalDataElements"
- library-EXM104-8.2.000 references TJCOverall library using url
"http://hl7.org/fhir/Library/TJCOverall|5.0.000"
, here, but url forlibrary-TJCOverall-5.0.000
inlibrary-deps-EXM104-8.2.000-bundle.json
is"http://fhir.org/guides/dbcg/connectathon/Library/TJCOverall"
- library-EXM108-8.3.000 references VTEICU library using url
"http://hl7.org/fhir/Library/VTEICU|5.0.000"
, but url forlibrary-VTEICU-5.0.000
inlibrary-deps-EXM108-8.3.000-bundle.json
is"http://fhir.org/guides/dbcg/connectathon/Library/VTEICU"
- library-EXM124-8.2.000 references Hospice library using url
"http://hl7.org/fhir/Library/Hospice|2.0.000"
, here, but url forlibrary-Hospice-2.0.000
inlibrary-deps-EXM124-8.2.000-bundle.json
is"http://fhir.org/guides/dbcg/connectathon/Library/Hospice"
- library-EXM124-8.2.000 references AdultOutpatientEncounters library using url
"http://hl7.org/fhir/Library/AdultOutpatientEncounters|2.0.000"
, here, but url forlibrary-AdultPatientEncounters-2.0.000
inlibrary-deps-EXM124-8.2.000-bundle.json
is"http://fhir.org/guides/dbcg/connectathon/Library/AdultOutpatientEncounters"
- library-EXM124-9.0.000 references Hospice library using url
"http://hl7.org/fhir/Library/Hospice|2.0.000"
, here, but url forlibrary-Hospice-2.0.000
inlibrary-deps-EXM124-9.0.000-bundle.json
is"http://fhir.org/guides/dbcg/connectathon/Library/Hospice"
- library-EXM124-9.0.000 references AdultOutpatientEncounters library using url
"http://hl7.org/fhir/Library/AdultOutpatientEncounters|2.0.000"
, here, but url forlibrary-AdultPatientEncounters-2.0.000
inlibrary-deps-EXM124-9.0.000-bundle.json
is"http://fhir.org/guides/dbcg/connectathon/Library/AdultOutpatientEncounters"
expected data from EHR
We are trying to understand that from our EHR are we supposed to get following data?
https://github.com/DBCG/connectathon/blob/master/fhir4/bundles/EXM105_FHIR4-8.1.000/EXM105_FHIR4-8.1.000-files/tests-numer-EXM105-FHIR4-bundle.json
If yes, how would EHR know what is numerator and denominator? Isn't that supposed to calculated on cqf-ruler?
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.