Improve check insurance coverage amount method
This commit is contained in:
parent
3797577f9a
commit
9017ac9609
|
@ -2001,13 +2001,6 @@ class HealthCareSheetController extends Controller
|
||||||
* @OA\Schema(
|
* @OA\Schema(
|
||||||
* schema="check_insurance_coverage_amount",
|
* schema="check_insurance_coverage_amount",
|
||||||
* title = "Verifier si une ligne de la feuille est applicable",
|
* title = "Verifier si une ligne de la feuille est applicable",
|
||||||
* required={"insured_id", "network_agent_id", "password", "practitioner_lastname", "practitioner_provider_class_id"},
|
|
||||||
* @OA\Property(
|
|
||||||
* property="network_id",
|
|
||||||
* description = "ID du reseau",
|
|
||||||
* type="integer",
|
|
||||||
* example= 250
|
|
||||||
* ),
|
|
||||||
* @OA\Property(
|
* @OA\Property(
|
||||||
* property="insurance_id",
|
* property="insurance_id",
|
||||||
* description = "ID de l'assurance",
|
* description = "ID de l'assurance",
|
||||||
|
@ -2127,7 +2120,6 @@ class HealthCareSheetController extends Controller
|
||||||
* )
|
* )
|
||||||
*/
|
*/
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'network_id' => 'required|exists:networks,id',
|
|
||||||
'insurance_id' => 'required|exists:nh_insurances,id',
|
'insurance_id' => 'required|exists:nh_insurances,id',
|
||||||
'beneficiary_id' => 'nullable|exists:nh_having_rights,id',
|
'beneficiary_id' => 'nullable|exists:nh_having_rights,id',
|
||||||
'care_condition' => 'required|in:CURRENT_AFFECTION,LONG_TERM_AFFECTION,EXONERATION',
|
'care_condition' => 'required|in:CURRENT_AFFECTION,LONG_TERM_AFFECTION,EXONERATION',
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$router->get('pdf-viewer', 'HelperController@pdfView');
|
//$router->get('pdf-viewer', 'HelperController@pdfView');
|
||||||
|
|
||||||
$router->group(['prefix' => '', 'middleware' => 'auth'], function () use ($router) {
|
$router->group(['prefix' => '', 'middleware' => 'auth'], function () use ($router) {
|
||||||
// Insurances routes
|
// Insurances routes
|
||||||
|
|
Loading…
Reference in New Issue