CDCgov / phdi

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

Add relevant active problems to eCR Summary section #2007

Closed angelathe closed 3 months ago

angelathe commented 3 months ago

PULL REQUEST

Summary

Adds relevant clinical info (active problems) to the eCR Summary section

Related Issue

Fixes #1158

Screenshots

Given a valid SNOMED code Screenshot 2024-06-21 at 09 23 17 Given an absent or invalid SNOMED code Screenshot 2024-06-21 at 09 23 33

Additional Information

Note: Administered Medications have not been added yet. This task will be scoped to a separate issue since it requires conversion to proper FHIR resources.

Checklist

Note: No seed data has been stamped yet with condition codes via the trigger-code-reference service. You can test this by:

sarahtress commented 3 months ago

@angelathe this is looking great! is it possible to show me what this would look like for 2-3 other eCRs if it's not too much work?

sarahtress commented 3 months ago

the only concern I'll note is it seems to me with this one that we're pulling more than what caused the eCR to be sent, but it is still relevant info to COVID... so that might just have to be something we user test (i.e. the only thing that caused this to be sent for COVID is a positive COVID lab test, as defined by the RCKMS Rule Summary, so the COVID toes is just something related to COVID in the record, but not something relevant to why the eCR got sent)

however, since it is still related to the condition, I'm not too nervous about it yet

angelathe commented 3 months ago

@angelathe this is looking great! is it possible to show me what this would look like for 2-3 other eCRs if it's not too much work?

@sarahtress I combed through all our seed eCRs, and so far, this is the only eCR that returns a Condition stamped with the COVID condition code. Is there something specific you'd like to see that I can try to re-create with a fake Bundle?

(I'm looking into why some of the eCRs with COVID conditions aren't getting stamped with codes, but that's a separate issue)

sarahtress commented 3 months ago

@angelathe this is looking great! is it possible to show me what this would look like for 2-3 other eCRs if it's not too much work?

@sarahtress I combed through all our seed eCRs, and so far, this is the only eCR that returns a Condition stamped with the COVID condition code. Is there something specific you'd like to see that I can try to re-create with a fake Bundle?

(I'm looking into why some of the eCRs with COVID conditions aren't getting stamped with codes, but that's a separate issue)

ah, if we can only do it for COVID eCRs, then I guess there's not much more for me to look at for now