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

Create HAPI HL7 classes for EVN, ROL, AL1, DG1, PR1, IN1, IN3

Open mkalish opened this issue 1 year ago • 1 comments

User Story

As a sender of ADT data, I would like to be able to send any HL7 version

Description/Use Case

We'll want to investigate and create our HAPI HL7 classes for the new segments present in ADT_* messages that will support multiple versions of HL7.

Risks/Impacts/Considerations

Dev Notes

This will be very similar to what we did for ORU_R01 where the goal is to undeprecate all fields and expand the type to the largest version in the spec (i.e. some 2.5.1 fields are CE, but in 2.7 they are CWE, so the a new class should set them as CWE)

Acceptance Criteria

  • [ ] The following segments are investigated for whether they HAPI HL7 2.7 version can be used (i.e. is expansive enough with no deprecated fields)
    • ROL
    • EVN
    • AL1
    • DG1
    • PR1
    • IN1
    • IN3
  • [ ] A new HAPI HL7 class is created for any segment that 27 version is not sufficient
  • [ ] A new HAPI HL7 message is created for each ADT type we're supporting using the new classes and the existing ones created
    • ADT_01
    • ADT_03
    • ADT_04
    • ADT_08

mkalish avatar Aug 06 '24 14:08 mkalish

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

MichaelEsuruoso avatar Oct 07 '24 16:10 MichaelEsuruoso

If this task is started before https://github.com/CDCgov/prime-reportstream/issues/16307 then it should be able to address the comment here about removing the hapi v26 dependency.

JFisk42 avatar Oct 24 '24 23:10 JFisk42

@jack-h-wang to verify that this ticket is not a blocker to 16409

MichaelEsuruoso avatar Dec 03 '24 17:12 MichaelEsuruoso

to be refined

MichaelEsuruoso avatar Dec 05 '24 17:12 MichaelEsuruoso

AL1, DG1, IN1, IN3 were implemented in #16549. On a quick check, the EVN 2.7 class should be sufficient but we will need to create ROL and PR1 classes.

jack-h-wang avatar Dec 05 '24 19:12 jack-h-wang

Ticket was rescoped and effort has been reduced

MichaelEsuruoso avatar Dec 09 '24 17:12 MichaelEsuruoso