PHP Class OphTrOperationnote_ReportOperations

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2013 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 BaseReport
Exibir arquivo Open project: openeyes/openeyes

Public Properties

Property Type Description
$Procedures_procs
$anaesthetic_comments
$anaesthetic_complications
$anaesthetic_delivery
$anaesthetic_type
$assistant
$assistant_role
$booking_diagnosis
$bookingcomments
$cataract_complication_notes
$cataract_iol_power
$cataract_iol_type
$cataract_predicted_refraction
$cataract_report
$cataract_surgical_management
$comorbidities
$complications
$date_from
$date_to
$first_eye
$incision_site
$operation_date
$operations
$opnote_comments
$patient_oph_diagnoses
$refraction_values
$supervising_surgeon
$supervising_surgeon_role
$surgeon
$surgeon_id
$surgeon_role
$surgerydate
$tamponade_used
$target_refraction
$theatre
$va_values

Public Methods

Method Description
attributeLabels ( )
attributeNames ( )
bestPostOpVaValues ( $criteria, $record )
description ( )
getColumns ( )
getFirstEyeOrSecondEye ( $criteria )
getPostOpRefractionSplit ( $criteria, $record )
getRefractionReading ( $criteria, $record )
getRefractionReadingSplit ( $criteria, $record )
getVAReading ( $criteria, $record )
getVAReadingDate ( $criteria, $record )
getVaReadingSplit ( $criteria, $record )
operationNoteCriteria ( $event, $searchBackwards )
postOperationNoteCriteria ( $event )
rules ( )
run ( )
toCSV ( ) : string Output the report in CSV format.

Protected Methods

Method Description
appendBookingValues ( &$record, $event_id, $booking_diagnosis, $theatre, $bookingcomments, $surgerydate )
appendExaminationValues ( &$record, $event_id, $comorbidities, $target_refraction, $cataract_surgical_management, $first_eye, $va_values, $refraction_values )
appendOpNoteValues ( &$record, $event_id, $anaesthetic_type, $anaesthetic_delivery, $anaesthetic_comments, $anaesthetic_complications, $cataract_report, $incision_site, $cataract_complication_notes, $cataract_predicted_refraction, $cataract_iol_type, $cataract_iol_power, $tamponade_used, $surgeon, $surgeon_role, $assistant, $assistant_role, $supervising_surgeon, $supervising_surgeon_role, $opnote_comments )
appendPatientValues ( &$record, $event_id, $patient_oph_diagnoses )
eyesCondition ( $record )
getCataractPrimaryReason ( $criteria )
getCataractSurgicalManagement ( $criteria )
getComorbidities ( $criteria )
getOperations ( User $surgeon = null, array $filter_procedures = [], array $filter_complications = [], $from_date, $to_date, $patient_oph_diagnoses, $booking_diagnosis, $theatre, $bookingcomments, $surgerydate, $comorbidities, $target_refraction, $cataract_surgical_management, $first_eye, $va_values, $refraction_values, $anaesthetic_type, $anaesthetic_delivery, $anaesthetic_comments, $anaesthetic_complications, $cataract_report, $incision_site, $cataract_complication_notes, $cataract_predicted_refraction, $cataract_iol_type, $cataract_iol_power, $tamponade_used, $surgeon_role, $assistant, $assistant_role, $supervising_surgeon, $supervising_surgeon_role, $opnote_comments, $surgeon_id ) : array Generate operation report.
getTargetRefraction ( $criteria )
preOperationNoteCriteria ( $event )

Method Details

appendBookingValues() protected method

protected appendBookingValues ( &$record, $event_id, $booking_diagnosis, $theatre, $bookingcomments, $surgerydate )

appendExaminationValues() protected method

protected appendExaminationValues ( &$record, $event_id, $comorbidities, $target_refraction, $cataract_surgical_management, $first_eye, $va_values, $refraction_values )

appendOpNoteValues() protected method

protected appendOpNoteValues ( &$record, $event_id, $anaesthetic_type, $anaesthetic_delivery, $anaesthetic_comments, $anaesthetic_complications, $cataract_report, $incision_site, $cataract_complication_notes, $cataract_predicted_refraction, $cataract_iol_type, $cataract_iol_power, $tamponade_used, $surgeon, $surgeon_role, $assistant, $assistant_role, $supervising_surgeon, $supervising_surgeon_role, $opnote_comments )

appendPatientValues() protected method

protected appendPatientValues ( &$record, $event_id, $patient_oph_diagnoses )

attributeLabels() public method

public attributeLabels ( )

