FHIR Chat · New Validator Release with Significant Bug Fix · conformance

Stream: conformance

Topic: New Validator Release with Significant Bug Fix


view this post on Zulip Grahame Grieve (Dec 05 2019 at 18:09):

Mark Kramer:

Does the validator support the feature of comparing two profiles, as you demonstrated at the last WG meeting? Is there code in there capable of merging two StructureDefinitions to create another explicit StructureDefinition with the combined constraints (e.g., intersection of cardinality)?

yes.

view this post on Zulip Grahame Grieve (Dec 05 2019 at 18:09):

btw, please don't ask questions like this in #Announcements

view this post on Zulip Grahame Grieve (Dec 05 2019 at 18:12):

run the validator with a -compare command. You also need -dest [dir] to specify where to put the output, -version and -ig as per normal, and -left [url] and -right [url]. left and right are not semantically different

view this post on Zulip Patrick Werner (Dec 06 2019 at 13:10):

i just d/l the newest Validator and tried to validate a CodeSystem like this: java -jar org.hl7.fhir.validator.jar some_codesystem.xml
I get the following Stacktrace:

Exception in thread "main" org.hl7.fhir.exceptions.FHIRException: Unable to find the package source for 'hl7.fhir.r5.core' at http://build.fhir.org/package.tgz
    at org.hl7.fhir.utilities.cache.PackageCacheManager.loadPackage(PackageCacheManager.java:631)
    at org.hl7.fhir.r5.validation.ValidationEngine.resolvePackage(ValidationEngine.java:695)
    at org.hl7.fhir.r5.validation.ValidationEngine.fetchByPackage(ValidationEngine.java:684)
    at org.hl7.fhir.r5.validation.ValidationEngine.loadIgSource(ValidationEngine.java:522)
    at org.hl7.fhir.r5.validation.ValidationEngine.loadDefinitions(ValidationEngine.java:403)
    at org.hl7.fhir.r5.validation.ValidationEngine.loadInitialDefinitions(ValidationEngine.java:353)
    at org.hl7.fhir.r5.validation.ValidationEngine.<init>(ValidationEngine.java:385)
    at org.hl7.fhir.r5.validation.Validator.main(Validator.java:533)

view this post on Zulip Patrick Werner (Dec 06 2019 at 13:15):

also getting the error with an older validator i found on my hdd. Is this a Issue on the HL7 Homepage?

view this post on Zulip Patrick Werner (Dec 06 2019 at 14:47):

it was my personal firewall : silence: , the error message could be improved

view this post on Zulip Grahame Grieve (Dec 06 2019 at 18:24):

we

view this post on Zulip Grahame Grieve (Dec 06 2019 at 18:24):

we'll be switching to a better package mgmt system soon - packages.fhir.org - and then I'll be able to be more certain about package resolution, which will mean better errors


Last updated: Apr 12 2022 at 19:14 UTC