comparison Samples/FHIR/NOTES.txt @ 29:118adbad648f

sharing common properties between samples
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Jun 2024 14:44:37 +0200
parents 4ff1471ebe8b
children
comparison
equal deleted inserted replaced
28:43923934e934 29:118adbad648f
1 1
2 This sample Java plugin runs a FHIR server based on the HAPI library. 2 This sample Java plugin runs a FHIR server based on the HAPI library.
3 Note that contrarily to the other samples that can run using Java 1.8, 3 Note that contrarily to the "Basic" and "Dcm4Che" samples that can run
4 this Java plugin requires Java 11. 4 using Java 1.8, this Java plugin requires Java 11.
5 5
6 (1) Make sure to build the C++ plugin: 6 (1) Make sure to build the C++ plugin:
7 7
8 # cd ../../Plugin/ 8 # cd ../../Plugin/
9 # mkdir Build 9 # mkdir Build
13 13
14 14
15 (2) Compile the Java plugin using Maven: 15 (2) Compile the Java plugin using Maven:
16 16
17 # cd ../../Samples/FHIR 17 # cd ../../Samples/FHIR
18 # mvn package 18 # mvn compile package
19 19
20 20
21 (3) Start Orthanc: 21 (3) Start Orthanc:
22 22
23 On Ubuntu 20.04 or 22.04: 23 On Ubuntu 20.04 or 22.04 (replace "mainline" with the version of the
24 Java plugin for Orthanc):
24 25
25 # LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib/server/ Orthanc ./configuration.json 26 # LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib/server/ \
27 ORTHANC_JAVA_VERSION=mainline \
28 Orthanc ./configuration.json
29
30 IMPORTANT: The DICOMweb plugin must be installed in the current
31 directory.
26 32
27 33
28 (4) Access the FHIR server. For instance, using the FHIRPACK 34 (4) Access the FHIR server. For instance, using the FHIRPACK
29 command-line client (https://gitlab.com/fhirpack/main): 35 command-line client (https://gitlab.com/fhirpack/main):
30 36