|
@@ -930,13 +930,13 @@ class PatientServies
|
|
|
public function postExamReport($params): string
|
|
|
{
|
|
|
$information = $this->patientModel->getMedicalData(['HOS_EMPI'=>$params['MEDICAL_INFORMATION']['HOS_EMPI']],'*');
|
|
|
- var_dump($information);die;
|
|
|
if(empty($information))
|
|
|
{
|
|
|
return '';
|
|
|
}
|
|
|
$EXAM_REPORTS = $this->makeExamData($params['EXAM_REPORTS']);
|
|
|
$report = $this->patientModel->getExamReport(['PATIENT_CODE'=>$information['PATIENT_CODE']],'*');
|
|
|
+ var_dump($report);die;
|
|
|
$report->save($EXAM_REPORTS);
|
|
|
return 'success';
|
|
|
}
|