Documentation

HealthInsuranceController extends AbstractHealthInsurancesOrganisationController
in package

Table of Contents

Properties

$dbc  : mixed
$mapper  : mixed
$organisationController  : mixed

Methods

__construct()  : mixed
getAll()  : mixed
getAllInsurancesForDisabled()  : mixed
getById()  : mixed
getOnlyHealthInsurance()  : mixed
isAllowedInvalidAndHealthInsurance()  : bool
isAnInvalidPeopleCantonalProvider()  : bool
mayBeGetInsuranceLegalCategorisation()  : string
packAsIdNameForSelectBoxWithChangeAction()  : array<string|int, mixed>
packAsIdNameForTabList()  : array<string|int, mixed>
packForSelectBoxWithChangeAction()  : array<string|int, mixed>
selectBoxArgsRouter()  : mixed
argsRouter()  : array<string|int, mixed>
fetchInsurancesFromOrganisationFetchByLawCodeFromHS()  : mixed
fetchOrganisationHealthInsuraceAlphabetically()  : array<string|int, mixed>
fetchOrganisationHealthInsurance()  : array<string|int, mixed>
fetchOrganisationHealthInsuranceByOwnerId()  : mixed
fetchOrganisationHealthInsuranceByOwnerIdNotInClient()  : mixed
fetchOrganisationHealthInsuranceInClient()  : mixed
fetchOrganisationHealthInsuranceNotInClient()  : mixed
fetchPreviousSavedInsuranceAndHSByLawCode()  : mixed
getDBC()  : mixed
initDB()  : mixed
mapCantonProviderIdToLawCodeId()  : int
mapVersArtToLawCode()  : int
nameFormatter()  : mixed
packAsIdName()  : array<string|int, mixed>
packHealthInsuranceAsIdName()  : mixed
packObjectAsValueName()  : array<string|int, mixed>
TODO is it the right place to lay this mehtod? packObjectAsValueName use it to prepare data for select boxes
packOrganisationAsIdName()  : mixed

Properties

Methods

isAllowedInvalidAndHealthInsurance()

public isAllowedInvalidAndHealthInsurance(int $userId, int $clientId) : bool
Parameters
$userId : int
$clientId : int
Return values
bool

isAnInvalidPeopleCantonalProvider()

public isAnInvalidPeopleCantonalProvider(int $cantonId) : bool
Parameters
$cantonId : int
Return values
bool

mayBeGetInsuranceLegalCategorisation()

public mayBeGetInsuranceLegalCategorisation(int $insuranceId) : string
Parameters
$insuranceId : int
Return values
string

packAsIdNameForSelectBoxWithChangeAction()

public packAsIdNameForSelectBoxWithChangeAction(int $selected, string $command) : array<string|int, mixed>
Parameters
$selected : int
$command : string
Tags
uses
Return values
array<string|int, mixed>

packAsIdNameForTabList()

public packAsIdNameForTabList(bool $isSpitex, int|null $ownerId) : array<string|int, mixed>
Parameters
$isSpitex : bool
$ownerId : int|null
Tags
access

public

uses

~/aufgaben/show_vers.php

Return values
array<string|int, mixed>

packForSelectBoxWithChangeAction()

public packForSelectBoxWithChangeAction(string $dataType, string $command, int $selected, array<string|int, mixed> $optionValues) : array<string|int, mixed>
Parameters
$dataType : string
$command : string
$selected : int
$optionValues : array<string|int, mixed>
Return values
array<string|int, mixed>

[~/person/klient_neu/neu_vers.php,~/person/neu_vers.php , .../schritt_3.php]

mapCantonProviderIdToLawCodeId()

protected mapCantonProviderIdToLawCodeId(int $cantonId) : int
Parameters
$cantonId : int
Return values
int

mapVersArtToLawCode()

protected mapVersArtToLawCode(string $versArt) : int
Parameters
$versArt : string
Return values
int

packObjectAsValueName()

TODO is it the right place to lay this mehtod? packObjectAsValueName use it to prepare data for select boxes

protected packObjectAsValueName(object $domainObject, array<string|int, mixed> $fields) : array<string|int, mixed>
Parameters
$domainObject : object
$fields : array<string|int, mixed>

[ 'value' => 'variable-displayed-as-the-option-value' 'name' => 'The variable for the option text displayed on the page' ]

Return values
array<string|int, mixed>

        
On this page

Search results