PHP 클래스 ReportController

상속: extends BaseController
파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$renderPatientPanel
$siteId
$subspecialtyId

보호된 프로퍼티들

프로퍼티 타입 설명
$_diagnosis_cache
$_patient_cache
$_treatment_cache

공개 메소드들

메소드 설명
accessRules ( )
actionAjaxReport ( )
actionApplications ( )
actionArvoPresentation ( $startDate, $endDate )
actionCataractComplicationTotal ( )
actionDiagnoses ( )
actionGetDrugs ( )
actionIndex ( )
actionInjections ( )
actionLetters ( )
actionOperation ( )
actionPendingApplications ( )
actionPrescribedDrugs ( )
actionReportData ( )
init ( )
reportCataractOperations ( array $params ) : array Generates a cataract outcomes report.
reportOperations ( $params = [] )

보호된 메소드들

메소드 설명
appendInjectionValues ( &$record, $patient_id, $left_treatment_id = null, $right_treatment_id = null )
appendSubmissionValues ( array &$record, integer $event_id ) Appends information about the submission of the application to the $record.
array2Csv ( array $data )
getApplications ( $date_from, $date_to, $firm = null )
getDiagnosisString ( $diagnosis_id ) : string
getPatient ( $patient_id )
getTreatment ( $treatment_id )
getTreatmentString ( $treatment_id ) : string
sendCsvHeaders ( $filename )
sideCompliance ( $side, $row ) : string Get the compliance string for the given side on the data $row.

비공개 메소드들

메소드 설명
getArvo ( $rotation )
loadReport ( ) : ReportInterface

메소드 상세

accessRules() 공개 메소드

public accessRules ( )

actionAjaxReport() 공개 메소드

public actionAjaxReport ( )

actionApplications() 공개 메소드

public actionApplications ( )

actionArvoPresentation() 공개 메소드

public actionArvoPresentation ( $startDate, $endDate )

actionCataractComplicationTotal() 공개 메소드

actionDiagnoses() 공개 메소드

public actionDiagnoses ( )

actionGetDrugs() 공개 메소드

public actionGetDrugs ( )

actionIndex() 공개 메소드

public actionIndex ( )

actionInjections() 공개 메소드

public actionInjections ( )

actionLetters() 공개 메소드

public actionLetters ( )

actionOperation() 공개 메소드

public actionOperation ( )

actionPendingApplications() 공개 메소드

actionPrescribedDrugs() 공개 메소드

actionReportData() 공개 메소드

public actionReportData ( )

appendInjectionValues() 보호된 메소드

protected appendInjectionValues ( &$record, $patient_id, $left_treatment_id = null, $right_treatment_id = null )

appendSubmissionValues() 보호된 메소드

Appends information about the submission of the application to the $record.
protected appendSubmissionValues ( array &$record, integer $event_id )
$record array
$event_id integer

array2Csv() 보호된 메소드

protected array2Csv ( array $data )
$data array

getApplications() 보호된 메소드

protected getApplications ( $date_from, $date_to, $firm = null )

getDiagnosisString() 보호된 메소드

protected getDiagnosisString ( $diagnosis_id ) : string
$diagnosis_id
리턴 string

getPatient() 보호된 메소드

protected getPatient ( $patient_id )

getTreatment() 보호된 메소드

protected getTreatment ( $treatment_id )

getTreatmentString() 보호된 메소드

protected getTreatmentString ( $treatment_id ) : string
$treatment_id
리턴 string

init() 공개 메소드

public init ( )

reportCataractOperations() 공개 메소드

inputs (all optional): - firm_id - surgeon_id - assistant_id - supervising_surgeon_id - date_from - date_to outputs: - number of cataracts (number) - age of patients (mean and range) - eyes (numbers and percentage for left/right) - final visual acuity (mean and range) - pc ruptures (number and percentage) - complications (number and percentage)
public reportCataractOperations ( array $params ) : array
$params array
리턴 array

reportOperations() 공개 메소드

public reportOperations ( $params = [] )

sendCsvHeaders() 보호된 메소드

protected sendCsvHeaders ( $filename )

sideCompliance() 보호된 메소드

Get the compliance string for the given side on the data $row.
protected sideCompliance ( $side, $row ) : string
$side
$row
리턴 string

프로퍼티 상세

$_diagnosis_cache 보호되어 있는 프로퍼티

protected $_diagnosis_cache

$_patient_cache 보호되어 있는 프로퍼티

protected $_patient_cache

$_treatment_cache 보호되어 있는 프로퍼티

protected $_treatment_cache

$renderPatientPanel 공개적으로 프로퍼티

public $renderPatientPanel

$siteId 공개적으로 프로퍼티

public $siteId

$subspecialtyId 공개적으로 프로퍼티

public $subspecialtyId