修改获取家庭成员病情记录详情 新增 获取问诊订单病例详情
This commit is contained in:
@@ -4,6 +4,7 @@ namespace App\Controller;
|
||||
|
||||
use App\Request\PatientCaseRequest;
|
||||
use App\Services\InquiryService;
|
||||
use App\Services\PatientCaseService;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
@@ -14,7 +15,23 @@ use Psr\Http\Message\ResponseInterface;
|
||||
class PatientCaseController extends AbstractController
|
||||
{
|
||||
/**
|
||||
* 获取患者家庭成员问诊病例详情
|
||||
* 获取问诊订单病例详情-基础
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function getPatientFamilyInquiryCaseSimple(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(PatientCaseRequest::class);
|
||||
$request->scene('getPatientFamilyInquiryCaseSimple')->validateResolved();
|
||||
|
||||
$PatientCaseService = new PatientCaseService();
|
||||
$data = $PatientCaseService->getPatientFamilyInquiryCaseSimple();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取问诊订单病例详情
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
@@ -24,8 +41,8 @@ class PatientCaseController extends AbstractController
|
||||
$request = $this->container->get(PatientCaseRequest::class);
|
||||
$request->scene('getPatientFamilyInquiryCase')->validateResolved();
|
||||
|
||||
$InquiryService = new InquiryService();
|
||||
$data = $InquiryService->getPatientInquiryCase();
|
||||
$PatientCaseService = new PatientCaseService();
|
||||
$data = $PatientCaseService->getPatientFamilyInquiryCase();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user