\n";
if ($study_set) { // Set study terms into checkedname array
switch ($study_set) {
case "Neoplasms":
$glossary_terms = Array("Acute lymphoblastic leukemia","Acute myeloid leukemia","Adult T-cell Leukemia/Lymphoma","ALCL","AML","Anaplastic large cell lymphoma","Angioimmunoblastic T-cell lymphoma","APL","B-ALL","Burkitt_lymphoma","Chronic lymphocytic leukemia","Chronic myelogenous leukemia","Chronic MyeloMonocytic Leukemia","CLL","CML","CMML","Follicular_lymphoma","Hairy cell leukemia","Hodgkin lymphoma","Large cell lymphoma","Lymphoma_mnemonic","Lymphoplasmacytic_lymphoma","Mantle cell lymphoma","MPN","Multiple myeloma","Mycoses_fungoides","Myelodysplastic syndrome","Myeloproliferative neoplasms","Non-Hodgkin lymphoma","Plasma cell Leukemia","Plasma cell myeloma","Plasmacytoma","Polycythemia vera","SLL","Small lymphocytic lymphoma","Splenic marginal zone lymphoma","T-ALL","T-cell lymphomas");
break;
case "Coagulation and Bleeding Disorders":
$glossary_terms = Array("Abciximab","Acetylsalicylic acid","Activated Partial Thromboplastin Time","Activated-protein C resistance","Afibrinogenemia","Anticoagulant","APC resistance","Aspirin","Bleeding disorder","Clot","Clotting factors","Coagulopathy","Coumadin","D-Dimer","dRVVT","Fibrin degradation product","Fibrinogen","Hemophilia","Hemophilia A","Hemophilia B","Hemophilia C","Heparin","Hepcidin","Hirudin","INR","International Normalized Ratio","Liver disease coagulopathy","Low molecular weight heparin","Lupus anticoagulant","Mixing study (1:1 mix)","Plasminogen","Platelets","Platelet granules","Protein C","Protein S","Prothrombin Time","PT","PTT","Russell Viper Venom Time","Tissue Factor","Vitamin K","von Willebrand Disease","von Willebrand Factor","vWF");
break;
case "Transfusion Medicine":
$glossary_terms = Array("abo blood groups","afibrinogenemia","alloantibody","allogeneic","alloimmunization","allotype","anemia","anti-d immunoglobulin","antibody","antigen","autoantibodies","autologous","blood","blood bank","blood smear","bone marrow transplant","cbc","cold agglutinins","coombs test","hb","hct","hematocrit","hemolytic anemia","hemolytic_disease_of_newborn","immunoglobulin","kell","red blood cell","white blood cells");
break;
case "CD markers":
$glossary_terms = Array("CD","CD_Mnemonic","CD1a","CD2","CD3","CD4","CD5","CD7","CD8","CD10","CD11b","CD13","CD14","CD15","CD16","CD19","CD20","CD21","CD22","CD23");
break;
case "Peripheral Blood Components":
$glossary_terms = Array("acanthocyte","anisocytosis","b-cell","band","basophils","blood","dohle_bodies","elliptocytes","eosinophils","erythrocyte","fragmented red blood cells","giant platelets","granulocytes","helmet cell","howell-jolly bodies","hypersegmented neutrophils","large granular lymphocytes","left_shifted","leukocytes","leukoerythroblastosis","lymphocytes","macrocytic","may-hegglin anomaly","microcytic","microspherocyte","monocytes","neutrophils","Normochromic/normocytic erythrocytes","normocytic","Ovalocytes","Pappenheimer bodies","Pelger-Huet anomaly","Platelets","Poikilocytosis","Polychromatophilic","Pseudothrombocytopenia","Reactive lymphocytes","red blood cell","Schistocytes","Spherocytes","Spur cell RBC","Stomatocytes","T-cell","Target cells","Teardrop RBCs","Toxic granulation","Toxic vacuoles","Vacuolated cells","White Blood Cells");
break;
}
foreach ($glossary_terms as $value) {
$glossary_term_ids[] = array_search(strtolower($value), $all_glossary_terms);
}
}
for ($i = 0; $i < count($glossary_term_ids); $i++) {
echo " Show ►
\n";
$glossary_file_name = getFilePath("/glossary_terms/" . $glossary_term_ids[$i] . ".inc");
ob_start();
include ($glossary_file_name);
$content = ob_get_clean();
// Extract the glossary term between the bold
preg_match("'(.*?)'si", $content, $match);
$label = $match[1];
$remove_content = array($label, "
");
// Properly display the "flash card" format
echo "" . $label . "
";
echo "";
$content = str_replace("
", "", $content);
echo str_replace_once($label, "", $content);
echo "
\n";
}
echo " |
\n";
}
print_footer();
exit;
?>