diff --git a/containers/ecr-viewer/seed-scripts/baseECR/LA/09f39529-69b8-4937-8e01-596b7e966d87/CDA_eICR.xml b/containers/ecr-viewer/seed-scripts/baseECR/LA/09f39529-69b8-4937-8e01-596b7e966d87/CDA_eICR.xml index 5a8286c5c4..3af8c9ad7a 100644 --- a/containers/ecr-viewer/seed-scripts/baseECR/LA/09f39529-69b8-4937-8e01-596b7e966d87/CDA_eICR.xml +++ b/containers/ecr-viewer/seed-scripts/baseECR/LA/09f39529-69b8-4937-8e01-596b7e966d87/CDA_eICR.xml @@ -1 +1 @@ -Initial Public Health Case Report999 Single LaneLOS ANGELESBEVERLY HILLSCA90210USAUSAAppleZtestVanderbilt University Medical Center3401 West End AveDAVIDSONNASHVILLETN37203USAVanderbilt University Medical Center3401 West End AveDAVIDSONNASHVILLETN37203USAOrders OnlyVanderbilt University Medical Center3401 West End AveDAVIDSONNASHVILLETN37203USANeurological Intensive CareVanderbilt University Adult Hospital1211 Medical Center Dr6 Critical Care TowerNashvilleTN37232Vanderbilt University Medical Center1211 Medical Center Dr6 Critical Care TowerNashvilleTN37232Vanderbilt University Medical Center
Miscellaneous NotesNot on filedocumented in this encounter
Immunizations
NameAdministration DatesNext Due
DTaP, 5 pertussis antigens vaccine (DAPTACEL)06/15/2021
Hep B, adult vaccine (Engerix/Recombivax)09/08/2020
SARS-COV-2 (COVID-19) RED CAP +BLUE LABEL VACCINE, MODERNA 12+YO01/22/2021
documented as of this encounter
LLSFJKModerna US, Inc.NurseOneFamily MedicineRN
Administered MedicationsNot on filedocumented in this encounter
Plan of Treatment
Pending Results
NameTypePriorityAssociated DiagnosesDate/Time
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
documented as of this encounter
Problems
Active ProblemsNoted Date
COVID toes7/13/22
Chest pain on breathing5/26/22
Type 1 diabetes2/28/22
Overview: Formatting of this note might be different from the original.
BMI Readings from Last 1 Encounters:
08/30/21 28.69 kg/m²

Plague pneumonia6/16/21
Absence of menstruation6/12/18
Foot callus8/11/17
Overview: Formatting of this note might be different from the original.
Ouch.

