CDCgov / phdi

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

SPIKE: display HTML tables for lab results #2830

Closed austin-hall-skylight closed 1 week ago

austin-hall-skylight commented 1 month ago

What needs to be done

Determine the feasibility of rendering the lab results HTML tables from eICR files in the viewer in place of how we currently display lab results.

Why it needs to be done

Lab results come in a variety of formats from different EHR's. Aside from having to account for different column names, there are issues associating these tables and the data they contain with the correct observation. Displaying them as they are will give epis access to all of the data they contain and avoid conversion/display issues.

Timebox

? days

To-do list

austin-hall-skylight commented 3 weeks ago

Here are the lab result fields that we are expected to parse and their availability in eCR's with abnormal lab result sections:

LA 3a6febc6 / Cerner? UUID Y eICR_ID Y test_type Y test_type_code Y test_type_system Y test_result_qualitative test_result_quantitative Y test_result_units Y test_result_code N test_result_code_display N test_result_code_system N test_result_interpretation Y test_result_interpretation_code Y test_result_interpretation_system Y test_result_reference_range_low_value N test_result_reference_range_low_units N test_result_reference_range_high_value N test_result_reference_range_high_units N specimen_type N specimen_collection_date Maybe? (effectiveDateTime) performing_lab N

TN 2 / ecrNow UUID Y eICR_ID Y test_type Y test_type_code Y test_type_system Y test_result_qualitative Y test_result_quantitative Y test_result_units Y test_result_code Y test_result_code_display Y test_result_code_system Y test_result_interpretation Y test_result_interpretation_code Y test_result_interpretation_system Y test_result_reference_range_low_value Y test_result_reference_range_low_units N (but we could assume the unit from valueQuantity is the same as referenceRange) test_result_reference_range_high_value Y test_result_reference_range_high_units N (but we could assume the unit from valueQuantity is the same as referenceRange) specimen_type N (but there is procedure info for specimen collection in the eICR file. Maybe this could somehow be linked to the lab. More research needed) specimen_collection_date Y performing_lab Y