Свойство | Тип | Описание | |
---|---|---|---|
$date_from | |||
$date_to | |||
$drug_id | |||
$given_by_id | |||
$injections | |||
$post_va | |||
$pre_antisept_drug_id | |||
$pre_va | |||
$summary |
Свойство | Тип | Описание | |
---|---|---|---|
$_application_event_type_id | |||
$_current_patient_id | |||
$_drug_cache | |||
$_examination_event_type_id | |||
$_patient_vas |
Метод | Описание | |
---|---|---|
attributeLabels ( ) | ||
attributeNames ( ) | ||
description ( ) | ||
rules ( ) | ||
run ( ) | ||
toCSV ( ) : string | Output the report in CSV format. |
Метод | Описание | |
---|---|---|
appendExaminationValues ( &$record, $patient_id, $event_date ) | ||
extractSummaryData ( $patient_data ) | ||
getApplicationEventTypeID ( ) | ||
getBestVaFromReading ( $side, OEModule\OphCiExamination\models\Element_OphCiExamination_VisualAcuity $va ) : string | Simple wrapper function for getting a string representation of the best VA reading for a side from the given element. | |
getDiagnosisData ( $patient_id, $close_to_date ) | a) From the injection management element under Examination event saved before the injection event - usually on the same day b) If no injection management saved then this can be obtained from the application event If there is an application event saved before the injection started for the patient c) if there is no application then diagnoses for the episode. | |
getDiagnosisDataFromEvent ( $patient_id, $close_to_date, $event_type_id, $model ) | ||
getDiagnosisName ( $disorder_id ) | ||
getDrugById ( $drug_id ) : OphTrIntravitrealinjection_Treatment_Drug | null | simple cache for drug objects. | |
getDrugString ( $drug_id ) : string | Return the printable string for the drug. | |
getExaminationEventTypeId ( ) | ||
getGivenByName ( $user_id ) | ||
getInjections ( $date_from, $date_to, $given_by_user, $drug, $pre_antisept_drug ) | ||
getLensStatus ( $lens_status_id ) | ||
getPatientVAElements ( $patient_id ) : Element_OphCiExamination_VisualAcuity[] | in order to suck up too much memory for larger reports, when this method receives a call for a new patient, it ditches the cache it has of the previous patient. | |
getPreAntiseptDrugString ( $drug_id ) | ||
getSummaryInjections ( $date_from, $date_to, $given_by_user, $drug, $pre_antisept_drug ) |
protected appendExaminationValues ( &$record, $patient_id, $event_date ) |
protected getBestVaFromReading ( $side, OEModule\OphCiExamination\models\Element_OphCiExamination_VisualAcuity $va ) : string | ||
$side | ||
$va | OEModule\OphCiExamination\models\Element_OphCiExamination_VisualAcuity | |
Результат | string |
protected getDiagnosisData ( $patient_id, $close_to_date ) |
protected getDiagnosisDataFromEvent ( $patient_id, $close_to_date, $event_type_id, $model ) |
protected getDrugById ( $drug_id ) : OphTrIntravitrealinjection_Treatment_Drug | null | ||
$drug_id | ||
Результат | OphTrIntravitrealinjection_Treatment_Drug | null |
protected getDrugString ( $drug_id ) : string | ||
$drug_id | ||
Результат | string |
protected getInjections ( $date_from, $date_to, $given_by_user, $drug, $pre_antisept_drug ) |
protected getPatientVAElements ( $patient_id ) : Element_OphCiExamination_VisualAcuity[] | ||
$patient_id | ||
Результат | Element_OphCiExamination_VisualAcuity[] |
protected getSummaryInjections ( $date_from, $date_to, $given_by_user, $drug, $pre_antisept_drug ) |