This is a mock recommendation server for the CELIDA project, serving the latest CELIDA recommendations from github. The only implemented FHIR search parameter is URL for any resource type.
On startup, the server downloads the latest CELIDA recommendations from https://github.com/CODEX-CEDLIA/celida-recommendations and serves them from memory at the FHIR endpoint /fhir.
This recommendation server can be used as input to the execution engine.
The docker image is available at https://hub.docker.com/repository/docker/glichtner/celida-recommendation-server/.
-
Pull image from docker hub
docker pull glichtner/celida-recommendation-server:latest
-
Run container with specified environment variables
docker run \ -e "GH_REPOSITORY=https://github.com/CODEX-CELIDA/celida-recommendations" \ --name celida-recommendation-server \ -dp 8000:80 \ glichtner/celida-recommendation-server
-
Clone this repository
-
Build image:
docker build -t celida/recommendation-server .
-
Run container:
docker run --env-file celida.env -dp 8000:80 celida/recommendation-server
Get all available versions of the fhir package:
curl "http://localhost:8000/fhir/version-history"
Query the server:
curl "http://localhost:8000/{fhir-resource-type}?url={url}"
For example:
curl "http://localhost:8000/fhir/PlanDefinition?url=https://www.netzwerk-universitaetsmedizin.de/fhir/codex-celida/guideline/covid19-inpatient-therapy/intervention-plan/peep-fio2-point4"
We welcome contributions to this repository! If you have any suggestions or bug reports, please open an issue or a pull request.
For more information about the CODEX-CELIDA project, please visit https://github.com/CODEX-CELIDA.