Closed angelathe closed 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?
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 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)
@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
PULL REQUEST
Summary
Adds relevant clinical info (active problems) to the eCR Summary section
evaluateEcrSummaryRelevantClinicalDetails
: which filters for the relevant active problems given a SNOMED code and returns the relevant clinical details element.Related Issue
Fixes #1158
Screenshots
Given a valid SNOMED code Given an absent or invalid SNOMED code
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:
trigger-code-reference
service on an eICR61f13d32-b25c-4fb6-998b-73de2dbf87f2
. This particular eCR should stamp 10 resources: 1 Condition and 9 Observations/containers/trigger-code-reference/description.md
for running the service from Python&snomed-code=840539006
(COVID) as a URL search param. This should bubble up relevant COVID active problems to the eCR summary.61f13d32-b25c-4fb6-998b-73de2dbf87f2
, it should bubble up the active problem: "Covid Toes".