protected function OnInput() { parent::OnInput(); $this->title = 'Информация о персонале'; $this->personal = getPersonalInfoById($_GET['id']); $this->schedule = getScheduleOfDoctor($_GET['id']); //Getting patients $this->patients = getAllPatients(); //Getting procedute and place $this->procedure = getAllProcedures(); $this->place = getAllPlaces(); }
protected function OnInput() { parent::OnInput(); $this->title = 'Информация о персонале'; $this->patient = getPatientInfoById($_GET['id']); $this->medicines = getAllMedicines(); $this->costs = getAllCosts(); $this->procedure = getAllProcedures(); $this->place = getAllPlaces(); $this->doctor = getAllPersonals(); $this->schedule = getScheduleOfPatient($_GET['id']); }
function getQRDACat1PatientData($xml, $patient_id) { $xml->open_loopComponent(); $xml->open_section(); $tempID = '2.16.840.1.113883.10.20.17.2.4'; $xml->self_templateid($tempID); $tempID = '2.16.840.1.113883.10.20.24.2.1'; $xml->self_templateid($tempID); $arr = array('code' => '55188-7', 'codeSystem' => '2.16.840.1.113883.6.1'); $xml->self_codeCustom($arr); $title = "Patient Data"; $xml->add_title($title); $xml->element('text', "Patient Data"); //Insurance(Payer) Info payerQRDA($xml, $patient_id); //Patient History Info patCharactersticQRDA($xml, $patient_id); //Encounter Section getAllPatientEncounters($xml, $patient_id); //Physical Exams(vitals) getAllPhysicalExams($xml, $patient_id); //Diagnosis (Medical Problems) getAllMedicalProbs($xml, $patient_id); //Medications getAllMedications($xml, $patient_id); //Immunization getAllImmunization($xml, $patient_id); //Procedures getAllProcedures($xml, $patient_id); //Risk Category Assessment getAllRiskCatAssessment($xml, $patient_id); $xml->close_section(); $xml->close_loopComponent(); }