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