FHIR validator questions

Greetings,

I’m using the FHIR validator [https://hl7.org/fhir/validation.html#jar], trying to validate this resource:

The command I type in is:

java -jar org.hl7.fhir.validator.jar I2HG_1_FHIR_Example_Sequence -defn definitions.xml.zip

and the output I get is this:

… load FHIR from definitions.xml.zip
… connect to tx server @ http://tx.fhir.org/r3
(vnull-null)
… validate
Exception in thread “main” java.lang.Exception: Todo: Determining resource type is not yet done
at org.hl7.fhir.dstu3.validation.ValidationEngine.loadContent(ValidationEngine.java:383)
at org.hl7.fhir.dstu3.validation.ValidationEngine.validate(ValidationEngine.java:400)
at org.hl7.fhir.dstu3.validation.Validator.main(Validator.java:248)

Can someone explain to me if I’m doing something wrong, or what is going on?

Thanks much,
Bob

Here’s the resource I’m trying to validate…

At the moment, the validator only determines whether the resource is in json or xml by looking at the file extension. (e.g. .xml or .json).

1 Like

ahh, ok. Thanks Grahame