Open JFisk42 opened 2 weeks ago
@JFisk42 what is the impact of this issue on our developers? In other words, what's the current work around? Please add this detail to ticket.
@arnejduranovic I have updated the Impact section, let me know if that still isn't clear enough.
Hey team! Please add your planning poker estimate with Zenhub @adegolier @arnejduranovic @david-navapbc @jack-h-wang @JFisk42 @kant777 @mkalish @thetaurean
Please add your planning poker estimate with Zenhub @jalbinson
@victor-chaparro Looking back at this ticket after I logged it, it's not entirely clear what functionality https://github.com/CDCgov/prime-reportstream/pull/15865 was implementing. Are you able to provide any guidance?
Describe the bug
The fhirdata command produces an exception when attempting to convert from hl7->fhir. A check that requires fhir data to be present was introduced.
Impact on ReportStream
Any engineer trying to generate FHIR data from a HL7 file will encounter an exception causing the tool to fail. This has an impact on any developer trying to create or update large amounts of FHIR data as they will not be able to.
Steps to reproduce
Steps to reproduce the behavior:
./gradlew primeCLI --args="fhirdata --input-file src/testIntegration/resources/datatests/HL7_to_FHIR/sample_oml_20240319-001.hl7 --output-file src/testIntegration/resources/datatests/HL7_to_FHIR/sample_oml_20240319-001.fhir --output-format FHIR"
Expected behavior
The fhirdata command should successfully convert hl7 to fhir data.
Resources
Issue was introduced here: https://github.com/CDCgov/prime-reportstream/pull/15865
Logs
Current output when hl7->fhir conversion is attempted. Note that the root code issue is inaccessible in the stack trace. What happens is that it is taking hl7 files and attempting to parse them as fhir.
Additional context
Add any other historical context about the problem here.