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.
Currently SimpleReport is our only FHIR sender in production and they are sending bundle.identifier.
Dev Notes
Possible options:
Adding a new unique reserved keyword for sender schemas for the value field that will trigger a generated UUID if desired
value: [ '%generatedResourceId' ]
Add a new field in sender schemas that would allow for more varied input for generating missing fields
Add a check in FHIRConverter to always generate a missing bundle.identifier.
Acceptance Criteria
[ ] FHIR spec says bundle.identifier is optional, create new one with generated UUID if missing via sender transform in convert step. This will give us enough info to link a message a receiver sends back to us to the original report submitted by sender.
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:
value: [ '%generatedResourceId' ]
FHIRConverter
to always generate a missing bundle.identifier.Acceptance Criteria