pflegedoku
in package
uses
log
Table of Contents
Methods
- changeCategory() : mixed
- changeHtmlFomatting() : mixed
- returns text with prefered html-tags like i instead of em
- cleanup() : string
- Cleans up and normalizes HTML text for output.
- closeEintragPD() : mixed
- closeEintragPD_FT_mm() : mixed
- closeEintragPD_FT_mm_Spitex() : mixed
- closeEintragPD_mm() : mixed
- closeEintragPD_mm_Spitex() : mixed
- closeEintragPD_Prob_Still() : mixed
- closeEintragPD_Spitex() : mixed
- closeEvalMN() : mixed
- createEntriesCatalogServicesOwnCatalog() : mixed
- add entries form own catalog to catalog services
- createEntriesCatalogServicesPrescription() : mixed
- add entries form prescription to catalog services
- delEintragPD() : mixed
- delEintragPD_FT() : mixed
- delKLVLeistung_byID_ALL() : mixed
- delLeistung_byID() : mixed
- delLeistung_byID_ALL() : mixed
- delLeistung_Verordnung() : mixed
- delMN() : mixed
- GET_ALL_FT_FUER_Eintrag_PD_REF_ZR() : mixed
- get_ALLVital_byID_KLIENT() : mixed
- get_ALLVital_byID_KLIENT_ANZ_BD() : mixed
- get_ALLVital_byID_KLIENT_ANZ_BZ_e() : mixed
- get_ALLVital_byID_KLIENT_ANZ_BZ_n() : mixed
- get_ALLVital_byID_KLIENT_ANZ_GEW() : mixed
- get_ALLVital_byID_KLIENT_ANZ_PULS() : mixed
- get_ALLVital_byID_KLIENT_ANZ_SPO2() : mixed
- get_ALLVital_byID_KLIENT_ANZ_TEMP() : mixed
- get_ALLVital_byID_KLIENT_ZR() : mixed
- get_ALLVital_byID_KLIENT_ZR_DESC() : mixed
- GET_Eintrag_PD_REF() : mixed
- get_LeistungenPdKatZr() : mixed
- get data from leistung in given periode on table pd_eintrag
- get_TextPdKatZr() : mixed
- get data from pd_eintrag_text in given periode
- get_Vital_byID_KLIENT() : mixed
- get_Vital_byID_PD() : mixed
- get_Vital_byID_PD_array() : mixed
- get_VitalPdKatZr() : mixed
- get data from pd_vitalzeichen in given periode
- getAenderungenPD() : mixed
- getAllAvailableTarifByDate() : mixed
- getAllDiagnosenKlient() : mixed
- getAllDiagnosenKlient_bis() : mixed
- getAllDiagnosenKlient_Verlauf() : mixed
- getAllEintraege_asc() : mixed
- getAllEintraege_asc_Zeitraum() : mixed
- getAllEintraege_ByKat_asc() : mixed
- getAllEintraege_ByKat_asc_Zeitraum() : mixed
- getAllEintraege_ByKat_desc() : mixed
- getAllEintraege_ByKat_desc_Zeitraum() : mixed
- getAllEintraege_desc() : mixed
- getAllEintraege_desc_Zeitraum() : mixed
- getAllKategorien() : mixed
- getAllLeistKatalogByTarif() : mixed
- getAllLeistung_byIDTarif() : mixed
- getAllLeistungenKlientMonatJahr() : mixed
- getAllLeistungenPd() : mixed
- getAllLeistVeroByTarif() : mixed
- getAllMN() : mixed
- getAllMN_Verlauf() : mixed
- getAllTarife() : mixed
- getAllTarife2011() : mixed
- getAllTarife2011_AUP_byDatum() : mixed
- getAllTarife2011_by_aktuell() : mixed
- getAllTarife2011_byDatumAktuell() : mixed
- getAllZuschlaege() : mixed
- getAvailableTimeSlot() : int
- getCareServiceDurationByID() : int
- getCareServiceDurationByID bekommt der Dauer der Pflegeleistung in Minuten.
- getCategoriesKClient() : mixed
- getCategoriesPD() : mixed
- getChangesPD_Text() : mixed
- getDiagnose() : mixed
- getDurationByIdTariffForGivenEntry() : mysqli
- get service by pd_eintrag.id and tarif.id
- getEintraege_asc_Zeitraum() : mixed
- getEintraege_asc_Zeitraum_neu() : mixed
- getEintraege_ByKat_asc_Zeitraum() : mixed
- getEintraege_ByKat_asc_Zeitraum_neu() : mixed
- getEintraege_FuerListe() : mixed
- getEintraege_FuerListe_Spitex() : mixed
- getEintraegeFT_FuerListe() : mixed
- getEintraegeFT_FuerListe_Spitex() : mixed
- getEintraegeFT_SEP_FuerListe() : mixed
- getEintraegeFT_SEP_FuerListe_Spitex() : mixed
- getEintragPD() : mixed
- getEntriesCatalogPDZr() : mixed
- get data from pd_leistungen_katalog, pd_katalog_eintrag in given periode
- getEntriesCatalogVOZr() : mixed
- get data from pd_leistungen_verordnung, katalog_eintrag in given periode
- getIdPd() : mixed
- getKategrieById() : mixed
- getLastEintrag_Klient() : mixed
- getLeistung_byID() : mixed
- getLeistung_Verordnung() : mixed
- getLeistung_Verordnung_byID() : mixed
- getLeistungen_FuerListe() : mixed
- getLeistungen_FuerListe_Spitex() : mixed
- getLeistungen_nachTarif() : mixed
- getLeistungenFT_nachTarif() : mixed
- getLeistungenFT_SEP_nachTarif() : mixed
- getLeistungTariffId() : mixed
- getMN() : mixed
- getPdKatZr() : mixed
- get data from pd_eintrag, pd_aenderungen in given periode on table pd_eintrag
- getStartingMinuteInDay() : int
- getStartingMinuteInDay rechnet die Minuten die, die Pflegeleistung begonnen ist, stamm von der Anfang Tag (d.h. Minut 0 um 00:00:00 (Mitternacht)).
- getText_PD() : mixed
- getVitalzeichenClientZR() : mixed
- getYearsWithEntriesByClient() : mysqli
- get all years with entries in table pd_eintrag
- maxMinutesEntry() : maximum
- returns maximum minutes for the entry PB
- open_ClosedEintragPD() : mixed
- openEintragPD() : mixed
- proofAbrechSepEPDId() : mixed
- returnSqlPdZr() : mixed
- saveAenderungen() : mixed
- saveEintragPD() : mixed
- saveEintragPD_REF() : mixed
- saveEvalMN() : mixed
- saveLeistung() : mixed
- saveLeistung_Verordnung() : mixed
- saveMN() : mixed
- saveNewDurationTariff() : mixed
- saveVitalzeichen() : mixed
- setzeNull() : mixed
- update_Zeit_Leistung_Verordnung_byID() : mixed
- update_Zeit_Leistung_Verordnung_byTarif() : mixed
- updateEintragPD() : mixed
- updateEintragPD_mobile() : mixed
- updateEintragPD_neu() : mixed
- updateEvalMN() : mixed
- updateLeistung_byID() : mixed
- updateMIN_MAX_Gewicht_BD() : mixed
- updateMN() : mixed
- updateVitalzeichen() : mixed
Methods
changeCategory()
public
changeCategory(mixed $e_pd_id, mixed $id_kat) : mixed
Parameters
- $e_pd_id : mixed
- $id_kat : mixed
changeHtmlFomatting()
returns text with prefered html-tags like i instead of em
public
changeHtmlFomatting(string $text) : mixed
Parameters
- $text : string
cleanup()
Cleans up and normalizes HTML text for output.
public
cleanup(string $text[, bool $outputPdf = false ]) : string
This method removes disallowed tags, normalizes paragraph and line break usage, filters style attributes to only allow safe properties, wraps plain text into paragraphs, and prepares the output differently when targeting PDF rendering.
Parameters
- $text : string
-
The input text containing HTML to be cleaned up.
- $outputPdf : bool = false
-
Whether the output is intended for PDF rendering. If true, paragraphs are converted to line breaks and consecutive
tags are collapsed.
Return values
string —The cleaned and normalized HTML string.
closeEintragPD()
public
closeEintragPD(mixed $id_k, mixed $von, mixed $bis, mixed $id_r, mixed $id_o) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
- $id_r : mixed
- $id_o : mixed
closeEintragPD_FT_mm()
public
closeEintragPD_FT_mm(mixed $id_k, mixed $von, mixed $bis, mixed $id_r, mixed $id_o) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
- $id_r : mixed
- $id_o : mixed
closeEintragPD_FT_mm_Spitex()
public
closeEintragPD_FT_mm_Spitex(mixed $id_k, mixed $von, mixed $bis, mixed $id_r) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
- $id_r : mixed
closeEintragPD_mm()
public
closeEintragPD_mm(mixed $id_k, mixed $von, mixed $bis, mixed $id_r, mixed $id_o) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
- $id_r : mixed
- $id_o : mixed
closeEintragPD_mm_Spitex()
public
closeEintragPD_mm_Spitex(mixed $id_k, mixed $von, mixed $bis, mixed $id_r) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
- $id_r : mixed
closeEintragPD_Prob_Still()
public
closeEintragPD_Prob_Still(mixed $id_k, mixed $von, mixed $bis, mixed $id_r, mixed $id_o) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
- $id_r : mixed
- $id_o : mixed
closeEintragPD_Spitex()
public
closeEintragPD_Spitex(mixed $id_k, mixed $von, mixed $bis, mixed $id_r) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
- $id_r : mixed
closeEvalMN()
public
closeEvalMN(mixed $id, mixed $date) : mixed
Parameters
- $id : mixed
- $date : mixed
createEntriesCatalogServicesOwnCatalog()
add entries form own catalog to catalog services
public
createEntriesCatalogServicesOwnCatalog(mixed $entriesCatalog, string &$stringOutput, array<string|int, mixed> &$ComMod, array<string|int, mixed> &$tarife, int &$counterNoTariffs, object &$lang) : mixed
Parameters
- $entriesCatalog : mixed
- $stringOutput : string
-
referenz to string wiht all reprocessed services
- $ComMod : array<string|int, mixed>
-
referenz to array with owner data
- $tarife : array<string|int, mixed>
-
referenz to array with all valid tariffs
- $counterNoTariffs : int
-
referenz to counter entries without valid tariffs
- $lang : object
-
referenz to object $lang
createEntriesCatalogServicesPrescription()
add entries form prescription to catalog services
public
createEntriesCatalogServicesPrescription(int $idPrescription, mixed $entriesCatalog, string &$stringOutput, array<string|int, mixed> &$servicesPlanned, array<string|int, mixed> &$ComMod, array<string|int, mixed> &$tarife, int &$counterNoTariffs) : mixed
Parameters
- $idPrescription : int
-
id of the current prescription
- $entriesCatalog : mixed
- $stringOutput : string
-
referenz to string wiht all reprocessed services
- $servicesPlanned : array<string|int, mixed>
-
referenz to array with planned services with mod dbt
- $ComMod : array<string|int, mixed>
-
referenz to array with owner data
- $tarife : array<string|int, mixed>
-
referenz to array with all valid tariffs
- $counterNoTariffs : int
-
counter entries without valid tariffs
delEintragPD()
public
delEintragPD(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
delEintragPD_FT()
public
delEintragPD_FT(mixed $e_pd_id, mixed $e_pd_sepFT_id) : mixed
Parameters
- $e_pd_id : mixed
- $e_pd_sepFT_id : mixed
delKLVLeistung_byID_ALL()
public
delKLVLeistung_byID_ALL(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
delLeistung_byID()
public
delLeistung_byID(mixed $e_pd_id, mixed $id_tarif) : mixed
Parameters
- $e_pd_id : mixed
- $id_tarif : mixed
delLeistung_byID_ALL()
public
delLeistung_byID_ALL(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
delLeistung_Verordnung()
public
delLeistung_Verordnung(mixed $id) : mixed
Parameters
- $id : mixed
delMN()
public
delMN(mixed $id_mn) : mixed
Parameters
- $id_mn : mixed
GET_ALL_FT_FUER_Eintrag_PD_REF_ZR()
public
GET_ALL_FT_FUER_Eintrag_PD_REF_ZR(mixed $id_k, mixed $von, mixed $bis) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
get_ALLVital_byID_KLIENT()
public
get_ALLVital_byID_KLIENT(mixed $id_k) : mixed
Parameters
- $id_k : mixed
get_ALLVital_byID_KLIENT_ANZ_BD()
public
get_ALLVital_byID_KLIENT_ANZ_BD(mixed $id_k, mixed $anz) : mixed
Parameters
- $id_k : mixed
- $anz : mixed
get_ALLVital_byID_KLIENT_ANZ_BZ_e()
public
get_ALLVital_byID_KLIENT_ANZ_BZ_e(mixed $id_k, mixed $anz) : mixed
Parameters
- $id_k : mixed
- $anz : mixed
get_ALLVital_byID_KLIENT_ANZ_BZ_n()
public
get_ALLVital_byID_KLIENT_ANZ_BZ_n(mixed $id_k, mixed $anz) : mixed
Parameters
- $id_k : mixed
- $anz : mixed
get_ALLVital_byID_KLIENT_ANZ_GEW()
public
get_ALLVital_byID_KLIENT_ANZ_GEW(mixed $id_k, mixed $anz) : mixed
Parameters
- $id_k : mixed
- $anz : mixed
get_ALLVital_byID_KLIENT_ANZ_PULS()
public
get_ALLVital_byID_KLIENT_ANZ_PULS(mixed $id_k, mixed $anz) : mixed
Parameters
- $id_k : mixed
- $anz : mixed
get_ALLVital_byID_KLIENT_ANZ_SPO2()
public
get_ALLVital_byID_KLIENT_ANZ_SPO2(mixed $id_k, mixed $anz) : mixed
Parameters
- $id_k : mixed
- $anz : mixed
get_ALLVital_byID_KLIENT_ANZ_TEMP()
public
get_ALLVital_byID_KLIENT_ANZ_TEMP(mixed $id_k, mixed $anz) : mixed
Parameters
- $id_k : mixed
- $anz : mixed
get_ALLVital_byID_KLIENT_ZR()
public
get_ALLVital_byID_KLIENT_ZR(mixed $id_k, mixed $von, mixed $bis) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
get_ALLVital_byID_KLIENT_ZR_DESC()
public
get_ALLVital_byID_KLIENT_ZR_DESC(mixed $id_k, mixed $von, mixed $bis) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
GET_Eintrag_PD_REF()
public
GET_Eintrag_PD_REF(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
get_LeistungenPdKatZr()
get data from leistung in given periode on table pd_eintrag
public
get_LeistungenPdKatZr(int $pd_id[, int $id_kat = 0 ][, date $von = null ][, date $bis = null ][, array<string|int, mixed> $arrZR = null ]) : mixed
Parameters
- $pd_id : int
-
id of table pflegedoku for selected client
- $id_kat : int = 0
-
default = 0; if value > 0 get only entries with id_kategorie = id_kategorie; id of table kategorie_pd_eintrag
- $von : date = null
-
default = null, format yyyy-mm-dd - start-date for selection, if used it needs $bis too
- $bis : date = null
-
default = null, format yyyy-mm-dd - end-date for selection
- $arrZR : array<string|int, mixed> = null
-
default = null, $arr[id][von] and $arr[id][bis] with dates like $von and $bis
Tags
get_TextPdKatZr()
get data from pd_eintrag_text in given periode
public
get_TextPdKatZr(int $pd_id, int $id_kat[, date $von = null ][, date $bis = null ][, array<string|int, mixed> $arrZR = null ]) : mixed
returns the converted date
Parameters
- $pd_id : int
-
id of table pflegedoku for selected client
- $id_kat : int
-
default = 0; if value > 0 get only entries with id_kategorie = id_kategorie; id of table kategorie_pd_eintrag
- $von : date = null
-
default = null, format yyyy-mm-dd - start-date for selection, if used it needs $bis too
- $bis : date = null
-
default = null, format yyyy-mm-dd - end-date for selection
- $arrZR : array<string|int, mixed> = null
-
default = null, $arr[id][von] and $arr[id][bis] with dates like $von and $bis
Tags
get_Vital_byID_KLIENT()
public
get_Vital_byID_KLIENT(mixed $id_k) : mixed
Parameters
- $id_k : mixed
get_Vital_byID_PD()
public
get_Vital_byID_PD(mixed $id_pd) : mixed
Parameters
- $id_pd : mixed
get_Vital_byID_PD_array()
public
get_Vital_byID_PD_array(mixed $id_pd) : mixed
Parameters
- $id_pd : mixed
get_VitalPdKatZr()
get data from pd_vitalzeichen in given periode
public
get_VitalPdKatZr(int $pd_id, int $id_kat[, date $von = null ][, date $bis = null ][, array<string|int, mixed> $arrZR = null ]) : mixed
Parameters
- $pd_id : int
-
id of table pflegedoku for selected client
- $id_kat : int
-
default = 0; if value > 0 get only entries with id_kategorie = id_kategorie; id of table kategorie_pd_eintrag
- $von : date = null
-
default = null, format yyyy-mm-dd - start-date for selection, if used it needs $bis too
- $bis : date = null
-
default = null, format yyyy-mm-dd - end-date for selection
- $arrZR : array<string|int, mixed> = null
-
default = null, $arr[id][von] and $arr[id][bis] with dates like $von and $bis
Tags
getAenderungenPD()
public
getAenderungenPD(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
getAllAvailableTarifByDate()
public
getAllAvailableTarifByDate(mixed $date) : mixed
Parameters
- $date : mixed
getAllDiagnosenKlient()
public
getAllDiagnosenKlient(mixed $id_k) : mixed
Parameters
- $id_k : mixed
getAllDiagnosenKlient_bis()
public
getAllDiagnosenKlient_bis(mixed $id_k) : mixed
Parameters
- $id_k : mixed
getAllDiagnosenKlient_Verlauf()
public
getAllDiagnosenKlient_Verlauf(mixed $id_k) : mixed
Parameters
- $id_k : mixed
getAllEintraege_asc()
public
getAllEintraege_asc(mixed $e_pd_id, mixed $id_k) : mixed
Parameters
- $e_pd_id : mixed
- $id_k : mixed
getAllEintraege_asc_Zeitraum()
public
getAllEintraege_asc_Zeitraum(mixed $id_k, mixed $von, mixed $bis) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
getAllEintraege_ByKat_asc()
public
getAllEintraege_ByKat_asc(mixed $e_pd_id, mixed $id_k, mixed $id_kat) : mixed
Parameters
- $e_pd_id : mixed
- $id_k : mixed
- $id_kat : mixed
getAllEintraege_ByKat_asc_Zeitraum()
public
getAllEintraege_ByKat_asc_Zeitraum(mixed $id_k, mixed $id_kat, mixed $von, mixed $bis) : mixed
Parameters
- $id_k : mixed
- $id_kat : mixed
- $von : mixed
- $bis : mixed
getAllEintraege_ByKat_desc()
public
getAllEintraege_ByKat_desc(mixed $e_pd_id, mixed $id_k, mixed $id_kat) : mixed
Parameters
- $e_pd_id : mixed
- $id_k : mixed
- $id_kat : mixed
getAllEintraege_ByKat_desc_Zeitraum()
public
getAllEintraege_ByKat_desc_Zeitraum(mixed $id_k, mixed $id_kat, mixed $von, mixed $bis) : mixed
Parameters
- $id_k : mixed
- $id_kat : mixed
- $von : mixed
- $bis : mixed
getAllEintraege_desc()
public
getAllEintraege_desc(mixed $e_pd_id, mixed $id_k) : mixed
Parameters
- $e_pd_id : mixed
- $id_k : mixed
getAllEintraege_desc_Zeitraum()
public
getAllEintraege_desc_Zeitraum(mixed $id_k, mixed $von, mixed $bis[, mixed $owner = 0 ]) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
- $owner : mixed = 0
getAllKategorien()
public
getAllKategorien(mixed $id_k) : mixed
Parameters
- $id_k : mixed
getAllLeistKatalogByTarif()
public
getAllLeistKatalogByTarif(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
getAllLeistung_byIDTarif()
public
getAllLeistung_byIDTarif(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
getAllLeistungenKlientMonatJahr()
public
getAllLeistungenKlientMonatJahr(mixed $id_k, mixed $v_jahr, mixed $v_monat) : mixed
Parameters
- $id_k : mixed
- $v_jahr : mixed
- $v_monat : mixed
getAllLeistungenPd()
public
getAllLeistungenPd(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
getAllLeistVeroByTarif()
public
getAllLeistVeroByTarif(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
getAllMN()
public
getAllMN(mixed $id_d) : mixed
Parameters
- $id_d : mixed
getAllMN_Verlauf()
public
getAllMN_Verlauf(mixed $id_d) : mixed
Parameters
- $id_d : mixed
getAllTarife()
public
getAllTarife(mixed $datum) : mixed
Parameters
- $datum : mixed
getAllTarife2011()
public
getAllTarife2011() : mixed
getAllTarife2011_AUP_byDatum()
public
getAllTarife2011_AUP_byDatum(mixed $datum) : mixed
Parameters
- $datum : mixed
getAllTarife2011_by_aktuell()
public
getAllTarife2011_by_aktuell(mixed $aktuell) : mixed
Parameters
- $aktuell : mixed
getAllTarife2011_byDatumAktuell()
public
getAllTarife2011_byDatumAktuell(mixed $datum, mixed $aktuell) : mixed
Parameters
- $datum : mixed
- $aktuell : mixed
getAllZuschlaege()
public
getAllZuschlaege() : mixed
getAvailableTimeSlot()
public
getAvailableTimeSlot(int $idCareService, string $time) : int
Parameters
- $idCareService : int
- $time : string
Return values
intgetCareServiceDurationByID()
getCareServiceDurationByID bekommt der Dauer der Pflegeleistung in Minuten.
public
getCareServiceDurationByID(int $idCareService) : int
$idCareService: Pflegeleistung ID d.h. pd_eintrag.id.
Parameters
- $idCareService : int
Return values
intgetCategoriesKClient()
public
getCategoriesKClient(mixed $id_k) : mixed
Parameters
- $id_k : mixed
getCategoriesPD()
public
getCategoriesPD() : mixed
getChangesPD_Text()
public
getChangesPD_Text(mixed $textID) : mixed
Parameters
- $textID : mixed
getDiagnose()
public
getDiagnose(mixed $id_d) : mixed
Parameters
- $id_d : mixed
getDurationByIdTariffForGivenEntry()
get service by pd_eintrag.id and tarif.id
public
getDurationByIdTariffForGivenEntry(int $idPd, int $idTariff) : mysqli
returns the stored amount
Parameters
- $idPd : int
-
id of the entry in table pd_eintrag
- $idTariff : int
-
id of the tariff in table tarif
Return values
mysqli —fetch assoc with data or empty result
getEintraege_asc_Zeitraum()
public
getEintraege_asc_Zeitraum(mixed $id_k, mixed $von, mixed $bis) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
getEintraege_asc_Zeitraum_neu()
public
getEintraege_asc_Zeitraum_neu(mixed $id_k, mixed $von, mixed $bis) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
getEintraege_ByKat_asc_Zeitraum()
public
getEintraege_ByKat_asc_Zeitraum(mixed $id_k, mixed $von, mixed $bis, mixed $id_kat) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
- $id_kat : mixed
getEintraege_ByKat_asc_Zeitraum_neu()
public
getEintraege_ByKat_asc_Zeitraum_neu(mixed $id_k, mixed $von, mixed $bis, mixed $id_kat) : mixed
Parameters
- $id_k : mixed
- $von : mixed
- $bis : mixed
- $id_kat : mixed
getEintraege_FuerListe()
public
getEintraege_FuerListe(mixed $id_k, mixed $v_jahr, mixed $v_monat, mixed $id_owner) : mixed
Parameters
- $id_k : mixed
- $v_jahr : mixed
- $v_monat : mixed
- $id_owner : mixed
getEintraege_FuerListe_Spitex()
public
getEintraege_FuerListe_Spitex(mixed $id_k, mixed $v_jahr, mixed $v_monat) : mixed
Parameters
- $id_k : mixed
- $v_jahr : mixed
- $v_monat : mixed
getEintraegeFT_FuerListe()
public
getEintraegeFT_FuerListe(mixed $id_k, mixed $v_jahr, mixed $v_monat, mixed $id_owner) : mixed
Parameters
- $id_k : mixed
- $v_jahr : mixed
- $v_monat : mixed
- $id_owner : mixed
getEintraegeFT_FuerListe_Spitex()
public
getEintraegeFT_FuerListe_Spitex(mixed $id_k, mixed $v_jahr, mixed $v_monat) : mixed
Parameters
- $id_k : mixed
- $v_jahr : mixed
- $v_monat : mixed
getEintraegeFT_SEP_FuerListe()
public
getEintraegeFT_SEP_FuerListe(mixed $id_k, mixed $v_jahr, mixed $v_monat, mixed $id_owner) : mixed
Parameters
- $id_k : mixed
- $v_jahr : mixed
- $v_monat : mixed
- $id_owner : mixed
getEintraegeFT_SEP_FuerListe_Spitex()
public
getEintraegeFT_SEP_FuerListe_Spitex(mixed $id_k, mixed $v_jahr, mixed $v_monat) : mixed
Parameters
- $id_k : mixed
- $v_jahr : mixed
- $v_monat : mixed
getEintragPD()
public
getEintragPD(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
getEntriesCatalogPDZr()
get data from pd_leistungen_katalog, pd_katalog_eintrag in given periode
public
getEntriesCatalogPDZr(int $pd_id[, date $von = null ][, date $bis = null ][, array<string|int, mixed> $arrZR = null ]) : mixed
returns the converted date
Parameters
- $pd_id : int
-
id of table pflegedoku for selected client
- $von : date = null
-
default = null, format yyyy-mm-dd - start-date for selection, if used it needs $bis too
- $bis : date = null
-
default = null, format yyyy-mm-dd - end-date for selection
- $arrZR : array<string|int, mixed> = null
-
default = null, $arr[id][von] and $arr[id][bis] with dates like $von and $bis
Tags
getEntriesCatalogVOZr()
get data from pd_leistungen_verordnung, katalog_eintrag in given periode
public
getEntriesCatalogVOZr(int $pd_id[, date $von = null ][, date $bis = null ][, array<string|int, mixed> $arrZR = null ]) : mixed
returns the converted date
Parameters
- $pd_id : int
-
id of table pflegedoku for selected client
- $von : date = null
-
default = null, format yyyy-mm-dd - start-date for selection, if used it needs $bis too
- $bis : date = null
-
default = null, format yyyy-mm-dd - end-date for selection
- $arrZR : array<string|int, mixed> = null
-
default = null, $arr[id][von] and $arr[id][bis] with dates like $von and $bis
Tags
getIdPd()
public
getIdPd(mixed $id_k) : mixed
Parameters
- $id_k : mixed
getKategrieById()
public
getKategrieById(mixed $id_kat) : mixed
Parameters
- $id_kat : mixed
getLastEintrag_Klient()
public
getLastEintrag_Klient(mixed $id_k, mixed $limit[, mixed $id_owner = null ]) : mixed
Parameters
- $id_k : mixed
- $limit : mixed
- $id_owner : mixed = null
getLeistung_byID()
public
getLeistung_byID(mixed $e_pd_id, mixed $id_tarif) : mixed
Parameters
- $e_pd_id : mixed
- $id_tarif : mixed
getLeistung_Verordnung()
public
getLeistung_Verordnung(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
getLeistung_Verordnung_byID()
public
getLeistung_Verordnung_byID(mixed $id) : mixed
Parameters
- $id : mixed
getLeistungen_FuerListe()
public
getLeistungen_FuerListe(mixed $id_k, mixed $v_jahr, mixed $v_monat, mixed $id_owner) : mixed
Parameters
- $id_k : mixed
- $v_jahr : mixed
- $v_monat : mixed
- $id_owner : mixed
getLeistungen_FuerListe_Spitex()
public
getLeistungen_FuerListe_Spitex(mixed $id_k, mixed $v_jahr, mixed $v_monat) : mixed
Parameters
- $id_k : mixed
- $v_jahr : mixed
- $v_monat : mixed
getLeistungen_nachTarif()
public
getLeistungen_nachTarif(mixed $e_pd_id, mixed $id_tarif) : mixed
Parameters
- $e_pd_id : mixed
- $id_tarif : mixed
getLeistungenFT_nachTarif()
public
getLeistungenFT_nachTarif(mixed $e_pd_id, mixed $id_ft) : mixed
Parameters
- $e_pd_id : mixed
- $id_ft : mixed
getLeistungenFT_SEP_nachTarif()
public
getLeistungenFT_SEP_nachTarif(mixed $e_pd_id, mixed $id_ft) : mixed
Parameters
- $e_pd_id : mixed
- $id_ft : mixed
getLeistungTariffId()
public
getLeistungTariffId(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
getMN()
public
getMN(mixed $id_mn) : mixed
Parameters
- $id_mn : mixed
getPdKatZr()
get data from pd_eintrag, pd_aenderungen in given periode on table pd_eintrag
public
getPdKatZr(int $pd_id[, int $id_kat = 0 ][, string $sort = 'DESC' ][, date $von = null ][, date $bis = null ][, array<string|int, mixed> $arrZR = null ]) : mixed
Parameters
- $pd_id : int
-
id of table pflegedoku for selected client
- $id_kat : int = 0
-
default = 0; if value > 0 get only entries with id_kategorie = id_kategorie; id of table kategorie_pd_eintrag
- $sort : string = 'DESC'
-
DESC oder ASC - default = DESC
- $von : date = null
-
date with format yyyy-mm-dd - start-date for selection
- $bis : date = null
-
date with format yyyy-mm-dd - end-date for selection
- $arrZR : array<string|int, mixed> = null
-
$arr[id][von] and $arr[id][bis] with dates like $von / $bis
Tags
getStartingMinuteInDay()
getStartingMinuteInDay rechnet die Minuten die, die Pflegeleistung begonnen ist, stamm von der Anfang Tag (d.h. Minut 0 um 00:00:00 (Mitternacht)).
public
getStartingMinuteInDay(string $time) : int
Parameters
- $time : string
Tags
Return values
intgetText_PD()
public
getText_PD(mixed $id_text) : mixed
Parameters
- $id_text : mixed
getVitalzeichenClientZR()
public
getVitalzeichenClientZR(mixed $id_k[, mixed $von = null ][, mixed $bis = null ][, mixed $arrZR = null ]) : mixed
Parameters
- $id_k : mixed
- $von : mixed = null
- $bis : mixed = null
- $arrZR : mixed = null
getYearsWithEntriesByClient()
get all years with entries in table pd_eintrag
public
getYearsWithEntriesByClient(int $idClient) : mysqli
Parameters
- $idClient : int
-
ref to table klient.id
Return values
mysqli —result
maxMinutesEntry()
returns maximum minutes for the entry PB
public
maxMinutesEntry(time $time) : maximum
returns the calculated minutes
Parameters
- $time : time
-
format HH:mm or HH:mm:ss
Return values
maximum —minutes for this entry
open_ClosedEintragPD()
public
open_ClosedEintragPD(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
openEintragPD()
public
openEintragPD(mixed $id_r) : mixed
Parameters
- $id_r : mixed
proofAbrechSepEPDId()
public
proofAbrechSepEPDId(mixed $e_pd_id) : mixed
Parameters
- $e_pd_id : mixed
returnSqlPdZr()
public
returnSqlPdZr(mixed $arrZR) : mixed
Parameters
- $arrZR : mixed
saveAenderungen()
public
saveAenderungen(mixed $e_pd_id, mixed $bemerkung, mixed $datum, mixed $zeit, mixed $id_owner) : mixed
Parameters
- $e_pd_id : mixed
- $bemerkung : mixed
- $datum : mixed
- $zeit : mixed
- $id_owner : mixed
saveEintragPD()
public
saveEintragPD(mixed $pd_id, mixed $idClient, mixed $datum, mixed $uhrzeit, mixed $bericht, mixed $owner, mixed $id_kategorie) : mixed
Parameters
- $pd_id : mixed
- $idClient : mixed
- $datum : mixed
- $uhrzeit : mixed
- $bericht : mixed
- $owner : mixed
- $id_kategorie : mixed
saveEintragPD_REF()
public
saveEintragPD_REF(mixed $pd_id, mixed $idClient, mixed $datum, mixed $uhrzeit, mixed $bericht, mixed $owner, mixed $id_ref_id) : mixed
Parameters
- $pd_id : mixed
- $idClient : mixed
- $datum : mixed
- $uhrzeit : mixed
- $bericht : mixed
- $owner : mixed
- $id_ref_id : mixed
saveEvalMN()
public
saveEvalMN(mixed $id_d, mixed $ziel, mixed $nr) : mixed
Parameters
- $id_d : mixed
- $ziel : mixed
- $nr : mixed
saveLeistung()
public
saveLeistung(mixed $e_pd_id, mixed $id_tarif, mixed $dauer) : mixed
Parameters
- $e_pd_id : mixed
- $id_tarif : mixed
- $dauer : mixed
saveLeistung_Verordnung()
public
saveLeistung_Verordnung(mixed $e_pd_id, mixed $id_katalog_eintrag, mixed $nr, mixed $tarif, mixed $dauer[, mixed $id_tarif = null ]) : mixed
Parameters
- $e_pd_id : mixed
- $id_katalog_eintrag : mixed
- $nr : mixed
- $tarif : mixed
- $dauer : mixed
- $id_tarif : mixed = null
saveMN()
public
saveMN(mixed $id_d, mixed $ziel, mixed $nr) : mixed
Parameters
- $id_d : mixed
- $ziel : mixed
- $nr : mixed
saveNewDurationTariff()
public
saveNewDurationTariff(mixed $e_pd_id, mixed $id_tariff, mixed $duration, mixed $art) : mixed
Parameters
- $e_pd_id : mixed
- $id_tariff : mixed
- $duration : mixed
- $art : mixed
saveVitalzeichen()
public
saveVitalzeichen(mixed $id_pd, mixed $id_k, mixed $datum, mixed $uhrzeit, mixed $id_owner[, mixed $puls = null ][, mixed $puls_rhytmus = null ][, mixed $blutzucker = null ][, mixed $bz_gemessen = null ][, mixed $temperatur = null ][, mixed $atmung = null ][, mixed $gewicht = null ][, mixed $verdauung = null ][, mixed $sys_druck = null ][, mixed $dia_druck = null ][, mixed $sp_o2 = null ][, mixed $o2_zufuhr = null ][, mixed $o2_zufuhr_liter = null ][, mixed $bemerkung_VZ = null ]) : mixed
Parameters
- $id_pd : mixed
- $id_k : mixed
- $datum : mixed
- $uhrzeit : mixed
- $id_owner : mixed
- $puls : mixed = null
- $puls_rhytmus : mixed = null
- $blutzucker : mixed = null
- $bz_gemessen : mixed = null
- $temperatur : mixed = null
- $atmung : mixed = null
- $gewicht : mixed = null
- $verdauung : mixed = null
- $sys_druck : mixed = null
- $dia_druck : mixed = null
- $sp_o2 : mixed = null
- $o2_zufuhr : mixed = null
- $o2_zufuhr_liter : mixed = null
- $bemerkung_VZ : mixed = null
setzeNull()
public
setzeNull() : mixed
update_Zeit_Leistung_Verordnung_byID()
public
update_Zeit_Leistung_Verordnung_byID(mixed $id_leistung, mixed $zeit) : mixed
Parameters
- $id_leistung : mixed
- $zeit : mixed
update_Zeit_Leistung_Verordnung_byTarif()
public
update_Zeit_Leistung_Verordnung_byTarif(mixed $e_pd_id, mixed $tarif, mixed $zeit) : mixed
Parameters
- $e_pd_id : mixed
- $tarif : mixed
- $zeit : mixed
updateEintragPD()
public
updateEintragPD(mixed $e_pd_id, mixed $datum, mixed $uhrzeit, mixed $bericht, mixed $owner, mixed $id_kat) : mixed
Parameters
- $e_pd_id : mixed
- $datum : mixed
- $uhrzeit : mixed
- $bericht : mixed
- $owner : mixed
- $id_kat : mixed
updateEintragPD_mobile()
public
updateEintragPD_mobile(mixed $e_pd_id, mixed $bericht) : mixed
Parameters
- $e_pd_id : mixed
- $bericht : mixed
updateEintragPD_neu()
public
updateEintragPD_neu(mixed $e_pd_id, mixed $datum, mixed $uhrzeit, mixed $id_kat) : mixed
Parameters
- $e_pd_id : mixed
- $datum : mixed
- $uhrzeit : mixed
- $id_kat : mixed
updateEvalMN()
public
updateEvalMN(mixed $id, mixed $id_new, mixed $date) : mixed
Parameters
- $id : mixed
- $id_new : mixed
- $date : mixed
updateLeistung_byID()
public
updateLeistung_byID(mixed $e_pd_id, mixed $id_tarif, mixed $dauer) : mixed
Parameters
- $e_pd_id : mixed
- $id_tarif : mixed
- $dauer : mixed
updateMIN_MAX_Gewicht_BD()
public
updateMIN_MAX_Gewicht_BD(mixed $id_k, mixed $min_gewicht, mixed $max_gewicht, mixed $limit_s_bd, mixed $limit_d_bd) : mixed
Parameters
- $id_k : mixed
- $min_gewicht : mixed
- $max_gewicht : mixed
- $limit_s_bd : mixed
- $limit_d_bd : mixed
updateMN()
public
updateMN(mixed $id, mixed $ziel, mixed $nr) : mixed
Parameters
- $id : mixed
- $ziel : mixed
- $nr : mixed
updateVitalzeichen()
public
updateVitalzeichen(mixed $id_pd, mixed $puls, mixed $puls_rhytmus, mixed $blutzucker, mixed $bz_gemessen, mixed $temperatur, mixed $atmung, mixed $gewicht, mixed $verdauung, mixed $sys_druck, mixed $dia_druck, mixed $sp_o2[, mixed $o2_zufuhr = null ][, mixed $o2_zufuhr_liter = null ][, mixed $bemerkung_VZ = null ]) : mixed
Parameters
- $id_pd : mixed
- $puls : mixed
- $puls_rhytmus : mixed
- $blutzucker : mixed
- $bz_gemessen : mixed
- $temperatur : mixed
- $atmung : mixed
- $gewicht : mixed
- $verdauung : mixed
- $sys_druck : mixed
- $dia_druck : mixed
- $sp_o2 : mixed
- $o2_zufuhr : mixed = null
- $o2_zufuhr_liter : mixed = null
- $bemerkung_VZ : mixed = null