Structure defintions,code systems ,value sets added to validation chain still coming as unknown

32 views
Skip to first unread message

Shreeja J

unread,
Sep 10, 2024, 3:32:52 AM9/10/24
to HAPI FHIR
Hi,

We are using Java 21 ,Hapi FHIR validator version 7.4.0 . 

We have followed the steps in the HAPI FHIR documentation site (Validation Support Modules - HAPI FHIR Documentation  -Section 14.3.14 ) to add some additional value sets ,extensions and structure definitions that we need  for IG validation.

We were getting the  below code  systems,value sets and structure definitions as unknown.
 
http://hl7.org/fhir/us/core/STU7/ValueSet-us-core-condition-code.json

So we have added the raw json to the validation chain for the ones that were missing  through the validation chain methods given below for the respective error.

prePopulatedSupport.addStructureDefinition(someStructureDefnition);
prePopulatedSupport.addValueSet(someValueSet);
prePopulatedSupport.addCodeSystem(someValueSet);  

Some of the 'unknowns'  are resolved and validation engine recognizes those extensions,code systems and value sets.But for the ones highlighted in red we are still getting 'Unknown' error from the validator.

Appreciate any suggestions on a way forward to resolve these errors from the validator.

Thanks,
Shreeja


Shreeja J

unread,
Sep 10, 2024, 10:11:34 AM9/10/24
to HAPI FHIR
Hi James,

Even after adding the definitions and code systems to the validator chain as mentioned in the below mail, the validator is still giving unknown error for few code systems, structure definitions and value sets.

Have you seen such issues before?

Appreciate if you can guide us on this.

Thanks,
Shreeja

James Agnew

unread,
Sep 10, 2024, 10:30:01 AM9/10/24
to Shreeja J, HAPI FHIR
My recommended next step in troubleshooting this would be to try invoking / debugging calls to your ValidationSupportChain calling methods like fetchStructureDefinition and fetchValueSet for the URLs it's saying it can't find.

--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/4b23bb51-660d-4038-adae-4c191353f9c7n%40googlegroups.com.

herbers...@tarea.com.br

unread,
Sep 11, 2024, 7:44:00 AM9/11/24
to HAPI FHIR
Hi,

After a quick search on HAPI source code, I think you will had to download the JSON (or XML) specifications and manually add them to you validator implementation.

I had to do this wen working with version 5.1.0 of HAPI.
Reply all
Reply to author
Forward
0 new messages