新增:获取问诊订单病例缺少字段、医生发送缺少字段至患者、患者填写缺少字段至医生

This commit is contained in:
2023-11-30 17:56:25 +08:00
parent a69ba2ca2c
commit 6cbbcd586e
5 changed files with 374 additions and 6 deletions
+11 -2
View File
@@ -734,8 +734,17 @@ Router::addGroup('/case', function () {
// 获取问诊订单病例详情
Router::get('/inquiry', [PatientCaseController::class, 'getPatientFamilyInquiryCase']);
// 获取问诊订单病例缺少字段
Router::get('/fields', [PatientCaseController::class, 'getPatientFamilyInquiryCaseUnfilledFields']);
// 病例未填字段
Router::addGroup('/fields', function () {
// 获取问诊订单病例缺少字段
Router::get('/unfilled', [PatientCaseController::class, 'getPatientFamilyInquiryCaseUnfilledFields']);
// 医生发送缺少字段至患者
Router::post('/doctor', [PatientCaseController::class, 'sendCaseUnfilledFieldsToPatient']);
// 患者填写缺少字段至医生
Router::post('/patient', [PatientCaseController::class, 'sendCaseUnfilledFieldsToDoctor']);
});
});
// 测试使用