Issue during Transformation of Hl7v2 to FHIR #5092
manaschandanroy
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have created a channel in Mirth which will help us transform the messages from Hl7v2 to FHIR.
We have written the transformer which includes mapping of several resources .
The main problem is that while transforming the message it is generating a FHIR JSON for all the resources i.e. if suppose i have passed segments PID , PV1, AL1 in an HL7 message. After the message gets transformed FHIR Json bundle that gets generated has all the resources with no data and mapping which shows error while importing that JSON into FHIR Store.
can anyone advice how can transformation happen only for segments that are passed in the message .
Additionally whatever mapping we have done some fields are codable concept that we have mapped through Object Builder.
So even a field is not present in Hl7 message it is throwing error while transformation that following field is not available in the message. Any way we can mark the required so that it throws error only for that ??
Any help would be appreciated!!!!
Beta Was this translation helpful? Give feedback.
All reactions