Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.
BrandonPearson edited this page Aug 29, 2019 · 5 revisions

Connectathon Quickstart

How to run the cqf-ruler:

The CQF Ruler is packaged with an embedded Jetty server, which can be easily started using the Maven Jetty plugin. The simplest example of spinning up the Jetty server can be done with the following command:

mvn jetty:run

After running that command the CQF Ruler will be available at the default endpoint:

http://localhost:8080/cqf-ruler

You can change the port with the jetty.http.port property:

mvn -Djetty.http.port=8081 jetty:run

It is possible to customize the endpoint using the protocolAndHost maven property:

mvn -DprotocolAndHost=http://measure.eval.kanvix.com jetty:run

  1. Place in API and run the following Request URL:

PUT: http://localhost:8080/cqf-ruler/baseDstu3/Library/id

How to post Measure Content for CMS130:

You first will need to get the measures JSON file:

measure-exm130-FHIR.json

Once you have that, copy and paste it into your API then run the following request URl,

PUT: http://localhost:8080/cqf-ruler/baseDstu3/Measure/measure-exm130-FHIR3

Also, you will need the CMS Bundle for the additional Content:

all-cms-cqm-bundle.json

Once you have that, copy and paste the RAW file into the API and run this request URL:

Put: http://localhost:8080/cqf-ruler/baseDstu3/

How to post Library Content for CMS130:

You will first need the library JSON file:

library-exm130-FHIR3.json

After you copy this JSON file over to your API, you will need to run the following URL Request:

PUT: http://localhost:8080/cqf-ruler/baseDstu3/Library/library-exm130-FHIR3

How to post Patient Data for CMS130:

To Post the Patients data you will need the JSON files for the Bundle:

CMS130 STU3 Test - In.json

CMS130 STU3 Test - Out.json

Once you have that, copy it over to your API, then run the following Request URL:

Post: http://localhost:8080/cqf-ruler/baseDstu3

How to Evaluate CMS130:

Once you have the all 3 Contents loaded (Measure, Bundle and Library) you will need to evaluate the measure. To do that you will need to run the following URL request in your API:

CMS130 STU3 Test - In.json: GET: http://localhost:8080/cqf-ruler/baseDstu3/Measure/measure-exm130-FHIR3/$evaluate-measure?patient=a7720bd3-49ab-4b22-aa05-1ed0f8a16d29&periodStart=2018-01-01&periodEnd=2018-12-31

CMS130 STU3 Test - Out.json: GET: http://localhost:8080/cqf-ruler/baseDstu3/Measure/measure-exm130-FHIR3/$evaluate-measure?patient=4730f4e5-3933-4d84-bb61-b491cd400102&periodStart=2018-01-01&periodEnd=2018-12-31