|
@@ -997,8 +997,12 @@ class PatientServies
|
|
return '';
|
|
return '';
|
|
}
|
|
}
|
|
$report->save($EXAM_REPORTS);
|
|
$report->save($EXAM_REPORTS);
|
|
- $patient = $this->patientModel->where('PATIENT_CODE',$information['PATIENT_CODE'])->find();
|
|
|
|
-// $this->sendYqSms($patient['PHONE'],$patient['ID_CARD_NUM'],$information['ORGNAME']);
|
|
|
|
|
|
+ if(!empty($report['STUDY_ID']))
|
|
|
|
+ {
|
|
|
|
+ log::record('报告存在影像,study_id为'.$report['STUDY_ID']);
|
|
|
|
+ $patient = $this->patientModel->where('PATIENT_CODE',$information['PATIENT_CODE'])->find();
|
|
|
|
+ $this->sendYqSms($patient['PHONE'],$patient['ID_CARD_NUM'],$information['ORGNAME']);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
log::record('报告请求失败,失败原因,hosempi为空,失败参数:'.json_encode($params));
|
|
log::record('报告请求失败,失败原因,hosempi为空,失败参数:'.json_encode($params));
|