FHIR Chat · FHIR resource Parsing with HAPI · implementers

Stream: implementers

Topic: FHIR resource Parsing with HAPI


view this post on Zulip Aditya Joshi (Jun 25 2016 at 07:43):

Hi All, Need your urgent help. I am parsing multiple FHIR resources with HAPI API but getting this issue-
Exception in thread "main" java.lang.IllegalArgumentException: This parser is for FHIR version DSTU1 - Can not parse a structure for version DSTU2

I am getting above error for Observation resource. My resource is100% DSTU2. I am able to parse Patient, Encounter and Observation resources (DSTU2) with HAPI DSTU2 parser.
I am using this HAPI API Jar files - hapi-fhir-1.5-standard-distribution"

could anyone suggest what can be the issue?

Regards,
Aditya

view this post on Zulip Aditya Joshi (Jun 25 2016 at 12:53):

Got this resolved. NO issues now. thanks.


Last updated: Apr 12 2022 at 19:14 UTC