documented as of this encounter (statuses as of 01/02/2023)
Reason for VisitNot on file
Results(ABNORMAL) CBC (04/11/2022 10:23 AM CDT)
ComponentValueRef RangeTest MethodAnalysis TimePerformed AtPathologist Signature
White Blood Cells10.9 (H)3.9 - 10.7 x10(3)/mcLVUMC CERNER LAB
Red Blood Cells4.914.00 - 5.50 x10(6)/mcLVUMC CERNER LAB
Hemoglobin14.911.8 - 16.0 gm/dLVUMC CERNER LAB
Hematocrit46 (H)36 - 43 %VUMC CERNER LAB
Mean Cell Volume9381 - 98 fLVUMC CERNER LAB
Mean Cell Hemoglobin30.327.0 - 32.0 pgVUMC CERNER LAB
Mean Cell Hemoglobin Concentration32.731.0 - 35.0 gm/dLVUMC CERNER LAB
RDW SD51.037.4 - 52.4 fLVUMC CERNER LAB
RDW CV15.0 (H)11.1 - 14.3 %VUMC CERNER LAB
Platelet88 (L)135 - 371 x10(3)/mcLVUMC CERNER LAB
Mean Platelet Volume10.49.3 - 12.8 fLVUMC CERNER LAB
Nucleated RBC00 - 0 /100 WBCVUMC CERNER LAB
Nucleated RBC Abs0.000.00 - 0.00 x10(3)/mcLVUMC CERNER LAB
Comment: This test was performed at: Vanderbilt Tullahoma-Harton Laboratory,CLIA# 44D0309812,Donald E. Trummel, MD, Medical Director,1805 N Jackson St,Tullahoma,TN,37388,USA
Specimen (Source)Anatomical Location / LateralityCollection Method / VolumeCollection TimeReceived Time
Blood04/11/2022 10:23 AM CDT04/11/2022 10:24 AM CDT
Resulting Agency Comment
Ordered by DR. TEST ZTEST SR
Authorizing ProviderResult Type
No PcpLAB BLOOD ORDERABLES
Performing OrganizationAddressCity/State/ZIP CodePhone Number
VUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLE, TN 37232-5310615-875-5227
(ABNORMAL) CBC (01/27/2022 2:39 PM CST)
ComponentValueRef RangeTest MethodAnalysis TimePerformed AtPathologist Signature
White Blood Cells18.7 (H)3.9 - 10.7 x10(3)/mcLVUMC CERNER LAB
Red Blood Cells2.81 (L)4.00 - 5.50 x10(6)/mcLVUMC CERNER LAB
Hemoglobin9.2 (L)11.8 - 16.0 gm/dLVUMC CERNER LAB
Hematocrit30 (L)36 - 43 %VUMC CERNER LAB
Mean Cell Volume106 (H)81 - 98 fLVUMC CERNER LAB
Mean Cell Hemoglobin32.7 (H)27.0 - 32.0 pgVUMC CERNER LAB
Mean Cell Hemoglobin Concentration30.9 (L)31.0 - 35.0 gm/dLVUMC CERNER LAB
RDW SD57.2 (H)37.4 - 52.4 fLVUMC CERNER LAB
RDW CV14.6 (H)11.1 - 14.3 %VUMC CERNER LAB
Platelet123 (L)135 - 371 x10(3)/mcLVUMC CERNER LAB
Mean Platelet Volume10.89.3 - 12.8 fLVUMC CERNER LAB
Nucleated RBC00 - 0 /100 WBCVUMC CERNER LAB
Nucleated RBC Abs0.05 (H)0.00 - 0.00 x10(3)/mcLVUMC CERNER LAB
Comment: This test was performed at: Vanderbilt Tullahoma-Harton Laboratory,CLIA# 44D0309812,Donald E. Trummel, MD, Medical Director,1805 N Jackson St,Tullahoma,TN,37388,USA
Specimen (Source)Anatomical Location / LateralityCollection Method / VolumeCollection TimeReceived Time
Blood01/27/2022 2:39 PM CST01/27/2022 2:41 PM CST
Resulting Agency Comment
Ordered by DR. TEST ZTEST SR
Authorizing ProviderResult Type
No PcpLAB BLOOD ORDERABLES
Performing OrganizationAddressCity/State/ZIP CodePhone Number
VUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLE, TN 37232-5310615-875-5227
(ABNORMAL) CBC (12/08/2021 9:55 AM CST)
ComponentValueRef RangeTest MethodAnalysis TimePerformed AtPathologist Signature
White Blood Cells19.3 (H)3.9 - 10.7 x10(3)/mcLVUMC CERNER LAB
Red Blood Cells2.28 (L)4.00 - 5.50 x10(6)/mcLVUMC CERNER LAB
Hemoglobin7.1 (L)11.8 - 16.0 gm/dLVUMC CERNER LAB
Hematocrit22 (L)36 - 43 %VUMC CERNER LAB
Mean Cell Volume9781 - 98 fLVUMC CERNER LAB
Mean Cell Hemoglobin31.127.0 - 32.0 pgVUMC CERNER LAB
Mean Cell Hemoglobin Concentration32.031.0 - 35.0 gm/dLVUMC CERNER LAB
RDW SD47.837.4 - 52.4 fLVUMC CERNER LAB
RDW CV13.411.1 - 14.3 %VUMC CERNER LAB
Platelet209135 - 371 x10(3)/mcLVUMC CERNER LAB
Mean Platelet Volume10.29.3 - 12.8 fLVUMC CERNER LAB
Nucleated RBC00 - 0 /100 WBCVUMC CERNER LAB
Nucleated RBC Abs0.000.00 - 0.00 x10(3)/mcLVUMC CERNER LAB
Comment: This test was performed at: Vanderbilt Tullahoma-Harton Laboratory,CLIA# 44D0309812,Donald E. Trummel, MD, Medical Director,1805 N Jackson St,Tullahoma,TN,37388,USA
Specimen (Source)Anatomical Location / LateralityCollection Method / VolumeCollection TimeReceived Time
Blood12/08/2021 9:55 AM CST12/08/2021 9:56 AM CST
Resulting Agency Comment
Ordered by DR. TEST ZTEST SR
Authorizing ProviderResult Type
No PcpLAB BLOOD ORDERABLES
Performing OrganizationAddressCity/State/ZIP CodePhone Number
VUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLE, TN 37232-5310615-875-5227
(ABNORMAL) PCR SARS-CoV-2 and Influenza A/B (12/07/2021 4:16 PM CST)
ComponentValueRef RangeTest MethodAnalysis TimePerformed AtPathologist Signature
SARS-CoV-2 Nucleic Acid (Result)Not DetectedNot DetectedVUMC CERNER LAB
Comment:
A detected result is positive and indicates the presence of the virus in the sample. A not detected result indicates that the test did not detect the virus in the sample.

Results are generated using nucleic acid amplification tests that are labeled Emergency Use Only by the U.S FDA.

