Skip to content

Stand Alone Validation v1.1.0.0

Hauke Hund edited this page Jun 21, 2024 · 3 revisions

Stand Alone Validation

During startup the stand alone validator will download FHIR implementation guide packages, calculate StructureDefinition (profile) snapshots and expand ValueSets. The downloaded resources, calculated snapshots and expanded ValueSets are stored in a file-system cache. After the cache has been populated the validator can be used offline. A description of all de.netzwerk.universitaetsmedizin.rdp.validation.*configuration properties can be found on the Configuration-Parameters-v1.1.0.0 page.

By default the validator supports the following implementation guides de.basisprofil.r4|1.4.0,de.medizininformatikinitiative.kerndatensatz.meta|1.0.3,de.medizininformatikinitiative.kerndatensatz.person|2024.0.0-ballot,de.medizininformatikinitiative.kerndatensatz.fall|2024.0.0-ballot,de.medizininformatikinitiative.kerndatensatz.mikrobiologie|2024.0.0. Different implementation guides can be configured using the de.netzwerk.universitaetsmedizin.rdp.validation.package property.

The validation tool requires Java 17 to run, to start the validator:

  1. Unzip codex-process-data-transfer-validator-1.1.0.0.zip (83MB).
  2. Edit the application.properties file to define the location of a DFN/GÉANT TCS client certificate and private-key to connect to the default terminology server.
    Default files: client_certificate.pem and client_private-key.pem in execution folder.
  3. Edit the appplication.properties file to specify a private-key password if the private-key is encrypted.
  4. Specify single FHIR resources or bundles as .json or .xml files using command line parameters (one or more files, space separated).

Unix (one line):

java -cp lib/*:codex-process-data-transfer-1.1.0.0.jar 
  de.netzwerk_universitaetsmedizin.codex.processes.data_transfer.validation.ValidationMain <file ...>

Windows (one line):

java -cp lib\*;codex-process-data-transfer-1.1.0.0.jar 
  de.netzwerk_universitaetsmedizin.codex.processes.data_transfer.validation.ValidationMain <file ...>

The validation tool logs to System.err and writes validation results to System.out.

Clone this wiki locally