PHP 클래스 OphTrIntravitrealinjection_ReportInjections

(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 .
저자: OpenEyes ([email protected])
상속: extends BaseReport
파일 보기 프로젝트 열기: openeyes/openeyes

공개 프로퍼티들

프로퍼티 타입 설명
$date_from
$date_to
$drug_id
$given_by_id
$injections
$post_va
$pre_antisept_drug_id
$pre_va
$summary

보호된 프로퍼티들

프로퍼티 타입 설명
$_application_event_type_id
$_current_patient_id
$_drug_cache
$_examination_event_type_id
$_patient_vas

공개 메소드들

메소드 설명
attributeLabels ( )
attributeNames ( )
description ( )
rules ( )
run ( )
toCSV ( ) : string Output the report in CSV format.

보호된 메소드들

메소드 설명
appendExaminationValues ( &$record, $patient_id, $event_date )
extractSummaryData ( $patient_data )
getApplicationEventTypeID ( )
getBestVaFromReading ( $side, OEModule\OphCiExamination\models\Element_OphCiExamination_VisualAcuity $va ) : string Simple wrapper function for getting a string representation of the best VA reading for a side from the given element.
getDiagnosisData ( $patient_id, $close_to_date ) a) From the injection management element under Examination event saved before the injection event - usually on the same day b) If no injection management saved then this can be obtained from the application event If there is an application event saved before the injection started for the patient c) if there is no application then diagnoses for the episode.
getDiagnosisDataFromEvent ( $patient_id, $close_to_date, $event_type_id, $model )
getDiagnosisName ( $disorder_id )
getDrugById ( $drug_id ) : OphTrIntravitrealinjection_Treatment_Drug | null simple cache for drug objects.
getDrugString ( $drug_id ) : string Return the printable string for the drug.
getExaminationEventTypeId ( )
getGivenByName ( $user_id )
getInjections ( $date_from, $date_to, $given_by_user, $drug, $pre_antisept_drug )
getLensStatus ( $lens_status_id )
getPatientVAElements ( $patient_id ) : Element_OphCiExamination_VisualAcuity[] in order to suck up too much memory for larger reports, when this method receives a call for a new patient, it ditches the cache it has of the previous patient.
getPreAntiseptDrugString ( $drug_id )
getSummaryInjections ( $date_from, $date_to, $given_by_user, $drug, $pre_antisept_drug )

메소드 상세

appendExaminationValues() 보호된 메소드

protected appendExaminationValues ( &$record, $patient_id, $event_date )

attributeLabels() 공개 메소드

public attributeLabels ( )

attributeNames() 공개 메소드

public attributeNames ( )

description() 공개 메소드

public description ( )

extractSummaryData() 보호된 메소드

protected extractSummaryData ( $patient_data )

getApplicationEventTypeID() 보호된 메소드

getBestVaFromReading() 보호된 메소드

Simple wrapper function for getting a string representation of the best VA reading for a side from the given element.
protected getBestVaFromReading ( $side, OEModule\OphCiExamination\models\Element_OphCiExamination_VisualAcuity $va ) : string
$side
$va OEModule\OphCiExamination\models\Element_OphCiExamination_VisualAcuity
리턴 string

getDiagnosisData() 보호된 메소드

a) From the injection management element under Examination event saved before the injection event - usually on the same day b) If no injection management saved then this can be obtained from the application event If there is an application event saved before the injection started for the patient c) if there is no application then diagnoses for the episode.
protected getDiagnosisData ( $patient_id, $close_to_date )

getDiagnosisDataFromEvent() 보호된 메소드

protected getDiagnosisDataFromEvent ( $patient_id, $close_to_date, $event_type_id, $model )

getDiagnosisName() 보호된 메소드

protected getDiagnosisName ( $disorder_id )

getDrugById() 보호된 메소드

simple cache for drug objects.
protected getDrugById ( $drug_id ) : OphTrIntravitrealinjection_Treatment_Drug | null
$drug_id
리턴 OphTrIntravitrealinjection_Treatment_Drug | null

getDrugString() 보호된 메소드

Return the printable string for the drug.
protected getDrugString ( $drug_id ) : string
$drug_id
리턴 string

getExaminationEventTypeId() 보호된 메소드

getGivenByName() 보호된 메소드

protected getGivenByName ( $user_id )

getInjections() 보호된 메소드

protected getInjections ( $date_from, $date_to, $given_by_user, $drug, $pre_antisept_drug )

getLensStatus() 보호된 메소드

protected getLensStatus ( $lens_status_id )

getPatientVAElements() 보호된 메소드

in order to suck up too much memory for larger reports, when this method receives a call for a new patient, it ditches the cache it has of the previous patient.
protected getPatientVAElements ( $patient_id ) : Element_OphCiExamination_VisualAcuity[]
$patient_id
리턴 Element_OphCiExamination_VisualAcuity[]

getPreAntiseptDrugString() 보호된 메소드

protected getPreAntiseptDrugString ( $drug_id )

getSummaryInjections() 보호된 메소드

protected getSummaryInjections ( $date_from, $date_to, $given_by_user, $drug, $pre_antisept_drug )

rules() 공개 메소드

public rules ( )

run() 공개 메소드

public run ( )

toCSV() 공개 메소드

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

프로퍼티 상세

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

protected $_application_event_type_id

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

protected $_current_patient_id

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

protected $_drug_cache

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

protected $_examination_event_type_id

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

protected $_patient_vas

$date_from 공개적으로 프로퍼티

public $date_from

$date_to 공개적으로 프로퍼티

public $date_to

$drug_id 공개적으로 프로퍼티

public $drug_id

$given_by_id 공개적으로 프로퍼티

public $given_by_id

$injections 공개적으로 프로퍼티

public $injections

$post_va 공개적으로 프로퍼티

public $post_va

$pre_antisept_drug_id 공개적으로 프로퍼티

public $pre_antisept_drug_id

$pre_va 공개적으로 프로퍼티

public $pre_va

$summary 공개적으로 프로퍼티

public $summary