Influenza A PCR (Result)Not DetectedNot DetectedVUMC CERNER LAB
Influenza B PCR (Result)Detected (A)Not DetectedVUMC CERNER LAB
Influenza SARS-CoV-2 (Specimen Type)NasopharynxVUMC CERNER LAB
Specimen (Source)Anatomical Location / LateralityCollection Method / VolumeCollection TimeReceived Time
Nasopharynx12/07/2021 4:16 PM CST12/07/2021 4:17 PM CST
Resulting Agency Comment
Ordered by MD, JONATHAN E SCHMITZ MD,
Authorizing ProviderResult Type
No PcpLAB BODY FLUIDS AND STOOLS ORDERABLES
Performing OrganizationAddressCity/State/ZIP CodePhone Number
VUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLE, TN 37232-5310615-875-5227
documented in this encounter
PCR SARS-CoV-2 and Influenza A/BVanderbilt University Medical Center TSTUSANoPcpSARS-CoV-2 Nucleic Acid (Result)Not DetectedVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. GordetskyNot DetectedNot DetectedInfluenza A PCR (Result)Not DetectedVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. GordetskyNot DetectedNot DetectedInfluenza B PCR (Result)DetectedAbnormalVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. GordetskyNot DetectedNot DetectedInfluenza SARS-CoV-2 (Specimen Type)NasopharynxVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. GordetskyLab InterpretationAbnormalCBCVanderbilt University Medical Center TSTUSANoPcpWhite Blood CellsHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL3.9 - 10.7 x10(3)/mcLx10(3)/mcLx10(3)/mcLRed Blood CellsLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(6)/mcL4.00 - 5.50 x10(6)/mcLx10(6)/mcLx10(6)/mcLHemoglobinLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL11.8 - 16.0 gm/dLgm/dLgm/dLHematocritLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky36 - 43Mean Cell VolumeVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky81 - 98Mean Cell HemoglobinVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky27.0 - 32.0Mean Cell Hemoglobin ConcentrationVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL31.0 - 35.0 gm/dLgm/dLgm/dLRDW SDVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky37.4 - 52.4RDW CVVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky11.1 - 14.3PlateletVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL135 - 371 x10(3)/mcLx10(3)/mcLx10(3)/mcLMean Platelet VolumeVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky9.3 - 12.8Nucleated RBCVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky/100 WBC0 - 0 /100 WBC/100 WBC/100 WBCNucleated RBC AbsVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL0.00 - 0.00 x10(3)/mcLx10(3)/mcLx10(3)/mcLLab InterpretationAbnormalCBCVanderbilt University Medical Center TSTUSANoPcpWhite Blood CellsHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL3.9 - 10.7 x10(3)/mcLx10(3)/mcLx10(3)/mcLRed Blood CellsLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(6)/mcL4.00 - 5.50 x10(6)/mcLx10(6)/mcLx10(6)/mcLHemoglobinLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL11.8 - 16.0 gm/dLgm/dLgm/dLHematocritLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky36 - 43Mean Cell VolumeHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky81 - 98Mean Cell HemoglobinHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky27.0 - 32.0Mean Cell Hemoglobin ConcentrationLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL31.0 - 35.0 gm/dLgm/dLgm/dLRDW SDHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky37.4 - 52.4RDW CVHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky11.1 - 14.3PlateletLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL135 - 371 x10(3)/mcLx10(3)/mcLx10(3)/mcLMean Platelet VolumeVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky9.3 - 12.8Nucleated RBCVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky/100 WBC0 - 0 /100 WBC/100 WBC/100 WBCNucleated RBC AbsHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL0.00 - 0.00 x10(3)/mcLx10(3)/mcLx10(3)/mcLLab InterpretationAbnormalCBCVanderbilt University Medical Center TSTUSANoPcpWhite Blood CellsHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL3.9 - 10.7 x10(3)/mcLx10(3)/mcLx10(3)/mcLRed Blood CellsVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(6)/mcL4.00 - 5.50 x10(6)/mcLx10(6)/mcLx10(6)/mcLHemoglobinVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL11.8 - 16.0 gm/dLgm/dLgm/dLHematocritHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky36 - 43Mean Cell VolumeVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky81 - 98Mean Cell HemoglobinVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky27.0 - 32.0Mean Cell Hemoglobin ConcentrationVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL31.0 - 35.0 gm/dLgm/dLgm/dLRDW SDVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky37.4 - 52.4RDW CVHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky11.1 - 14.3PlateletLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL135 - 371 x10(3)/mcLx10(3)/mcLx10(3)/mcLMean Platelet VolumeVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky9.3 - 12.8Nucleated RBCVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky/100 WBC0 - 0 /100 WBC/100 WBC/100 WBCNucleated RBC AbsVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL0.00 - 0.00 x10(3)/mcLx10(3)/mcLx10(3)/mcLLab InterpretationAbnormal
Social History
Tobacco UseTypesPacks/DayYears UsedDate
Smoking Tobacco: Never Assessed
Sex Assigned at BirthDate Recorded
Not on file
documented as of this encounter
Encounter Details
DateTypeDepartmentCare TeamDescription
10/27/21Orders OnlyVanderbilt University Adult Hospital1211 Medical Center Dr6 Critical Care TowerNashville, TN 37232615-322-5000Inpatient, Nurse, RN
NurseInpatientRNNeurological Intensive Care1211 Medical Center Dr6 Critical Care TowerNashvilleTN37232Vanderbilt University Adult HospitalNeurological Intensive Care
\ No newline at end of file +Initial Public Health Case Report999 Single LaneLOS ANGELESBEVERLY HILLSCA90210USAUSAAppleZtestVanderbilt University Medical Center3401 West End AveDAVIDSONNASHVILLETN37203USAVanderbilt University Medical Center3401 West End AveDAVIDSONNASHVILLETN37203USAOrders OnlyVanderbilt University Medical Center3401 West End AveDAVIDSONNASHVILLETN37203USANeurological Intensive CareVanderbilt University Adult Hospital1211 Medical Center Dr6 Critical Care TowerNashvilleTN37232Vanderbilt University Medical Center1211 Medical Center Dr6 Critical Care TowerNashvilleTN37232Vanderbilt University Medical Center
Miscellaneous NotesNot on filedocumented in this encounter
Immunizations
NameAdministration DatesNext Due
DTaP, 5 pertussis antigens vaccine (DAPTACEL)06/15/2021
Hep B, adult vaccine (Engerix/Recombivax)09/08/2020
SARS-COV-2 (COVID-19) RED CAP +BLUE LABEL VACCINE, MODERNA 12+YO01/22/2021
documented as of this encounter
LLSFJKModerna US, Inc.NurseOneFamily MedicineRN
Administered MedicationsNot on filedocumented in this encounter
Plan of Treatment
Pending Results
NameTypePriorityAssociated DiagnosesDate/Time
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
PCR SARS-CoV-2 and Influenza A/BLabRoutine12/07/2021 4:16 PM CST
documented as of this encounter
Problems
Active ProblemsNoted Date
COVID toes7/13/22
Chest pain on breathing5/26/22
Type 1 diabetes2/28/22
Overview: Formatting of this note might be different from the original.
BMI Readings from Last 1 Encounters:
08/30/21 28.69 kg/m²

