CDCgov / phdi

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

BUG: Pregnancy status is not displayed when info is available #2778

Closed angelathe closed 1 month ago

angelathe commented 1 month ago

Description

For the examples below, we are not displaying pregnancy status information in the eCR Viewer even when the information is available. Please modify the FHIR conversion templates to pull the pregnancy observation information (just status), and update the Viewer so that it displays this value.

From XML: Pregnancy status value is code 77386006 and displayName is pregnant

image.png

(Note that for the eCRs below, the HTML table actually indicates that the user is not pregnant. However, since we consider the XML data as the source of truth, please source pregnancy status information from the XML observation even though it conflicts with the HTML values.)

Steps to reproduce

Example eCRs:

Expected Result

If pregnancy status (boolean) information is available, it should be displayed under Patient Info -> Social History -> Pregnancy Status.

Actual result

Example from 4aca74f4-c3b7-49ce-a437-1c8594451926:

image.png

Priority

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

Priority

Notes

FHIR conversion will be required for this ticket.

Note, this ticket only deals with adding pregnancy status. Other tickets will be written to address the other missing fields (i.e., Expected Date of Delivery, Observation Date, etc.)

emmastephenson commented 1 month ago

Closing this for now - would require a larger feature effort to search for pregnancy status anywhere in the FHIR bundle.

angelathe commented 1 month ago

@emmastephenson Just FYI, this is the pregnancy status that we can pull directly from the XML (it is coded as a pregnancy observation) -- it doesn't refer to those cases where we'd have to search through the text / other sections to find pregnancy info