新增:获取问诊订单病例缺少字段、医生发送缺少字段至患者、患者填写缺少字段至医生
This commit is contained in:
@@ -61,4 +61,36 @@ class PatientCaseController extends AbstractController
|
||||
$data = $PatientCaseService->getPatientFamilyInquiryCaseUnfilledFields();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 医生发送缺少字段至患者
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function sendCaseUnfilledFieldsToPatient(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(PatientCaseRequest::class);
|
||||
$request->scene('sendCaseUnfilledFieldsToPatient')->validateResolved();
|
||||
|
||||
$PatientCaseService = new PatientCaseService();
|
||||
$data = $PatientCaseService->sendCaseUnfilledFieldsToPatient();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 患者填写缺少字段至医生
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function sendCaseUnfilledFieldsToDoctor(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(PatientCaseRequest::class);
|
||||
$request->scene('sendCaseUnfilledFieldsToDoctor')->validateResolved();
|
||||
|
||||
$PatientCaseService = new PatientCaseService();
|
||||
$data = $PatientCaseService->sendCaseUnfilledFieldsToDoctor();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user