4265 lines
166 KiB
PHP
4265 lines
166 KiB
PHP
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
|
<div id="opd_form_div" style="display:none">
|
|
<form id="opd_form" name="opd_form">
|
|
|
|
|
|
<?php
|
|
|
|
//include autoloader;
|
|
$checkup_id = $_REQUEST['checkup_id'];
|
|
|
|
include('includes/config/config.php');
|
|
|
|
include_once("includes/functions.php");
|
|
|
|
error_reporting(E_ERROR | E_PARSE);
|
|
error_log("id:" . $appoint_id);
|
|
$unitMap = getKeyValueMap('unit_master', 'unit_id', 'unit_name');
|
|
|
|
$queryc = "select * from company_profile ";
|
|
|
|
//echo $query;
|
|
|
|
$resultc = mysqli_query($conn, $queryc);
|
|
|
|
$row_company = mysqli_fetch_array($resultc);
|
|
|
|
@extract($row_company);
|
|
|
|
|
|
$sql_employee_appointment = "SELECT * FROM checkup_form WHERE checkup_id = '" . $checkup_id . "' ";
|
|
|
|
|
|
error_log("sql injury pres:" . $sql_employee_appointment);
|
|
|
|
$res_emp_appoint = mysqli_query($conn, $sql_employee_appointment);
|
|
|
|
while ($rows_emp_appoint = mysqli_fetch_array($res_emp_appoint)) {
|
|
$emp_id = $rows_emp_appoint['emp_id'];
|
|
$ticket_no = $rows_emp_appoint['ticket_no'];
|
|
|
|
$date_a = $rows_emp_appoint['checkup_date'];
|
|
|
|
|
|
$appointment_date = date("d-m-Y", strtotime($date_a));
|
|
|
|
$patient_name = getFieldFromTable('patient_name', 'patient_master', 'id', $rows_emp_appoint['emp_id']);
|
|
$village_name = getFieldFromTable('village', 'patient_master', 'id', $rows_emp_appoint['emp_id']);
|
|
$district = getFieldFromTable('district', 'patient_master', 'id', $rows_emp_appoint['emp_id']);
|
|
$state = getFieldFromTable('state', 'patient_master', 'id', $rows_emp_appoint['emp_id']);
|
|
$pin_code = getFieldFromTable('pin_code', 'patient_master', 'id', $rows_emp_appoint['emp_id']);
|
|
$gender = getFieldFromTable('gender', 'patient_master', 'id', $rows_emp_appoint['emp_id']);
|
|
$identity = getFieldFromTable('identity', 'patient_master', 'id', $rows_emp_appoint['emp_id']);
|
|
$father_name_p = getFieldFromTable('father_name', 'patient_master', 'id', $rows_emp_appoint['emp_id']);
|
|
$designation_name = getFieldFromTable('designation_name', 'designation', 'designation_id', $rows_emp_appoint['designation_id']);
|
|
|
|
$dob = getFieldFromTable('dob', 'patient_master', 'id', $emp_id);
|
|
|
|
$c = date('Y');
|
|
$y = date('Y', strtotime($dob));
|
|
$age = $c - $y;
|
|
|
|
$address = $village_name . "," . $district . "," . $state . "," . $pin_code . "";
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// $patient_name = $rows_emp_appoint['patient_name'];
|
|
// $followup_id = $rows_emp_appoint['followup_id'];
|
|
|
|
|
|
|
|
|
|
//echo $query;
|
|
$doc_user_id = ($rows_emp_appoint['doctor_last_attended'] != null || 0 || "") ? $rows_emp_appoint['doctor_last_attended'] : $rows_emp_appoint['modified_by'];
|
|
|
|
$doc_emp_id = getTableFieldValue('tbl_users', 'emp_id', 'user_id', $doc_user_id, '');
|
|
|
|
$doc_name = getTableFieldValue('patient_master', 'patient_name', 'id', $doc_emp_id, '');
|
|
|
|
$result = mysqli_query($conn, $query);
|
|
|
|
$row = mysqli_fetch_array($result);
|
|
|
|
@extract($row);
|
|
|
|
$sql_doc_details = "select * from employee_signature where emp_id='$doc_emp_id'";
|
|
|
|
$result_doc_details = mysqli_query($conn, $sql_doc_details);
|
|
$row_doc_details = mysqli_fetch_array($result_doc_details);
|
|
|
|
|
|
|
|
|
|
$employee_code = $rows_emp_appoint['emp_code'];
|
|
|
|
$father_name = $rows_emp_appoint['father_name'];
|
|
|
|
if ($rows_emp_appoint['IsEmergency'] == 1) {
|
|
|
|
$ans = "Yes";
|
|
} else {
|
|
|
|
$ans = "No";
|
|
}
|
|
$pe_exa_type = getFieldFromTable('checkup_type_id', 'checkup_type', 'checkup_type_code', 'Periodical_Medical_Examination_Insecticides_P_E');
|
|
$exa_type_1 = getFieldFromTable('checkup_type_id', 'checkup_type', 'checkup_type_code', 'Periodical_Medical_Examination_Insecticides_I');
|
|
$exa_type_2 = getFieldFromTable('checkup_type_id', 'checkup_type', 'checkup_type_code', 'Periodical_Medical_Examination_Insecticides_II');
|
|
$exa_type_3 = getFieldFromTable('checkup_type_id', 'checkup_type', 'checkup_type_code', 'Periodical_Medical_Examination_Insecticides_III');
|
|
$exa_type_4 = getFieldFromTable('checkup_type_id', 'checkup_type', 'checkup_type_code', 'Periodical_Medical_Examination_Insecticides_IV');
|
|
|
|
error_log($pe_exa_type . " " . $exa_type_1 . "" . $exa_type_2 . "" . $exa_type_3 . " " . $exa_type_4);
|
|
|
|
|
|
$sql_employee_key = "SELECT * FROM checkup_form_key_value WHERE checkup_form_id ='" . $checkup_id . "'";
|
|
|
|
error_log("get_data_key:" . $sql_employee_key);
|
|
|
|
$res_data_key = mysqli_query($conn, $sql_employee_key);
|
|
|
|
while ($rows_exa_key = mysqli_fetch_array($res_data_key)) {
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'respiratory_device_s') {
|
|
|
|
$respiratory_device_s = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'rubber_gloves_impermeable_liquids') {
|
|
|
|
$rubber_gloves_impermeable_liquids = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'dust_proof_goggles') {
|
|
|
|
$dust_proof_goggles = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'protective_clothing_overalls') {
|
|
|
|
$protective_clothing_overalls = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'helmet_hood_hat') {
|
|
|
|
$helmet_hood_hat = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'boots') {
|
|
|
|
$boots = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'illness') {
|
|
|
|
$illness = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'posioning') {
|
|
|
|
$posioning = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'allergy') {
|
|
|
|
$allergy = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'exposure_to_presticides_compound') {
|
|
|
|
$exposure_to_presticides_compound = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'no_of_years_seasons_and_days_of_expos') {
|
|
|
|
$no_of_years_seasons_and_days_of_expos = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'ure_per_year') {
|
|
|
|
$ure_per_year = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'remarks_if_any') {
|
|
|
|
$remarks_if_any = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'allergy_disorders') {
|
|
|
|
$allergy_disorders = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'psycological_disorders') {
|
|
|
|
$psycological_disorders = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'hemorrhagic_disorders') {
|
|
|
|
$hemorrhagic_disorders = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'marital_status') {
|
|
|
|
$marital_status = getCommaSeperatedValuesForInClause("select parameter_value_name from checkup_parameter_value", "parameter_value_id", $rows_exa_key['checkup_form_value']);
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'no_of_children_health_status_of_birth_de') {
|
|
|
|
$no_of_children_health_status_of_birth_de = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'no_of_years_seasons_and_days_of_exposure_per_year') {
|
|
|
|
$no_of_years_seasons_and_days_of_exposure_per_year = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'fect_if_any') {
|
|
|
|
$fect_if_any = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'any_other_health_related_complaint') {
|
|
|
|
$any_other_health_related_complaint = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'smoking_4') {
|
|
|
|
$smoking_4 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'alcohol_1') {
|
|
|
|
$alcohol_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'other_addiction') {
|
|
|
|
$other_addiction = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'observations') {
|
|
|
|
$observations = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'remarks') {
|
|
|
|
$remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'observations_1') {
|
|
|
|
$observations_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'reaction_1') {
|
|
|
|
$reaction_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'observations_2') {
|
|
|
|
$observations_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'reaction_3') {
|
|
|
|
$reaction_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'observations_3') {
|
|
|
|
$observations_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'remarks_4') {
|
|
|
|
$remarks_4 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'observations_3') {
|
|
|
|
$observations_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'reaction_5') {
|
|
|
|
$reaction_5 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$sql_employee_key = "SELECT a.* ,b.checkup_type_id , b.checkup_id FROM checkup_form_key_value a INNER JOIN checkup_form b ON a.checkup_form_id = b.checkup_id WHERE b.emp_id = '" . $emp_id . "' and b.checkup_type_id= '41' ";
|
|
|
|
error_log("get_data_key:" . $sql_employee_key);
|
|
|
|
$res_data_key = mysqli_query($conn, $sql_employee_key);
|
|
|
|
while ($rows_exa_key = mysqli_fetch_array($res_data_key)) {
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'fasting_2') {
|
|
|
|
|
|
$check_date = getFieldFromTable('checkup_date', 'checkup_form', 'checkup_id', $rows_exa_key['checkup_form_id']);
|
|
$chechup_form_date = date("d-m-Y", strtotime($check_date));
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'fasting_2') {
|
|
|
|
$fasting_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'nervousness') {
|
|
|
|
$nervousness = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'post_prandial_2') {
|
|
|
|
$post_prandial_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'rbs_2') {
|
|
|
|
$rbs_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
|
|
|
|
|
|
// if ($rows_exa_key['checkup_form_key'] == 'protective_clothing_overalls') {
|
|
|
|
// $protective_clothing_overalls = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'helmet_hood_hat') {
|
|
|
|
// $helmet_hood_hat = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'dust_proof_goggles') {
|
|
|
|
// $dust_proof_goggles = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'respiratory_device_s') {
|
|
|
|
// $respiratory_device_s = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'rubber_gloves_impermeable_liquids') {
|
|
|
|
// $rubber_gloves_impermeable_liquids = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'illness') {
|
|
|
|
// $illness = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'posioning') {
|
|
|
|
// $posioning = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'allergy') {
|
|
|
|
// $allergy = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'exposure_to_presticides_compound') {
|
|
|
|
// $exposure_to_presticides_compound = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'no_of_years_seasons_and_days_of_exposure_per_year') {
|
|
|
|
// $no_of_years_seasons_and_days_of_exposure_per_year = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'remarks_if_any') {
|
|
|
|
// $remarks_if_any = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'allergy_disorders') {
|
|
|
|
// $allergy_disorders = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'psycological_disorders') {
|
|
|
|
// $psycological_disorders = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'hemorrhagic_disorders') {
|
|
|
|
// $hemorrhagic_disorders = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'marital_status') {
|
|
|
|
// $marital_status = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'no_of_children_health_status_of_birth_defect_if_any') {
|
|
|
|
// $no_of_children_health_status_of_birth_defect_if_any = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'any_other_health_related_complaint') {
|
|
|
|
// $any_other_health_related_complaint = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'smoking_4') {
|
|
|
|
// $smoking_4 = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'alcohol_4') {
|
|
|
|
// $alcohol_4 = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'other_addiction') {
|
|
|
|
// $other_addiction = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'marital_status') {
|
|
|
|
// $marital_status = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
if ($rows_exa_key['checkup_form_key'] == 'no_of_children_health_status_of_birth_defect_if_any') {
|
|
|
|
$no_of_children_health_status_of_birth_defect_if_any = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
// if ($rows_exa_key['checkup_form_key'] == 'any_others_health_related_complaints') {
|
|
|
|
// $any_others_health_related_complaints = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'remarks') {
|
|
|
|
// $remarks = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'reaction_1') {
|
|
|
|
// $reaction_1 = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'reaction_3') {
|
|
|
|
// $reaction_3 = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'reaction_5') {
|
|
|
|
// $reaction_5 = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
// if ($rows_exa_key['checkup_form_key'] == 'remarks_4 ') {
|
|
|
|
// $remarks_4 = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
if ($rows_exa_key['checkup_form_key'] == 'observations') {
|
|
|
|
$observations = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'observations_1') {
|
|
|
|
$observations_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'observations_2') {
|
|
|
|
$observations_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
// if ($rows_exa_key['checkup_form_key'] == 'observations_3') {
|
|
|
|
// $observations_3 = $rows_exa_key['checkup_form_value'];
|
|
// }
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'observations_4') {
|
|
|
|
$observations_4 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'height_5') {
|
|
|
|
$height_5 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'weight_4') {
|
|
|
|
$weight_4 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'pulse_rate') {
|
|
|
|
$pulse_rate = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'blood_pressure_3') {
|
|
|
|
$blood_pressure_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'respiration_rate') {
|
|
|
|
$respiration_rate = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'anaemia_pallor') {
|
|
|
|
$anaemia_pallor = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'oedema') {
|
|
|
|
$oedema = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'jaundice_1') {
|
|
|
|
$jaundice_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'skin_condition') {
|
|
|
|
$skin_condition = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'temprature') {
|
|
|
|
$temprature = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'fatiguability') {
|
|
|
|
$fatiguability = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'sweating') {
|
|
|
|
$sweating = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'sleep') {
|
|
|
|
$sleep = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'urination') {
|
|
|
|
$urination = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'nausea') {
|
|
|
|
$nausea = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'vomiting') {
|
|
|
|
$vomiting = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'appetite') {
|
|
|
|
$appetite = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'taste') {
|
|
|
|
$taste = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'pain_in_abdomen') {
|
|
|
|
$pain_in_abdomen = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'bowel_movement') {
|
|
|
|
$bowel_movement = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'liver') {
|
|
|
|
$liver = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'spleen') {
|
|
|
|
$spleen = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'nasal_discharge') {
|
|
|
|
$nasal_discharge = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'wheeze') {
|
|
|
|
$wheeze = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'cough') {
|
|
|
|
$cough = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'expectoration') {
|
|
|
|
$expectoration = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'tightness_of_chest') {
|
|
|
|
$tightness_of_chest = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'dyspnoea') {
|
|
|
|
$dyspnoea = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'palpitation') {
|
|
|
|
$palpitation = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'heart') {
|
|
|
|
$heart = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'cyanosis') {
|
|
|
|
$cyanosis = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'tachycardia_bradycardia') {
|
|
|
|
$tachycardia_bradycardia = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'headache') {
|
|
|
|
$headache = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'diziness') {
|
|
|
|
$diziness = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'irritability') {
|
|
|
|
$irritability = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'twitching') {
|
|
|
|
$twitching = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'tremors') {
|
|
|
|
$tremors = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'convulsions') {
|
|
|
|
$convulsions = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'paraesthesia') {
|
|
|
|
$paraesthesia = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'hallucinations') {
|
|
|
|
$hallucinations = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'h_o_unconsciousness_1') {
|
|
|
|
$h_o_unconsciousness_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'superficial_reflexes') {
|
|
|
|
$superficial_reflexes = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'deep_reflexes') {
|
|
|
|
$deep_reflexes = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'co_ordination') {
|
|
|
|
$co_ordination = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'pupil') {
|
|
|
|
$pupil = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'lachrymation') {
|
|
|
|
$lachrymation = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'double_vision') {
|
|
|
|
$double_vision = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'bullred_vision') {
|
|
|
|
$bullred_vision = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'temperament') {
|
|
|
|
$temperament = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'judgement') {
|
|
|
|
$judgement = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'kidney_condition') {
|
|
|
|
$kidney_condition = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'blood_urea') {
|
|
|
|
$blood_urea = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'total_rbc_count') {
|
|
|
|
$total_rbc_count = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'hb_1') {
|
|
|
|
$hb_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'tlc_count') {
|
|
|
|
$tlc_count = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'polymorphs_2') {
|
|
|
|
$polymorphs_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'eosinophil_5') {
|
|
|
|
$eosinophil_5 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'basophils_5') {
|
|
|
|
$basophils_5 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'lymphocyte') {
|
|
|
|
$lymphocyte = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'monocyte') {
|
|
|
|
$monocyte = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'platelet_count') {
|
|
|
|
$platelet_count = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'reticulocyte_count') {
|
|
|
|
$reticulocyte_count = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'esr_3') {
|
|
|
|
$esr_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'serum_bilirubin_total') {
|
|
|
|
$serum_bilirubin_total = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'serum_bilirubin_direct') {
|
|
|
|
$serum_bilirubin_direct = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'sgot_1') {
|
|
|
|
$sgot_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'sgpt_1') {
|
|
|
|
$sgpt_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'cholesterol') {
|
|
|
|
$cholesterol = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'total_protein') {
|
|
|
|
$total_protein = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'serum_albumin') {
|
|
|
|
$serum_albumin = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'blood_urea') {
|
|
|
|
$blood_urea = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'serum_creatinine_1') {
|
|
|
|
$serum_creatinine_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'hba1c_1') {
|
|
|
|
$hba1c_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'serum_cholinesterase') {
|
|
|
|
$serum_cholinesterase = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'blood_residue_estimation') {
|
|
|
|
$blood_residue_estimation = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'routine') {
|
|
|
|
$routine = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'microscopic') {
|
|
|
|
$microscopic = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
|
|
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'x_ray_chest_pa_view_once_in_year') {
|
|
|
|
$x_ray_chest_pa_view_once_in_year = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'usg_abdomen') {
|
|
|
|
$usg_abdomen = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'advice_given_to_employer') {
|
|
|
|
$advice_given_to_employer = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'advice_given_to_employee') {
|
|
|
|
$advice_given_to_employee = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
}
|
|
|
|
$sql_employee_key_1 = "SELECT a.* ,b.checkup_type_id , b.checkup_id FROM checkup_form_key_value a INNER JOIN checkup_form b ON a.checkup_form_id = b.checkup_id WHERE b.emp_id = '" . $emp_id . "' and b.checkup_type_id= '52' ";
|
|
|
|
error_log("get_data_key:" . $sql_employee_key_1);
|
|
|
|
$res_data_key_1 = mysqli_query($conn, $sql_employee_key_1);
|
|
|
|
while ($rows_exa_key_1 = mysqli_fetch_array($res_data_key_1)) {
|
|
|
|
$dataArray_1[$rows_exa_key_1['checkup_form_key']] = $rows_exa_key_1['checkup_form_value'];
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'fasting_2') {
|
|
|
|
|
|
$check_date = getFieldFromTable('checkup_date', 'checkup_form', 'checkup_id', $rows_exa_key_1['checkup_form_id']);
|
|
$chechup_form_date_1 = date("d-m-Y", strtotime($check_date));
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'nervousness') {
|
|
|
|
|
|
$nervousness_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'routine') {
|
|
|
|
$routine_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'microscopic') {
|
|
|
|
$microscopic_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'fasting_2') {
|
|
|
|
$fasting_2_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'post_prandial_2') {
|
|
|
|
$post_prandial_2_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'rbs_2') {
|
|
|
|
$rbs_2_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'protective_clothing_overalls') {
|
|
|
|
$protective_clothing_overalls_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'helmet_hood_hat') {
|
|
|
|
$helmet_hood_hat_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'dust_proof_goggles') {
|
|
|
|
$dust_proof_goggles_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
// if ($rows_exa_key_1['checkup_form_key'] == 'respiratory_device_s') {
|
|
|
|
// $respiratory_device_s_1 = $rows_exa_key_1['checkup_form_value'];
|
|
// }
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'rubber_gloves_impermeable_liquids') {
|
|
|
|
$rubber_gloves_impermeable_liquids_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'illness') {
|
|
|
|
$illness_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'posioning') {
|
|
|
|
$posioning_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'allergy') {
|
|
|
|
$allergy_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'exposure_to_presticides_compound') {
|
|
|
|
$exposure_to_presticides_compound_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'no_of_years_seasons_and_days_of_exposure_per_year') {
|
|
|
|
$no_of_years_seasons_and_days_of_exposure_per_year_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'remarks_if_any') {
|
|
|
|
$remarks_if_any_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'allergy_disorders') {
|
|
|
|
$allergy_disorders_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'psycological_disorders') {
|
|
|
|
$psycological_disorders_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'haemorrhagic_disorders') {
|
|
|
|
$haemorrhagic_disorders_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'marital_status') {
|
|
|
|
$marital_status_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'no_of_children_health_status_of_birth_defect_if_any') {
|
|
|
|
$no_of_children_health_status_of_birth_defect_if_any_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'any_other_health_related_complaint') {
|
|
|
|
$any_other_health_related_complaint_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'smoking_4') {
|
|
|
|
$smoking_4_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'alcohol_4') {
|
|
|
|
$alcohol_4_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'other_addiction') {
|
|
|
|
$other_addiction_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'marital_status') {
|
|
|
|
$marital_status_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'no_of_children_health_status_of_birth_defect_if_any') {
|
|
|
|
$no_of_children_health_status_of_birth_defect_if_any_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'any_others_health_related_complaints') {
|
|
|
|
$any_others_health_related_complaints_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'remarks') {
|
|
|
|
$remarks_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'reaction_1') {
|
|
|
|
$reaction_1_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'reaction_3') {
|
|
|
|
$reaction_3_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'reaction_5') {
|
|
|
|
$reaction_5_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'remarks_4 ') {
|
|
|
|
$remarks_4_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'observations') {
|
|
|
|
$observations_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'observations_1') {
|
|
|
|
$observations_1_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'observations_2') {
|
|
|
|
$observations_2_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'observations_3') {
|
|
|
|
$observations_3_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'observations_4') {
|
|
|
|
$observations_4_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'height_5') {
|
|
|
|
$height_5_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'weight_4') {
|
|
|
|
$weight_4_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'pulse_rate') {
|
|
|
|
$pulse_rate_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'blood_pressure_3') {
|
|
|
|
$blood_pressure_3_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'respiration_rate') {
|
|
|
|
$respiration_rate_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'anaemia_pallor') {
|
|
|
|
$anaemia_pallor_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'oedema') {
|
|
|
|
$oedema_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'jaundice_1') {
|
|
|
|
$jaundice_1_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'skin_condition') {
|
|
|
|
$skin_condition_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'temprature') {
|
|
|
|
$temprature_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'fatiguability') {
|
|
|
|
$fatiguability_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'sweating') {
|
|
|
|
$sweating_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'sleep') {
|
|
|
|
$sleep_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'urination') {
|
|
|
|
$urination_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'nausea') {
|
|
|
|
$nausea_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'vomiting') {
|
|
|
|
$vomiting_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'appetite') {
|
|
|
|
$appetite_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'taste') {
|
|
|
|
$taste_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'pain_in_abdomen') {
|
|
|
|
$pain_in_abdomen_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'bowel_movement') {
|
|
|
|
$bowel_movement_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'liver') {
|
|
|
|
$liver_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'spleen') {
|
|
|
|
$spleen_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'nasal_discharge') {
|
|
|
|
$nasal_discharge_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'wheeze') {
|
|
|
|
$wheeze_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'cough') {
|
|
|
|
$cough_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'expectoration') {
|
|
|
|
$expectoration_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'tightness_of_chest') {
|
|
|
|
$tightness_of_chest_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'dyspnoea') {
|
|
|
|
$dyspnoea_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'palpitation') {
|
|
|
|
$palpitation_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'heart') {
|
|
|
|
$heart_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'cyanosis') {
|
|
|
|
$cyanosis_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'tachycardia_bradycardia') {
|
|
|
|
$tachycardia_bradycardia_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'headache') {
|
|
|
|
$headache_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'diziness') {
|
|
|
|
$diziness_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'irritability') {
|
|
|
|
$irritability_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'twitching') {
|
|
|
|
$twitching_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'tremors') {
|
|
|
|
$tremors_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'convulsions') {
|
|
|
|
$convulsions_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'paraesthesia') {
|
|
|
|
$paraesthesia_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'hallucinations') {
|
|
|
|
$hallucinations_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'h_o_unconsciousness_1') {
|
|
|
|
$h_o_unconsciousness_1_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'superficial_reflexes') {
|
|
|
|
$superficial_reflexes_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'deep_reflexes') {
|
|
|
|
$deep_reflexes_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'co_ordination') {
|
|
|
|
$co_ordination_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'pupil') {
|
|
|
|
$pupil_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'lachrymation') {
|
|
|
|
$lachrymation_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'double_vision') {
|
|
|
|
$double_vision_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'bullred_vision') {
|
|
|
|
$bullred_vision_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'temperament') {
|
|
|
|
$temperament_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'judgement') {
|
|
|
|
$judgement_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'kidney_condition') {
|
|
|
|
$kidney_condition_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'blood_urea') {
|
|
|
|
$blood_urea_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'total_rbc_count') {
|
|
|
|
$total_rbc_count_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'hb_1') {
|
|
|
|
$hb_1_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'tlc_count') {
|
|
|
|
$tlc_count_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'platelet_count') {
|
|
|
|
$platelet_count_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'polymorphs_2') {
|
|
|
|
$polymorphs_2_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'eosinophil_5') {
|
|
|
|
$eosinophil_5_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'basophils_5') {
|
|
|
|
$basophils_5_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'lymphocyte') {
|
|
|
|
$lymphocyte_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'monocyte') {
|
|
|
|
$monocyte_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'reticulocyte_count') {
|
|
|
|
$reticulocyte_count_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'esr_3') {
|
|
|
|
$esr_3_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'serum_bilirubin_total') {
|
|
|
|
$serum_bilirubin_total_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'serum_bilirubin_direct') {
|
|
|
|
$serum_bilirubin_direct_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'sgot_1') {
|
|
|
|
$sgot_1_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'sgpt_1') {
|
|
|
|
$sgpt_1_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'cholesterol') {
|
|
|
|
$cholesterol_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'total_protein') {
|
|
|
|
$total_protein_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'serum_albumin') {
|
|
|
|
$serum_albumin_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'blood_urea') {
|
|
|
|
$blood_urea_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'serum_creatinine_1') {
|
|
|
|
$serum_creatinine_1_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'hba1c_1') {
|
|
|
|
$hba1c_1_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'serum_cholinesterase') {
|
|
|
|
$serum_cholinesterase_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'blood_residue_estimation') {
|
|
|
|
$blood_residue_estimation_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'x_ray_chest_pa_view_once_in_year') {
|
|
|
|
$x_ray_chest_pa_view_once_in_year_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'usg_abdomen') {
|
|
|
|
$usg_abdomen_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'advice_given_to_employer') {
|
|
|
|
$advice_given_to_employer_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_1['checkup_form_key'] == 'advice_given_to_employee') {
|
|
|
|
$advice_given_to_employee_1 = $rows_exa_key_1['checkup_form_value'];
|
|
}
|
|
}
|
|
|
|
|
|
$sql_employee_key_2 = "SELECT a.* ,b.checkup_type_id , b.checkup_id FROM checkup_form_key_value a INNER JOIN checkup_form b ON a.checkup_form_id = b.checkup_id WHERE b.emp_id = '" . $emp_id . "' and b.checkup_type_id= '53' ";
|
|
|
|
error_log("get_data_key:" . $sql_employee_key_2);
|
|
|
|
$res_data_key_2 = mysqli_query($conn, $sql_employee_key_2);
|
|
|
|
while ($rows_exa_key_2 = mysqli_fetch_array($res_data_key_2)) {
|
|
|
|
$dataArray_2[$rows_exa_key_2['checkup_form_key']] = $rows_exa_key_2['checkup_form_value'];
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'fasting_2') {
|
|
|
|
|
|
$check_date = getFieldFromTable('checkup_date', 'checkup_form', 'checkup_id', $rows_exa_key_2['checkup_form_id']);
|
|
$chechup_form_date_2 = date("d-m-Y", strtotime($check_date));
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'nervousness') {
|
|
|
|
$nervousness_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'routine') {
|
|
|
|
$routine_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'microscopic') {
|
|
|
|
$microscopic_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'fasting_2') {
|
|
|
|
$fasting_2_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'post_prandial_2') {
|
|
|
|
$post_prandial_2_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'rbs_2') {
|
|
|
|
$rbs_2_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'polymorphs_2') {
|
|
|
|
$polymorphs_2_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'eosinophil_5') {
|
|
|
|
$eosinophil_5_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'basophils_5') {
|
|
|
|
$basophils_5_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'lymphocyte') {
|
|
|
|
$lymphocyte_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'monocyte') {
|
|
|
|
$monocyte_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'protective_clothing_overalls') {
|
|
|
|
$protective_clothing_overalls_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'helmet_hood_hat') {
|
|
|
|
$helmet_hood_hat_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'dust_proof_goggles') {
|
|
|
|
$dust_proof_goggles_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'respiratory_device_s') {
|
|
|
|
$respiratory_device_s_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'rubber_gloves_impermeable_liquids') {
|
|
|
|
$rubber_gloves_impermeable_liquids_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'illness') {
|
|
|
|
$illness_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'posioning') {
|
|
|
|
$posioning_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'allergy') {
|
|
|
|
$allergy_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'exposure_to_presticides_compound') {
|
|
|
|
$exposure_to_presticides_compound_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'no_of_years_seasons_and_days_of_exposure_per_year') {
|
|
|
|
$no_of_years_seasons_and_days_of_exposure_per_year_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'remarks_if_any') {
|
|
|
|
$remarks_if_any_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'allergy_disorders') {
|
|
|
|
$allergy_disorders_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'psycological_disorders') {
|
|
|
|
$psycological_disorders_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'haemorrhagic_disorders') {
|
|
|
|
$haemorrhagic_disorders_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'marital_status') {
|
|
|
|
$marital_status_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'no_of_children_health_status_of_birth_defect_if_any') {
|
|
|
|
$no_of_children_health_status_of_birth_defect_if_any_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'any_other_health_related_complaint') {
|
|
|
|
$any_other_health_related_complaint_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'smoking_4') {
|
|
|
|
$smoking_4_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'alcohol_4') {
|
|
|
|
$alcohol_4_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'other_addiction') {
|
|
|
|
$other_addiction_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'marital_status') {
|
|
|
|
$marital_status_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'no_of_children_health_status_of_birth_defect_if_any') {
|
|
|
|
$no_of_children_health_status_of_birth_defect_if_any_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'any_others_health_related_complaints') {
|
|
|
|
$any_others_health_related_complaints_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'remarks') {
|
|
|
|
$remarks_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'reaction_1') {
|
|
|
|
$reaction_1_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'reaction_3') {
|
|
|
|
$reaction_3_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'reaction_5') {
|
|
|
|
$reaction_5_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'remarks_4 ') {
|
|
|
|
$remarks_4_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'observations') {
|
|
|
|
$observations_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'observations_1') {
|
|
|
|
$observations_1_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'observations_2') {
|
|
|
|
$observations_2_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'observations_3') {
|
|
|
|
$observations_3_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'observations_4') {
|
|
|
|
$observations_4_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'height_5') {
|
|
|
|
$height_5_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'weight_4') {
|
|
|
|
$weight_4_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'pulse_rate') {
|
|
|
|
$pulse_rate_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'blood_pressure_3') {
|
|
|
|
$blood_pressure_3_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'respiration_rate') {
|
|
|
|
$respiration_rate_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'anaemia_pallor') {
|
|
|
|
$anaemia_pallor_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'oedema') {
|
|
|
|
$oedema_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'jaundice_1') {
|
|
|
|
$jaundice_1_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'skin_condition') {
|
|
|
|
$skin_condition_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'temprature') {
|
|
|
|
$temprature_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'fatiguability') {
|
|
|
|
$fatiguability_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'sweating') {
|
|
|
|
$sweating_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'sleep') {
|
|
|
|
$sleep_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'urination') {
|
|
|
|
$urination_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'nausea') {
|
|
|
|
$nausea_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'vomiting') {
|
|
|
|
$vomiting_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'appetite') {
|
|
|
|
$appetite_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'taste') {
|
|
|
|
$taste_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'pain_in_abdomen') {
|
|
|
|
$pain_in_abdomen_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'bowel_movement') {
|
|
|
|
$bowel_movement_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'liver') {
|
|
|
|
$liver_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'spleen') {
|
|
|
|
$spleen_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'nasal_discharge') {
|
|
|
|
$nasal_discharge_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'wheeze') {
|
|
|
|
$wheeze_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'cough') {
|
|
|
|
$cough_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'expectoration') {
|
|
|
|
$expectoration_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'tightness_of_chest') {
|
|
|
|
$tightness_of_chest_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'dyspnoea') {
|
|
|
|
$dyspnoea_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'palpitation') {
|
|
|
|
$palpitation_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'heart') {
|
|
|
|
$heart_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'cyanosis') {
|
|
|
|
$cyanosis_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'tachycardia_bradycardia') {
|
|
|
|
$tachycardia_bradycardia_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'headache') {
|
|
|
|
$headache_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'diziness') {
|
|
|
|
$diziness_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'irritability') {
|
|
|
|
$irritability_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'twitching') {
|
|
|
|
$twitching_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'tremors') {
|
|
|
|
$tremors_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'convulsions') {
|
|
|
|
$convulsions_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'paraesthesia') {
|
|
|
|
$paraesthesia_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'hallucinations') {
|
|
|
|
$hallucinations_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'h_o_unconsciousness_1') {
|
|
|
|
$h_o_unconsciousness_1_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'superficial_reflexes') {
|
|
|
|
$superficial_reflexes_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'deep_reflexes') {
|
|
|
|
$deep_reflexes_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'co_ordination') {
|
|
|
|
$co_ordination_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'pupil') {
|
|
|
|
$pupil_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'lachrymation') {
|
|
|
|
$lachrymation_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'double_vision') {
|
|
|
|
$double_vision_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'bullred_vision') {
|
|
|
|
$bullred_vision_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'temperament') {
|
|
|
|
$temperament_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'judgement') {
|
|
|
|
$judgement_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'kidney_condition') {
|
|
|
|
$kidney_condition_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'blood_urea') {
|
|
|
|
$blood_urea_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'total_rbc_count') {
|
|
|
|
$total_rbc_count_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'hb_1') {
|
|
|
|
$hb_1_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'tlc_count') {
|
|
|
|
$tlc_count_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'platelet_count') {
|
|
|
|
$platelet_count_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'reticulocyte_count') {
|
|
|
|
$reticulocyte_count_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'esr_3') {
|
|
|
|
$esr_3_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'serum_bilirubin_total') {
|
|
|
|
$serum_bilirubin_total_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'serum_bilirubin_direct') {
|
|
|
|
$serum_bilirubin_direct_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'sgot_1') {
|
|
|
|
$sgot_1_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'sgpt_1') {
|
|
|
|
$sgpt_1_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'cholesterol') {
|
|
|
|
$cholesterol_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'total_protein') {
|
|
|
|
$total_protein_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'serum_albumin') {
|
|
|
|
$serum_albumin_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'blood_urea') {
|
|
|
|
$blood_urea_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'serum_creatinine_1') {
|
|
|
|
$serum_creatinine_1_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'hba1c_1') {
|
|
|
|
$hba1c_1_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'serum_cholinesterase') {
|
|
|
|
$serum_cholinesterase_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'blood_residue_estimation') {
|
|
|
|
$blood_residue_estimation_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'x_ray_chest_pa_view_once_in_year') {
|
|
|
|
$x_ray_chest_pa_view_once_in_year_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'usg_abdomen') {
|
|
|
|
$usg_abdomen_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'advice_given_to_employer') {
|
|
|
|
$advice_given_to_employer_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_2['checkup_form_key'] == 'advice_given_to_employee') {
|
|
|
|
$advice_given_to_employee_2 = $rows_exa_key_2['checkup_form_value'];
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$sql_employee_key_3 = "SELECT a.* ,b.checkup_type_id , b.checkup_id FROM checkup_form_key_value a INNER JOIN checkup_form b ON a.checkup_form_id = b.checkup_id WHERE b.emp_id = '" . $emp_id . "' and b.checkup_type_id= '54' ";
|
|
|
|
error_log("get_data_key:" . $sql_employee_key_3);
|
|
|
|
$res_data_key_3 = mysqli_query($conn, $sql_employee_key_3);
|
|
|
|
while ($rows_exa_key_3 = mysqli_fetch_array($res_data_key_3)) {
|
|
|
|
$dataArray_3[$rows_exa_key_3['checkup_form_key']] = $rows_exa_key_3['checkup_form_value'];
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'fasting_2') {
|
|
|
|
|
|
$check_date = getFieldFromTable('checkup_date', 'checkup_form', 'checkup_id', $rows_exa_key_3['checkup_form_id']);
|
|
$chechup_form_date_3 = date("d-m-Y", strtotime($check_date));
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'nervousness') {
|
|
|
|
$nervousness_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'routine') {
|
|
|
|
$routine_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'microscopic') {
|
|
|
|
$microscopic_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'fasting_2') {
|
|
|
|
$fasting_2_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'post_prandial_2') {
|
|
|
|
$post_prandial_2_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'rbs_2') {
|
|
|
|
$rbs_2_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'polymorphs_2') {
|
|
|
|
$polymorphs_2_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'eosinophil_5') {
|
|
|
|
$eosinophil_5_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'basophils_5') {
|
|
|
|
$basophils_5_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'lymphocyte') {
|
|
|
|
$lymphocyte_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'monocyte') {
|
|
|
|
$monocyte_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'protective_clothing_overalls') {
|
|
|
|
$protective_clothing_overalls_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'helmet_hood_hat') {
|
|
|
|
$helmet_hood_hat_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'dust_proof_goggles') {
|
|
|
|
$dust_proof_goggles_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'respiratory_device_s') {
|
|
|
|
$respiratory_device_s_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'rubber_gloves_impermeable_liquids') {
|
|
|
|
$rubber_gloves_impermeable_liquids_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'illness') {
|
|
|
|
$illness_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'posioning') {
|
|
|
|
$posioning_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'allergy') {
|
|
|
|
$allergy_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'exposure_to_presticides_compound') {
|
|
|
|
$exposure_to_presticides_compound_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'no_of_years_seasons_and_days_of_exposure_per_year') {
|
|
|
|
$no_of_years_seasons_and_days_of_exposure_per_year_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'remarks_if_any') {
|
|
|
|
$remarks_if_any_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'allergy_disorders') {
|
|
|
|
$allergy_disorders_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'psycological_disorders') {
|
|
|
|
$psycological_disorders_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'haemorrhagic_disorders') {
|
|
|
|
$haemorrhagic_disorders_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'marital_status') {
|
|
|
|
$marital_status_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'no_of_children_health_status_of_birth_defect_if_any') {
|
|
|
|
$no_of_children_health_status_of_birth_defect_if_any_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'any_other_health_related_complaint') {
|
|
|
|
$any_other_health_related_complaint_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'smoking_4') {
|
|
|
|
$smoking_4_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'alcohol_4') {
|
|
|
|
$alcohol_4_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'other_addiction') {
|
|
|
|
$other_addiction_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'marital_status') {
|
|
|
|
$marital_status_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'no_of_children_health_status_of_birth_defect_if_any') {
|
|
|
|
$no_of_children_health_status_of_birth_defect_if_any_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'any_others_health_related_complaints') {
|
|
|
|
$any_others_health_related_complaints_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'remarks') {
|
|
|
|
$remarks_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'reaction_1') {
|
|
|
|
$reaction_1_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'reaction_3') {
|
|
|
|
$reaction_3_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'reaction_5') {
|
|
|
|
$reaction_5_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'remarks_4 ') {
|
|
|
|
$remarks_4_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'observations') {
|
|
|
|
$observations_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'observations_1') {
|
|
|
|
$observations_1_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'observations_2') {
|
|
|
|
$observations_2_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'observations_3') {
|
|
|
|
$observations_3_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'observations_4') {
|
|
|
|
$observations_4_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'height_5') {
|
|
|
|
$height_5_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'weight_4') {
|
|
|
|
$weight_4_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'pulse_rate') {
|
|
|
|
$pulse_rate_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'blood_pressure_3') {
|
|
|
|
$blood_pressure_3_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'respiration_rate') {
|
|
|
|
$respiration_rate_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'anaemia_pallor') {
|
|
|
|
$anaemia_pallor_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'oedema') {
|
|
|
|
$oedema_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'jaundice_1') {
|
|
|
|
$jaundice_1_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'skin_condition') {
|
|
|
|
$skin_condition_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'temprature') {
|
|
|
|
$temprature_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'fatiguability') {
|
|
|
|
$fatiguability_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'sweating') {
|
|
|
|
$sweating_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'sleep') {
|
|
|
|
$sleep_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'urination') {
|
|
|
|
$urination_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'nausea') {
|
|
|
|
$nausea_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'vomiting') {
|
|
|
|
$vomiting_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'appetite') {
|
|
|
|
$appetite_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'taste') {
|
|
|
|
$taste_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'pain_in_abdomen') {
|
|
|
|
$pain_in_abdomen_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'bowel_movement') {
|
|
|
|
$bowel_movement_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'liver') {
|
|
|
|
$liver_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'spleen') {
|
|
|
|
$spleen_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'nasal_discharge') {
|
|
|
|
$nasal_discharge_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'wheeze') {
|
|
|
|
$wheeze_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'cough') {
|
|
|
|
$cough_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'expectoration') {
|
|
|
|
$expectoration_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'tightness_of_chest') {
|
|
|
|
$tightness_of_chest_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'dyspnoea') {
|
|
|
|
$dyspnoea_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'palpitation') {
|
|
|
|
$palpitation_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'heart') {
|
|
|
|
$heart_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'cyanosis') {
|
|
|
|
$cyanosis_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'tachycardia_bradycardia') {
|
|
|
|
$tachycardia_bradycardia_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'headache') {
|
|
|
|
$headache_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'diziness') {
|
|
|
|
$diziness_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'irritability') {
|
|
|
|
$irritability_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'twitching') {
|
|
|
|
$twitching_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'tremors') {
|
|
|
|
$tremors_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'convulsions') {
|
|
|
|
$convulsions_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'paraesthesia') {
|
|
|
|
$paraesthesia_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'hallucinations') {
|
|
|
|
$hallucinations_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'h_o_unconsciousness_1') {
|
|
|
|
$h_o_unconsciousness_1_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'superficial_reflexes') {
|
|
|
|
$superficial_reflexes_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'deep_reflexes') {
|
|
|
|
$deep_reflexes_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'co_ordination') {
|
|
|
|
$co_ordination_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'pupil') {
|
|
|
|
$pupil_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'lachrymation') {
|
|
|
|
$lachrymation_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'double_vision') {
|
|
|
|
$double_vision_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'bullred_vision') {
|
|
|
|
$bullred_vision_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'temperament') {
|
|
|
|
$temperament_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'judgement') {
|
|
|
|
$judgement_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'judgement') {
|
|
|
|
$judgement_2_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'kidney_condition') {
|
|
|
|
$kidney_condition_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'blood_urea') {
|
|
|
|
$blood_urea_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'total_rbc_count') {
|
|
|
|
$total_rbc_count_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'hb_1') {
|
|
|
|
$hb_1_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'tlc_count') {
|
|
|
|
$tlc_count_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'platelet_count') {
|
|
|
|
$platelet_count_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'reticulocyte_count') {
|
|
|
|
$reticulocyte_count_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'esr_3') {
|
|
|
|
$esr_3_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'serum_bilirubin_total') {
|
|
|
|
$serum_bilirubin_total_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'serum_bilirubin_direct') {
|
|
|
|
$serum_bilirubin_direct_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'sgot_1') {
|
|
|
|
$sgot_1_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'sgpt_1') {
|
|
|
|
$sgpt_1_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'cholesterol') {
|
|
|
|
$cholesterol_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'total_protein') {
|
|
|
|
$total_protein_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'serum_albumin') {
|
|
|
|
$serum_albumin_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'blood_urea') {
|
|
|
|
$blood_urea_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'serum_creatinine_1') {
|
|
|
|
$serum_creatinine_1_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'hba1c_1') {
|
|
|
|
$hba1c_1_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'serum_cholinesterase') {
|
|
|
|
$serum_cholinesterase_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'blood_residue_estimation') {
|
|
|
|
$blood_residue_estimation_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'x_ray_chest_pa_view_once_in_year') {
|
|
|
|
$x_ray_chest_pa_view_once_in_year_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'usg_abdomen') {
|
|
|
|
$usg_abdomen_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'advice_given_to_employer') {
|
|
|
|
$advice_given_to_employer_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_3['checkup_form_key'] == 'advice_given_to_employee') {
|
|
|
|
$advice_given_to_employee_3 = $rows_exa_key_3['checkup_form_value'];
|
|
}
|
|
}
|
|
|
|
$sql_employee_key_4 = "SELECT a.* ,b.checkup_type_id , b.checkup_id FROM checkup_form_key_value a INNER JOIN checkup_form b ON a.checkup_form_id = b.checkup_id WHERE b.emp_id = '" . $emp_id . "' and b.checkup_type_id= '57' ";
|
|
|
|
error_log("get_data_key:" . $sql_employee_key_4);
|
|
|
|
$res_data_key_4 = mysqli_query($conn, $sql_employee_key_4);
|
|
|
|
while ($rows_exa_key_4 = mysqli_fetch_array($res_data_key_4)) {
|
|
$dataArray_4[$rows_exa_key_4['checkup_form_key']] = $rows_exa_key_4['checkup_form_value'];
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'fasting_2') {
|
|
|
|
|
|
$check_date = getFieldFromTable('checkup_date', 'checkup_form', 'checkup_id', $rows_exa_key_4['checkup_form_id']);
|
|
$chechup_form_date_4 = date("d-m-Y", strtotime($check_date));
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'nervousness') {
|
|
|
|
$nervousness_4 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'routine') {
|
|
|
|
$routine_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'microscopic') {
|
|
|
|
$microscopic_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'fasting_2') {
|
|
|
|
$fasting_2_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'post_prandial_2') {
|
|
|
|
$post_prandial_2_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'rbs_2') {
|
|
|
|
$rbs_2_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'polymorphs_2') {
|
|
|
|
$polymorphs_2_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'eosinophil_5') {
|
|
|
|
$eosinophil_5_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'basophils_5') {
|
|
|
|
$basophils_5_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'lymphocyte') {
|
|
|
|
$lymphocyte_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'monocyte') {
|
|
|
|
$monocyte_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'protective_clothing_overalls') {
|
|
|
|
$protective_clothing_overalls_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'helmet_hood_hat') {
|
|
|
|
$helmet_hood_hat_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'dust_proof_goggles') {
|
|
|
|
$dust_proof_goggles_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'respiratory_device_s') {
|
|
|
|
$respiratory_device_s_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'respiratory_device_s') {
|
|
|
|
$respiratory_device_s_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'rubber_gloves_impermeable_liquids') {
|
|
|
|
$rubber_gloves_impermeable_liquids_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'illness') {
|
|
|
|
$illness_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'posioning') {
|
|
|
|
$posioning_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'allergy') {
|
|
|
|
$allergy_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'exposure_to_presticides_compound') {
|
|
|
|
$exposure_to_presticides_compound_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'no_of_years_seasons_and_days_of_exposure_per_year') {
|
|
|
|
$no_of_years_seasons_and_days_of_exposure_per_year_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'remarks_if_any') {
|
|
|
|
$remarks_if_any_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'allergy_disorders') {
|
|
|
|
$allergy_disorders_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'psycological_disorders') {
|
|
|
|
$psycological_disorders_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'haemorrhagic_disorders') {
|
|
|
|
$haemorrhagic_disorders_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'marital_status') {
|
|
|
|
$marital_status_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'no_of_children_health_status_of_birth_defect_if_any') {
|
|
|
|
$no_of_children_health_status_of_birth_defect_if_any_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'any_other_health_related_complaint') {
|
|
|
|
$any_other_health_related_complaint_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'smoking_4') {
|
|
|
|
$smoking_4_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'alcohol_4') {
|
|
|
|
$alcohol_4_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'other_addiction') {
|
|
|
|
$other_addiction_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'marital_status') {
|
|
|
|
$marital_status_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'no_of_children_health_status_of_birth_defect_if_any') {
|
|
|
|
$no_of_children_health_status_of_birth_defect_if_any_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'any_others_health_related_complaints') {
|
|
|
|
$any_others_health_related_complaints_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'remarks') {
|
|
|
|
$remarks_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'reaction_1') {
|
|
|
|
$reaction_1_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'reaction_3') {
|
|
|
|
$reaction_3_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'reaction_5') {
|
|
|
|
$reaction_5_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'remarks_4 ') {
|
|
|
|
$remarks_4_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'observations') {
|
|
|
|
$observations_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'observations_1') {
|
|
|
|
$observations_1_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'observations_2') {
|
|
|
|
$observations_2_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'observations_3') {
|
|
|
|
$observations_3_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'observations_4') {
|
|
|
|
$observations_4_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'height_5') {
|
|
|
|
$height_5_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'weight_4') {
|
|
|
|
$weight_4_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'pulse_rate') {
|
|
|
|
$pulse_rate_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'blood_pressure_3') {
|
|
|
|
$blood_pressure_3_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'respiration_rate') {
|
|
|
|
$respiration_rate_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'anaemia_pallor') {
|
|
|
|
$anaemia_pallor_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'oedema') {
|
|
|
|
$oedema_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'jaundice_1') {
|
|
|
|
$jaundice_1_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'skin_condition') {
|
|
|
|
$skin_condition_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'temprature') {
|
|
|
|
$temprature_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'fatiguability') {
|
|
|
|
$fatiguability_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'sweating') {
|
|
|
|
$sweating_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'sleep') {
|
|
|
|
$sleep_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'urination') {
|
|
|
|
$urination_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'nausea') {
|
|
|
|
$nausea_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'vomiting') {
|
|
|
|
$vomiting_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'appetite') {
|
|
|
|
$appetite_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'taste') {
|
|
|
|
$taste_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'pain_in_abdomen') {
|
|
|
|
$pain_in_abdomen_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'bowel_movement') {
|
|
|
|
$bowel_movement_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'liver') {
|
|
|
|
$liver_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'spleen') {
|
|
|
|
$spleen_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'nasal_discharge') {
|
|
|
|
$nasal_discharge_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'wheeze') {
|
|
|
|
$wheeze_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'cough') {
|
|
|
|
$cough_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'expectoration') {
|
|
|
|
$expectoration_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'tightness_of_chest') {
|
|
|
|
$tightness_of_chest_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'dyspnoea') {
|
|
|
|
$dyspnoea_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'palpitation') {
|
|
|
|
$palpitation_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'heart') {
|
|
|
|
$heart_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'cyanosis') {
|
|
|
|
$cyanosis_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'tachycardia_bradycardia') {
|
|
|
|
$tachycardia_bradycardia_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'headache') {
|
|
|
|
$headache_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'diziness') {
|
|
|
|
$diziness_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'irritability') {
|
|
|
|
$irritability_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'twitching') {
|
|
|
|
$twitching_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'tremors') {
|
|
|
|
$tremors_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'convulsions') {
|
|
|
|
$convulsions_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'paraesthesia') {
|
|
|
|
$paraesthesia_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'hallucinations') {
|
|
|
|
$hallucinations_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'h_o_unconsciousness_1') {
|
|
|
|
$h_o_unconsciousness_1_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'superficial_reflexes') {
|
|
|
|
$superficial_reflexes_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'deep_reflexes') {
|
|
|
|
$deep_reflexes_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'co_ordination') {
|
|
|
|
$co_ordination_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'pupil') {
|
|
|
|
$pupil_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'lachrymation') {
|
|
|
|
$lachrymation_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'double_vision') {
|
|
|
|
$double_vision_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'bullred_vision') {
|
|
|
|
$bullred_vision_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'temperament') {
|
|
|
|
$temperament_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'judgement') {
|
|
|
|
$judgement_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'kidney_condition') {
|
|
|
|
$kidney_condition_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'blood_urea') {
|
|
|
|
$blood_urea_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'total_rbc_count') {
|
|
|
|
$total_rbc_count_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'hb_1') {
|
|
|
|
$hb_1_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'tlc_count') {
|
|
|
|
$tlc_count_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'platelet_count') {
|
|
|
|
$platelet_count_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'reticulocyte_count') {
|
|
|
|
$reticulocyte_count_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'esr_3') {
|
|
|
|
$esr_3_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'serum_bilirubin_total') {
|
|
|
|
$serum_bilirubin_total_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'serum_bilirubin_direct') {
|
|
|
|
$serum_bilirubin_direct_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'sgot_1') {
|
|
|
|
$sgot_1_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'sgpt_1') {
|
|
|
|
$sgpt_1_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'cholesterol') {
|
|
|
|
$cholesterol_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'total_protein') {
|
|
|
|
$total_protein_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'serum_albumin') {
|
|
|
|
$serum_albumin_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'blood_urea') {
|
|
|
|
$blood_urea_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'serum_creatinine_1') {
|
|
|
|
$serum_creatinine_1_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'hba1c_1') {
|
|
|
|
$hba1c_1_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'serum_cholinesterase') {
|
|
|
|
$serum_cholinesterase_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'blood_residue_estimation') {
|
|
|
|
$blood_residue_estimation_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'x_ray_chest_pa_view_once_in_year') {
|
|
|
|
$x_ray_chest_pa_view_once_in_year_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'usg_abdomen') {
|
|
|
|
$usg_abdomen_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'advice_given_to_employer') {
|
|
|
|
$advice_given_to_employer_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key_4['checkup_form_key'] == 'advice_given_to_employee') {
|
|
|
|
$advice_given_to_employee_4 = $rows_exa_key_4['checkup_form_value'];
|
|
}
|
|
}
|
|
?>
|
|
|
|
|
|
|
|
<style>
|
|
div b {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.tbl1 {
|
|
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
th {
|
|
background-color: #e1e1e1;
|
|
font-size: 12px;
|
|
font-style: bold;
|
|
vertical-align: top;
|
|
}
|
|
|
|
td {
|
|
text-align: left;
|
|
font-size: 12px;
|
|
vertical-align: top;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
h1 {
|
|
text-align: left;
|
|
font-size: 12px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.page-break {
|
|
page-break-before: always;
|
|
/* or use page-break-after: always; */
|
|
}
|
|
|
|
/* .tbl_tbl {
|
|
border: 1px solid black;
|
|
border-collapse: collapse;
|
|
} */
|
|
</style>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
<table width="100%" cellspacing="0">
|
|
<tr>
|
|
|
|
<td width="10%">
|
|
<?php if (isset($row_company['company_logo']) && $row_company['company_logo'] != null) { ?>
|
|
<img src="data:<?php echo $row_company['image_type'] ?>;base64,<?php echo base64_encode($row_company['company_logo']) ?>" style="width: 100px; height: 60px; margin: 0px; padding: 0px;">
|
|
<?php } ?>
|
|
</td>
|
|
<?php
|
|
$start_year = date("Y", strtotime($date_a));
|
|
$end_year = $start_year + 1;
|
|
|
|
|
|
?>
|
|
|
|
<td width="70%" align="center">
|
|
<div style="margin-left: 20px; margin-top: 5px; line-height: 1;">
|
|
<center style="font-size: 14px ; text-transform: capitalize;"><b>
|
|
<b>REGISTER OF PERSONS ENGAGED IN CONNECTION WITH INSECTICIDES</b>
|
|
<br> <span span style="font-size: 12px;"> RECORD FOR PERIODICAL MEDICAL EXAMINATION </span>
|
|
<br><span span style="font-size: 10px;"> FOR THE CALENDER YEAR <?php echo $start_year ?> QUARTER ENDING </span>
|
|
<br> <span style="font-size: 10px;">See Rule 37</span>
|
|
|
|
|
|
<br>
|
|
</b>
|
|
</center>
|
|
</div>
|
|
</td>
|
|
<td width="10%" align="right">
|
|
DOM/OHC/PM04
|
|
<br>Eff.Dt.:01-11-97
|
|
<br>Rev.No.: 00
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr rowspan="2">
|
|
<td colspan="1"></td>
|
|
<td colspan="2"></td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td colspan="1"></td>
|
|
<td colspan="2"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="1"></td>
|
|
<td colspan="2"></td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br>
|
|
<br>
|
|
<table>
|
|
<tr>
|
|
<td>Serial No. : <u> <?php echo $ticket_no ?></u></td>
|
|
</tr>
|
|
</table>
|
|
<h2 style="font-size: 12px;">1. GENERAL INFORMATION</h2>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>: <u><?php echo ucfirst($patient_name) ?></u> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Age</td>
|
|
<td>: <u><?php echo $age ?></u> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Father's/ Husband's Name </td>
|
|
<td>: <u><?php echo ucfirst($father_name_p) ?></u> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Complete Address</td>
|
|
<td>: <u><?php echo ucfirst($address) ?></u> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Sex</td>
|
|
<td>:<u><?php if ($gender == 'M') {
|
|
echo 'Male';
|
|
} else if ($gender == 'F') {
|
|
echo 'Female';
|
|
} ?></u></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Identification Mark</td>
|
|
<td>: <u><?php echo $identity ?></u> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Date of appointment</td>
|
|
<td>: <u><?php echo $appointment_date ?></u></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Occupation</td>
|
|
<td>: Present <?php if ($designation_name) {
|
|
echo $designation_name;
|
|
} else { ?>_________<?php } ?>Past ________</td>
|
|
</tr>
|
|
|
|
</table>
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 style="font-size: 12px;">Details of use Personal Protective Equipments</h2>
|
|
|
|
<table border="1" width="100%" cellspacing="0">
|
|
<tr>
|
|
<td style="width: 350px;">(a) Protective clothing / overalls :</td>
|
|
<td style="width: 350px;"><?php echo ucfirst($protective_clothing_overalls) ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 350px;">(b) Helmet / Hood / Hat:</td>
|
|
<td style="width: 350px;"><?php echo ucfirst($helmet_hood_hat) ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 350px;">(c) Dust- Proof Goggles :</td>
|
|
<td style="width: 350px;"><?php echo ucfirst($dust_proof_goggles) ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 350px;">(d) Rubber Gloves Impermeable to liquids :</td>
|
|
<td style="width: 350px;"><?php echo ucfirst($rubber_gloves_impermeable_liquids) ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 350px;">(e) Respiratory device (S): </td>
|
|
<td style="width: 350px;"><?php echo ucfirst($respiratory_device_s) ?> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 350px;">(f) Boots: </td>
|
|
<td style="width: 350px;"><?php echo ucfirst($boots) ?> </td>
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h2 style="font-size: 12px;">MEDICAL EXAMINATION PAST HISTORY</h2>
|
|
<table border="1" width="100%" cellspacing="0">
|
|
<tr>
|
|
<td style="width: 50px;">A)</td>
|
|
<td style="width: 212px;">1) illness</td>
|
|
<td style="width: 212px;">2) Poisoning </td>
|
|
<td style="width: 212px;">3) Allergy</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding: 10px;"> </td>
|
|
<td><?php echo ucfirst($illness) ?></td>
|
|
<td><?php echo ucfirst($posioning) ?> </td>
|
|
<td><?php echo ucfirst($allergy) ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>B)</td>
|
|
<td>4) Exposure to Pesticides (compound)</td>
|
|
<td>5) No. of years/ seasons and days of exposure per year</td>
|
|
<td>6) Remarks, if any </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding: 10px;"> </td>
|
|
<td><?php echo ucfirst($exposure_to_presticides_compound) ?> </td>
|
|
<td><?php echo ucfirst($no_of_years_seasons_and_days_of_exposure_per_year) ?></td>
|
|
<td><?php echo ucfirst($remarks_if_any) ?> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h2 style="font-size: 12px;">FAMILY HISTORY:</h2>
|
|
<table border="1" width="100%" cellspacing="0">
|
|
<tr>
|
|
|
|
<td style="width: 212px;">1) Allergy disorders </td>
|
|
<td style="width: 212px;">2) Psychological disorders </td>
|
|
<td style="width: 212px;">3) Hemorrhagic disorders</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding: 10px;"><?php echo ucfirst($allergy_disorders) ?></td>
|
|
|
|
<td style="padding: 10px;"> <?php echo ucfirst($psycological_disorders) ?></td>
|
|
<td style="padding: 10px;"> <?php echo ucfirst($hemorrhagic_disorders) ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>4) Marital status</td>
|
|
<td>5) No. of Children, Health Status of Children and birth defect, if any </td>
|
|
<td>6) Any other health related complaint </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding: 10px;"><?php echo ucfirst($marital_status) ?></td>
|
|
|
|
<td style="padding: 10px;"><?php echo ucfirst($no_of_children_health_status_of_birth_defect_if_any) ?> </td>
|
|
<td style="padding: 10px;"><?php echo ucfirst($any_other_health_related_complaint) ?> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h2 style="font-size: 12px;">PERSONAL HISTORY:</h2>
|
|
<table border="1" width="100%" cellspacing="0">
|
|
<tr>
|
|
|
|
<td style="width: 212px;">1) Smoking </td>
|
|
<td style="width: 212px;">2) Alcohol </td>
|
|
<td style="width: 212px;">3) Other addiction </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding: 10px;"><?php echo ucfirst($smoking_4) ?></td>
|
|
|
|
<td style="padding: 10px;"><?php echo ucfirst($alcohol_1) ?> </td>
|
|
<td style="padding: 10px;"><?php echo ucfirst($other_addiction) ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>4) Marital status</td>
|
|
<td>5) No. of Children, Health Status of Children and birth defect,if any </td>
|
|
<td>6) Any other health related complaint </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding: 10px;"><?php echo ucfirst($marital_status) ?></td>
|
|
|
|
<td style="padding: 10px;"><?php echo ucfirst($no_of_children_health_status_of_birth_defect_if_any) ?> </td>
|
|
<td style="padding: 10px;"><?php echo ucfirst($any_other_health_related_complaint) ?> </td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
<div class="page-break"></div>
|
|
|
|
<!-- <h2 style="font-size: 12px;">FAMILY HISTORY:</h2> -->
|
|
<table border="1" width="100%" cellspacing="0">
|
|
<tr>
|
|
|
|
<td style="width: 228px;"> <b> MEDICAL EXAMINATION </b> </td>
|
|
<td style="width: 228px;"> <b> OBSERVATIONS </b> </td>
|
|
<td style="width: 228px;"> <b> REMARKS </b> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding: 10px;">1) Pre - employment examination</td>
|
|
|
|
<td style="padding: 10px;"><?php echo ucfirst($observations) ?> </td>
|
|
<td style="padding: 10px;"><?php echo ucfirst($remarks) ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding: 10px;">2) End of 1st quarter i.e. after3 Months</td>
|
|
|
|
<td style="padding: 10px;"><?php echo ucfirst($observations_1) ?></td>
|
|
<td style="padding: 10px;"><?php echo ucfirst($reaction_1) ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding: 10px;">3) After 2nd quarter i.e. after 6 Months</td>
|
|
|
|
<td style="padding: 10px;"><?php echo ucfirst($observations_2) ?></td>
|
|
<td style="padding: 10px;"><?php echo ucfirst($reaction_3) ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding: 10px;">4) After 3rd quarter i.e. after 9 Months</td>
|
|
|
|
<td style="padding: 10px;"><?php echo ucfirst($observations_3) ?></td>
|
|
<td style="padding: 10px;"><?php echo ucfirst($remarks_4) ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="padding: 10px;">5) End of year</td>
|
|
|
|
<td style="padding: 10px;"><?php echo ucfirst($observations_3) ?></td>
|
|
<td style="padding: 10px;"><?php echo ucfirst($reaction_5) ?> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h2 style="font-size: 12px;"><b>1 . GENERAL EXAMINATION:</b></h2>
|
|
<table border="1" width="100%" cellspacing="0">
|
|
|
|
<tr>
|
|
<td style="width: 80px;"> </td>
|
|
<td style="width: 50px;">P.E.</td>
|
|
<td style="width: 50px;">I</td>
|
|
<td style="width: 50px;">II</td>
|
|
<td style="width: 50px;">III</td>
|
|
<td style="width: 50px;">IV</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Date</td>
|
|
<td><?php echo $chechup_form_date ?></td>
|
|
<td><?php echo $chechup_form_date_1 ?></td>
|
|
<td><?php echo $chechup_form_date_2 ?></td>
|
|
<td><?php echo $chechup_form_date_3 ?></td>
|
|
<td><?php echo $chechup_form_date_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Height Cms</td>
|
|
<td><?php echo $height_5 ?></td>
|
|
<td><?php echo $height_5_1 ?></td>
|
|
<td><?php echo $height_5_2 ?></td>
|
|
<td><?php echo $height_5_3 ?></td>
|
|
<td><?php echo $height_5_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Weight Kgs</td>
|
|
<td><?php echo $weight_4 ?></td>
|
|
<td><?php echo $weight_4_1 ?></td>
|
|
<td><?php echo $weight_4_2 ?></td>
|
|
<td><?php echo $weight_4_3 ?></td>
|
|
<td><?php echo $weight_4_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Pulse rate /min.</td>
|
|
<td><?php echo $pulse_rate ?></td>
|
|
<td><?php echo $pulse_rate_1 ?></td>
|
|
<td><?php echo $pulse_rate_2 ?></td>
|
|
<td><?php echo $pulse_rate_3 ?></td>
|
|
<td><?php echo $pulse_rate_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Blood Pressure</td>
|
|
<td><?php echo $blood_pressure_3 ?></td>
|
|
<td><?php echo $blood_pressure_3_1 ?></td>
|
|
<td><?php echo $blood_pressure_3_2 ?></td>
|
|
<td><?php echo $blood_pressure_3_3 ?></td>
|
|
<td><?php echo $blood_pressure_3_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Respiration Rate rhythm type</td>
|
|
<td><?php echo $respiration_rate ?></td>
|
|
<td><?php echo $respiration_rate_1 ?></td>
|
|
<td><?php echo $respiration_rate_2 ?></td>
|
|
<td><?php echo $respiration_rate_3 ?></td>
|
|
<td><?php echo $respiration_rate_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Anaemia / Pallor </td>
|
|
<td><?php echo ucfirst($anaemia_pallor) ?></td>
|
|
<td><?php echo ucfirst($anaemia_pallor_1) ?></td>
|
|
<td><?php echo ucfirst($anaemia_pallor_2) ?></td>
|
|
<td><?php echo ucfirst($anaemia_pallor_3) ?></td>
|
|
<td><?php echo ucfirst($anaemia_pallor_4) ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Oedema </td>
|
|
<td><?php echo $oedema ?></td>
|
|
<td><?php echo $oedema_1 ?></td>
|
|
<td><?php echo $oedema_2 ?></td>
|
|
<td><?php echo $oedema_3 ?></td>
|
|
<td><?php echo $oedema_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Jaundice</td>
|
|
<td><?php echo $jaundice_1 ?></td>
|
|
<td><?php echo $jaundice_1_1 ?></td>
|
|
<td><?php echo $jaundice_1_2 ?></td>
|
|
<td><?php echo $jaundice_1_3 ?></td>
|
|
<td><?php echo $jaundice_1_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Skin condition </td>
|
|
<td><?php echo $skin_condition ?></td>
|
|
<td><?php echo $skin_condition_1 ?></td>
|
|
<td><?php echo $skin_condition_2 ?></td>
|
|
<td><?php echo $skin_condition_3 ?></td>
|
|
<td><?php echo $skin_condition_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Temperature</td>
|
|
<td><?php echo $temperament ?></td>
|
|
<td><?php echo $temperament_1 ?></td>
|
|
<td><?php echo $temperament_2 ?></td>
|
|
<td><?php echo $temperament_3 ?></td>
|
|
<td><?php echo $temperament_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Fatiguability </td>
|
|
<td><?php echo $fatiguability ?></td>
|
|
<td><?php echo $fatiguability_1 ?></td>
|
|
<td><?php echo $fatiguability_2 ?></td>
|
|
<td><?php echo $fatiguability_3 ?></td>
|
|
<td><?php echo $fatiguability_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Sweating</td>
|
|
<td><?php echo $sweating ?></td>
|
|
<td><?php echo $sweating_1 ?></td>
|
|
<td><?php echo $sweating_2 ?></td>
|
|
<td><?php echo $sweating_3 ?></td>
|
|
<td><?php echo $sweating_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Sleep</td>
|
|
<td><?php echo $sleep ?></td>
|
|
<td><?php echo $sleep_1 ?></td>
|
|
<td><?php echo $sleep_2 ?></td>
|
|
<td><?php echo $sleep_3 ?></td>
|
|
<td><?php echo $sleep_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Urination</td>
|
|
<td><?php echo $urination ?></td>
|
|
<td><?php echo $urination_1 ?></td>
|
|
<td><?php echo $urination_2 ?></td>
|
|
<td><?php echo $urination_3 ?></td>
|
|
<td><?php echo $urination_4 ?></td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
<h2 style="font-size: 12px;"><b>2. Gastro INTESTINAL:</b></h2>
|
|
<table border="1" width="100%" cellspacing="0">
|
|
|
|
|
|
|
|
<tr>
|
|
<td style="width: 80%;">Nausea </td>
|
|
<td style="width: 50%;"><?php echo $nausea ?></td>
|
|
<td style="width: 50%;"><?php echo $nausea_1 ?></td>
|
|
<td style="width: 50%;"><?php echo $nausea_2 ?></td>
|
|
<td style="width: 50%;"><?php echo $nausea_3 ?></td>
|
|
<td style="width: 50%;"><?php echo $nausea_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Vomiting</td>
|
|
<td><?php echo $vomiting ?></td>
|
|
<td><?php echo $vomiting_1 ?></td>
|
|
<td><?php echo $vomiting_2 ?></td>
|
|
<td><?php echo $vomiting_3 ?></td>
|
|
<td><?php echo $vomiting_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Appetite</td>
|
|
<td><?php echo $appetite ?></td>
|
|
<td><?php echo $appetite_1 ?></td>
|
|
<td><?php echo $appetite_2 ?></td>
|
|
<td><?php echo $appetite_3 ?></td>
|
|
<td><?php echo $appetite_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Taste </td>
|
|
<td><?php echo $taste ?></td>
|
|
<td><?php echo $taste_1 ?></td>
|
|
<td><?php echo $taste_2 ?></td>
|
|
<td><?php echo $taste_3 ?></td>
|
|
<td><?php echo $taste_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Pain in Abdomen </td>
|
|
<td><?php echo $pain_in_abdomen ?></td>
|
|
<td><?php echo $pain_in_abdomen_1 ?></td>
|
|
<td><?php echo $pain_in_abdomen_2 ?></td>
|
|
<td><?php echo $pain_in_abdomen_3 ?></td>
|
|
<td><?php echo $pain_in_abdomen_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Bowel movement </td>
|
|
<td><?php echo $bowel_movement ?></td>
|
|
<td><?php echo $bowel_movement_1 ?></td>
|
|
<td><?php echo $bowel_movement_2 ?></td>
|
|
<td><?php echo $bowel_movement_3 ?></td>
|
|
<td><?php echo $bowel_movement_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Liver </td>
|
|
<td><?php echo $liver ?></td>
|
|
<td><?php echo $liver_1 ?></td>
|
|
<td><?php echo $liver_2 ?></td>
|
|
<td><?php echo $liver_3 ?></td>
|
|
<td><?php echo $liver_3 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Spleen </td>
|
|
<td><?php echo $spleen ?></td>
|
|
<td><?php echo $spleen_1 ?></td>
|
|
<td><?php echo $spleen_2 ?></td>
|
|
<td><?php echo $spleen_3 ?></td>
|
|
<td><?php echo $spleen_4 ?></td>
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
<h2 style="font-size: 12px;"><b>3. CARDIO RESPIRATORY:</b></h2>
|
|
<table border="1" width="100%" cellspacing="0">
|
|
|
|
<tr>
|
|
<td style="width: 80px;"> </td>
|
|
<td style="width: 50px;">P.E.</td>
|
|
<td style="width: 50px;">I</td>
|
|
<td style="width: 50px;">II</td>
|
|
<td style="width: 50px;">III</td>
|
|
<td style="width: 50px;">IV</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Date</td>
|
|
<td><?php echo $chechup_form_date ?></td>
|
|
<td><?php echo $chechup_form_date_1 ?></td>
|
|
<td><?php echo $chechup_form_date_2 ?></td>
|
|
<td><?php echo $chechup_form_date_3 ?></td>
|
|
<td><?php echo $chechup_form_date_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Nasal Discharge </td>
|
|
<td><?php echo $nasal_discharge ?></td>
|
|
<td><?php echo $nasal_discharge_1 ?></td>
|
|
<td><?php echo $nasal_discharge_2 ?></td>
|
|
<td><?php echo $nasal_discharge_3 ?></td>
|
|
<td><?php echo $nasal_discharge_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Wheeze</td>
|
|
<td><?php echo $wheeze ?></td>
|
|
<td><?php echo $wheeze_1 ?></td>
|
|
<td><?php echo $wheeze_2 ?></td>
|
|
<td><?php echo $wheeze_3 ?></td>
|
|
<td><?php echo $wheeze_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Cough</td>
|
|
<td><?php echo $cough ?></td>
|
|
<td><?php echo $cough_1 ?></td>
|
|
<td><?php echo $cough_2 ?></td>
|
|
<td><?php echo $cough_3 ?></td>
|
|
<td><?php echo $cough_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Expectoration</td>
|
|
<td><?php echo $expectoration ?></td>
|
|
<td><?php echo $expectoration_1 ?></td>
|
|
<td><?php echo $expectoration_2 ?></td>
|
|
<td><?php echo $expectoration_3 ?></td>
|
|
<td><?php echo $expectoration_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Tightness of chest </td>
|
|
<td><?php echo $tightness_of_chest ?></td>
|
|
<td><?php echo $tightness_of_chest_1 ?></td>
|
|
<td><?php echo $tightness_of_chest_2 ?></td>
|
|
<td><?php echo $tightness_of_chest_3 ?></td>
|
|
<td><?php echo $tightness_of_chest_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Dyspnoea</td>
|
|
<td><?php echo $dyspnoea ?></td>
|
|
<td><?php echo $dyspnoea_1 ?></td>
|
|
<td><?php echo $dyspnoea_2 ?></td>
|
|
<td><?php echo $dyspnoea_3 ?></td>
|
|
<td><?php echo $dyspnoea_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Palpitation</td>
|
|
<td><?php echo $palpitation ?></td>
|
|
<td><?php echo $palpitation_1 ?></td>
|
|
<td><?php echo $palpitation_2 ?></td>
|
|
<td><?php echo $palpitation_3 ?></td>
|
|
<td><?php echo $palpitation_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Heart</td>
|
|
<td><?php echo $heart ?></td>
|
|
<td><?php echo $heart_1 ?></td>
|
|
<td><?php echo $heart_2 ?></td>
|
|
<td><?php echo $heart_3 ?></td>
|
|
<td><?php echo $heart_3 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Cyanosis</td>
|
|
<td><?php echo $cyanosis ?></td>
|
|
<td><?php echo $cyanosis_1 ?></td>
|
|
<td><?php echo $cyanosis_2 ?></td>
|
|
<td><?php echo $cyanosis_3 ?></td>
|
|
<td><?php echo $cyanosis_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Tachycardia / Bradycardia</td>
|
|
<td><?php echo $tachycardia_bradycardia ?></td>
|
|
<td><?php echo $tachycardia_bradycardia_1 ?></td>
|
|
<td><?php echo $tachycardia_bradycardia_2 ?></td>
|
|
<td><?php echo $tachycardia_bradycardia_3 ?></td>
|
|
<td><?php echo $tachycardia_bradycardia_4 ?></td>
|
|
</tr>
|
|
|
|
</table>
|
|
<br>
|
|
<div class="page-break"></div>
|
|
|
|
<h2 style="font-size: 12px;"><b>4. NEURO MUSCULAR: </b></h2>
|
|
<table border="1" width="100%" cellspacing="0">
|
|
|
|
|
|
|
|
<tr>
|
|
<td style="width: 80%;">Headache </td>
|
|
<td style="width: 50%;"><?php echo $nasal_discharge ?></td>
|
|
<td style="width: 50%;"><?php echo $nasal_discharge_1 ?></td>
|
|
<td style="width: 50%;"><?php echo $nasal_discharge_2 ?></td>
|
|
<td style="width: 50%;"><?php echo $nasal_discharge_3 ?></td>
|
|
<td style="width: 50%;"><?php echo $nasal_discharge_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Dizziness</td>
|
|
<td><?php echo $diziness ?></td>
|
|
<td><?php echo $diziness_1 ?></td>
|
|
<td><?php echo $diziness_2 ?></td>
|
|
<td><?php echo $diziness_3 ?></td>
|
|
<td><?php echo $diziness_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Irritability</td>
|
|
<td><?php echo $irritability ?></td>
|
|
<td><?php echo $irritability_1 ?></td>
|
|
<td><?php echo $irritability_2 ?></td>
|
|
<td><?php echo $irritability_3 ?></td>
|
|
<td><?php echo $irritability_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Twitching </td>
|
|
<td><?php echo $twitching ?></td>
|
|
<td><?php echo $twitching_1 ?></td>
|
|
<td><?php echo $twitching_2 ?></td>
|
|
<td><?php echo $twitching_3 ?></td>
|
|
<td><?php echo $twitching_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Tremors</td>
|
|
<td><?php echo $tremors ?></td>
|
|
<td><?php echo $tremors_1 ?></td>
|
|
<td><?php echo $tremors_2 ?></td>
|
|
<td><?php echo $tremors_3 ?></td>
|
|
<td><?php echo $tremors_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Convulsions </td>
|
|
<td><?php echo $convulsions ?></td>
|
|
<td><?php echo $convulsions_1 ?></td>
|
|
<td><?php echo $convulsions_2 ?></td>
|
|
<td><?php echo $convulsions_3 ?></td>
|
|
<td><?php echo $convulsions_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Paresthesia </td>
|
|
<td><?php echo $paraesthesia ?></td>
|
|
<td><?php echo $paraesthesia_1 ?></td>
|
|
<td><?php echo $paraesthesia_2 ?></td>
|
|
<td><?php echo $paraesthesia_3 ?></td>
|
|
<td><?php echo $paraesthesia_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Hallucination </td>
|
|
<td><?php echo $hallucinations ?></td>
|
|
<td><?php echo $hallucinations_1 ?></td>
|
|
<td><?php echo $hallucinations_2 ?></td>
|
|
<td><?php echo $hallucinations_3 ?></td>
|
|
<td><?php echo $hallucinations_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>H/o Unconsciousness </td>
|
|
<td><?php echo $h_o_unconsciousness_1 ?></td>
|
|
<td><?php echo $h_o_unconsciousness_1_1 ?></td>
|
|
<td><?php echo $h_o_unconsciousness_1_2 ?></td>
|
|
<td><?php echo $h_o_unconsciousness_1_3 ?></td>
|
|
<td><?php echo $h_o_unconsciousness_1_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Superficial Reflexes </td>
|
|
<td><?php echo $superficial_reflexes ?></td>
|
|
<td><?php echo $superficial_reflexes_1 ?></td>
|
|
<td><?php echo $superficial_reflexes_2 ?></td>
|
|
<td><?php echo $superficial_reflexes_3 ?></td>
|
|
<td><?php echo $superficial_reflexes_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Deep reflexes </td>
|
|
<td><?php echo $deep_reflexes ?></td>
|
|
<td><?php echo $deep_reflexes_1 ?></td>
|
|
<td><?php echo $deep_reflexes_2 ?></td>
|
|
<td><?php echo $deep_reflexes_3 ?></td>
|
|
<td><?php echo $deep_reflexes_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Co-ordination </td>
|
|
<td><?php echo $co_ordination ?></td>
|
|
<td><?php echo $co_ordination_1 ?></td>
|
|
<td><?php echo $co_ordination_2 ?></td>
|
|
<td><?php echo $co_ordination_3 ?></td>
|
|
<td><?php echo $co_ordination_4 ?></td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
<h2 style="font-size: 12px;"><b>5. EYE: </b></h2>
|
|
<table border="1" width="100%" cellspacing="0">
|
|
|
|
|
|
|
|
<tr>
|
|
<td style="width: 80%;">Pupil </td>
|
|
<td style="width: 50%;"><?php echo $pupil ?></td>
|
|
<td style="width: 50%;"><?php echo $pupil_1 ?></td>
|
|
<td style="width: 50%;"><?php echo $pupil_2 ?></td>
|
|
<td style="width: 50%;"><?php echo $pupil_3 ?></td>
|
|
<td style="width: 50%;"><?php echo $pupil_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Lachrymation</td>
|
|
<td><?php echo $lachrymation ?></td>
|
|
<td><?php echo $lachrymation_1 ?></td>
|
|
<td><?php echo $lachrymation_2 ?></td>
|
|
<td><?php echo $lachrymation_3 ?></td>
|
|
<td><?php echo $lachrymation_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Double vision </td>
|
|
<td><?php echo $double_vision ?></td>
|
|
<td><?php echo $double_vision_1 ?></td>
|
|
<td><?php echo $double_vision_2 ?></td>
|
|
<td><?php echo $double_vision_3 ?></td>
|
|
<td><?php echo $double_vision_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Blurred vision </td>
|
|
<td><?php echo $bullred_vision ?></td>
|
|
<td><?php echo $bullred_vision_1 ?></td>
|
|
<td><?php echo $bullred_vision_2 ?></td>
|
|
<td><?php echo $bullred_vision_3 ?></td>
|
|
<td><?php echo $bullred_vision_4 ?></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
|
|
<h2 style="font-size: 12px;"><b>6. PSYCHOLOGICAL</b></h2>
|
|
<table border="1" width="100%" cellspacing="0">
|
|
|
|
|
|
|
|
<tr>
|
|
<td style="width: 80%;">Temperament </td>
|
|
<td style="width: 50%;"><?php echo $temperament ?></td>
|
|
<td style="width: 50%;"><?php echo $temperament_1 ?></td>
|
|
<td style="width: 50%;"><?php echo $temperament_2 ?></td>
|
|
<td style="width: 50%;"><?php echo $temperament_3 ?></td>
|
|
<td style="width: 50%;"><?php echo $temperament_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Judgement</td>
|
|
<td><?php echo $judgement ?></td>
|
|
<td><?php echo $judgement_1 ?></td>
|
|
<td><?php echo $judgement_2 ?></td>
|
|
<td><?php echo $judgement_3 ?></td>
|
|
<td><?php echo $judgement_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Nervousness</td>
|
|
<td><?php echo $nervousness ?></td>
|
|
<td><?php echo $dataArray_1['nervousness']; ?></td>
|
|
<td><?php echo $dataArray_2['nervousness']; ?></td>
|
|
<td><?php echo $dataArray_3['nervousness']; ?></td>
|
|
<td><?php echo $dataArray_4['nervousness']; ?></td>
|
|
|
|
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h2 style="font-size: 12px;"><b>7. KIDNEY</b></h2>
|
|
<table border="1" width="100%" cellspacing="0">
|
|
|
|
|
|
|
|
<tr>
|
|
<td style="width: 80%;">Kidney Condition </td>
|
|
<td style="width: 50%;"><?php echo $kidney_condition ?></td>
|
|
<td style="width: 50%;"><?php echo $kidney_condition_1 ?></td>
|
|
<td style="width: 50%;"><?php echo $kidney_condition_2 ?></td>
|
|
<td style="width: 50%;"><?php echo $kidney_condition_3 ?></td>
|
|
<td style="width: 50%;"><?php echo $kidney_condition_4 ?></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<h2 style="font-size: 12px;"><b>8. INVESTIGATIONS</b></h2>
|
|
<table border="1" width="87%" cellspacing="0">
|
|
|
|
|
|
|
|
<tr>
|
|
<td style="width: 20%"> </td>
|
|
<td style="width: 16%" colspan="5">P.E.</td>
|
|
<td style="width: 16%" colspan="5">I</td>
|
|
<td style="width: 16%" colspan="5">II</td>
|
|
<td style="width: 16%" colspan="5">III</td>
|
|
<td style="width: 16%" colspan="5">IV</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%">Date</td>
|
|
<td style="width: 16%" colspan="5"><?php echo $chechup_form_date ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $chechup_form_date_1 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $chechup_form_date_2 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $chechup_form_date_3 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $chechup_form_date_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%">1) Blood Hb gm%</td>
|
|
<td style="width: 16%" colspan="5"><?php echo $hb_1 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $hb_1_1 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $hb_1_2 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $hb_1_3 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $hb_1_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%">2) Total RBC Count</td>
|
|
<td style="width: 16%" colspan="5"><?php echo $total_rbc_count ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $total_rbc_count_1 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $total_rbc_count_2 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $total_rbc_count_3 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $total_rbc_count_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%">3) TLC</td>
|
|
<td style="width: 16%" colspan="5"><?php echo $tlc_count ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $tlc_count_1 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $tlc_count_2 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $tlc_count_3 ?></td>
|
|
<td style="width: 16%" colspan="5"><?php echo $tlc_count_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 80%" rowspan="2">4) DLC</td>
|
|
|
|
<td style="width: 3%">P</td>
|
|
<td style="width: 3%">E</td>
|
|
<td style="width: 3%">B</td>
|
|
<td style="width: 3%">L</td>
|
|
<td style="width: 3%">M</td>
|
|
|
|
<td style="width: 3%">P</td>
|
|
<td style="width: 3%">E</td>
|
|
<td style="width: 3%">B</td>
|
|
<td style="width: 3%">L</td>
|
|
<td style="width: 3%">M</td>
|
|
|
|
<td style="width: 3%">P</td>
|
|
<td style="width: 3%">E</td>
|
|
<td style="width: 3%">B</td>
|
|
<td style="width: 3%">L</td>
|
|
<td style="width: 3%">M</td>
|
|
|
|
<td style="width: 3%">P</td>
|
|
<td style="width: 3%">E</td>
|
|
<td style="width: 3%">B</td>
|
|
<td style="width: 3%">L</td>
|
|
<td style="width: 3%">M</td>
|
|
|
|
<td style="width: 3%">P</td>
|
|
<td style="width: 3%">E</td>
|
|
<td style="width: 3%">B</td>
|
|
<td style="width: 3%">L</td>
|
|
<td style="width: 3%">M</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $polymorphs_2 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $eosinophil_5 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $basophils_5 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $lymphocyte ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $monocyte ?></td>
|
|
|
|
<td style="width: 3%; padding: 5px;"><?php echo $polymorphs_2_1 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $eosinophil_5_1 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $basophils_5_1 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $lymphocyte_1 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $monocyte_1 ?></td>
|
|
|
|
<td style="width: 3%; padding: 5px;"><?php echo $polymorphs_2_2 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $eosinophil_5_2 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $basophils_5_2 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $lymphocyte_2 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $monocyte_2 ?></td>
|
|
|
|
<td style="width: 3%; padding: 5px;"><?php echo $polymorphs_2_3 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $eosinophil_5_3 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $basophils_5_3 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $lymphocyte_3 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $monocyte_3 ?></td>
|
|
|
|
<td style="width: 3%; padding: 5px;"><?php echo $polymorphs_2_4 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $eosinophil_5_4 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $basophils_5_4 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $lymphocyte_4 ?></td>
|
|
<td style="width: 3%; padding: 5px;"><?php echo $monocyte_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">5) Platelet Count</td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $platelet_count ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $platelet_count_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $platelet_count_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $platelet_count_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $platelet_count_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">6) Reticulocyte Count </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $reticulocyte_count ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $reticulocyte_count_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $reticulocyte_count_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $reticulocyte_count_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $reticulocyte_count_41 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">7) ESR</td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $esr_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $esr_3_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $esr_3_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $esr_3_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $esr_3_41 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">8) Serum Bilirubin T/D </td>
|
|
|
|
<td style="width: 8%;" colspan="3">T</td>
|
|
<td style="width: 8%;" colspan="2">D</td>
|
|
|
|
<td style="width: 8%;" colspan="3">T</td>
|
|
<td style="width: 8%;" colspan="2">D</td>
|
|
|
|
<td style="width: 8%;" colspan="3">T</td>
|
|
<td style="width: 8%;" colspan="2">D</td>
|
|
|
|
<td style="width: 8%;" colspan="3">T</td>
|
|
<td style="width: 8%;" colspan="2">D</td>
|
|
|
|
<td style="width: 8%;" colspan="3">T</td>
|
|
<td style="width: 8%;" colspan="2">D</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;"></td>
|
|
|
|
<td style="width: 8%; padding: 10px;" colspan="3"><?php echo $serum_bilirubin_total ?></td>
|
|
<td style="width: 8%; padding: 10px;" colspan="2"><?php echo $serum_bilirubin_direct ?></td>
|
|
|
|
<td style="width: 8%; padding: 10px;" colspan="3"><?php echo $serum_bilirubin_total_1 ?></td>
|
|
<td style="width: 8%; padding: 10px;" colspan="2"><?php echo $serum_bilirubin_direct_1 ?></td>
|
|
|
|
<td style="width: 8%; padding: 10px;" colspan="3"><?php echo $serum_bilirubin_total_2 ?></td>
|
|
<td style="width: 8%; padding: 10px;" colspan="2"><?php echo $serum_bilirubin_direct_2 ?></td>
|
|
|
|
<td style="width: 8%; padding: 10px;" colspan="3"><?php echo $serum_bilirubin_total_3 ?></td>
|
|
<td style="width: 8%; padding: 10px;" colspan="2"><?php echo $serum_bilirubin_direct_3 ?></td>
|
|
|
|
<td style="width: 8%; padding: 10px;" colspan="3"><?php echo $serum_bilirubin_total_4 ?></td>
|
|
<td style="width: 8%; padding: 10px;" colspan="2"><?php echo $serum_bilirubin_direct_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">9) Serum Alk Phosp</td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_creatinine_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_creatinine_1_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_creatinine_1_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_creatinine_1_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_creatinine_1_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">10) S.G.O.T. </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $sgot_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $sgot_1_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $sgot_1_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $sgot_1_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $sgot_1_41 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">11) S.G.P.T. </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $sgpt_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $sgpt_1_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $sgpt_1_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $sgpt_1_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $sgpt_1_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">12) Cholesterol </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $cholesterol ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $cholesterol_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $cholesterol_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $cholesterol_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $cholesterol_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">13) Total Protein </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $total_protein ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $total_protein_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $total_protein_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $total_protein_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $total_protein_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">14) Serum Albumin </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_albumin ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_albumin_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_albumin_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_albumin_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_albumin_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">15) Blood Urea </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $blood_urea ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $blood_urea_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $blood_urea_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $blood_urea_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $blood_urea_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">16) Serum Creatinine </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_creatinine_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_creatinine_1_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_creatinine_1_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_creatinine_1_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_creatinine_1_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">17) Blood Sugar </td>
|
|
|
|
<td style="width: 30px;" colspan="2">F</td>
|
|
<td style="width: 30px;" colspan="2">PL</td>
|
|
<td style="width: 30px;" colspan="1">R</td>
|
|
|
|
<td style="width: 30px;" colspan="2">F</td>
|
|
<td style="width: 30px;" colspan="2">PL</td>
|
|
<td style="width: 30px;" colspan="1">R</td>
|
|
|
|
<td style="width: 30px;" colspan="2">F</td>
|
|
<td style="width: 30px;" colspan="2">PL</td>
|
|
<td style="width: 30px;" colspan="1">R</td>
|
|
|
|
<td style="width: 30px;" colspan="2">F</td>
|
|
<td style="width: 30px;" colspan="2">PL</td>
|
|
<td style="width: 30px;" colspan="1">R</td>
|
|
|
|
<td style="width: 30px;" colspan="2">F</td>
|
|
<td style="width: 30px;" colspan="2">PL</td>
|
|
<td style="width: 30px;" colspan="1">R</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;"></td>
|
|
|
|
|
|
<td style="width: 5%; padding: 10px;" colspan="2"><?php echo $fasting_2 ?></td>
|
|
<td style="width: 5%; padding: 10px;" colspan="2"><?php echo $post_prandial_2 ?></td>
|
|
<td style="width: 5%; padding: 10px;" colspan="1"><?php echo $rbs_2 ?></td>
|
|
|
|
<td style="width: 5%; padding: 10px;" colspan="2"><?php echo $fasting_2_1 ?></td>
|
|
<td style="width: 5%; padding: 10px;" colspan="2"><?php echo $post_prandial_2_1 ?></td>
|
|
<td style="width: 5%; padding: 10px;" colspan="1"><?php echo $rbs_2_1 ?></td>
|
|
|
|
<td style="width: 5%; padding: 10px;" colspan="2"><?php echo $fasting_2_2 ?></td>
|
|
<td style="width: 5%; padding: 10px;" colspan="2"><?php echo $post_prandial_2_2 ?></td>
|
|
<td style="width: 5%; padding: 10px;" colspan="1"><?php echo $rbs_2_2 ?></td>
|
|
|
|
<td style="width: 5%; padding: 10px;" colspan="2"><?php echo $fasting_2_3 ?></td>
|
|
<td style="width: 5%; padding: 10px;" colspan="2"><?php echo $post_prandial_2_3 ?></td>
|
|
<td style="width: 5%; padding: 10px;" colspan="1"><?php echo $rbs_2_3 ?></td>
|
|
|
|
<td style="width: 5%; padding: 10px;" colspan="2"><?php echo $fasting_2_4 ?></td>
|
|
<td style="width: 5%; padding: 10px;" colspan="2"><?php echo $post_prandial_2_4 ?></td>
|
|
<td style="width: 5%; padding: 10px;" colspan="1"><?php echo $rbs_2_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">18) HbA1C </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $hba1c_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $hba1c_1_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $hba1c_1_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $hba1c_1_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $hba1c_1_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">19) Serum Cholinesterase </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_cholinesterase ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_cholinesterase_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_cholinesterase_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_cholinesterase_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $serum_cholinesterase_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100;" colspan="26">20) Blood residue estimation (organochlorine once In year) </td>
|
|
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;"><b>21) Urine Examination </b></td>
|
|
<td style="width: 16%;" colspan="5"><?php ?></td>
|
|
<td style="width: 16%;" colspan="5"></td>
|
|
<td style="width: 16%;" colspan="5"></td>
|
|
<td style="width: 16%;" colspan="5"></td>
|
|
<td style="width: 16%;" colspan="5"></td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td style="width: 20%;"> a) Routine </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $routine ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $routine_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $routine_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $routine_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $routine_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;"> b) Microscopic </td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $microscopic ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $microscopic_1 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $microscopic_2 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $microscopic_3 ?></td>
|
|
<td style="width: 16%;" colspan="5"><?php echo $microscopic_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100%;" colspan="26">22) X -ray chest (PA View) Once in a year : <?php echo $x_ray_chest_pa_view_once_in_year ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100%;" colspan="26">23) USG Abdomen (Once in a yoar): <?php echo $usg_abdomen ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100%;" colspan="26">24) 1)Serum cholinesterase level should be meAsured in Six monthly intervals in case of organophosphorus, carbamate group of insecticides. <br>
|
|
2) General remarks of the Doctor in light of above examination, Serum cholinesterase <br>
|
|
3) In organochlorine group of insecticides the blood residue estimation should be done once a year.
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100%; padding: 30px;" colspan="26">III: DIAGNOSIS
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">IV: Advice given to : </td>
|
|
<td style="width: 20%;" colspan="5">P.E.</td>
|
|
<td style="width: 20%;" colspan="5">I</td>
|
|
<td style="width: 20%;" colspan="5">II</td>
|
|
<td style="width: 20%;" colspan="5">III</td>
|
|
<td style="width: 20%;" colspan="5">IV</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">1. The employee </td>
|
|
<td style="width: 20%;" colspan="5"><?php echo $advice_given_to_employee ?></td>
|
|
<td style="width: 20%;" colspan="5"><?php echo $advice_given_to_employee_1 ?></td>
|
|
<td style="width: 20%;" colspan="5"><?php echo $advice_given_to_employee_2 ?></td>
|
|
<td style="width: 20%;" colspan="5"><?php echo $advice_given_to_employee_3 ?></td>
|
|
<td style="width: 20%;" colspan="5"><?php echo $advice_given_to_employee_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;">2. The employer </td>
|
|
<td style="width: 20%;" colspan="5"><?php echo $advice_given_to_employer ?></td>
|
|
<td style="width: 20%;" colspan="5"><?php echo $advice_given_to_employer_1 ?></td>
|
|
<td style="width: 20%;" colspan="5"><?php echo $advice_given_to_employer_2 ?></td>
|
|
<td style="width: 20%;" colspan="5"><?php echo $advice_given_to_employer_3 ?></td>
|
|
<td style="width: 20%;" colspan="5"><?php echo $advice_given_to_employer_4 ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 20%;"> <b> Signature of the Doctor with Date and seal </b></td>
|
|
<td style="width: 20%;" colspan="5"><br><br><br></td>
|
|
<td style="width: 20%;" colspan="5"><br><br><br></td>
|
|
<td style="width: 20%;" colspan="5"><br><br><br></td>
|
|
<td style="width: 20%;" colspan="5"><br><br><br></td>
|
|
<td style="width: 20%;" colspan="5"><br><br><br></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100%;" colspan="26">V: Acknowledgement to be given by </td>
|
|
</tr>
|
|
<?php
|
|
|
|
$sql_employee_key11 = "SELECT * FROM checkup_form_key_value WHERE checkup_form_id ='" . $checkup_id . "'";
|
|
|
|
error_log("get_data_key:" . $sql_employee_key11);
|
|
|
|
|
|
$res_data_key11 = mysqli_query($conn, $sql_employee_key11);
|
|
|
|
while ($rows_exa_key11 = mysqli_fetch_array($res_data_key11)) {
|
|
|
|
if ($rows_exa_key11['checkup_form_key'] == 'acknowedgement_to_be_given_by_employee') {
|
|
|
|
$acknowedgement_to_be_given_by_employee = $rows_exa_key11['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key11['checkup_form_key'] == 'acknowedgement_to_be_given_by_employer') {
|
|
|
|
$acknowedgement_to_be_given_by_employer = $rows_exa_key11['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key11['checkup_form_key'] == 'acknowedgement_to_be_given_by_licensing_officer') {
|
|
|
|
$acknowedgement_to_be_given_by_licensing_officer = $rows_exa_key11['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key11['checkup_form_key'] == 'action_taken_by_the_employer_on_doctors_advice') {
|
|
|
|
$action_taken_by_the_employer_on_doctors_advice = $rows_exa_key11['checkup_form_value'];
|
|
}
|
|
}
|
|
|
|
?>
|
|
|
|
<tr>
|
|
<td style="width: 100px;" colspan="26">1. The employee: <?php echo $acknowedgement_to_be_given_by_employee ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100px;" colspan="26">2. The employer <?php echo $acknowedgement_to_be_given_by_employer ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100px;" colspan="26">3. The Licensing Officer <?php echo $acknowedgement_to_be_given_by_licensing_officer ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100px;" colspan="26">VI: Action taken by the employer on Doctor's advice: <?php echo $action_taken_by_the_employer_on_doctors_advice ?> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100px; padding: 10px;" colspan="26"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100px; padding: 10px;" colspan="26"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 100px; padding: 10px;" colspan="26"></td>
|
|
</tr>
|
|
<?php
|
|
$query = "select e.emp_sign,e.image_type from employee_signature e left join checkup_form b on e.emp_id = b.doc_attend where b.checkup_id ='" . $checkup_id . "'";
|
|
|
|
|
|
$result1 = mysqli_query($conn, $query);
|
|
|
|
$sign_row = mysqli_fetch_array($result1);
|
|
|
|
extract($sign_row);
|
|
|
|
?>
|
|
|
|
<tr>
|
|
<td style="width: 100px;" colspan="26">VII: Certificate by the Doctor : <br>
|
|
|
|
<p>
|
|
Certified that M/s._____________________________________have completed the action as per my / doctor's advice as given above and consequently the patient ha_ shown improvement /recovered from the ailment
|
|
</p><br><br><br><br>
|
|
|
|
<span style="text-align: right;"><img id='sign' style="text-align:center; width:150px; height:80px;" class="card-img-bottm" src="data:<?= $sign_row['image_type']; ?>;base64,<?= base64_encode($sign_row['emp_sign']) ?>"><br> <b> Factory Medical Officer </b></span>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
<form id="employeeDetailsFormPdf" action="" method="POST">
|
|
|
|
<input type="hidden" name="htmlText" id="htmlText" />
|
|
|
|
</form>
|
|
</div>
|
|
<script>
|
|
formSubmit();
|
|
|
|
function formSubmit() {
|
|
|
|
$("#htmlText").val($("#opd_form").html());
|
|
|
|
document.forms['employeeDetailsFormPdf'].action = "pdf_dynamic.php";
|
|
|
|
document.forms['employeeDetailsFormPdf'].method = "post";
|
|
|
|
document.forms['employeeDetailsFormPdf'].submit();
|
|
|
|
}
|
|
</script>
|