https://github.com/path-check/statelessplandefevaluator
This is a FHIR PlanDefinition Evaluator as a stateless webservice.
https://github.com/path-check/statelessplandefevaluator
Last synced: 12 months ago
JSON representation
This is a FHIR PlanDefinition Evaluator as a stateless webservice.
- Host: GitHub
- URL: https://github.com/path-check/statelessplandefevaluator
- Owner: Path-Check
- License: apache-2.0
- Created: 2022-12-29T16:04:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-26T18:46:19.000Z (over 2 years ago)
- Last Synced: 2024-04-24T06:07:09.156Z (about 2 years ago)
- Language: Kotlin
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://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:
```json
{
"planDefinitionUrl": "http://localhost/PlanDefinition/Test-PlanDefinitionCondition-1.0.0",
"subject": "Patient/Test-Patient",
"encounterID": "Test-Encounter",
"data": {
// JSON BUNDLE
}
}
```
and outputs a CarePlan
```json
{
"resourceType": "CarePlan"
// ...
}
```
Check `SimpleData.http` for a runnable post example.