PHP Class OEModule\OphCiExamination\components\OphCiExamination_API

Inheritance: extends BaseAPI
Afficher le fichier Open project: openeyes/openeyes

Méthodes publiques

Свойство Type Description
$AIDED_VA_TYPE
$UNAIDED_VA_TYPE

Méthodes publiques

Méthode 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.

Méthodes protégées

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

Method Details

getAllergies() public méthode

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

getBestVisualAcuity() public méthode

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
Résultat OphCiExamination_VisualAcuity_Reading

getCCTAbbr() public méthode

public getCCTAbbr ( Patient $patient ) : string | null;
$patient Patient
Résultat string | null;

getCCTLeft() public méthode

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

getCCTLeftNoUnits() public méthode

public getCCTLeftNoUnits ( $patient )

getCCTRight() public méthode

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

getCCTRightNoUnits() public méthode

public getCCTRightNoUnits ( $patient )

getDRClinicalMac() public méthode

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

getDRClinicalRet() public méthode

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

getDRMaculopathy() public méthode

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

getElementForLatestEventInEpisode() public méthode

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

getElementsForLatestEventInEpisode() public méthode

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
Résultat ElementType[] - array of various different element type objects

getGlaucomaRisk() public méthode

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
Résultat mixed

getIOPReadingLeft() public méthode

public getIOPReadingLeft ( $patient )

getIOPReadingLeftNoUnits() public méthode

public getIOPReadingLeftNoUnits ( $patient )

getIOPReadingRight() public méthode

public getIOPReadingRight ( $patient )

getIOPReadingRightNoUnits() public méthode

public getIOPReadingRightNoUnits ( $patient )

getIOPValuesAsTable() public méthode

public getIOPValuesAsTable ( $patient )

getInjectionManagementComplexInEpisodeForDisorder() public méthode

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
Résultat OEModule\OphCiExamination\models\Element_OphCiExamination_InjectionManagementComplex

getInjectionManagementComplexInEpisodeForSide() public méthode

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
Résultat OEModule\OphCiExamination\models\Element_OphCiExamination_InjectionManagementComplex

getInjectionManagementQuestionsForDisorder() public méthode

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

getLastIOPReadingLeft() public méthode

public getLastIOPReadingLeft ( $patient )

getLastIOPReadingRight() public méthode

public getLastIOPReadingRight ( $patient )

getLatestInjectionManagementComplex() public méthode

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
Résultat OphCiExamination_InjectionManagementComplex | null

getLetterAdnexalComorbidityLeft() public méthode

public getLetterAdnexalComorbidityLeft ( $patient )

getLetterAdnexalComorbidityRight() public méthode

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 méthode

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 méthode

public getLetterAnteriorSegmentPrincipal ( $patient )

getLetterAnteriorSegmentRight() public méthode

public getLetterAnteriorSegmentRight ( $patient )

getLetterCentralSFTForSide() public méthode

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

getLetterCentralSFTLeft() public méthode

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

getLetterCentralSFTRight() public méthode

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

getLetterConclusion() public méthode

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
Résultat string

getLetterDRClinicalMacLeft() public méthode

public getLetterDRClinicalMacLeft ( $patient )

getLetterDRClinicalMacRight() public méthode

public getLetterDRClinicalMacRight ( $patient )

getLetterDRClinicalRetLeft() public méthode

public getLetterDRClinicalRetLeft ( $patient )

getLetterDRClinicalRetRight() public méthode

public getLetterDRClinicalRetRight ( $patient )

getLetterDRMaculopathyLeft() public méthode

public getLetterDRMaculopathyLeft ( $patient )

getLetterDRMaculopathyRight() public méthode

public getLetterDRMaculopathyRight ( $patient )

getLetterDRRetinopathy() public méthode

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

getLetterDRRetinopathyLeft() public méthode

public getLetterDRRetinopathyLeft ( $patient )

getLetterDRRetinopathyRight() public méthode

