Mercurial > hg > orthanc-java
diff Samples/FHIR/NOTES.txt @ 21:4ff1471ebe8b
added Samples/FHIR/configuration.json
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Jan 2024 17:36:06 +0100 |
parents | d7a55838d821 |
children | 118adbad648f |
line wrap: on
line diff
--- a/Samples/FHIR/NOTES.txt Fri Jan 05 16:36:44 2024 +0100 +++ b/Samples/FHIR/NOTES.txt Fri Jan 05 17:36:06 2024 +0100 @@ -20,7 +20,7 @@ (3) Start Orthanc: -On Ubuntu 22.04: +On Ubuntu 20.04 or 22.04: # LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib/server/ Orthanc ./configuration.json @@ -28,6 +28,11 @@ (4) Access the FHIR server. For instance, using the FHIRPACK command-line client (https://gitlab.com/fhirpack/main): +On Ubuntu 20.04: + +$ python3.9 -m pip install --user --upgrade pip +$ python3.9 -m pip install --user --upgrade cffi fhirpack + $ fp -s http://localhost:8042/fhir -o "getPatients" -p all -o "gatherSimplePaths id name.family name.given birthDate" $ fp -s http://localhost:8042/fhir -o "getEndpoints" -p all -o "gatherSimplePaths id address" $ fp -s http://localhost:8042/fhir -o "getImagingStudies" -p all -o "gatherSimplePaths identifier.value endpoint.reference subject.reference"