Plague pneumonia6/16/21
Absence of menstruation6/12/18
Foot callus8/11/17
Overview: Formatting of this note might be different from the original.
Ouch.

documented as of this encounter (statuses as of 01/02/2023)
Reason for VisitNot on file
Results(ABNORMAL) CBC (04/11/2022 10:23 AM CDT)
ComponentValueRef RangeTest MethodAnalysis TimePerformed AtPathologist Signature
White Blood Cells10.9 (H)3.9 - 10.7 x10(3)/mcLVUMC CERNER LAB
Red Blood Cells4.914.00 - 5.50 x10(6)/mcLVUMC CERNER LAB
Hemoglobin14.911.8 - 16.0 gm/dLVUMC CERNER LAB
Hematocrit46 (H)36 - 43 %VUMC CERNER LAB
Mean Cell Volume9381 - 98 fLVUMC CERNER LAB
Mean Cell Hemoglobin30.327.0 - 32.0 pgVUMC CERNER LAB
Mean Cell Hemoglobin Concentration32.731.0 - 35.0 gm/dLVUMC CERNER LAB
RDW SD51.037.4 - 52.4 fLVUMC CERNER LAB
RDW CV15.0 (H)11.1 - 14.3 %VUMC CERNER LAB
Platelet88 (L)135 - 371 x10(3)/mcLVUMC CERNER LAB
Mean Platelet Volume10.49.3 - 12.8 fLVUMC CERNER LAB
Nucleated RBC00 - 0 /100 WBCVUMC CERNER LAB
Nucleated RBC Abs0.000.00 - 0.00 x10(3)/mcLVUMC CERNER LAB
Comment: This test was performed at: Vanderbilt Tullahoma-Harton Laboratory,CLIA# 44D0309812,Donald E. Trummel, MD, Medical Director,1805 N Jackson St,Tullahoma,TN,37388,USA
Specimen (Source)Anatomical Location / LateralityCollection Method / VolumeCollection TimeReceived Time
Blood04/11/2022 10:23 AM CDT04/11/2022 10:24 AM CDT
Resulting Agency Comment
Ordered by DR. TEST ZTEST SR
Authorizing ProviderResult Type
No PcpLAB BLOOD ORDERABLES
Performing OrganizationAddressCity/State/ZIP CodePhone Number
VUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLE, TN 37232-5310615-875-5227
(ABNORMAL) CBC (01/27/2022 2:39 PM CST)
ComponentValueRef RangeTest MethodAnalysis TimePerformed AtPathologist Signature
White Blood Cells18.7 (H)3.9 - 10.7 x10(3)/mcLVUMC CERNER LAB
Red Blood Cells2.81 (L)4.00 - 5.50 x10(6)/mcLVUMC CERNER LAB
Hemoglobin9.2 (L)11.8 - 16.0 gm/dLVUMC CERNER LAB
Hematocrit30 (L)36 - 43 %VUMC CERNER LAB
Mean Cell Volume106 (H)81 - 98 fLVUMC CERNER LAB
Mean Cell Hemoglobin32.7 (H)27.0 - 32.0 pgVUMC CERNER LAB
Mean Cell Hemoglobin Concentration30.9 (L)31.0 - 35.0 gm/dLVUMC CERNER LAB
RDW SD57.2 (H)37.4 - 52.4 fLVUMC CERNER LAB
RDW CV14.6 (H)11.1 - 14.3 %VUMC CERNER LAB
Platelet123 (L)135 - 371 x10(3)/mcLVUMC CERNER LAB
Mean Platelet Volume10.89.3 - 12.8 fLVUMC CERNER LAB
Nucleated RBC00 - 0 /100 WBCVUMC CERNER LAB
Nucleated RBC Abs0.05 (H)0.00 - 0.00 x10(3)/mcLVUMC CERNER LAB
Comment: This test was performed at: Vanderbilt Tullahoma-Harton Laboratory,CLIA# 44D0309812,Donald E. Trummel, MD, Medical Director,1805 N Jackson St,Tullahoma,TN,37388,USA
Specimen (Source)Anatomical Location / LateralityCollection Method / VolumeCollection TimeReceived Time
Blood01/27/2022 2:39 PM CST01/27/2022 2:41 PM CST
Resulting Agency Comment
Ordered by DR. TEST ZTEST SR
Authorizing ProviderResult Type
No PcpLAB BLOOD ORDERABLES
Performing OrganizationAddressCity/State/ZIP CodePhone Number
VUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLE, TN 37232-5310615-875-5227
(ABNORMAL) CBC (12/08/2021 9:55 AM CST)
ComponentValueRef RangeTest MethodAnalysis TimePerformed AtPathologist Signature
White Blood Cells19.3 (H)3.9 - 10.7 x10(3)/mcLVUMC CERNER LAB
Red Blood Cells2.28 (L)4.00 - 5.50 x10(6)/mcLVUMC CERNER LAB
Hemoglobin7.1 (L)11.8 - 16.0 gm/dLVUMC CERNER LAB
Hematocrit22 (L)36 - 43 %VUMC CERNER LAB
Mean Cell Volume9781 - 98 fLVUMC CERNER LAB
Mean Cell Hemoglobin31.127.0 - 32.0 pgVUMC CERNER LAB
Mean Cell Hemoglobin Concentration32.031.0 - 35.0 gm/dLVUMC CERNER LAB
RDW SD47.837.4 - 52.4 fLVUMC CERNER LAB
RDW CV13.411.1 - 14.3 %VUMC CERNER LAB
Platelet209135 - 371 x10(3)/mcLVUMC CERNER LAB
Mean Platelet Volume10.29.3 - 12.8 fLVUMC CERNER LAB
Nucleated RBC00 - 0 /100 WBCVUMC CERNER LAB
Nucleated RBC Abs0.000.00 - 0.00 x10(3)/mcLVUMC CERNER LAB
Comment: This test was performed at: Vanderbilt Tullahoma-Harton Laboratory,CLIA# 44D0309812,Donald E. Trummel, MD, Medical Director,1805 N Jackson St,Tullahoma,TN,37388,USA
Specimen (Source)Anatomical Location / LateralityCollection Method / VolumeCollection TimeReceived Time
Blood12/08/2021 9:55 AM CST12/08/2021 9:56 AM CST
Resulting Agency Comment
Ordered by DR. TEST ZTEST SR
Authorizing ProviderResult Type
No PcpLAB BLOOD ORDERABLES
Performing OrganizationAddressCity/State/ZIP CodePhone Number
VUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLE, TN 37232-5310615-875-5227
(ABNORMAL) PCR SARS-CoV-2 and Influenza A/B (12/07/2021 4:16 PM CST)
ComponentValueRef RangeTest MethodAnalysis TimePerformed AtPathologist Signature
SARS-CoV-2 Nucleic Acid (Result)Not DetectedNot DetectedVUMC CERNER LAB
Comment:
A detected result is positive and indicates the presence of the virus in the sample. A not detected result indicates that the test did not detect the virus in the sample.

