PHP Class OEModule\OphCiExamination\components\OphCiExamination_API

Inheritance: extends BaseAPI
Show file Open project: openeyes/openeyes

Public Properties

Property Type Description
$AIDED_VA_TYPE
$UNAIDED_VA_TYPE

Public Methods

Method Description
getAllergies ( Patient $patient ) : string Return list of allergies belonging to a patient.
getBestVisualAcuity ( Patient $patient, Episode $episode, string $side ) : OphCiExamination_VisualAcuity_Reading returns the best visual acuity for the specified side in the given episode for the patient. This is from the most recent examination that has a visual acuity element.
getCCTAbbr ( Patient $patient ) : string | null;
getCCTLeft ( Patient $patient ) : string Get the latest left CCT measurement.
getCCTLeftNoUnits ( $patient )
getCCTRight ( Patient $patient ) : string Get the latest right CCT measurement.
getCCTRightNoUnits ( $patient )
getDRClinicalMac ( Patient $patient, Episode $episode, string $side ) : string Get the clinical diabetic maculopathy grade.
getDRClinicalRet ( Patient $patient, Episode $episode, string $side ) : string Get the clinical diabetic retinopathy grade.
getDRMaculopathy ( Patient $patient, Episode $episode, string $side ) : string Get the NSC Maculopathy grade.
getElementForLatestEventInEpisode ( Episode $episode, string $kls ) : BaseEventTypeElement Extends parent method to prepend model namespace.
getElementsForLatestEventInEpisode ( Patient $patient, Episode $episode ) : ElementType[] returns all the elements from the most recent examination of the patient in the given episode.
getGlaucomaRisk ( Patient $patient ) : mixed Get the glaucoma risk as a string for the patient - we get this from the most recent examination that has a glaucoma risk recording as it's possible that it's not going to be recorded each time.
getIOPReadingLeft ( $patient )
getIOPReadingLeftNoUnits ( $patient )
getIOPReadingRight ( $patient )
getIOPReadingRightNoUnits ( $patient )
getIOPValuesAsTable ( $patient )
getInjectionManagementComplexInEpisodeForDisorder ( Patient $patient, Episode $episode, string $side, integer $disorder1_id, integer $disorder2_id ) : Element_OphCiExamination_InjectionManagementComplex Get the most recent InjectionManagementComplex element in this episode for the given side and disorder.
getInjectionManagementComplexInEpisodeForSide ( Patient $patient, Episode $episode, string $side ) : Element_OphCiExamination_InjectionManagementComplex Get the most recent InjectionManagementComplex element in this episode for the given side.
getInjectionManagementQuestionsForDisorder ( integer $disorder_id ) : OEModule\OphCiExamination\models\OphCiExamination_InjectionMangementComplex_Question[] wrapper to retrieve question objects for a given disorder id.
getLastIOPReadingLeft ( $patient )
getLastIOPReadingRight ( $patient )
getLatestInjectionManagementComplex ( Episode $episode, DateTime $after = null ) : OphCiExamination_InjectionManagementComplex | null return the most recent Injection Management Complex examination element in the given episode.
getLetterAdnexalComorbidityLeft ( $patient )
getLetterAdnexalComorbidityRight ( Patient $patient ) return the adnexal comorbidity for the patient episode on the given side. This is from the most recent examination that has an adnexal comorbidity element.
getLetterAnteriorSegmentLeft ( Patient $patient ) return the anterior segment description for the given eye. This is from the most recent examination that has an anterior segment element.
getLetterAnteriorSegmentPrincipal ( $patient )
getLetterAnteriorSegmentRight ( $patient )
getLetterCentralSFTForSide ( $patient, $side ) : mixed Get the central SFT for the given patient for the given side.
getLetterCentralSFTLeft ( $patient ) : mixed wrapper function to get the Central SFT for the left side of the patient.
getLetterCentralSFTRight ( $patient ) : mixed wrapper function to get the Central SFT for the right side of the patient.
getLetterConclusion ( Patient $patient ) : string get the conclusion text from the most recent examination in the patient examination that has a conclusion element.
getLetterDRClinicalMacLeft ( $patient )
getLetterDRClinicalMacRight ( $patient )
getLetterDRClinicalRetLeft ( $patient )
getLetterDRClinicalRetRight ( $patient )
getLetterDRMaculopathyLeft ( $patient )
getLetterDRMaculopathyRight ( $patient )
getLetterDRRetinopathy ( Patient $patient, Episode $episode, string $side ) : string Get the NSC Retinopathy grade.
getLetterDRRetinopathyLeft ( $patient )
getLetterDRRetinopathyRight ( $patient )
getLetterDiagnosesAndFindings ( $patient )
getLetterHistory ( Patient $patient ) : string Get the patient history for the given episode. This is from the most recent examination that has an history element.
getLetterIOPReadingAbbr ( Patient $patient ) : string | null
getLetterIOPReadingBoth ( Patient $patient ) : string Get the Intraocular Pressure reading for the given eye. This is from the most recent examination that has an IOP element.
getLetterIOPReadingBothFirst ( $patient )
getLetterIOPReadingLeft ( $patient )
getLetterIOPReadingPrincipal ( $patient )
getLetterIOPReadingRight ( $patient )
getLetterInjectionManagementComplexDiagnosisBoth ( $patient ) : string get the combined string for both eyes injection management complex diagnosis.
getLetterInjectionManagementComplexDiagnosisForSide ( $patient, $side ) : string get the diagnosis description for the patient on the given side from the injection management complex element in the most recent examination, if there is one.
getLetterInjectionManagementComplexDiagnosisLeft ( $patient ) : string get the diagnosis description for the patient on the left.
getLetterInjectionManagementComplexDiagnosisRight ( $patient ) : string get the diagnosis description for the patient on the right.
getLetterInjectionManagementComplexFindings ( $patient ) : string | null Get the default findings string from Injection Management complex in the latest examination event (if it exists).
getLetterInvestigationDescription ( $patient ) : mixed retrieve the Investigation Description for the given patient.
getLetterLaserManagementComments ( Patient $patient ) : string get laser management comments.
getLetterLaserManagementFindings ( $patient ) : string | null Get the default findings string from VA in te latest examination event (if it exists).
getLetterLaserManagementPlan ( Patient $patient ) get the laser management plan.
getLetterManagement ( Patient $patient ) : string get the letter txt from the management element for the given patient and episode. This is from the most recent examination that has a management element.
getLetterMaxCRTForSide ( $patient, $side ) : mixed get the maximum CRT for the patient for the given side.
getLetterMaxCRTLeft ( $patient ) : mixed wrapper function to get the Maximum CRT for the left side of the patient.
getLetterMaxCRTRight ( $patient ) : mixed wrapper function to get the Maximum CRT for the right side of the patient.
getLetterOutcomeFollowUpPeriod ( Patient $patient ) : string get follow up period from clinical outcome.
getLetterPosteriorPoleLeft ( Patient $patient ) return the posterior pole description for the given eye. This is from the most recent examination that has a posterior pole element.
getLetterPosteriorPolePrincipal ( $patient )
getLetterPosteriorPoleRight ( $patient )
getLetterStringForModel ( $patient, $episode, $element_type_id )
getLetterVisualAcuityBoth ( $patient )
getLetterVisualAcuityFindings ( $patient ) : string | null Get the default findings string from VA in te latest examination event (if it exists).
getLetterVisualAcuityForEpisodeBoth ( $episode, boolean $include_nr_values = false ) : string Get the VA string for both sides.
getLetterVisualAcuityForEpisodeLeft ( Episode $episode, boolean $include_nr_values = false, string $before_date = '' ) : OphCiExamination_VisualAcuity_Reading get the va from the given episode for the left side of the episode patient.
getLetterVisualAcuityForEpisodeRight ( Episode $episode, boolean $include_nr_values = false, string $before_date = '' ) : OphCiExamination_VisualAcuity_Reading get the va from the given episode for the right side of the episode patient.
getLetterVisualAcuityLeft ( $patient )
getLetterVisualAcuityPrincipal ( $patient )
getLetterVisualAcuityRight ( $patient )
getMostRecentElementInEpisode ( $episode_id, $event_type_id, $model, $before_date = '' ) : BaseEventTypeElement Extends parent method to prepend model namespace.
getMostRecentVAElementForPatient ( Patient $patient ) : array | boolean To get the most recent VA element for the Patient
getMostRecentVAForPatient ( Patient $patient, $side, $type, $element ) : null To get the visual acuity from the element based on the all episodes for the patient
getOCTForSide ( Patient $patient, Episode $episode, string $side ) : array(maximum_CRT, retrieve OCT measurements for the given side for the patient in the given episode.
getOCTSFTHistoryForSide ( Episode $episode, string $side, date $before = null ) : array Get previous SFT values for the given epsiode and side. Before $before, or all available.
getOrderedDisorders ( Patient $patient, $episode ) : array() gets a list of disorders diagnosed for the patient within the current episode, ordered by event creation date.
getPrincipalCCT ( $patient ) : string get principal eye CCT values for current episode, examination event.
getPrincipalOpticDiscDescription ( $patient ) : string get principal eye Optic Disc description for current episode, examination event.
getPrincipalVanHerick ( $patient ) : string get principal eye Gonioscopy Van Herick values for current episode, examination event.
getTargetIOP ( $patient )
getVAList ( ) get the list of possible unit values for Visual Acuity.

Protected Methods

Method Description
getSnellenUnitId ( ) : integer | null gets the id for the Snellen Metre unit type for VA.

Method Details

getAllergies() public method

Return list of allergies belonging to a patient.
public getAllergies ( Patient $patient ) : string
$patient Patient
return string

getBestVisualAcuity() public method

returns the best visual acuity for the specified side in the given episode for the patient. This is from the most recent examination that has a visual acuity element.
public getBestVisualAcuity ( Patient $patient, Episode $episode, string $side ) : OphCiExamination_VisualAcuity_Reading
$patient Patient
$episode Episode
$side string
return OphCiExamination_VisualAcuity_Reading

getCCTAbbr() public method

public getCCTAbbr ( Patient $patient ) : string | null;
$patient Patient
return string | null;

getCCTLeft() public method

Get the latest left CCT measurement.
public getCCTLeft ( Patient $patient ) : string
$patient Patient
return string

getCCTLeftNoUnits() public method

public getCCTLeftNoUnits ( $patient )

getCCTRight() public method

Get the latest right CCT measurement.
public getCCTRight ( Patient $patient ) : string
$patient Patient
return string

getCCTRightNoUnits() public method

public getCCTRightNoUnits ( $patient )

getDRClinicalMac() public method

Get the clinical diabetic maculopathy grade.
public getDRClinicalMac ( Patient $patient, Episode $episode, string $side ) : string
$patient Patient
$episode Episode
$side string 'left' or 'right'
return string

getDRClinicalRet() public method

Get the clinical diabetic retinopathy grade.
public getDRClinicalRet ( Patient $patient, Episode $episode, string $side ) : string
$patient Patient
$episode Episode
$side string 'left' or 'right'
return string

getDRMaculopathy() public method

Get the NSC Maculopathy grade.
public getDRMaculopathy ( Patient $patient, Episode $episode, string $side ) : string
$patient Patient
$episode Episode
$side string 'left' or 'right'
return string

getElementForLatestEventInEpisode() public method

Extends parent method to prepend model namespace.
public getElementForLatestEventInEpisode ( Episode $episode, string $kls ) : BaseEventTypeElement
$episode Episode
$kls string
return BaseEventTypeElement

getElementsForLatestEventInEpisode() public method

returns all the elements from the most recent examination of the patient in the given episode.
public getElementsForLatestEventInEpisode ( Patient $patient, Episode $episode ) : ElementType[]
$patient Patient
$episode Episode
return ElementType[] - array of various different element type objects

getGlaucomaRisk() public method

Get the glaucoma risk as a string for the patient - we get this from the most recent examination that has a glaucoma risk recording as it's possible that it's not going to be recorded each time.
public getGlaucomaRisk ( Patient $patient ) : mixed
$patient Patient
return mixed

getIOPReadingLeft() public method

public getIOPReadingLeft ( $patient )

getIOPReadingLeftNoUnits() public method

public getIOPReadingLeftNoUnits ( $patient )

getIOPReadingRight() public method

public getIOPReadingRight ( $patient )

getIOPReadingRightNoUnits() public method

public getIOPReadingRightNoUnits ( $patient )

getIOPValuesAsTable() public method

public getIOPValuesAsTable ( $patient )

getInjectionManagementComplexInEpisodeForDisorder() public method

N.B. This is different from letter functions as it will return the most recent Injection Management Complex element, regardless of whether it is part of the most recent examination event, or an earlier one.
public getInjectionManagementComplexInEpisodeForDisorder ( Patient $patient, Episode $episode, string $side, integer $disorder1_id, integer $disorder2_id ) : Element_OphCiExamination_InjectionManagementComplex
$patient Patient
$episode Episode
$side string
$disorder1_id integer
$disorder2_id integer
return OEModule\OphCiExamination\models\Element_OphCiExamination_InjectionManagementComplex

getInjectionManagementComplexInEpisodeForSide() public method

N.B. This is different from letter functions as it will return the most recent Injection Management Complex element, regardless of whether it is part of the most recent examination event, or an earlier one.
public getInjectionManagementComplexInEpisodeForSide ( Patient $patient, Episode $episode, string $side ) : Element_OphCiExamination_InjectionManagementComplex
$patient Patient
$episode Episode
$side string
return OEModule\OphCiExamination\models\Element_OphCiExamination_InjectionManagementComplex

getInjectionManagementQuestionsForDisorder() public method

wrapper to retrieve question objects for a given disorder id.
public getInjectionManagementQuestionsForDisorder ( integer $disorder_id ) : OEModule\OphCiExamination\models\OphCiExamination_InjectionMangementComplex_Question[]
$disorder_id integer
return OEModule\OphCiExamination\models\OphCiExamination_InjectionMangementComplex_Question[]

getLastIOPReadingLeft() public method

public getLastIOPReadingLeft ( $patient )

getLastIOPReadingRight() public method

public getLastIOPReadingRight ( $patient )

getLatestInjectionManagementComplex() public method

return the most recent Injection Management Complex examination element in the given episode.
public getLatestInjectionManagementComplex ( Episode $episode, DateTime $after = null ) : OphCiExamination_InjectionManagementComplex | null
$episode Episode
$after DateTime
return OphCiExamination_InjectionManagementComplex | null

getLetterAdnexalComorbidityLeft() public method

public getLetterAdnexalComorbidityLeft ( $patient )

getLetterAdnexalComorbidityRight() public method

return the adnexal comorbidity for the patient episode on the given side. This is from the most recent examination that has an adnexal comorbidity element.
public getLetterAdnexalComorbidityRight ( Patient $patient )
$patient Patient

getLetterAnteriorSegmentLeft() public method

return the anterior segment description for the given eye. This is from the most recent examination that has an anterior segment element.
public getLetterAnteriorSegmentLeft ( Patient $patient )
$patient Patient

getLetterAnteriorSegmentPrincipal() public method

public getLetterAnteriorSegmentPrincipal ( $patient )

getLetterAnteriorSegmentRight() public method

public getLetterAnteriorSegmentRight ( $patient )

getLetterCentralSFTForSide() public method

Get the central SFT for the given patient for the given side.
public getLetterCentralSFTForSide ( $patient, $side ) : mixed
$patient
$side
return mixed

getLetterCentralSFTLeft() public method

wrapper function to get the Central SFT for the left side of the patient.
public getLetterCentralSFTLeft ( $patient ) : mixed
$patient
return mixed

getLetterCentralSFTRight() public method

wrapper function to get the Central SFT for the right side of the patient.
public getLetterCentralSFTRight ( $patient ) : mixed
$patient
return mixed

getLetterConclusion() public method

get the conclusion text from the most recent examination in the patient examination that has a conclusion element.
public getLetterConclusion ( Patient $patient ) : string
$patient Patient
return string

getLetterDRClinicalMacLeft() public method

public getLetterDRClinicalMacLeft ( $patient )

getLetterDRClinicalMacRight() public method

public getLetterDRClinicalMacRight ( $patient )

getLetterDRClinicalRetLeft() public method

public getLetterDRClinicalRetLeft ( $patient )

getLetterDRClinicalRetRight() public method

public getLetterDRClinicalRetRight ( $patient )

getLetterDRMaculopathyLeft() public method

public getLetterDRMaculopathyLeft ( $patient )

getLetterDRMaculopathyRight() public method

public getLetterDRMaculopathyRight ( $patient )

getLetterDRRetinopathy() public method

Get the NSC Retinopathy grade.
public getLetterDRRetinopathy ( Patient $patient, Episode $episode, string $side ) : string
$patient Patient
$episode Episode
$side string 'left' or 'right'
return string

getLetterDRRetinopathyLeft() public method

public getLetterDRRetinopathyLeft ( $patient )

getLetterDRRetinopathyRight() public method

public getLetterDRRetinopathyRight ( $patient )

getLetterDiagnosesAndFindings() public method

public getLetterDiagnosesAndFindings ( $patient )

getLetterHistory() public method

Get the patient history for the given episode. This is from the most recent examination that has an history element.
public getLetterHistory ( Patient $patient ) : string
$patient Patient
return string

getLetterIOPReadingAbbr() public method

public getLetterIOPReadingAbbr ( Patient $patient ) : string | null
$patient Patient
return string | null

getLetterIOPReadingBoth() public method

Get the Intraocular Pressure reading for the given eye. This is from the most recent examination that has an IOP element.
public getLetterIOPReadingBoth ( Patient $patient ) : string
$patient Patient
return string

getLetterIOPReadingBothFirst() public method

public getLetterIOPReadingBothFirst ( $patient )

getLetterIOPReadingLeft() public method

public getLetterIOPReadingLeft ( $patient )

getLetterIOPReadingPrincipal() public method

public getLetterIOPReadingPrincipal ( $patient )

getLetterIOPReadingRight() public method

public getLetterIOPReadingRight ( $patient )

getLetterInjectionManagementComplexDiagnosisBoth() public method

get the combined string for both eyes injection management complex diagnosis.
public getLetterInjectionManagementComplexDiagnosisBoth ( $patient ) : string
$patient
return string

getLetterInjectionManagementComplexDiagnosisForSide() public method

get the diagnosis description for the patient on the given side from the injection management complex element in the most recent examination, if there is one.
public getLetterInjectionManagementComplexDiagnosisForSide ( $patient, $side ) : string
$patient
$side
return string

getLetterInjectionManagementComplexDiagnosisLeft() public method

get the diagnosis description for the patient on the left.
See also: getLetterInjectionManagementComplexDiagnosisForSide
public getLetterInjectionManagementComplexDiagnosisLeft ( $patient ) : string
$patient
return string

getLetterInjectionManagementComplexDiagnosisRight() public method

get the diagnosis description for the patient on the right.
See also: getLetterInjectionManagementComplexDiagnosisForSide
public getLetterInjectionManagementComplexDiagnosisRight ( $patient ) : string
$patient
return string

getLetterInjectionManagementComplexFindings() public method

Get the default findings string from Injection Management complex in the latest examination event (if it exists).
public getLetterInjectionManagementComplexFindings ( $patient ) : string | null
$patient
return string | null

getLetterInvestigationDescription() public method

retrieve the Investigation Description for the given patient.
public getLetterInvestigationDescription ( $patient ) : mixed
$patient
return mixed

getLetterLaserManagementComments() public method

get laser management comments.
public getLetterLaserManagementComments ( Patient $patient ) : string
$patient Patient
return string

getLetterLaserManagementFindings() public method

Get the default findings string from VA in te latest examination event (if it exists).
public getLetterLaserManagementFindings ( $patient ) : string | null
$patient
return string | null

getLetterLaserManagementPlan() public method

get the laser management plan.
Deprecation: since 1.4.10, user getLetterLaserManagementFindings($patient)
public getLetterLaserManagementPlan ( Patient $patient )
$patient Patient

getLetterManagement() public method

get the letter txt from the management element for the given patient and episode. This is from the most recent examination that has a management element.
public getLetterManagement ( Patient $patient ) : string
$patient Patient
return string

getLetterMaxCRTForSide() public method

get the maximum CRT for the patient for the given side.
public getLetterMaxCRTForSide ( $patient, $side ) : mixed
$patient
$side
return mixed

getLetterMaxCRTLeft() public method

wrapper function to get the Maximum CRT for the left side of the patient.
public getLetterMaxCRTLeft ( $patient ) : mixed
$patient
return mixed

getLetterMaxCRTRight() public method

wrapper function to get the Maximum CRT for the right side of the patient.
public getLetterMaxCRTRight ( $patient ) : mixed
$patient
return mixed

getLetterOutcomeFollowUpPeriod() public method

get follow up period from clinical outcome.
public getLetterOutcomeFollowUpPeriod ( Patient $patient ) : string
$patient Patient
return string

getLetterPosteriorPoleLeft() public method

return the posterior pole description for the given eye. This is from the most recent examination that has a posterior pole element.
public getLetterPosteriorPoleLeft ( Patient $patient )
$patient Patient

getLetterPosteriorPolePrincipal() public method

public getLetterPosteriorPolePrincipal ( $patient )

getLetterPosteriorPoleRight() public method

public getLetterPosteriorPoleRight ( $patient )

getLetterStringForModel() public method

public getLetterStringForModel ( $patient, $episode, $element_type_id )

getLetterVisualAcuityBoth() public method

public getLetterVisualAcuityBoth ( $patient )

getLetterVisualAcuityFindings() public method

Get the default findings string from VA in te latest examination event (if it exists).
public getLetterVisualAcuityFindings ( $patient ) : string | null
$patient
return string | null

getLetterVisualAcuityForEpisodeBoth() public method

Get the VA string for both sides.
public getLetterVisualAcuityForEpisodeBoth ( $episode, boolean $include_nr_values = false ) : string
$episode
$include_nr_values boolean flag to indicate whether NR flag values should be used for the text
return string

getLetterVisualAcuityForEpisodeLeft() public method

get the va from the given episode for the left side of the episode patient.
public getLetterVisualAcuityForEpisodeLeft ( Episode $episode, boolean $include_nr_values = false, string $before_date = '' ) : OphCiExamination_VisualAcuity_Reading
$episode Episode
$include_nr_values boolean <<<<<<< HEAD =======
$before_date string >>>>>>> develop
return OphCiExamination_VisualAcuity_Reading

getLetterVisualAcuityForEpisodeRight() public method

get the va from the given episode for the right side of the episode patient.
public getLetterVisualAcuityForEpisodeRight ( Episode $episode, boolean $include_nr_values = false, string $before_date = '' ) : OphCiExamination_VisualAcuity_Reading
$episode Episode <<<<<<< HEAD
$include_nr_values boolean =======
$before_date string >>>>>>> develop
return OphCiExamination_VisualAcuity_Reading

getLetterVisualAcuityLeft() public method

public getLetterVisualAcuityLeft ( $patient )

getLetterVisualAcuityPrincipal() public method

public getLetterVisualAcuityPrincipal ( $patient )

getLetterVisualAcuityRight() public method

public getLetterVisualAcuityRight ( $patient )

getMostRecentElementInEpisode() public method

Extends parent method to prepend model namespace.
public getMostRecentElementInEpisode ( $episode_id, $event_type_id, $model, $before_date = '' ) : BaseEventTypeElement
$episode_id
$event_type_id
$model
$before_date
return BaseEventTypeElement

getMostRecentVAElementForPatient() public method

To get the most recent VA element for the Patient
public getMostRecentVAElementForPatient ( Patient $patient ) : array | boolean
$patient Patient
return array | boolean

getMostRecentVAForPatient() public method

To get the visual acuity from the element based on the all episodes for the patient
public getMostRecentVAForPatient ( Patient $patient, $side, $type, $element ) : null
$patient Patient
$side
$type
$element
return null

getOCTForSide() public method

N.B. This is different from letter functions as it will return the most recent OCT element, regardless of whether it is part of the most recent examination event, or an earlier one.
public getOCTForSide ( Patient $patient, Episode $episode, string $side ) : array(maximum_CRT,
$patient Patient
$episode Episode
$side string - 'left' or 'right'
return array(maximum_CRT,

getOCTSFTHistoryForSide() public method

Get previous SFT values for the given epsiode and side. Before $before, or all available.
public getOCTSFTHistoryForSide ( Episode $episode, string $side, date $before = null ) : array
$episode Episode
$side string
$before date
return array

getOrderedDisorders() public method

gets a list of disorders diagnosed for the patient within the current episode, ordered by event creation date.
public getOrderedDisorders ( Patient $patient, $episode ) : array()
$patient Patient
return array()

getPrincipalCCT() public method

get principal eye CCT values for current episode, examination event.
public getPrincipalCCT ( $patient ) : string
$patient
return string

getPrincipalOpticDiscDescription() public method

get principal eye Optic Disc description for current episode, examination event.
public getPrincipalOpticDiscDescription ( $patient ) : string
$patient
return string

getPrincipalVanHerick() public method

get principal eye Gonioscopy Van Herick values for current episode, examination event.
public getPrincipalVanHerick ( $patient ) : string
$patient
return string

getSnellenUnitId() protected method

gets the id for the Snellen Metre unit type for VA.
protected getSnellenUnitId ( ) : integer | null
return integer | null

getTargetIOP() public method

public getTargetIOP ( $patient )

getVAList() public method

currently operates on the assumption there is always Snellen Metre available as a VA unit, and provides this exclusively.
public getVAList ( )

Property Details

$AIDED_VA_TYPE public static property

public static $AIDED_VA_TYPE

$UNAIDED_VA_TYPE public static property

public static $UNAIDED_VA_TYPE