CDCgov / prime-reportstream

ReportStream is a public intermediary tool for delivery of data between different parts of the healthcare ecosystem.
https://reportstream.cdc.gov
Creative Commons Zero v1.0 Universal
65 stars 39 forks source link

Generate Bundle.identifier.value if received FHIR bundle is missing it #14532

Open JFisk42 opened 1 month ago

JFisk42 commented 1 month ago

User Story

As a ReportStream developer troubleshooting issues, I want to see FHIR bundles with a "messageID" if it was sent without an identifier, so I can more easily find the reports I am looking for.

Description/Use Case

In https://app.zenhub.com/workspaces/platform-6182b02547c1130010f459db/issues/gh/cdcgov/prime-reportstream/14332 we added bundle.identifier.value and bundle.identifier.system to two Azure custom events to allow for better tracking of reports. It would also be a good idea to generate these values for incoming FHIR reports without them. It's not a required field in the FHIR spec.

Risks/Impacts/Considerations

Currently SimpleReport is our only FHIR sender in production and they are sending bundle.identifier.

Dev Notes

Possible options:

Acceptance Criteria

Andrey-Glazkv commented 1 month ago

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