Skip to content

Commit

Permalink
Merge pull request #14 from CambioML/jojo-branch
Browse files Browse the repository at this point in the history
address comments
  • Loading branch information
Cambio ML authored Apr 11, 2024
2 parents 8d44f7b + 0ee104c commit e457ea6
Show file tree
Hide file tree
Showing 11 changed files with 750 additions and 680 deletions.
660 changes: 660 additions & 0 deletions examples/extract_key_values_from_cbc_reports_in_different_layout.ipynb

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 90 additions & 0 deletions examples/medical_cbc_report_data/expected_result.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
expected_result = [
{
"NAME": "Test Patient A",
"HAEMOGLOBIN": "12.6",
"RBC (RED CELLS COUNT)": "4.54",
"HAEMATOCRIT(PCV)": "38.1",
"MCV": "83.9",
"MCH": "27.8",
"MCHC": "33.1",
"TOTAL LEUCOCYTE COUNT": "4.62",
"DIFFERENTIAL LEUCOCYTE COUNT": "NA",
"NEUTROPHILS": "66",
"LYMPHOCYTES": "28",
"MONOCYTES": "06",
"EOSINOPHILS": "00",
"BASOPHIL": "00",
"PROMYELOCYTES": "NA",
"MYELOCYTES": "NA",
"METAMYELOCYTES": "NA",
"BLASTS": "NA",
"PLATELETS": "195",
"RETICULOCYTE COUNT": "NA",
},
{
"NAME": "TEST PATIENT 12",
"HAEMOGLOBIN": "12.8",
"RBC (RED CELLS COUNT)": "4.5",
"HAEMATOCRIT(PCV)": "42",
"MCV": "93",
"MCH": "28",
"MCHC": "31",
"TOTAL LEUCOCYTE COUNT": "12.6",
"DIFFERENTIAL LEUCOCYTE COUNT": "NA",
"NEUTROPHILS": "67",
"LYMPHOCYTES": "23",
"MONOCYTES": "07",
"EOSINOPHILS": "03",
"BASOPHIL": "00",
"PROMYELOCYTES": "NA",
"MYELOCYTES": "NA",
"METAMYELOCYTES": "NA",
"BLASTS": "NA",
"PLATELETS": "210",
"RETICULOCYTE COUNT": "NA",
},
{
"NAME": "Test Patient 14",
"HAEMOGLOBIN": "14.8",
"RBC (RED CELLS COUNT)": "5.22",
"HAEMATOCRIT(PCV)": "45.2",
"MCV": "86.6",
"MCH": "28.4",
"MCHC": "32.7",
"TOTAL LEUCOCYTE COUNT": "5.45",
"DIFFERENTIAL LEUCOCYTE COUNT": "NA",
"NEUTROPHILS": "64.3",
"LYMPHOCYTES": "25.1",
"MONOCYTES": "7.2",
"EOSINOPHILS": "2.8",
"BASOPHIL": "0.6",
"PROMYELOCYTES": "NA",
"MYELOCYTES": "NA",
"METAMYELOCYTES": "NA",
"BLASTS": "NA",
"PLATELETS": "287",
"RETICULOCYTE COUNT": "NA",
},
{
"NAME": "Test Patient 20",
"HAEMOGLOBIN": "11.3",
"RBC (RED CELLS COUNT)": "4.2",
"HAEMATOCRIT(PCV)": "35",
"MCV": "82",
"MCH": "27",
"MCHC": "33",
"TOTAL LEUCOCYTE COUNT": "9,600",
"DIFFERENTIAL LEUCOCYTE COUNT": "NA",
"NEUTROPHILS": "58",
"LYMPHOCYTES": "40",
"MONOCYTES": "01",
"EOSINOPHILS": "01",
"BASOPHIL": "NA",
"PROMYELOCYTES": "NA",
"MYELOCYTES": "NA",
"METAMYELOCYTES": "NA",
"BLASTS": "NA",
"PLATELETS": "238,000",
"RETICULOCYTE COUNT": "NA",
},
]
Loading

0 comments on commit e457ea6

Please sign in to comment.