Stream: implementers
Topic: HL7 Validator offline usage possible?
Dietrich Haag (Apr 13 2021 at 12:56):
Hi, did someone know if the HL7 Validator (the jar-file) can be used offline, so no internet connection is needed for validating an instance? Thanks.
Oliver Egger (Apr 13 2021 at 13:08):
if you switch off terminology services that works, specify: -tx n/a in the command line. you need also to guarantee that all dependent packages are already downloaded in the package cache for the validator.
Dietrich Haag (Apr 13 2021 at 14:25):
Thank you for responding!
the package cache is always placed in the user-dir of the calling user ".fhir\packages" or am I able to set a path?
Is it possible to us the terminology from the package cache or have I to go online or without terminology?
Also am I able to use the Validator multiple times without it had to do a re-instantiation as stated in the run-output: "No such cached session exists for session id null, re-instantiating validator."?
Grahame Grieve (Apr 16 2021 at 06:00):
you can't set the path, no.
Grahame Grieve (Apr 16 2021 at 06:00):
it will use any terminologies in the package cache, but that doesn't include the big ones no
Grahame Grieve (Apr 16 2021 at 06:01):
and if you want to use it multiple times without re-initializing, you'll have to look at hosting the java code in your sling that manages sessions
Last updated: Apr 12 2022 at 19:14 UTC