prime-reportstream icon indicating copy to clipboard operation
prime-reportstream copied to clipboard

Update OML FHIR -> HL7v2 Mappings

Open arnejduranovic opened this issue 1 year ago • 1 comments

User Story

As a maintainer of the OML FHIR -> HL7v2 mappings, I want to make sure these mappings are using the newer long-term mappings instead of the old mappings, so that I can work to remove the old mappings from the repo and ensure data will not get dropped during translation.

Description/Use Case

Before Flexion ETOR goes to production with routing test orders, we need to ensure OML is properly mapped. Presently, HL7v2->FHIR appears to be using the correct mappings, but OML FHIR -> HL7v2 is using some old ones. We should update OML FHIR ->HL7v2 to use the new mappings because the old ones are not "complete".

Risks/Impacts/Considerations

Dev Notes

Acceptance Criteria

  • update current OML mappings to use the new/long-term mappings. OML mappings (prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-base.yml) no longer dependent on:
    • [ ] prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base (or updated)
    • [ ] prime-router/src/main/resources/metadata/hl7_mapping/common
    • [ ] prime-router/src/main/resources/metadata/hl7_mapping/v251/datatypes
    • [ ] prime-router/src/main/resources/metadata/hl7_mapping/v251-elr
  • Create end-to-end tests for OML HL7v2->FHIR->HL7v2 following pattern in /prime-reportstream/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/orur01. For the input use a maximally configured OML message ONLY FOR THE PARTS THE ARE CURRENTLY MAPPED. see:
    • FHIR -> HL7 mapping: prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-base.yml
    • HL7 -> FHIR mapping: prime-reportstream/prime-router/metadata/HL7/catchall/hl7/message/OML_O21.yml
  • [ ] Integration Tests .CSV reviewed to ensure mappings do not break current ETOR senders/receivers in staging
  • [ ] Delete old mappings or create ticket to do so if there are significant issues

arnejduranovic avatar Jul 02 '24 15:07 arnejduranovic

Hey team! Please add your planning poker estimate with Zenhub @adegolier @arnejduranovic @brick-green @david-navapbc @jack-h-wang @jalbinson @JFisk42 @mkalish @thetaurean

Andrey-Glazkv avatar Jul 08 '24 15:07 Andrey-Glazkv

Reminder: After this ticket, we need to ask ourselves "what is left for ensuring the ORM -> FHIR -> OML flow works and is adequately tested"

arnejduranovic avatar Aug 27 '24 15:08 arnejduranovic

closing ticket

MichaelEsuruoso avatar Oct 16 '24 16:10 MichaelEsuruoso