-
Notifications
You must be signed in to change notification settings - Fork 49
PlanDefinition $apply Operation
c-schuler edited this page Oct 17, 2017
·
7 revisions
The PlanDefinition $apply operation iterates through a PlanDefinition's actions and dynamically creates a CarePlan based on the action's condition criteria.
- Locally
- Build project:
mvn install
- Spin up server:
mvn -Djetty.http.port=XXXX jetty:run
- Load the PlanDefinition and any resources it references.
- Make request:
http://localhost:8080/cqf-ruler/baseDstu3/PlanDefinition/ID/$apply
- Build project:
- Remotely
- Load the PlanDefinition and any resources it references into http://measure.eval.kanvix.com/cqf-ruler/baseDstu3.
- Make request:
http://measure.eval.kanvix.com/cqf-ruler/baseDstu3/PlanDefinition/ID/$apply
- Load the following files into your local cqf-ruler implementation or the publicly available server:
- GET
[Base]/PlanDefinition/apply-example/$apply
- You should get the following response:
{ "resourceType": "CarePlan", "definition": [ { "reference": "apply-example" } ], "status": "draft", "title": "This is a dynamic definition!" }