Skip to content

This is a FHIR PlanDefinition Evaluator as a stateless webservice.

License

Notifications You must be signed in to change notification settings

Path-Check/StatelessPlanDefEvaluator

Repository files navigation

StatelessPlanDefEvaluator

This is a FHIR PlanDefinition Evaluator as a stateless webservice. Every call requires users to send the full dataset for evaluation. Nothing is saved.

Live Instance

Visit plan-def-evaluator.pathcheck.org to see the latest version

Running

This is a Spring boot project. Run with:

./gradlew bootRun

Usage

The server listens to a POST in /evaluate with the following payload:

{
  "planDefinitionUrl": "http://localhost/PlanDefinition/Test-PlanDefinitionCondition-1.0.0",
  "subject": "Patient/Test-Patient",
  "encounterID": "Test-Encounter", 
  "data": {
    // JSON BUNDLE 
  }
}

and outputs a CarePlan

{
  "resourceType": "CarePlan"
  // ...
}

Check SimpleData.http for a runnable post example.

About

This is a FHIR PlanDefinition Evaluator as a stateless webservice.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published