attributeNames() public method

public attributeNames ( )

bestPostOpVaValues() public method

public bestPostOpVaValues ( $criteria, $record )

description() public method

public description ( )

eyesCondition() protected method

protected eyesCondition ( $record )

getCataractPrimaryReason() protected method

protected getCataractPrimaryReason ( $criteria )

getCataractSurgicalManagement() protected method

protected getCataractSurgicalManagement ( $criteria )

getColumns() public method

public getColumns ( )

getComorbidities() protected method

protected getComorbidities ( $criteria )

getFirstEyeOrSecondEye() public method

public getFirstEyeOrSecondEye ( $criteria )

getOperations() protected method

Generate operation report.
protected getOperations ( User $surgeon = null, array $filter_procedures = [], array $filter_complications = [], $from_date, $to_date, $patient_oph_diagnoses, $booking_diagnosis, $theatre, $bookingcomments, $surgerydate, $comorbidities, $target_refraction, $cataract_surgical_management, $first_eye, $va_values, $refraction_values, $anaesthetic_type, $anaesthetic_delivery, $anaesthetic_comments, $anaesthetic_complications, $cataract_report, $incision_site, $cataract_complication_notes, $cataract_predicted_refraction, $cataract_iol_type, $cataract_iol_power, $tamponade_used, $surgeon_role, $assistant, $assistant_role, $supervising_surgeon, $supervising_surgeon_role, $opnote_comments, $surgeon_id ) : array
$surgeon User
$filter_procedures array
$filter_complications array
$from_date
$to_date
return array

getPostOpRefractionSplit() public method

public getPostOpRefractionSplit ( $criteria, $record )

getRefractionReading() public method

public getRefractionReading ( $criteria, $record )

getRefractionReadingSplit() public method

public getRefractionReadingSplit ( $criteria, $record )

getTargetRefraction() protected method

protected getTargetRefraction ( $criteria )

getVAReading() public method

public getVAReading ( $criteria, $record )

getVAReadingDate() public method

public getVAReadingDate ( $criteria, $record )

getVaReadingSplit() public method

public getVaReadingSplit ( $criteria, $record )

operationNoteCriteria() public method

public operationNoteCriteria ( $event, $searchBackwards )

postOperationNoteCriteria() public method

public postOperationNoteCriteria ( $event )

preOperationNoteCriteria() protected method

protected preOperationNoteCriteria ( $event )

rules() public method

public rules ( )

run() public method

public run ( )

toCSV() public method

Output the report in CSV format.
public toCSV ( ) : string
return string

Property Details

$Procedures_procs public_oe property

public $Procedures_procs

$anaesthetic_comments public_oe property

public $anaesthetic_comments

$anaesthetic_complications public_oe property

public $anaesthetic_complications

$anaesthetic_delivery public_oe property

public $anaesthetic_delivery

$anaesthetic_type public_oe property

public $anaesthetic_type

$assistant public_oe property

public $assistant

$assistant_role public_oe property

public $assistant_role

$booking_diagnosis public_oe property

public $booking_diagnosis

$bookingcomments public_oe property

public $bookingcomments

$cataract_complication_notes public_oe property

public $cataract_complication_notes

$cataract_iol_power public_oe property

public $cataract_iol_power

$cataract_iol_type public_oe property

public $cataract_iol_type

$cataract_predicted_refraction public_oe property

public $cataract_predicted_refraction

$cataract_report public_oe property

public $cataract_report

$cataract_surgical_management public_oe property

public $cataract_surgical_management

$comorbidities public_oe property

public $comorbidities

$complications public_oe property

public $complications

$date_from public_oe property

public $date_from

$date_to public_oe property

public $date_to

$first_eye public_oe property

public $first_eye

$incision_site public_oe property

public $incision_site

$operation_date public_oe property

public $operation_date

$operations public_oe property

public $operations

$opnote_comments public_oe property

public $opnote_comments

$patient_oph_diagnoses public_oe property

public $patient_oph_diagnoses

$refraction_values public_oe property

public $refraction_values

$supervising_surgeon public_oe property

public $supervising_surgeon

$supervising_surgeon_role public_oe property

public $supervising_surgeon_role

$surgeon public_oe property

public $surgeon

$surgeon_id public_oe property

public $surgeon_id

$surgeon_role public_oe property

public $surgeon_role

$surgerydate public_oe property

public $surgerydate

$tamponade_used public_oe property

public $tamponade_used

$target_refraction public_oe property

public $target_refraction

$theatre public_oe property

public $theatre

$va_values public_oe property

public $va_values