PHP Class PrescriptionCommonController

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2015 This file is part of OpenEyes. OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
Author: OpenEyes ([email protected])
Inheritance: extends DefaultController
Show file Open project: openeyes/openeyes

Protected Properties

Property Type Description
$action_types

Public Methods

Method Description
actionItemForm ( $key, $patient_id, $drug_id ) Ajax action to get the form for single drug.
actionItemFormAdmin ( $key, $drug_id ) Ajax action to get the form for single drug on admin page (we don't have patient_id there).
actionSetForm ( $key, $patient_id, $set_id ) Ajax action to get prescription forms for a drug set.
actionSetFormAdmin ( $key, $set_id ) Ajax function to get drug set for admin page (we do not have patient_id there), and we also load the name and subspecialty here.

Method Details

actionItemForm() public method

Ajax action to get the form for single drug.
public actionItemForm ( $key, $patient_id, $drug_id )
$key
$patient_id
$drug_id

actionItemFormAdmin() public method

Ajax action to get the form for single drug on admin page (we don't have patient_id there).
public actionItemFormAdmin ( $key, $drug_id )
$key
$drug_id

actionSetForm() public method

Ajax action to get prescription forms for a drug set.
public actionSetForm ( $key, $patient_id, $set_id )
$key
$patient_id
$set_id

actionSetFormAdmin() public method

Ajax function to get drug set for admin page (we do not have patient_id there), and we also load the name and subspecialty here.
public actionSetFormAdmin ( $key, $set_id )
$key
$set_id

Property Details

$action_types protected static property

protected static $action_types