CDCgov / phdi

https://cdcgov.github.io/dibbs-site/
Creative Commons Zero v1.0 Universal
35 stars 14 forks source link

BUG: Fix patient ID/OID display #2769

Closed angelathe closed 1 week ago

angelathe commented 1 month ago

Description

In the eCR example below, we are currently displaying the OID for one of the patient IDs. However, we only want to display IDs that come before the OID. Since no ID exists before the OID in this case, please remove the OID display in the Viewer.

We only need the values that appear before the OID (see example below). For more details, refer to the 07/09 thread in the dibbs-internal Slack.

Steps to reproduce

Example eCR: 8bf7ecd9-1a92-478c-af4f-963de0a544ac Displaying a Patient ID that we may not want to display (OID)

Expected Result

Given patient IDs, if an ID exists preceeding the OID, then display the ID in the eCR Viewer. If no ID exists preceeding the OID, then do not display anything for that ID.

Actual result

Example from 8bf7ecd9-1a92-478c-af4f-963de0a544ac: We shouldn't display the OID since no ID exists preceeding it.

image.png

Priority

Provide an estimate for level of impact the bug has today by placing an X in the applicable bracket

Priority

Notes

Include any additional context or information here that doesn't fit into other parts of the template