Results are generated using nucleic acid amplification tests that are labeled Emergency Use Only by the U.S FDA.

Influenza A PCR (Result)Not DetectedNot DetectedVUMC CERNER LAB
Influenza B PCR (Result)Detected (A)Not DetectedVUMC CERNER LAB
Influenza SARS-CoV-2 (Specimen Type)NasopharynxVUMC CERNER LAB
Specimen (Source)Anatomical Location / LateralityCollection Method / VolumeCollection TimeReceived Time
Nasopharynx12/07/2021 4:16 PM CST12/07/2021 4:17 PM CST
Resulting Agency Comment
Ordered by MD, JONATHAN E SCHMITZ MD,
Authorizing ProviderResult Type
No PcpLAB BODY FLUIDS AND STOOLS ORDERABLES
Performing OrganizationAddressCity/State/ZIP CodePhone Number
VUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLE, TN 37232-5310615-875-5227
documented in this encounter
PCR SARS-CoV-2 and Influenza A/BVanderbilt University Medical Center TSTUSANoPcpSARS-CoV-2 Nucleic Acid (Result)Not DetectedVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. GordetskyNot DetectedNot DetectedInfluenza A PCR (Result)Not DetectedVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. GordetskyNot DetectedNot DetectedInfluenza B PCR (Result)DetectedAbnormalVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. GordetskyNot DetectedNot DetectedInfluenza SARS-CoV-2 (Specimen Type)NasopharynxVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. GordetskyLab InterpretationAbnormalCBCVanderbilt University Medical Center TSTUSANoPcpWhite Blood CellsHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL3.9 - 10.7 x10(3)/mcLx10(3)/mcLx10(3)/mcLRed Blood CellsLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(6)/mcL4.00 - 5.50 x10(6)/mcLx10(6)/mcLx10(6)/mcLHemoglobinLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL11.8 - 16.0 gm/dLgm/dLgm/dLHematocritLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky36 - 43Mean Cell VolumeVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky81 - 98Mean Cell HemoglobinVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky27.0 - 32.0Mean Cell Hemoglobin ConcentrationVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL31.0 - 35.0 gm/dLgm/dLgm/dLRDW SDVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky37.4 - 52.4RDW CVVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky11.1 - 14.3PlateletVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL135 - 371 x10(3)/mcLx10(3)/mcLx10(3)/mcLMean Platelet VolumeVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky9.3 - 12.8Nucleated RBCVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky/100 WBC0 - 0 /100 WBC/100 WBC/100 WBCNucleated RBC AbsVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL0.00 - 0.00 x10(3)/mcLx10(3)/mcLx10(3)/mcLLab InterpretationAbnormalCBCVanderbilt University Medical Center TSTUSANoPcpWhite Blood CellsHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL3.9 - 10.7 x10(3)/mcLx10(3)/mcLx10(3)/mcLRed Blood CellsLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(6)/mcL4.00 - 5.50 x10(6)/mcLx10(6)/mcLx10(6)/mcLHemoglobinLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL11.8 - 16.0 gm/dLgm/dLgm/dLHematocritLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky36 - 43Mean Cell VolumeHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky81 - 98Mean Cell HemoglobinHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky27.0 - 32.0Mean Cell Hemoglobin ConcentrationLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL31.0 - 35.0 gm/dLgm/dLgm/dLRDW SDHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky37.4 - 52.4RDW CVHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky11.1 - 14.3PlateletLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL135 - 371 x10(3)/mcLx10(3)/mcLx10(3)/mcLMean Platelet VolumeVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky9.3 - 12.8Nucleated RBCVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky/100 WBC0 - 0 /100 WBC/100 WBC/100 WBCNucleated RBC AbsHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL0.00 - 0.00 x10(3)/mcLx10(3)/mcLx10(3)/mcLLab InterpretationAbnormalCBCVanderbilt University Medical Center TSTUSANoPcpWhite Blood CellsHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL3.9 - 10.7 x10(3)/mcLx10(3)/mcLx10(3)/mcLRed Blood CellsVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(6)/mcL4.00 - 5.50 x10(6)/mcLx10(6)/mcLx10(6)/mcLHemoglobinVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL11.8 - 16.0 gm/dLgm/dLgm/dLHematocritHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky36 - 43Mean Cell VolumeVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky81 - 98Mean Cell HemoglobinVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky27.0 - 32.0Mean Cell Hemoglobin ConcentrationVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskygm/dL31.0 - 35.0 gm/dLgm/dLgm/dLRDW SDVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky37.4 - 52.4RDW CVHighVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky11.1 - 14.3PlateletLowVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL135 - 371 x10(3)/mcLx10(3)/mcLx10(3)/mcLMean Platelet VolumeVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky9.3 - 12.8Nucleated RBCVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetsky/100 WBC0 - 0 /100 WBC/100 WBC/100 WBCNucleated RBC AbsVUMC CERNER LAB4605 TVC VUMC1301 Medical Center DriveNASHVILLETN37232-5310Adam Seegmiller; Jennifer B. Gordetskyx10(3)/mcL0.00 - 0.00 x10(3)/mcLx10(3)/mcLx10(3)/mcLLab InterpretationAbnormal
Social History
Tobacco UseTypesPacks/DayYears UsedDate
Smoking Tobacco: Never Assessed
Sex Assigned at BirthDate Recorded
Not on file
documented as of this encounter
Encounter Details
DateTypeDepartmentCare TeamDescription
10/27/21Orders OnlyVanderbilt University Adult Hospital1211 Medical Center Dr6 Critical Care TowerNashville, TN 37232615-322-5000Inpatient, Nurse, RN
NurseInpatientRNNeurological Intensive Care1211 Medical Center Dr6 Critical Care TowerNashvilleTN37232Vanderbilt University Adult HospitalNeurological Intensive Care
\ No newline at end of file diff --git a/containers/ecr-viewer/src/app/api/fhirPath.yaml b/containers/ecr-viewer/src/app/api/fhirPath.yaml index 6361e79e1d..a9620d39fc 100644 --- a/containers/ecr-viewer/src/app/api/fhirPath.yaml +++ b/containers/ecr-viewer/src/app/api/fhirPath.yaml @@ -13,7 +13,7 @@ patientRace: "Bundle.entry.resource.where(resourceType = 'Patient').extension.wh patientRaceDetailed: "Bundle.entry.resource.where(resourceType = 'Patient').extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race').extension.where(url = 'detailed').valueCoding.display" patientEthnicity: "Bundle.entry.resource.where(resourceType = 'Patient').extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity').extension.where(url = 'ombCategory').valueCoding.display" patientEthnicityDetailed: "Bundle.entry.resource.where(resourceType = 'Patient').extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity').extension.where(url = 'detailed').valueCoding.display" -patientLanguage: "Bundle.entry.resource.where(resourceType = 'Patient').communication.first().language.coding.first().display" +patientCommunication: "Bundle.entry.resource.where(resourceType = 'Patient').communication" patientTribalAffiliation: "Bundle.entry.resource.where(resourceType = 'Patient').extension.where(url='http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-tribal-affiliation-extension').extension.where(url='TribeName').value" patientEmergencyContact: "Bundle.entry.resource.where(resourceType = 'Patient').contact" diff --git a/containers/ecr-viewer/src/app/services/evaluateFhirDataService.ts b/containers/ecr-viewer/src/app/services/evaluateFhirDataService.ts index 646e4fe616..0ebc4472bd 100644 --- a/containers/ecr-viewer/src/app/services/evaluateFhirDataService.ts +++ b/containers/ecr-viewer/src/app/services/evaluateFhirDataService.ts @@ -5,9 +5,11 @@ import { Coding, Condition, Encounter, + Extension, HumanName, Location, Organization, + PatientCommunication, PatientContact, Practitioner, PractitionerRole, @@ -337,7 +339,7 @@ export const evaluateDemographicsData = ( }, { title: "Preferred Language", - value: evaluate(fhirBundle, mappings.patientLanguage)[0], + value: evaluatePatientLanguage(fhirBundle, mappings), }, { title: "Patient Address", @@ -630,7 +632,10 @@ export const evaluateReference = ( * @param path - The path within the resource to extract the value from. * @returns - The evaluated value as a string. */ -export const evaluateValue = (entry: Element, path: string | Path): string => { +export const evaluateValue = ( + entry: Element | Element[], + path: string | Path, +): string => { let originalValue = evaluate(entry, path, undefined, fhirpath_r4_model)[0]; let value = ""; @@ -737,3 +742,52 @@ export const evaluateEncounterDiagnosis = ( .map((condition) => condition.code?.coding?.[0].display) .join(", "); }; + +/** + * Evaluate patient's prefered language + * @param fhirBundle - The FHIR bundle containing resources. + * @param mappings - Path mappings for resolving references. + * @returns String containing language, proficiency, and mode + */ +export const evaluatePatientLanguage = ( + fhirBundle: Bundle, + mappings: PathMappings, +) => { + let patientCommunication: PatientCommunication[] = evaluate( + fhirBundle, + mappings.patientCommunication, + ); + const preferedPatientCommunication = patientCommunication.filter( + (communication) => communication.preferred, + ); + + if (preferedPatientCommunication.length > 0) { + patientCommunication = preferedPatientCommunication; + } + + return patientCommunication + .map((communication) => { + const patientProficiencyExtension: Extension[] = evaluate( + communication, + "extension.where(url = 'http://hl7.org/fhir/StructureDefinition/patient-proficiency')", + ); + const patientLanguage: string | undefined = evaluateValue( + communication, + "language.coding", + ); + const languageProficency: string | undefined = evaluateValue( + patientProficiencyExtension, + "extension.where(url = 'level').value", + ); + const languageMode: string | undefined = evaluateValue( + patientProficiencyExtension, + "extension.where(url = 'type').value", + ); + + return [patientLanguage, languageProficency, languageMode] + .filter(Boolean) + .join("\n"); + }) + .filter(Boolean) + .join("\n\n"); +}; diff --git a/containers/ecr-viewer/src/app/tests/assets/BundlePatient.json b/containers/ecr-viewer/src/app/tests/assets/BundlePatient.json index fc6e3753ec..f9aba4ab3b 100644 --- a/containers/ecr-viewer/src/app/tests/assets/BundlePatient.json +++ b/containers/ecr-viewer/src/app/tests/assets/BundlePatient.json @@ -160,6 +160,17 @@ } ], "communication": [ + { + "language": { + "coding": [ + { + "system": "urn:ietf:bcp:47", + "code": "es", + "display": "Spanish" + } + ] + } + }, { "language": { "coding": [ @@ -169,7 +180,31 @@ "display": "English" } ] - } + }, + "preferred": true, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-proficiency", + "extension": [ + { + "url": "type", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/v3-LanguageAbilityMode", + "code": "ESP", + "display": "Expressed spoken" + } + }, + { + "url": "level", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/v3-LanguageAbilityProficiency", + "code": "G", + "display": "Good" + } + } + ] + } + ] } ] }, diff --git a/containers/ecr-viewer/src/app/tests/services/evaluateFhirDataServices.test.ts b/containers/ecr-viewer/src/app/tests/services/evaluateFhirDataServices.test.ts index bb35500fe0..f15e855519 100644 --- a/containers/ecr-viewer/src/app/tests/services/evaluateFhirDataServices.test.ts +++ b/containers/ecr-viewer/src/app/tests/services/evaluateFhirDataServices.test.ts @@ -13,6 +13,7 @@ import { evaluateDemographicsData, evaluateEncounterCareTeamTable, evaluateAlcoholUse, + evaluatePatientLanguage, } from "@/app/services/evaluateFhirDataService"; import { Bundle, Patient } from "fhir/r4"; import BundleWithMiscNotes from "@/app/tests/assets/BundleMiscNotes.json"; @@ -538,3 +539,114 @@ describe("Evaluate Alcohol Use", () => { expect(actual).toEqual(""); }); }); + +describe("Evaluate Patient language", () => { + it("Should display language, proficiency, and mode", () => { + const actual = evaluatePatientLanguage( + BundleWithPatient as unknown as Bundle, + mappings, + ); + + expect(actual).toEqual("English\nGood\nExpressed spoken"); + }); + + it("Should only display preferred languages", () => { + const patient = { + resourceType: "Bundle", + entry: [ + { + resource: { + resourceType: "Patient", + communication: [ + { + language: { + coding: [ + { + system: "urn:ietf:bcp:47", + code: "es", + display: "Spanish", + }, + ], + }, + }, + { + preferred: true, + language: { + coding: [ + { + system: "urn:ietf:bcp:47", + code: "en", + display: "English", + }, + ], + }, + }, + { + preferred: true, + language: { + coding: [ + { + system: "urn:ietf:bcp:47", + code: "hi", + display: "Hindi", + }, + ], + }, + }, + ], + }, + }, + ], + }; + + const actual = evaluatePatientLanguage( + patient as unknown as Bundle, + mappings, + ); + + expect(actual).toEqual("English\n\nHindi"); + }); + it("Should display language when there are no preferred languages", () => { + const patient = { + resourceType: "Bundle", + entry: [ + { + resource: { + resourceType: "Patient", + communication: [ + { + language: { + coding: [ + { + system: "urn:ietf:bcp:47", + code: "es", + display: "Spanish", + }, + ], + }, + }, + { + language: { + coding: [ + { + system: "urn:ietf:bcp:47", + code: "en", + display: "English", + }, + ], + }, + }, + ], + }, + }, + ], + }; + + const actual = evaluatePatientLanguage( + patient as unknown as Bundle, + mappings, + ); + + expect(actual).toEqual("Spanish\n\nEnglish"); + }); +}); diff --git a/containers/fhir-converter/Dockerfile b/containers/fhir-converter/Dockerfile index 0b2fd125e3..55d6b23e33 100644 --- a/containers/fhir-converter/Dockerfile +++ b/containers/fhir-converter/Dockerfile @@ -1,7 +1,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build # Download FHIR-Converter -RUN git clone https://github.com/skylight-hq/FHIR-Converter.git --branch v7.0-skylight-19 --single-branch /build/FHIR-Converter +RUN git clone https://github.com/skylight-hq/FHIR-Converter.git --branch v7.0-skylight-20 --single-branch /build/FHIR-Converter WORKDIR /build/FHIR-Converter diff --git a/containers/fhir-converter/README.md b/containers/fhir-converter/README.md index 67da973978..edb46b6420 100644 --- a/containers/fhir-converter/README.md +++ b/containers/fhir-converter/README.md @@ -176,6 +176,7 @@ Both repos should be checked out and set up per the instructions above. We use r #### Tips & Tricks * To run the service tests, use the command `python -m pytest` (make sure the correct environment is activated). + * To update snapshots run `python -m pytest --snapshot-update` * Make sure your docker image has pulled in the latest changes by building with no cache `make build-image-no-cache`. * To run the tool tests, run the commands found in the github actions workflow. diff --git a/containers/fhir-converter/tests/integration/__snapshots__/test_FHIR-Converter.ambr b/containers/fhir-converter/tests/integration/__snapshots__/test_FHIR-Converter.ambr index a93825bdd5..387c22c681 100644 --- a/containers/fhir-converter/tests/integration/__snapshots__/test_FHIR-Converter.ambr +++ b/containers/fhir-converter/tests/integration/__snapshots__/test_FHIR-Converter.ambr @@ -609,6 +609,21 @@ 'birthDate': '2005-05-01', 'communication': list([ dict({ + 'extension': list([ + dict({ + 'extension': list([ + dict({ + 'url': str, + 'valueCoding': dict({ + 'code': 'ESP', + 'display': 'Expressed spoken', + 'system': 'http://terminology.hl7.org/CodeSystem/v3-LanguageAbilityMode', + }), + }), + ]), + 'url': str, + }), + ]), 'language': dict({ 'coding': list([ dict({ @@ -2494,6 +2509,21 @@ 'birthDate': '1977-03-25', 'communication': list([ dict({ + 'extension': list([ + dict({ + 'extension': list([ + dict({ + 'url': str, + 'valueCoding': dict({ + 'code': 'EWR', + 'display': 'Expressed written', + 'system': 'http://terminology.hl7.org/CodeSystem/v3-LanguageAbilityMode', + }), + }), + ]), + 'url': str, + }), + ]), 'language': dict({ 'coding': list([ dict({