LinuxForHealth / hl7v2-fhir-converter

Converts HL7 v2 Messages to FHIR Resources
Apache License 2.0
89 stars 36 forks source link

Addtl support to patient.idnt IN2.2,6,8 #425

Closed cragun47 closed 2 years ago

cragun47 commented 2 years ago

Signed-off-by: Brian Cragun cragun@us.ibm.com

if subscriber=self, use IN2.2 as fallback to populate SSN patient identifier if PID-19 is empty

IN2.6 to Patient.identifier.type.coding.code=MC

IN2.8 to Patient.identifier.type.coding.code=MA

If subscriber=self, use IN2-61 for Patient.identifier.type.coding.code=MB, fallback to IN1-36:

Created SUBSCRIBER_IS_SELF check.

Added IN1, IN2 to sibling ADT_xxx messages. (We are checking ADT_A01)