hapifhir / lets-build

Apache License 2.0
11 stars 12 forks source link

RBC vs WBC #2

Open pnrobinson opened 2 years ago

pnrobinson commented 2 years ago

The following explanations in the README are reversed

WBC: "White Blood Cell Count": This is a count of the number of white blood cells in your blood (These cells deliver oxygen)
RBC: "Red Blood Cell Count": This is a count of the number of red blood cells in your blood (These cells are an important part of the immune system)

WBCs are part of the the immune system and RBCs deliver oxygen.

pnrobinson commented 2 years ago

Similarly, there are copy&paste errors in lines 55-67 of CsvDataUploader.java - the LOINC code for leukocytes is shown as a hint for RBCs, and the code for erythrocytes (RBCs) is shown for WBCs but with the label for leukocytes.

// White blood cell count - This corresponds to LOINC code: // Code: 6690-2 // Display: Leukocytes [#/volume] in Blood by Automated count // Unit System: http://unitsofmeasure.org // Unit Code: 10*3/uL String rbc = nextRecord.get("RBC");

// White blood cell count - This corresponds to LOINC code: // Code: 789-8 // Display: Erythrocytes [#/volume] in Blood by Automated count // Unit System: http://unitsofmeasure.org // Unit Code: 10*6/uL String wbc = nextRecord.get("WBC");