修改患者病情记录
This commit is contained in:
@@ -88,6 +88,7 @@ class PatientPathographyService extends BaseService
|
||||
// 获取病情记录列表
|
||||
$fields = [
|
||||
"pathography_id",
|
||||
"order_inquiry_id",
|
||||
"name",
|
||||
"sex",
|
||||
"age",
|
||||
@@ -104,9 +105,9 @@ class PatientPathographyService extends BaseService
|
||||
|
||||
foreach ($patient_pathographys['data'] as &$patient_pathography){
|
||||
$patient_pathography['reception_time'] = null;
|
||||
if (!empty($patient_pathography['order_inquiry'])){
|
||||
if (!empty($patient_pathography['OrderInquiry'])){
|
||||
// 接诊时间
|
||||
$patient_pathography['reception_time'] = $patient_pathography['order_inquiry']['reception_time'];
|
||||
$patient_pathography['reception_time'] = $patient_pathography['OrderInquiry']['reception_time'];
|
||||
}
|
||||
|
||||
unset($patient_pathography['OrderInquiry']);
|
||||
|
||||
Reference in New Issue
Block a user