PHP Class AnonymiseVFCommand

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2012 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 CConsoleCommand
Afficher le fichier Open project: openeyes/openeyes

Méthodes publiques

Méthode Description
actionRedact ( $pattern = null ) Trawl an existing OE database and find all files that match the given pattern. A pattern MUST be specified.
actionRedactTif ( type $inDir, type $outDir ) Take images from the in-directory, anonymise them and place the resulting file in the sepcified out-directory.
actiontransformFmes ( $fmesDir, $outputDir, type $realPidFile, type $anonPidFile ) Take a list of real patient identifiers that appear in a collection of FMES files, and remove the 'real' PID in the FMES file in favour of.
getHelp ( )

Private Methods

Méthode Description
anonymiseTif ( type $file, type $out ) Create a new image based on the image passed in and anonymise.
fillImage ( Imagick $image ) Fills the image at the specified locations. Designed specifically to grey-out patient name, DoB, PID and HFA serial number,.
getHosNum ( type $file, type $field ) : type

Method Details

actionRedact() public méthode

If no pattern is specified, all images that match the standard humphrey image size are processed.
public actionRedact ( $pattern = null )

actionRedactTif() public méthode

Take images from the in-directory, anonymise them and place the resulting file in the sepcified out-directory.
public actionRedactTif ( type $inDir, type $outDir )
$inDir type
$outDir type

actiontransformFmes() public méthode

Take a list of real patient identifiers that appear in a collection of FMES files, and remove the 'real' PID in the FMES file in favour of.
public actiontransformFmes ( $fmesDir, $outputDir, type $realPidFile, type $anonPidFile )
$realPidFile type
$anonPidFile type

getHelp() public méthode

public getHelp ( )