Differences observed in validation results!!

61 views
Skip to first unread message

iliyas hussain

unread,
Apr 24, 2022, 5:25:20 PM4/24/22
to HAPI FHIR
Hi Folks,

I'm pretty new to the world of HAPI & FHIR and recently was trying my hands on validation of resources. I used 2 approaches, one with the validator jar provided by HL7 org here: https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator 
&& 
the other using a framework I built using the HAPI FHIR libraries. Interestingly I observed that the validation results are hugely different in both the cases. I'm attaching the screenshots of html reports from both validation approaches and the resource file I had used, for reference here.
Can anyone help me achieve same results using HAPI library as is seen with the validator jar. Any leads/pointers will be really helpful and much appreciated!

Thanks & Regards,
Iliyas Hussain 
SmokingStatus with wrong loinc code_report_from_validator_jar.html
SmokingStatus with wrong loinc code.json
SmokingStatus with wrong loinc code_report_from_new_validator.html

Oliver Egger

unread,
Apr 25, 2022, 3:59:38 AM4/25/22
to iliyas hussain, HAPI FHIR
Hi Iliyas

It looks like your hapi-fhir setup does not know  http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus which
is from the US Core Implementation Guide. You need to configure the hapi-fhir validator with that Implementation Guide. The other
differences will be around which terminology server codes will be evaluated (HL7 FHIR validator uses tx.fhir.org).

Hope this helps as starting point, see also discussion on zulip with approach from jens: 

Best regards
oliver

check out or subscribe to our newsletter: open source initiatives | fhir workshop | events
 

mobile: +41765795005

ahdis ag
c/o The Hub Zürich Association
Sihlquai 131
8005 Zürich
Switzerland




--
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/bd1ef1ad-54f7-4fdb-bd4d-03fbae503027n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages