新增 获取家庭成员病情记录分组

This commit is contained in:
2023-11-22 12:03:36 +08:00
parent 45e4fa886b
commit 8207d73fea
5 changed files with 71 additions and 10 deletions
+13 -10
View File
@@ -382,17 +382,7 @@ Router::addGroup('/patient', function () {
Router::get('/record', [PatientFamilyController::class, 'getFamilyProductRecord']);
});
// 病情记录
Router::addGroup('/pathography', function () {
// 检测家庭成员是否存在病情记录
Router::get('/exist', [PatientPathographyController::class, 'existFamilyPathography']);
// 获取家庭成员病情记录列表-分页
Router::get('', [PatientPathographyController::class, 'getFamilyPathographyPage']);
// 获取家庭成员病情记录详情
Router::get('/{pathography_id:\d+}', [PatientPathographyController::class, 'getFamilyPathographyInfo']);
});
});
// 药品
@@ -499,7 +489,20 @@ Router::addGroup('/patient', function () {
Router::get('/system/last', [MessageNoticeController::class, 'getPatientMessageServiceLast']);
});
// 病情记录
Router::addGroup('/pathography', function () {
// 检测家庭成员是否存在病情记录
Router::get('/exist', [PatientPathographyController::class, 'existFamilyPathography']);
// 获取家庭成员病情记录列表-分页
Router::get('', [PatientPathographyController::class, 'getFamilyPathographyPage']);
// 获取家庭成员病情记录详情
Router::get('/{pathography_id:\d+}', [PatientPathographyController::class, 'getFamilyPathographyInfo']);
// 获取家庭成员病情记录分组
Router::get('/group', [PatientPathographyController::class, 'getFamilyPathographyGroup']);
});
});
// 药师端api