LinuxForHealth / hl7v2-fhir-converter

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

Fix diagnosis.use for a, f, w + fix tests #437

Closed cragun47 closed 2 years ago

cragun47 commented 2 years ago

Does correct lookup of DG1.6 in tables and mappings, using a table 0052 lookup for F & W, and mapping for A

Results in: A:

{ 
code: AD
display: Admission diagnosis
system:  http ://terminology.hl7.org/CodeSystem/diagnosis-role
}

F

{
code: F
display: Final
system: http://terminology.hl7.org/CodeSystem/v2-0052
}

and W:

{
code: W
display: Working
system: http://terminology.hl7.org/CodeSystem/v2-0052
}