PatientsRepository
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- The constructor.
- addAnnotation() : mixed
- addPill() : mixed
- AssignDocToPaz() : mixed
- caricaRelazione() : mixed
- consultoPatientDetail() : array<string|int, mixed>
- deleteAnnotation() : mixed
- deletePatient() : mixed
- delPill() : mixed
- getPazId() : mixed
- insertPatient() : int
- last10moods() : mixed
- listAllmoods() : mixed
- listAnnotation() : mixed
- listDepressione() : mixed
- listDiary() : mixed
- listPatients() : array<string|int, mixed>
- listPharmPat() : array<string|int, mixed>
- listPharmPatMobile() : array<string|int, mixed>
- patientDetail() : array<string|int, mixed>
- Return all the smartbox information
- salvaRelazione() : mixed
- searchPat() : mixed
- searchPatient() : mixed
- selectSearchPat() : mixed
- updatePatient() : bool
- Update Patient settings data
Properties
$hydrator
private
Hydrator
$hydrator
$queryFactory
private
QueryFactory
$queryFactory
$transaction
private
Transaction
$transaction
Methods
__construct()
The constructor.
public
__construct(QueryFactory $queryFactory, Transaction $transaction, Hydrator $hydrator) : mixed
Parameters
- $queryFactory : QueryFactory
-
The query factory
- $transaction : Transaction
- $hydrator : Hydrator
addAnnotation()
public
addAnnotation(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
addPill()
public
addPill(int $pill_id, int $paz_id) : mixed
Parameters
- $pill_id : int
- $paz_id : int
AssignDocToPaz()
public
AssignDocToPaz(mixed $paz_id, mixed $doc_id) : mixed
Parameters
- $paz_id : mixed
- $doc_id : mixed
caricaRelazione()
public
caricaRelazione(int $paz_id) : mixed
Parameters
- $paz_id : int
consultoPatientDetail()
public
consultoPatientDetail(mixed $id) : array<string|int, mixed>
Parameters
- $id : mixed
Return values
array<string|int, mixed>deleteAnnotation()
public
deleteAnnotation(int $ann_id) : mixed
Parameters
- $ann_id : int
deletePatient()
public
deletePatient(int $paz_id) : mixed
Parameters
- $paz_id : int
delPill()
public
delPill(int $paz_id, int $ass_id) : mixed
Parameters
- $paz_id : int
- $ass_id : int
getPazId()
public
getPazId(mixed $uid) : mixed
Parameters
- $uid : mixed
insertPatient()
public
insertPatient(PatientData $patientData, mixed $rawData) : int
Parameters
- $patientData : PatientData
- $rawData : mixed
Return values
intlast10moods()
public
last10moods(mixed $uid) : mixed
Parameters
- $uid : mixed
listAllmoods()
public
listAllmoods(mixed $uid) : mixed
Parameters
- $uid : mixed
listAnnotation()
public
listAnnotation(mixed $paz_id[, mixed $consulto = false ]) : mixed
Parameters
- $paz_id : mixed
- $consulto : mixed = false
listDepressione()
public
listDepressione(int $paz_id) : mixed
Parameters
- $paz_id : int
listDiary()
public
listDiary(mixed $uid) : mixed
Parameters
- $uid : mixed
listPatients()
public
listPatients() : array<string|int, mixed>
Return values
array<string|int, mixed>listPharmPat()
public
listPharmPat(mixed $id_paz[, mixed $consulto = false ]) : array<string|int, mixed>
Parameters
- $id_paz : mixed
- $consulto : mixed = false
Return values
array<string|int, mixed>listPharmPatMobile()
public
listPharmPatMobile(mixed $id_paz) : array<string|int, mixed>
Parameters
- $id_paz : mixed
Return values
array<string|int, mixed>patientDetail()
Return all the smartbox information
public
patientDetail(string $id) : array<string|int, mixed>
Parameters
- $id : string
-
Patients ID
Return values
array<string|int, mixed>salvaRelazione()
public
salvaRelazione(int $paz_id, string $content) : mixed
Parameters
- $paz_id : int
- $content : string
searchPat()
public
searchPat(mixed $full_name) : mixed
Parameters
- $full_name : mixed
searchPatient()
public
searchPatient(mixed $term) : mixed
Parameters
- $term : mixed
selectSearchPat()
public
selectSearchPat(mixed $full_name) : mixed
Parameters
- $full_name : mixed
updatePatient()
Update Patient settings data
public
updatePatient(array<string|int, mixed> $data, array<string|int, mixed> $rawData) : bool
Parameters
- $data : array<string|int, mixed>
-
Form Data
- $rawData : array<string|int, mixed>
-
Form Data