PHP 클래스 NodExportController

상속: extends BaseController
파일 보기 프로젝트 열기: openeyes/openeyes

공개 프로퍼티들

프로퍼티 타입 설명
$layout the default layout for the views

보호된 프로퍼티들

프로퍼티 타입 설명
$exportPath
$institutionCode
$zipName

공개 메소드들

메소드 설명
accessRules ( )
actionGenerate ( ) Generates CSV and zip files then sends to the browser
actionIndex ( )
beforeAction ( $action )
generateExport ( ) Generates the CSV files
init ( )

보호된 메소드들

메소드 설명
array2Csv ( array $data, $header = null, $dataFormatter = null ) ******** end of EpisodeIOP *********
prescriptionItemFormat ( array $row ) : array

비공개 메소드들

메소드 설명
clearAllTempTables ( )
createAllTempTables ( )
createTmpRcoNodEpisodeBiometry ( ) ******** EpisodeBiometry *********
createTmpRcoNodEpisodeDiabeticDiagnosis ( ) ******** EpisodeDiabeticDiagnosis *********
createTmpRcoNodEpisodeDiagnosis ( ) ******** EpisodeDiagnosis *********
createTmpRcoNodEpisodeDrug ( ) ******** EpisodeDrug *********
createTmpRcoNodEpisodeIOP ( ) Create tmp_rco_nod_EpisodeIOP_ table
createTmpRcoNodEpisodeOperation ( ) ******** EpisodeOperation *********
createTmpRcoNodEpisodeOperationAnesthesia ( ) ********* EpisodeOperationAnesthesia ***************
createTmpRcoNodEpisodeOperationCoPathology ( ) ******** EpisodeOperationCoPathology *********
createTmpRcoNodEpisodeOperationComplication ( ) ******** EpisodeOperationComplication *********
createTmpRcoNodEpisodeOperationIndication ( ) ******** EpisodeOperationIndication *********
createTmpRcoNodEpisodePreOpAssessment ( ) ******** EpisodePreOpAssessment *********
createTmpRcoNodEpisodeRefraction ( ) ******** EpisodeRefraction *********
createTmpRcoNodEpisodeTreatment ( ) ******** EpisodeTreatment *********
createTmpRcoNodEpisodeTreatmentCataract ( ) ******** EpisodeTreatmentCataract *********
createTmpRcoNodEpisodeVisualAcuity ( ) ******** EpisodeVisualAcuity *********
createTmpRcoNodMainEventEpisodes ( ) ******** Episode *********
createTmpRcoNodPatientCVIStatus ( ) ******** PatientCVIStatus *********
createTmpRcoNodPatients ( ) Create tmp_rco_nod_patients_{$this->extractIdentifier} table
createTmpRcoNodPostOpComplication ( ) ******** EpisodePostOpComplication *********
createTmpRcoNodSurgeon ( ) ******** Surgeon *********
createZipFile ( ) Creates zip files from the CSV files
getEpisode ( )
getEpisodeBiometry ( )
getEpisodeDiabeticDiagnosis ( )
getEpisodeDiagnosis ( )
getEpisodeDrug ( )
getEpisodeIOP ( )
getEpisodeOperation ( )
getEpisodeOperationAnaesthesia ( )
getEpisodeOperationCoPathology ( )
getEpisodeOperationComplication ( )
getEpisodeOperationIndication ( )
getEpisodePostOpComplication ( )
getEpisodePreOpAssessment ( )
getEpisodeRefraction ( )
getEpisodeTreatment ( )
getEpisodeTreatmentCataract ( )
getEpisodeVisualAcuity ( )
getPatientCviStatus ( )
getPatients ( ) The extraction of patient data is psuedoanonymised. All tables prefixed with “Patient” link back to the “Patient” table via the ‘PatientId’ variable. Each patient on the RCOphth NOD will have one row in the “Patient” table.
getSurgeons ( )
populateAllTempTables ( ) This function will call the functions one by one to populate each tmp tables belongs to a csv file
populateTmpRcoNodEpisodeBiometry ( )
populateTmpRcoNodEpisodeDiabeticDiagnosis ( )
populateTmpRcoNodEpisodeDiagnosis ( )
populateTmpRcoNodEpisodeDrug ( )
populateTmpRcoNodEpisodeIOP ( ) Load Episode IOP data
populateTmpRcoNodEpisodeOperation ( )
populateTmpRcoNodEpisodeOperationAnesthesia ( )
populateTmpRcoNodEpisodeOperationCoPathology ( )
populateTmpRcoNodEpisodeOperationComplication ( )
populateTmpRcoNodEpisodeOperationIndication ( )
populateTmpRcoNodEpisodePreOpAssessment ( )
populateTmpRcoNodEpisodeRefraction ( ) Populate tmp_rco_nod_EpisodeRefraction_* table
populateTmpRcoNodEpisodeTreatment ( )
populateTmpRcoNodEpisodeTreatmentCataract ( )
populateTmpRcoNodEpisodeVisualAcuity ( )
populateTmpRcoNodMainEventEpisodes ( ) Load main control table with ALL events
populateTmpRcoNodPatientCVIStatus ( ) Populate Patient CVI Status
populateTmpRcoNodPatients ( ) Load nod_patients data (using previously identified patients in control table)
populateTmpRcoNodPostOpComplication ( )
populateTmpRcoNodSurgeon ( ) This table will contain the only person identifiable data (surgeon’s GMC number or national code ) stored on the RCOphth NOD. This information will be used to match a surgeon to their own data on the RCOphth NOD website and in the prospective projects enable thematching of a surgeons’ record if they move between centres. This was not done with the ‘legacy’ data already in NOD and therefore at present we do not have the ability to identify individual surgeons.
saveCSVfile ( string $dataQuery, string $filename, string $dataFormatter = null ) : null | array Save CSV file and returns episodeIDs if $episodeIdField isset

메소드 상세

accessRules() 공개 메소드

public accessRules ( )

actionGenerate() 공개 메소드

Generates CSV and zip files then sends to the browser
public actionGenerate ( )

actionIndex() 공개 메소드

public actionIndex ( )

array2Csv() 보호된 메소드

******** end of EpisodeIOP *********
protected array2Csv ( array $data, $header = null, $dataFormatter = null )
$data array

beforeAction() 공개 메소드

public beforeAction ( $action )

generateExport() 공개 메소드

Generates the CSV files
public generateExport ( )

init() 공개 메소드

public init ( )

prescriptionItemFormat() 보호된 메소드

protected prescriptionItemFormat ( array $row ) : array
$row array
리턴 array

프로퍼티 상세

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

protected $exportPath

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

protected $institutionCode

$layout 공개적으로 프로퍼티

the default layout for the views
public $layout

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

protected $zipName