Skip to content

DBCG/connectathon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HL7 CMS/FHIR Connectathon

Resources for use at HL7/CMS FHIR Connectathon, Clinical Reasoning Track.

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:

FHIR401

Measure Reporting Scenarios

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.

Discharged on Antithrombotic Therapy - EXM104

FHIR401

Individual bundles:

FHIR4

Individual bundles:

FHIR3

Individual bundles:

Discharged on Statin Medication - EXM105

FHIR401

Individual bundles:

FHIR4

Individual bundles:

FHIR3

Individual bundles:

Venous Thromboembolism Prophylaxis - EXM108

FHIR401

Individual bundles:

FHIR4

Individual bundles:

FHIR3

Individual bundles:

Median Admit Decision Time to ED Departure Time for Admitted Patients - EXM111

FHIR401

Individual bundles:

Cervical Cancer Screening - EXM124

FHIR401

Individual bundles:

FHIR4

Individual bundles:

FHIR3

Individual bundles:

Breast Cancer Screening - EXM125

FHIR401

Individual bundles:

FHIR4

Individual bundles:

FHIR3

Individual bundles:

Colorectal Cancer Screening - EXM130

FHIR401

Individual bundles:

FHIR4

Individual bundles:

FHIR3

Individual bundles:

Dementia: Cognitive Assessment - EXM149

FHIR401

Individual bundles:

Chlamydia Screening for Women - EXM153

FHIR401

Individual bundles:

Controlling Blood Pressure - EXM165

FHIR4

Individual bundles:

FHIR3

Individual bundles:

HIV Screening - EXM349

FHIR401

Individual bundles:

FHIR4

Individual bundles:

FHIR3

Individual bundles:

Safe Use of Opioids - Concurrent Prescribing - EXM506

FHIR401

Individual bundles:

FHIR4

Individual bundles:

FHIR3

Individual bundles:

Hospital Core Clinical Data Element - EXM529

FHIR401

Individual bundles:

Bulk Data Example

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.

Maintenance Conventions

  • 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

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 and version in the CQL content
  |-- 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