FHIR Chat · DSTU2 to DSTU3 conversion · hapi

Stream: hapi

Topic: DSTU2 to DSTU3 conversion


view this post on Zulip sai charan (Nov 02 2018 at 04:29):

Hi All,
I am trying to convert the dstu2 structured Patient to dstu3 format.I am using the hapi-fhir-convertor.While converting the resource at the line of org.hl7.fhir.dstu3.model.Patient output = converter.convertPatient(patient);. I am getting The method convertPatient(org.hl7.fhir.instance.model.Patient) in the type VersionConvertor_10_30 is not applicable for the arguments (ca.uhn.fhir.model.dstu2.resource.Patient). How to resolve this.
Thank You,


Last updated: Apr 12 2022 at 19:14 UTC