Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a RS developer, I want a consistent way to read HL7 messages #14116

Open
2 tasks done
mkalish opened this issue Apr 18, 2024 · 8 comments · May be fixed by #16859
Open
2 tasks done

As a RS developer, I want a consistent way to read HL7 messages #14116

mkalish opened this issue Apr 18, 2024 · 8 comments · May be fixed by #16859
Assignees
Labels
platform Platform Team Spillover-Resource Unavailability Team members were unavailable due to illness, vacations, or other commitments, reducing capacity Spillover-Underestimated Effort Work turned out to be more complex or time-consuming than initially estimated. tech-debt Anything that is purely a technical issue and does not affect functionality

Comments

@mkalish
Copy link
Collaborator

mkalish commented Apr 18, 2024

User Story

As a RS developer, I want a consistent way to read HL7 messages

Description/Use Case

As part of refactoring the FhirConverter function an updated method of being able to parse HL7 messages was introduced, but only used in the new code. This function should be used throughout the code base where we read HL7 messages

Risks/Impacts/Considerations

Dev Notes

HL7Reader now contains two main methods for reading an HL7v2 message:

  • getMessages - the old one to be replaced that supports multiple different class definitions per message type
  • parseHL7Message the new one that supports only one "mega" class definition per message type

All usages of getMessages should be replaced with parseHL7Message. Once that is done, all methods that were used only by getMessages should be removed.

Acceptance Criteria

  • parseHL7Message is used everywhere HL7 is parsed in the universal pipeline. Search for this in codebase: // TODO: https://github.com/CDCgov/prime-reportstream/issues/14116
  • HL7Reader has any unused code cleaned up

To Do

@mkalish mkalish added platform Platform Team tech-debt Anything that is purely a technical issue and does not affect functionality labels Apr 18, 2024
@arnejduranovic arnejduranovic added the ready-for-refinement Ticket is a point where we can productively discuss it label Apr 22, 2024
@Andrey-Glazkv
Copy link
Collaborator

@Andrey-Glazkv
Copy link
Collaborator

Please add your planning poker estimate with Zenhub @david-navapbc

@Andrey-Glazkv Andrey-Glazkv removed the ready-for-refinement Ticket is a point where we can productively discuss it label Apr 22, 2024
@adegolier adegolier self-assigned this Oct 22, 2024
@MichaelEsuruoso MichaelEsuruoso added Spillover-Dependencies/Blockers (External) Task delayed due to dependencies on external factors Spillover-Resource Unavailability Team members were unavailable due to illness, vacations, or other commitments, reducing capacity and removed Spillover-Dependencies/Blockers (External) Task delayed due to dependencies on external factors labels Nov 4, 2024
@MichaelEsuruoso
Copy link
Collaborator

Spillover-Resource Unavailability- out three days of the sprint and I've been on call for two

@adegolier adegolier added the Spillover-Underestimated Effort Work turned out to be more complex or time-consuming than initially estimated. label Nov 19, 2024
@MichaelEsuruoso
Copy link
Collaborator

@adegolier to peer with @jack-h-wang to look into this item.

@adegolier
Copy link
Collaborator

Unforseen complications not mentioned in the ticket led to more resources than anticipated being required.

@adegolier
Copy link
Collaborator

Instead of gutting getMessages() and having it return a List parsed through parseHL7Message(), which is what I was almost finished with, was told that it should be deleted entirely, so spent yesterday fixing all the places that were expecting a list and am now back to the same question of whether we care that the new method no longer provides logging.

@adegolier
Copy link
Collaborator

adegolier commented Dec 13, 2024

Working my way through the tests that broke in the rework and figuring out why they're broken now and how to fix them (whether that means changing the code or changing the tests):

  • SubmissionReceiver
  • HL7ACKUtils
  • FHIRBundleHelpers
  • HL7Reader
  • HL7QueueMessageHelpers

@MichaelEsuruoso
Copy link
Collaborator

Spillover-Resource Unavailability- Deployment duties conflict with sprint work.

@adegolier adegolier linked a pull request Dec 20, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform Platform Team Spillover-Resource Unavailability Team members were unavailable due to illness, vacations, or other commitments, reducing capacity Spillover-Underestimated Effort Work turned out to be more complex or time-consuming than initially estimated. tech-debt Anything that is purely a technical issue and does not affect functionality
Projects
Development

Successfully merging a pull request may close this issue.

5 participants