Issue:
If HRM lab report doesn't match the name exactly, the HRMDocumentToProvider table has records entered that have NULLs in the signedOffTimestamp column. OSCAR should determines whether to display a lab based on the first hrmDocumentId (which in this case has a NULL sign off) and is therefore always displayed in the inbox.
Expected Result: Lab would correctly match to patient, you sign off on the result and the lab is removed from the inbox.
Current Result: Lab does not match to the patient, it can be manually matched but then does not allow a sign off. If it is not assigned, it can be signed off but then becomes removed from the inbox and becomes lost.
Solution:
OSCAR should be looking for the record where signedOffTimestamp is most recent and/or is NOT NULL.
Workaround:
Delete records where the signedOffTimestamp is NULL.
https://source.oscartools.org:8080/13267
R15: https://source.oscartools.org:8080/13272