|
@@ -930,7 +930,7 @@ class PatientServies
|
|
|
public function postExamReport($params): string
|
|
|
{
|
|
|
$EXAM_REPORTS = $this->makeExamData($params['EXAM_REPORTS']);
|
|
|
- $report = $this->patientModel->getExamReport(['EXAM_REPORT_CODE'=>$EXAM_REPORTS['EXAM_REPORT_CODE']],'*');
|
|
|
+ $report = $this->patientModel->getExamReport(['SERIESNUM'=>$EXAM_REPORTS['SERIESNUM']],'*');
|
|
|
$report->save($EXAM_REPORTS);
|
|
|
return 'success';
|
|
|
}
|