diff 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
line wrap: on
line diff
--- a/Samples/FHIR/NOTES.txt	Wed Jun 12 13:58:29 2024 +0200
+++ b/Samples/FHIR/NOTES.txt	Wed Jun 12 14:44:37 2024 +0200
@@ -1,7 +1,7 @@
 
 This sample Java plugin runs a FHIR server based on the HAPI library.
-Note that contrarily to the other samples that can run using Java 1.8,
-this Java plugin requires Java 11.
+Note that contrarily to the "Basic" and "Dcm4Che" samples that can run
+using Java 1.8, this Java plugin requires Java 11.
 
 (1) Make sure to build the C++ plugin:
 
@@ -15,14 +15,20 @@
 (2) Compile the Java plugin using Maven:
 
 # cd ../../Samples/FHIR
-# mvn package
+# mvn compile package
 
 
 (3) Start Orthanc:
 
-On Ubuntu 20.04 or 22.04:
+On Ubuntu 20.04 or 22.04 (replace "mainline" with the version of the
+Java plugin for Orthanc):
 
-# LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib/server/ Orthanc ./configuration.json
+# LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib/server/ \
+  ORTHANC_JAVA_VERSION=mainline \
+  Orthanc ./configuration.json
+
+IMPORTANT: The DICOMweb plugin must be installed in the current
+directory.
 
 
 (4) Access the FHIR server. For instance, using the FHIRPACK