comparison 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
comparison
equal deleted inserted replaced
20:1c407ba1d311 21:4ff1471ebe8b
18 # mvn package 18 # mvn package
19 19
20 20
21 (3) Start Orthanc: 21 (3) Start Orthanc:
22 22
23 On Ubuntu 22.04: 23 On Ubuntu 20.04 or 22.04:
24 24
25 # LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib/server/ Orthanc ./configuration.json 25 # LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib/server/ Orthanc ./configuration.json
26 26
27 27
28 (4) Access the FHIR server. For instance, using the FHIRPACK 28 (4) Access the FHIR server. For instance, using the FHIRPACK
29 command-line client (https://gitlab.com/fhirpack/main): 29 command-line client (https://gitlab.com/fhirpack/main):
30 30
31 On Ubuntu 20.04:
32
33 $ python3.9 -m pip install --user --upgrade pip
34 $ python3.9 -m pip install --user --upgrade cffi fhirpack
35
31 $ fp -s http://localhost:8042/fhir -o "getPatients" -p all -o "gatherSimplePaths id name.family name.given birthDate" 36 $ fp -s http://localhost:8042/fhir -o "getPatients" -p all -o "gatherSimplePaths id name.family name.given birthDate"
32 $ fp -s http://localhost:8042/fhir -o "getEndpoints" -p all -o "gatherSimplePaths id address" 37 $ fp -s http://localhost:8042/fhir -o "getEndpoints" -p all -o "gatherSimplePaths id address"
33 $ fp -s http://localhost:8042/fhir -o "getImagingStudies" -p all -o "gatherSimplePaths identifier.value endpoint.reference subject.reference" 38 $ fp -s http://localhost:8042/fhir -o "getImagingStudies" -p all -o "gatherSimplePaths identifier.value endpoint.reference subject.reference"