merge claim detail
This commit is contained in:
@@ -40,6 +40,22 @@ class DiagnosisExclusionController extends Controller
|
||||
return Helper::paginateResources(DiagnosisExclusionResource::collection($exclusions));
|
||||
}
|
||||
|
||||
public function listDiagnosis(Request $request, $corporate_id){
|
||||
$exclusion = Exclusion::query()
|
||||
->where('corporate_id', $corporate_id)
|
||||
->where('type', 'diagnosis')
|
||||
->where('deleted_at', null)
|
||||
// ->with(['rules'])
|
||||
->get('exclusionable_id')->toArray();
|
||||
|
||||
$icd = Icd::query()
|
||||
->whereNotIn('id', $exclusion)
|
||||
->limit(100)
|
||||
->get()
|
||||
->toArray();
|
||||
return Helper::responseJson($icd);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
* @return Renderable
|
||||
|
||||
Reference in New Issue
Block a user