setLog("/Applications/MAMP/logs/prince.log"); //$params['requisition_no'] = $request->getParam('requisition_no'); $rpt->set_requisition( $params['requisition_no']); $lab->prescribed_medications = $rpt->get_autopopulated_medications(); $lab->other_medications = $rpt->get_prescribed_other_medications(); $lab->physician_code = $rpt->get_requesting_physician(); $lab->build_labreport_analysis( $params ); $tests = $lab->get_laboratory_test_results(); $drugGroups = $lab->get_drug_groups(); $integrity = $lab->get_integrity_test_results(); s($integrity['70720']->result_name); d($drugGroups); s("time received: ". $lab->get_time_received()); s("accession number: ". $lab->get_accession_number()); s($rpt->get_autopopulated_medications()); ob_start(); ?> Lab <?php echo $params['requisition_no'] ?>
Sample Information:
Requisition #: get_requisition()?> Patient Sex: get_patient_gender() == "F"?"FEMALE":"MALE")?> Collected: get_specimen_collected())) ?>
Patient DOB: get_patient_dob()?> Received: get_time_received()))?> Report Date: GetDate() ?>
Patient Name: get_patient_lastname().", ".$rpt->get_patient_firstname()?> Patient Phone: format_phone( $rpt->get_patient_phone() )?>
Medication(s) List: strip_character( $rpt->get_autopopulated_medications(),2).", ".$rpt->get_prescribed_other_medications()?>
Tests Requested: CUSTOM PAIN PANEL
Physician Notes: get_physician_notes()?>
info("************** PRINCE START **********************"); $m = array(); $val = $prince->convert_string_to_passthru($out); $log->info("val:".$val."
"); //$log->info(var_dump($m)); $log->info("************** PRINCE END **********************"); ?>