PHP 클래스 OEModule\OphCiExamination\components\OphCiExamination_API

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

공개 프로퍼티들

프로퍼티 타입 설명
$AIDED_VA_TYPE
$UNAIDED_VA_TYPE

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
getSnellenUnitId ( ) : integer | null gets the id for the Snellen Metre unit type for VA.

메소드 상세

getAllergies() 공개 메소드

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

getBestVisualAcuity() 공개 메소드

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
리턴 OphCiExamination_VisualAcuity_Reading

getCCTAbbr() 공개 메소드

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

getCCTLeft() 공개 메소드

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

getCCTLeftNoUnits() 공개 메소드

public getCCTLeftNoUnits ( $patient )

getCCTRight() 공개 메소드

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

getCCTRightNoUnits() 공개 메소드

public getCCTRightNoUnits ( $patient )

getDRClinicalMac() 공개 메소드

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

getDRClinicalRet() 공개 메소드

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

getDRMaculopathy() 공개 메소드

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

getElementForLatestEventInEpisode() 공개 메소드

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

getElementsForLatestEventInEpisode() 공개 메소드

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
리턴 ElementType[] - array of various different element type objects

getGlaucomaRisk() 공개 메소드

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
리턴 mixed

getIOPReadingLeft() 공개 메소드

public getIOPReadingLeft ( $patient )

getIOPReadingLeftNoUnits() 공개 메소드

public getIOPReadingLeftNoUnits ( $patient )

getIOPReadingRight() 공개 메소드

public getIOPReadingRight ( $patient )

getIOPReadingRightNoUnits() 공개 메소드

public getIOPReadingRightNoUnits ( $patient )

getIOPValuesAsTable() 공개 메소드

public getIOPValuesAsTable ( $patient )

getInjectionManagementComplexInEpisodeForDisorder() 공개 메소드

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
리턴 OEModule\OphCiExamination\models\Element_OphCiExamination_InjectionManagementComplex

getInjectionManagementComplexInEpisodeForSide() 공개 메소드

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
리턴 OEModule\OphCiExamination\models\Element_OphCiExamination_InjectionManagementComplex

getInjectionManagementQuestionsForDisorder() 공개 메소드

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

getLastIOPReadingLeft() 공개 메소드

public getLastIOPReadingLeft ( $patient )

getLastIOPReadingRight() 공개 메소드

public getLastIOPReadingRight ( $patient )

getLatestInjectionManagementComplex() 공개 메소드

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
리턴 OphCiExamination_InjectionManagementComplex | null

getLetterAdnexalComorbidityLeft() 공개 메소드

public getLetterAdnexalComorbidityLeft ( $patient )

getLetterAdnexalComorbidityRight() 공개 메소드

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() 공개 메소드

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 getLetterAnteriorSegmentPrincipal ( $patient )

getLetterAnteriorSegmentRight() 공개 메소드

public getLetterAnteriorSegmentRight ( $patient )

getLetterCentralSFTForSide() 공개 메소드

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

getLetterCentralSFTLeft() 공개 메소드

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

getLetterCentralSFTRight() 공개 메소드

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

getLetterConclusion() 공개 메소드

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
리턴 string

getLetterDRClinicalMacLeft() 공개 메소드

public getLetterDRClinicalMacLeft ( $patient )

getLetterDRClinicalMacRight() 공개 메소드

public getLetterDRClinicalMacRight ( $patient )

getLetterDRClinicalRetLeft() 공개 메소드

public getLetterDRClinicalRetLeft ( $patient )

getLetterDRClinicalRetRight() 공개 메소드

public getLetterDRClinicalRetRight ( $patient )

getLetterDRMaculopathyLeft() 공개 메소드

public getLetterDRMaculopathyLeft ( $patient )

getLetterDRMaculopathyRight() 공개 메소드

public getLetterDRMaculopathyRight ( $patient )

getLetterDRRetinopathy() 공개 메소드

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

getLetterDRRetinopathyLeft() 공개 메소드

public getLetterDRRetinopathyLeft ( $patient )

getLetterDRRetinopathyRight() 공개 메소드

public getLetterDRRetinopathyRight ( $patient )

getLetterDiagnosesAndFindings() 공개 메소드

public getLetterDiagnosesAndFindings ( $patient )

getLetterHistory() 공개 메소드

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
리턴 string

getLetterIOPReadingAbbr() 공개 메소드

