Stream: implementers
Topic: Getting validator to work with IG
Kippi Bordowitz (Apr 11 2021 at 19:41):
Hello all,
Our whole ig is currently in the same directory but for some reason I get an error while testing an example
of the Israeli Core Patient we are currently testing. There are definitely all the codeSystems and valueSets required but I am getting an error.
Here is the command I use to start the validator:
java -jar validator_cli.jar c:\FHIR\IsraelCoreProfile\tests\Patient\Patient-Tomer.json -version 4.0.1 -ig c:\FHIR\IsraelCoreProfile\fsh-generated\resources
and here is the response I get:
*FAILURE*: 3 errors, 0 warnings, 0 notes
Error @ Patient.extension[0].value.ofType(CodeableConcept).coding[0] (line 14, col12) : Code System URI 'http://fhir.health.org.il/cs/paying-entity' is unknown so the code cannot be validated for 'http://fhir.health.org.il/cs/paying-entity#103'
Error @ Patient.extension[0].value.ofType(CodeableConcept).coding[0] (line 14, col12) : The code system "http://fhir.health.org.il/cs/paying-entity" is not known (encountered paired with code = "103"); The code provided (http://fhir.health.org.il/cs/paying-entity#103) is not valid in the value set 'All codes known to the system' (from http://tx.fhir.org/r4) for 'http://fhir.health.org.il/cs/paying-entity#103'
Error @ Patient.identifier[0].value (line 30, col6) : il-id-chk: 'Israeli ID must be 9-digits with a correct check-digit at the end.' failed
But there are definitely all the files for it to work. Is there some param that I need to ass so that it doesn't look for a terminology service but ONLY for the the local IG files?
Don't mind the last error. That's fine.
Lloyd McKenzie (Apr 11 2021 at 23:39):
Are the code systems and value sets in question showing up in the 'published' IG? If not, there must be some issue with them being found. If they're being published, look for spelling errors, capitalization issues or other minor differences in the URLs.
Last updated: Apr 12 2022 at 19:14 UTC