新增检测家庭成员是否存在病情记录接口

This commit is contained in:
2023-11-20 14:58:22 +08:00
parent d7d2937159
commit 142375a752
4 changed files with 121 additions and 1 deletions
+8 -1
View File
@@ -25,6 +25,7 @@ use App\Controller\PatientCenterController;
use App\Controller\PatientDoctorController;
use App\Controller\PatientFamilyController;
use App\Controller\PatientOrderController;
use App\Controller\PatientPathographyController;
use App\Controller\SafeController;
use App\Controller\SystemController;
use App\Controller\TestController;
@@ -375,7 +376,7 @@ Router::addGroup('/patient', function () {
Router::post('', [PatientFamilyController::class, 'addFamilyHealth']);
});
// 药品
// 用药记录
Router::addGroup('/product', function () {
// 获取家庭成员用药记录列表
Router::get('/record', [PatientFamilyController::class, 'getFamilyProductRecord']);
@@ -485,6 +486,12 @@ Router::addGroup('/patient', function () {
// 获取患者系统消息通知最后一条消息
Router::get('/system/last', [MessageNoticeController::class, 'getPatientMessageServiceLast']);
});
// 病情记录
Router::addGroup('/pathography', function () {
// 检测家庭成员是否存在病情记录
Router::get('/exist/{family_id:\d+}', [PatientPathographyController::class, 'existFamilyPathography']);
});
});
// 药师端api