PHP Класс OEModule\OphCiExamination\components\ExaminationCreator

Показать файл Открыть проект

Открытые методы

Метод Описание
getEyes ( ) : array
getPortalUser ( ) : mixed | null
save ( $episodeId, $userId, $examination, $eventType, $eyeIds, $refractionType, $opNoteEventId = null ) : Event Create an examination event.

Защищенные методы

Метод Описание
addComplication ( $userId, $eyeIds, $opNoteEventId, $eye, $complications, $eyeLabel )
addIop ( $eyeIds, $eye, $iop, $eyeLabel )
addVisualAcuityReading ( $userId, $visualAcuity, $unit, $vaData, $eyeLabel, $near = false )
createComments ( $userId, $examination, $examinationEvent )
createComplications ( $userId, $eyeIds, $examinationEvent ) : Element_OphCiExamination_PostOpComplications
createExamination ( $episodeId, $userId, $examination, $eventType ) : Event
createIop ( $userId, $eyeIds, $examinationEvent ) : Element_OphCiExamination_IntraocularPressure
createMessage ( $episodeId, $userId, $examination, $examinationEvent )
createVisualAcuity ( $userId, $eyeIds, $examinationEvent, $unit, $near = false ) : Element_OphCiExamination_VisualAcuity
createVisualFunction ( $userId, $eyeIds, $examinationEvent ) : array

Описание методов

addComplication() защищенный Метод

protected addComplication ( $userId, $eyeIds, $opNoteEventId, $eye, $complications, $eyeLabel )
$userId
$eyeIds
$opNoteEventId
$eye
$complications
$eyeLabel

addIop() защищенный Метод

protected addIop ( $eyeIds, $eye, $iop, $eyeLabel )
$eyeIds
$eye
$iop
$eyeLabel

addVisualAcuityReading() защищенный Метод

protected addVisualAcuityReading ( $userId, $visualAcuity, $unit, $vaData, $eyeLabel, $near = false )
$userId
$visualAcuity
$unit
$vaData
$eyeLabel
$near

createComments() защищенный Метод

protected createComments ( $userId, $examination, $examinationEvent )
$userId
$examination
$examinationEvent

createComplications() защищенный Метод

protected createComplications ( $userId, $eyeIds, $examinationEvent ) : Element_OphCiExamination_PostOpComplications
$userId
$eyeIds
$examinationEvent
Результат OEModule\OphCiExamination\models\Element_OphCiExamination_PostOpComplications

createExamination() защищенный Метод

protected createExamination ( $episodeId, $userId, $examination, $eventType ) : Event
$episodeId
$userId
$examination
$eventType
Результат Event

createIop() защищенный Метод

protected createIop ( $userId, $eyeIds, $examinationEvent ) : Element_OphCiExamination_IntraocularPressure
$userId
$eyeIds
$examinationEvent
Результат OEModule\OphCiExamination\models\Element_OphCiExamination_IntraocularPressure

createMessage() защищенный Метод

protected createMessage ( $episodeId, $userId, $examination, $examinationEvent )
$episodeId
$userId
$examination
$examinationEvent

createVisualAcuity() защищенный Метод

protected createVisualAcuity ( $userId, $eyeIds, $examinationEvent, $unit, $near = false ) : Element_OphCiExamination_VisualAcuity
$userId
$eyeIds
$examinationEvent
$unit
$near
Результат OEModule\OphCiExamination\models\Element_OphCiExamination_VisualAcuity

createVisualFunction() защищенный Метод

protected createVisualFunction ( $userId, $eyeIds, $examinationEvent ) : array
$userId
$eyeIds
$examinationEvent
Результат array

getEyes() публичный Метод

public getEyes ( ) : array
Результат array

getPortalUser() публичный Метод

public getPortalUser ( ) : mixed | null
Результат mixed | null

save() публичный Метод

Create an examination event.
public save ( $episodeId, $userId, $examination, $eventType, $eyeIds, $refractionType, $opNoteEventId = null ) : Event
$episodeId
$userId
$examination
$eventType
$eyeIds
$refractionType
$opNoteEventId
Результат Event