Méthode | Description | |
---|---|---|
attributeLabels ( ) : array | ||
commonDrugs ( ) : Drug[] | Get the common drugs for session firm. | |
commonDrugsBySiteAndSpec ( $site_id, $subspecialty_id ) : SiteSubspecialtyDrug[] | Get the drug list for a specified site and subspecialty. | |
drugSets ( ) : DrugSet[] | Get the drug sets for the current firm. | |
drugSetsAll ( ) : mixed | Get all drug sets for admin page. | |
drugTypes ( ) : CHtml::listData | Gets listdata for the drugtypes. | |
getContainer_form_view ( ) | ||
getContainer_print_view ( ) | ||
getInfotext ( ) : string | Returns string status to indicate if the prescription is draft or not. | |
getLetterText ( ) : string | Generates string for inclusion in letters that describes the prescription. | |
getPrint_view ( ) | ||
isEditable ( ) : boolean | Prescription is always editable. | |
model ( $className = __CLASS__ ) : Element_OphDrPrescription_Details | Returns the static model of the specified AR class. | |
relations ( ) : array | ||
rules ( ) : array | ||
search ( ) : CActiveDataProvider | Retrieves a list of models based on the current search/filter conditions. | |
tableName ( ) : string | ||
updateItems ( array() $items ) | Create and save appropriate Element_OphDrPrescription_Item and Element_OphDrPrescription_Item_Taper models for this prescription based on the $items structure passed in. |
Méthode | Description | |
---|---|---|
afterValidate ( ) | Validate prescription items. |
public attributeLabels ( ) : array | ||
Résultat | array | customized attribute labels (name=>label) |
public commonDrugs ( ) : Drug[] | ||
Résultat | Drug[] |
public commonDrugsBySiteAndSpec ( $site_id, $subspecialty_id ) : SiteSubspecialtyDrug[] | ||
$site_id | ||
$subspecialty_id | ||
Résultat | SiteSubspecialtyDrug[] |
public drugSets ( ) : DrugSet[] | ||
Résultat | DrugSet[] |
public drugSetsAll ( ) : mixed | ||
Résultat | mixed |
public drugTypes ( ) : CHtml::listData | ||
Résultat | CHtml::listData |
public getInfotext ( ) : string | ||
Résultat | string |
public getLetterText ( ) : string | ||
Résultat | string |
public isEditable ( ) : boolean | ||
Résultat | boolean |
public static model ( $className = __CLASS__ ) : Element_OphDrPrescription_Details | ||
Résultat | Element_OphDrPrescription_Details | the static model class |
public search ( ) : CActiveDataProvider | ||
Résultat | CActiveDataProvider | the data provider that can return the models based on the search/filter conditions. |
public updateItems ( array() $items ) | ||
$items | array() |