Method |
Description |
|
canUpdate ( integer $event_id ) : boolean |
Therapy applications have no locking at the moment. |
|
getLatestApplicationDrug ( Patient $patient, Episode $episode, string $side ) : OphTrIntravitrealinjection_Treatment_Drug |
Gets the last drug that was applied for for the given patient, episode and side. |
|
getLatestApplicationSide ( unknown $patient, unknown $episode ) : integer |
returns the side of the most recent application (see Eye for definition of constants that indicate side or both). |
|
getLetterApplicationDiagnosisBoth ( Patient $patient ) : string |
get the therapy application diagnosis description for all sides that have one for this patient. |
|
getLetterApplicationDiagnosisForSide ( $patient, $episode, $side ) |
return the diagnosis string for the patient on the given side. |
|
getLetterApplicationDiagnosisLeft ( Patient $patient ) : mixed |
get the therapy application diagnosis description for the left. |
|
getLetterApplicationDiagnosisRight ( Patient $patient ) : mixed |
get the therapy application diagnosis description for the right if there is one. |
|
getLetterApplicationTreatmentBoth ( Patient $patient ) : string |
get the therapy application treatment for all sides that have one for this patient. |
|
getLetterApplicationTreatmentForSide ( $patient, $episode, $side ) : mixed |
Get the therapy application treatment for the given side if there is one. |
|
getLetterApplicationTreatmentLeft ( $patient ) : mixed |
get the left side therapy application treatment if there is one. |
|
getLetterApplicationTreatmentRight ( $patient ) : mixed |
get the right side therapy application treatment if there is one. |
|
getLevel1Disorders ( ) : Disorder[] |
return all the disorders for level 1. |
|
getLevel2Disorders ( integer $disorder_id ) : Disorder[] |
return all the disorders that are level 2 for the given $disorder_id. |
|