|
@@ -936,7 +936,6 @@ class PatientServies
|
|
|
}
|
|
|
$EXAM_REPORTS = $this->makeExamData($params['EXAM_REPORTS']);
|
|
|
$report = $this->patientModel->getExamReport(['PATIENT_CODE'=>$information['PATIENT_CODE']],'*');
|
|
|
- var_dump($EXAM_REPORTS);
|
|
|
$report->save($EXAM_REPORTS);
|
|
|
return 'success';
|
|
|
}
|
|
@@ -945,6 +944,14 @@ class PatientServies
|
|
|
{
|
|
|
$RESULT_STATUS = $this->commonServies->getRESULT_STATUSByCode($report['RESULT_STATUS_CODE']);
|
|
|
$report['RESULT_STATUS'] = $RESULT_STATUS;
|
|
|
+ if(empty($report['AUDITTIME']))
|
|
|
+ {
|
|
|
+ $report['AUDITTIME'] = null;
|
|
|
+ }
|
|
|
+ if(empty($report['STUDYTIME']))
|
|
|
+ {
|
|
|
+ $report['STUDYTIME'] = null;
|
|
|
+ }
|
|
|
return $report;
|
|
|
}
|
|
|
|