|
@@ -907,6 +907,7 @@ class PatientServies
|
|
|
|
|
|
$this->handlePatient($check['PATIENT']);
|
|
|
$MEDICAL_INFORMATION = $check['MEDICAL_INFORMATION'];
|
|
|
+ var_dump($MEDICAL_INFORMATION);die;
|
|
|
$information = $this->patientModel->getMedical($MEDICAL_INFORMATION['PATIENT_CODE'],[],'*');
|
|
|
if(!empty($information))
|
|
|
{
|
|
@@ -929,6 +930,7 @@ class PatientServies
|
|
|
|
|
|
public function postExamReport($params): string
|
|
|
{
|
|
|
+ $information = $this->patientModel->getMedicalData(['HOS_EMPI'=>$params['HOS_EMPI']],'*');
|
|
|
$EXAM_REPORTS = $this->makeExamData($params['EXAM_REPORTS']);
|
|
|
$report = $this->patientModel->getExamReport(['EXAM_REPORT_CODE'=>$EXAM_REPORTS['EXAM_REPORT_CODE']],'*');
|
|
|
$report->save($EXAM_REPORTS);
|