public getLetterIOPReadingAbbr ( Patient $patient ) : string | null
$patient Patient
리턴 string | null

getLetterIOPReadingBoth() 공개 메소드

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
리턴 string

getLetterIOPReadingBothFirst() 공개 메소드

public getLetterIOPReadingBothFirst ( $patient )

getLetterIOPReadingLeft() 공개 메소드

public getLetterIOPReadingLeft ( $patient )

getLetterIOPReadingPrincipal() 공개 메소드

public getLetterIOPReadingPrincipal ( $patient )

getLetterIOPReadingRight() 공개 메소드

public getLetterIOPReadingRight ( $patient )

getLetterInjectionManagementComplexDiagnosisBoth() 공개 메소드

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

getLetterInjectionManagementComplexDiagnosisForSide() 공개 메소드

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
리턴 string

getLetterInjectionManagementComplexDiagnosisLeft() 공개 메소드

get the diagnosis description for the patient on the left.
또한 보기: getLetterInjectionManagementComplexDiagnosisForSide
public getLetterInjectionManagementComplexDiagnosisLeft ( $patient ) : string
$patient
리턴 string

getLetterInjectionManagementComplexDiagnosisRight() 공개 메소드

get the diagnosis description for the patient on the right.
또한 보기: getLetterInjectionManagementComplexDiagnosisForSide
public getLetterInjectionManagementComplexDiagnosisRight ( $patient ) : string
$patient
리턴 string

getLetterInjectionManagementComplexFindings() 공개 메소드

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

getLetterInvestigationDescription() 공개 메소드

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

getLetterLaserManagementComments() 공개 메소드

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

getLetterLaserManagementFindings() 공개 메소드

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

getLetterLaserManagementPlan() 공개 메소드

get the laser management plan.
사용 중단: since 1.4.10, user getLetterLaserManagementFindings($patient)
public getLetterLaserManagementPlan ( Patient $patient )
$patient Patient

getLetterManagement() 공개 메소드

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
리턴 string

getLetterMaxCRTForSide() 공개 메소드

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

getLetterMaxCRTLeft() 공개 메소드

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

getLetterMaxCRTRight() 공개 메소드

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

getLetterOutcomeFollowUpPeriod() 공개 메소드

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

getLetterPosteriorPoleLeft() 공개 메소드

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 getLetterPosteriorPolePrincipal ( $patient )

getLetterPosteriorPoleRight() 공개 메소드

public getLetterPosteriorPoleRight ( $patient )

getLetterStringForModel() 공개 메소드

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

getLetterVisualAcuityBoth() 공개 메소드

public getLetterVisualAcuityBoth ( $patient )

getLetterVisualAcuityFindings() 공개 메소드

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

getLetterVisualAcuityForEpisodeBoth() 공개 메소드

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
리턴 string

getLetterVisualAcuityForEpisodeLeft() 공개 메소드

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
리턴 OphCiExamination_VisualAcuity_Reading

getLetterVisualAcuityForEpisodeRight() 공개 메소드

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
리턴 OphCiExamination_VisualAcuity_Reading

getLetterVisualAcuityLeft() 공개 메소드

public getLetterVisualAcuityLeft ( $patient )

getLetterVisualAcuityPrincipal() 공개 메소드

public getLetterVisualAcuityPrincipal ( $patient )

getLetterVisualAcuityRight() 공개 메소드

public getLetterVisualAcuityRight ( $patient )

getMostRecentElementInEpisode() 공개 메소드

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
리턴 BaseEventTypeElement

getMostRecentVAElementForPatient() 공개 메소드

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

getMostRecentVAForPatient() 공개 메소드

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
리턴 null

getOCTForSide() 공개 메소드

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'
리턴 array(maximum_CRT,

getOCTSFTHistoryForSide() 공개 메소드

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
리턴 array

getOrderedDisorders() 공개 메소드

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
리턴 array()

getPrincipalCCT() 공개 메소드

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

getPrincipalOpticDiscDescription() 공개 메소드

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

getPrincipalVanHerick() 공개 메소드

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

getSnellenUnitId() 보호된 메소드

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

getTargetIOP() 공개 메소드

public getTargetIOP ( $patient )

getVAList() 공개 메소드

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

프로퍼티 상세

$AIDED_VA_TYPE 공개적으로 정적으로 프로퍼티

public static $AIDED_VA_TYPE

$UNAIDED_VA_TYPE 공개적으로 정적으로 프로퍼티

public static $UNAIDED_VA_TYPE