# HG changeset patch # User Sebastien Jodogne # Date 1704472566 -3600 # Node ID 4ff1471ebe8bed1f7c1fe89038e82816d9146a5b # Parent 1c407ba1d3111719bfb77277d3ffde965009a779 added Samples/FHIR/configuration.json diff -r 1c407ba1d311 -r 4ff1471ebe8b .reuse/dep5 --- a/.reuse/dep5 Fri Jan 05 16:36:44 2024 +0100 +++ b/.reuse/dep5 Fri Jan 05 17:36:06 2024 +0100 @@ -3,16 +3,16 @@ Upstream-Contact: Sebastien Jodogne Source: https://orthanc.uclouvain.be/ -Files: NEWS README Samples/Basic/NOTES.txt Samples/Dcm4Che/NOTES.txt Samples/FHIR/NOTES.txt -Copyright: 2023 Sebastien Jodogne, UCLouvain, Belgium +Files: NEWS README Samples/Basic/NOTES.txt Samples/Dcm4Che/NOTES.txt Samples/FHIR/NOTES.txt Samples/FHIR/configuration.json +Copyright: 2023-2024 Sebastien Jodogne, UCLouvain, Belgium License: CC0-1.0 Files: Resources/Orthanc/CMake/* Resources/Orthanc/Toolchains/* -Copyright: 2012-2016 Sebastien Jodogne, University Hospital of Liege (Belgium), 2017-2023 Osimis S.A. (Belgium), and 2021-2023 UCLouvain (Belgium) +Copyright: 2012-2016 Sebastien Jodogne, University Hospital of Liege (Belgium), 2017-2023-2024 Osimis S.A. (Belgium), and 2021-2023-2024 UCLouvain (Belgium) License: LGPL-3.0-or-later Files: Resources/Orthanc/Plugins/* Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h Resources/OrthancCPlugin-1.10.0.patch -Copyright: 2012-2016 Sebastien Jodogne, University Hospital of Liege (Belgium), 2017-2023 Osimis S.A. (Belgium), and 2021-2023 UCLouvain (Belgium) +Copyright: 2012-2016 Sebastien Jodogne, University Hospital of Liege (Belgium), 2017-2023-2024 Osimis S.A. (Belgium), and 2021-2023-2024 UCLouvain (Belgium) License: GPL-3.0-or-later Files: Resources/jdk8u382-b05-win32/* Resources/jdk8u382-b05-win64/* diff -r 1c407ba1d311 -r 4ff1471ebe8b Samples/FHIR/NOTES.txt --- 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" diff -r 1c407ba1d311 -r 4ff1471ebe8b Samples/FHIR/configuration.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Samples/FHIR/configuration.json Fri Jan 05 17:36:06 2024 +0100 @@ -0,0 +1,11 @@ +{ + "Plugins" : [ + "../../Plugin/Build", + "./libOrthancDicomWeb.so" + ], + "Java" : { + "Enabled" : true, + "Classpath" : "target/OrthancFHIR-mainline-jar-with-dependencies.jar", + "InitializationClass" : "Main" + } +}