Closed mattStorer closed 1 month ago
@drdavec to update. Don't show card if there are no values.
I added logic into CQL to omit any Home BP that do not have systolic or diastolic values. This should hide the "phantom" values.
But I'm guessing that Matt was testing with Cerner or other third-party that had a Home BP Observation, but since the systolic and diastolic values are only using OSHU Epic codes, no values from other endpoints.
Still does not explain the "SDS" source, but could be related to the extra Linkage issues. Believe this is resolved by one or both issues fixes.
@drdavec - I'm not actually testing with Cerner or any other third-party endpoints. This is seen after logging into the MyCarePlanner app and just clicking on tabs.
Loading for Andrew Fhir, who has no data in the SDS:
Tabbing over to look at Vitals, I see this:
Dave committed to develop on tuesday. @swmuir
Loading MyCarePlanner 2.4.0 in POC for the OHSU POC patient Andrew Fhir, we see the following:
It appears that this 127/89 reading correlates to the identified resource coming in from the Observation call to epicmobile.ohsu.edu for
code=http://loinc.org/72076-3
(Blood pressure home reading), which makes sense.What does not make sense is the Home Blood Pressure reading above it, which purports to come from the SDS.
Note that no readings have been shared for this user to the SDS, so there aren't any resources in the SDS for this user, aside from those required for application bootstrapping, i.e. the two Patient resources and one Linkage.
Searching network logs for where this might come from, I find this query:
So it looks like MyCarePlanner is querying the SDS for resources (I thought it wasn't supposed to do that? Isn't MyCarePlanner intended to only read resources from third-party endpoints directly?)
Curiously, the response to this query contains no entries, so it doesn't actually return any resources.
Where is this empty Home Blood Pressure reading coming from?
And why is MyCarePlanner reading resources from the SDS at all, isn't it supposed to only display resources received directly from third-party endpoints?