Covid / Universal Pipeline parity
Description
As part of their work to deprecate the covid pipeline, the ReportStream team performed some exhaustive testing comparing final HL7 items from identical input into SimpleReport. As a result of that testing, RS has asked us to update some of our FHIR mapping behavior with the goal that identical input into SR will result in identical HL7 output from RS.
Proposed solution
The plan is to break down the following list into separate sub-tickets. This ticket will track coordinating testing with ReportStream once the individual required changes have been addressed.
Single Entry
- [x] Update code and description for symptom onset date.
- [ ] Prefer not to answer not getting mapped in FHIR
Bulk Upload
- [x] Positive / Negative getting mapped to Detected/Not Detected
- [ ] speciment_type values getting modified
- [x] test_result_status of C not causing the observation status of AOE to be Corrected
- [x] An empty symptomatic_for_disease value is resulting in a code + unknown value. Should be doing nothing
- [ ] patient_preferred_language is missing
- [x] residence_type not accepting snomed codes correctly
Additional context
Original slack thread: https://skylight-hq.slack.com/archives/C086AJ9CWAW/p1740079352260049
Summary of outstanding issues:
#8629 : RS has called this out as non-blocking #8631: We were unable to reproduce the issue, Victor has said they are investigating but that we could potentially move forward without this. #8634: RS has called this out as non-blocking
We should be good to move forward with testing with report stream in a lower env.
The pieces of this that we're going to do are done. Closing the issue.