public getLetterDRRetinopathyRight ( $patient )

getLetterDiagnosesAndFindings() public méthode

public getLetterDiagnosesAndFindings ( $patient )

getLetterHistory() public méthode

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
Résultat string

getLetterIOPReadingAbbr() public méthode

public getLetterIOPReadingAbbr ( Patient $patient ) : string | null
$patient Patient
Résultat string | null

getLetterIOPReadingBoth() public méthode

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
Résultat string

getLetterIOPReadingBothFirst() public méthode

public getLetterIOPReadingBothFirst ( $patient )

getLetterIOPReadingLeft() public méthode

public getLetterIOPReadingLeft ( $patient )

getLetterIOPReadingPrincipal() public méthode

public getLetterIOPReadingPrincipal ( $patient )

getLetterIOPReadingRight() public méthode

public getLetterIOPReadingRight ( $patient )

getLetterInjectionManagementComplexDiagnosisBoth() public méthode

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

getLetterInjectionManagementComplexDiagnosisForSide() public méthode

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
Résultat string

getLetterInjectionManagementComplexDiagnosisLeft() public méthode

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

getLetterInjectionManagementComplexDiagnosisRight() public méthode

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

getLetterInjectionManagementComplexFindings() public méthode

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

getLetterInvestigationDescription() public méthode

retrieve the Investigation Description for the given patient.
public getLetterInvestigationDescription ( $patient ) : mixed
$patient
Résultat mixed

getLetterLaserManagementComments() public méthode

get laser management comments.
public getLetterLaserManagementComments ( Patient $patient ) : string
$patient Patient
Résultat string

getLetterLaserManagementFindings() public méthode

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

getLetterLaserManagementPlan() public méthode

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

getLetterManagement() public méthode

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
Résultat string

getLetterMaxCRTForSide() public méthode

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

getLetterMaxCRTLeft() public méthode

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

getLetterMaxCRTRight() public méthode

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

getLetterOutcomeFollowUpPeriod() public méthode

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

getLetterPosteriorPoleLeft() public méthode

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 méthode

public getLetterPosteriorPolePrincipal ( $patient )

getLetterPosteriorPoleRight() public méthode

public getLetterPosteriorPoleRight ( $patient )

getLetterStringForModel() public méthode

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

getLetterVisualAcuityBoth() public méthode

public getLetterVisualAcuityBoth ( $patient )

getLetterVisualAcuityFindings() public méthode

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

getLetterVisualAcuityForEpisodeBoth() public méthode

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
Résultat string

getLetterVisualAcuityForEpisodeLeft() public méthode

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
Résultat OphCiExamination_VisualAcuity_Reading

getLetterVisualAcuityForEpisodeRight() public méthode

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
Résultat OphCiExamination_VisualAcuity_Reading

getLetterVisualAcuityLeft() public méthode

public getLetterVisualAcuityLeft ( $patient )

getLetterVisualAcuityPrincipal() public méthode

public getLetterVisualAcuityPrincipal ( $patient )

getLetterVisualAcuityRight() public méthode

public getLetterVisualAcuityRight ( $patient )

getMostRecentElementInEpisode() public méthode

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
Résultat BaseEventTypeElement

getMostRecentVAElementForPatient() public méthode

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

getMostRecentVAForPatient() public méthode

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
Résultat null

getOCTForSide() public méthode

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'
Résultat array(maximum_CRT,

getOCTSFTHistoryForSide() public méthode

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
Résultat array

getOrderedDisorders() public méthode

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
Résultat array()

getPrincipalCCT() public méthode

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

getPrincipalOpticDiscDescription() public méthode

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

getPrincipalVanHerick() public méthode

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

getSnellenUnitId() protected méthode

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

getTargetIOP() public méthode

public getTargetIOP ( $patient )

getVAList() public méthode

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_oe static_oe property

public static $AIDED_VA_TYPE

$UNAIDED_VA_TYPE public_oe static_oe property

public static $UNAIDED_VA_TYPE