Mercurial > hg > orthanc-java
changeset 21:4ff1471ebe8b
added Samples/FHIR/configuration.json
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Jan 2024 17:36:06 +0100 |
parents | 1c407ba1d311 |
children | 0bbb4e12b1f0 |
files | .reuse/dep5 Samples/FHIR/NOTES.txt Samples/FHIR/configuration.json |
diffstat | 3 files changed, 21 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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 <s.jodogne@gmail.com> 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/*
--- 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"
--- /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" + } +}