\n";
if ($study_set) { // Set study terms into checkedname array
switch ($study_set) {
case "Neoplasms":
break;
case "Coagulation and Bleeding Disorders":
break;
case "Transfusion Medicine":
break;
case "CD markers":
$checkedname = 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":
$checkedname = Array('Acanthocyte','Albumin','Band','Basophil','Blast','Blood','Dohle_bodies','Elliptocytes','Eosinophil','Erythrocyte','Fragmented red blood cells','Giant platelets','Granulocytes','Helmet cell','Howell-Jolly bodies','Hypersegmented neutrophils','Large granular lymphocytes','Leukocytes','Lymphoblast','Lymphocytes','Mast cells','Metamyelocyte','Monocyte','Myeloblasts','Myelocyte','Neutrophil','Normoblasts','Nucleated red blood cells','Ovalocytes','Pappenheimer bodies','Pelger-Huet anomaly','Plasma cell','Platelets','Polychromatophilic','Prolymphocytes','Promyelocyte','Reactive lymphocytes','Reticulocytes','Rouleaux formation (rouleaux RBCs)','Schistocytes','Segmented neutrophils','Spherocytes','Spur cell RBC','Stomatocytes','Target cells','Teardrop RBCs','Toxic granulation');
break;
}
}
// Get all images, if any
for ($i = 0; $i < count($checkedname); $i++) {
$media_string = '';
if ($glossary_medias[array_search($checkedname[$i], $glossary_names)]) { // Check to see if any media links are associated with glossary name
unset($media_list);
$media_list = explode(",", $glossary_medias[array_search($checkedname[$i], $glossary_names)]);
for ($z = 0; $z < count($media_list); $z++) {
$media_string .= " Figure " . ($z+1) . "
\n";
}
$media_string = " " . $media_string . "\n";
}
echo " " . str_replace("_", " ", $checkedname[$i]) . " \n";
echo " Show ►
\n";
echo "" . str_replace("_", " ", $glossary_definitions[array_search($checkedname[$i], $glossary_names)]) . " " . $media_string . "
\n";
}
echo " |
\n";
print_footer();
exit;
}
?>