-
Notifications
You must be signed in to change notification settings - Fork 3
Home
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
- Place in API and run the following Request URL:
PUT: http://localhost:8080/cqf-ruler/baseDstu3/Library/id
You first will need to get the measures JSON file:
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:
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/
You will first need the library JSON file:
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
To Post the Patients data you will need the JSON files for the Bundle:
Once you have that, copy it over to your API, then run the following Request URL:
Post: http://localhost:8080/cqf-ruler/baseDstu3
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