Method | Description | |
---|---|---|
afterDelete ( ) | ||
afterSave ( ) | ||
afterValidate ( ) | ||
attributeLabels ( ) | ||
beforeSave ( ) | ||
createFromPrescriptionItem ( $item ) | Takes a prescription item and sets the appropriate medication values from it. | |
getDrugLabel ( ) : string | Wrapper for the drug name for display. | |
isCurrentMedication ( ) : boolean | Is the medication current. | |
isPreviousMedication ( ) : boolean | Is the preview current. | |
matches ( $item ) : boolean | ||
relations ( ) : array | ||
rules ( ) : array | ||
tableName ( ) : string | ||
validateOptionId ( ) |
Method | Description | |
---|---|---|
removePatientAdherence ( ) | Will remove the patient adherence element if it is no longer relevant. |
public createFromPrescriptionItem ( $item ) | ||
$item |
public getDrugLabel ( ) : string | ||
return | string |
public isCurrentMedication ( ) : boolean | ||
return | boolean |
public isPreviousMedication ( ) : boolean | ||
return | boolean |
protected removePatientAdherence ( ) |