CDCgov / trusted-intermediary

Bringing together healthcare providers by reducing the connection burden.
Apache License 2.0
9 stars 1 forks source link

Linked metadata missing when using outbound report ID #1100

Closed halprin closed 3 days ago

halprin commented 2 weeks ago

Bug

Describe the Bug

When passing in an outbound report ID to the metadata endpoint, we successfully get metadata out but the linked metadata is blank. If we use the inbound report ID to get the exact same metadata, then the linked metadata is filled in.

Impact

Receivers will never see any linked metadata. This means PHLs for the order flow and birthing facilities for the results flow.

To Reproduce

  1. Send order through TI.
  2. Send same order through TI so it links with previous order.
  3. Call metadata end point with outbound report ID.
  4. See missing linked metadata.

Expected Behavior

There should be linked metadata between the two orders.

Screenshots

N/A

Logs

None.

Version

Latest version.

Additional Context

None.