1442 lines
55 KiB
PHP
1442 lines
55 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;
|
|
|
|
include('includes/config/config.php');
|
|
|
|
include_once("includes/functions.php");
|
|
|
|
$checkup_id = $_REQUEST['checkup_id'];
|
|
|
|
|
|
|
|
$sql_employee_appointment = "SELECT * FROM checkup_form WHERE checkup_id ='" . $checkup_id . "'";
|
|
|
|
error_log("get_data:" . $sql_employee_appointment);
|
|
|
|
$res_emp_appoint = mysqli_query($conn, $sql_employee_appointment);
|
|
|
|
$rows_emp_appoint = mysqli_fetch_array($res_emp_appoint);
|
|
@extract($rows_emp_appoint);
|
|
|
|
$checkup_date_new = date_format(date_create($checkup_date), "d-M-Y");
|
|
error_log($emp_id);
|
|
|
|
$patient_name = getFieldFromTable('patient_name', 'patient_master', 'id', $emp_id);
|
|
$emp_code = getFieldFromTable('emp_code', 'patient_master', 'id', $emp_id);
|
|
$gender = getFieldFromTable('gender', 'patient_master', 'id', $emp_id);
|
|
$blood_group = getFieldFromTable('blood_group', 'patient_master', 'id', $emp_id);
|
|
$dept_id = getFieldFromTable('dept_id', 'patient_master', 'id', $emp_id);
|
|
$designation_id = getFieldFromTable('designation_id', 'patient_master', 'id', $emp_id);
|
|
|
|
$dept = getFieldFromTable('dept_name', 'department', 'dept_id', $dept_id);
|
|
$designation = getFieldFromTable('designation_name', 'designation', 'designation_id', $designation_id);
|
|
$dob = getFieldFromTable('dob', 'patient_master', 'id', $emp_id);
|
|
|
|
$c = date('Y');
|
|
$y = date('Y', strtotime($dob));
|
|
$age = $c - $y;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$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'] == 'marital_status_5') {
|
|
|
|
$marital_status_5 = getFieldFromTable('parameter_value_name', 'checkup_parameter_value', 'parameter_value_id', $rows_exa_key['checkup_form_value']);
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'no_of_children_male_3') {
|
|
|
|
$no_of_children_male_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'no_of_children_female_3') {
|
|
|
|
$no_of_children_female_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'family_planning_history') {
|
|
|
|
$family_planning_history = getFieldFromTable('parameter_value_name', 'checkup_parameter_value', 'parameter_value_id', $rows_exa_key['checkup_form_value']);
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'diet_2') {
|
|
|
|
$diet_2 = getFieldFromTable('parameter_value_name', 'checkup_parameter_value', 'parameter_value_id', $rows_exa_key['checkup_form_value']);
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'smoking_tobacco') {
|
|
|
|
$smoking_tobacco = getFieldFromTable('parameter_value_name', 'checkup_parameter_value', 'parameter_value_id', $rows_exa_key['checkup_form_value']);
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'tobacco_chewing_pan_gutkha') {
|
|
|
|
$tobacco_chewing_pan_gutkha = getFieldFromTable('parameter_value_name', 'checkup_parameter_value', 'parameter_value_id', $rows_exa_key['checkup_form_value']);
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'liver') {
|
|
|
|
$liver = getFieldFromTable('parameter_value_name', 'checkup_parameter_value', 'parameter_value_id', $rows_exa_key['checkup_form_value']);
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'liver_remarks') {
|
|
|
|
$liver_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'spleen') {
|
|
|
|
$spleen = getFieldFromTable('parameter_value_name', 'checkup_parameter_value', 'parameter_value_id', $rows_exa_key['checkup_form_value']);
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'spleen_remarks') {
|
|
|
|
$spleen_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'since') {
|
|
|
|
$since = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'since_2') {
|
|
|
|
$since_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'smoking_remarks_1') {
|
|
|
|
$smoking_remarks_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'alcohol_remarks') {
|
|
|
|
$alcohol_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'history_of_illness') {
|
|
|
|
$history_of_illness = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'tobacco_chewing_pan_gutkha_remarks') {
|
|
|
|
$tobacco_chewing_pan_gutkha_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'smoking_5') {
|
|
|
|
$smoking_5 = getFieldFromTable('parameter_value_name', 'checkup_parameter_value', 'parameter_value_id', $rows_exa_key['checkup_form_value']);
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'alcohol_5') {
|
|
|
|
$alcohol_5 = getFieldFromTable('parameter_value_name', 'checkup_parameter_value', 'parameter_value_id', $rows_exa_key['checkup_form_value']);
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'since_4') {
|
|
|
|
$since_4 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'smoking_tobacco') {
|
|
|
|
$smoking_tobacco = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'alcohol_2') {
|
|
|
|
$alcohol_2 = getFieldFromTable('parameter_value_name', 'checkup_parameter_value', 'parameter_value_id', $rows_exa_key['checkup_form_value']);
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'since_1') {
|
|
|
|
$since_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'since_5') {
|
|
|
|
$since_5 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'since_7') {
|
|
|
|
$since_7 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'since_8') {
|
|
|
|
$since_8 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'since_9') {
|
|
|
|
$since_9 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'since_10') {
|
|
|
|
$since_10 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'diabetes_3') {
|
|
|
|
$diabetes_3 = 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'] == 'hypertension') {
|
|
|
|
$hypertension = 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'] == 'bronchial_asthma') {
|
|
|
|
$bronchial_asthma = 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'] == 'heart_disease_3') {
|
|
|
|
$heart_disease_3 = 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'] == 'tuberculosis_2') {
|
|
|
|
$tuberculosis_2 = 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'] == 'height') {
|
|
|
|
$height = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'weight') {
|
|
|
|
$weight = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'ent_4') {
|
|
|
|
$ent_4 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'deformities_3') {
|
|
|
|
$deformities_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'teeth_4') {
|
|
|
|
$teeth_4 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'tongue_4') {
|
|
|
|
$tongue_4 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'nails_4') {
|
|
|
|
$nails_4 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'skin') {
|
|
|
|
$skin = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'eyes_1') {
|
|
|
|
$eyes_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'distant_rt_uncorrected') {
|
|
|
|
$distant_rt_uncorrected = 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'] == 'distant_lt_uncorrected') {
|
|
|
|
$distant_lt_uncorrected = 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'] == 'distant_rt_corrected') {
|
|
|
|
$distant_rt_corrected = 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'] == 'distant_lt_corrected') {
|
|
|
|
$distant_lt_corrected = 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'] == 'near_lt_uncorrected') {
|
|
|
|
$near_lt_uncorrected = 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'] == 'near_rt_corrected') {
|
|
|
|
$near_rt_corrected = 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'] == 'near_lt_corrected') {
|
|
|
|
$near_lt_corrected = 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'] == 'near_rt_uncorrected') {
|
|
|
|
$near_rt_uncorrected = 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'] == 'colour_vision_ishihara_chart') {
|
|
|
|
$colour_vision_ishihara_chart = 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'] == 'pulse_5') {
|
|
|
|
$pulse_5 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'spo2_6') {
|
|
|
|
$spo2_6 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'blood_pressure_4') {
|
|
|
|
$blood_pressure_4 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'heart_sound') {
|
|
|
|
$heart_sound = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'murmurs_2') {
|
|
|
|
$murmurs_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'peripheral_pulsations') {
|
|
|
|
$peripheral_pulsations = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'hernia_2') {
|
|
|
|
$hernia_2 = 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'] == 'hernia_remarks') {
|
|
|
|
$hernia_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'hydrocele_2') {
|
|
|
|
$hydrocele_2 = 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'] == 'hydrocele_remarks') {
|
|
|
|
$hydrocele_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'shape_of_chest') {
|
|
|
|
$shape_of_chest = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'chest_of_movements') {
|
|
|
|
$chest_of_movements = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'trachea') {
|
|
|
|
$trachea = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'breath_sounds') {
|
|
|
|
$breath_sounds = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'abnormal_sounds_remarks') {
|
|
|
|
$abnormal_sounds_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'abnormal_sounds') {
|
|
|
|
$abnormal_sounds = 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'] == 'posture_3') {
|
|
|
|
$posture_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'posture_remarks') {
|
|
|
|
$posture_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'gait') {
|
|
|
|
$gait = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'gait_remarks') {
|
|
|
|
$gait_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'spine') {
|
|
|
|
$spine = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'spine_remarks') {
|
|
|
|
$spine_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'ascitis') {
|
|
|
|
$ascitis = 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'] == 'ascitis_remarks') {
|
|
|
|
$ascitis_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'any_lumps') {
|
|
|
|
$any_lumps = 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'] == 'any_lumps_remarks') {
|
|
|
|
$any_lumps_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'higher_functions') {
|
|
|
|
$higher_functions = 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'] == 'higher_functions_remarks') {
|
|
|
|
$higher_functions_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'cranial_nerves') {
|
|
|
|
$cranial_nerves = 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'] == 'cranial_nerves_remarks') {
|
|
|
|
$cranial_nerves_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'sensory_system') {
|
|
|
|
$sensory_system = 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'] == 'sensory_system_remarks') {
|
|
|
|
$sensory_system_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'motor_functions') {
|
|
|
|
$motor_functions = 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'] == 'motor_functions_remarks') {
|
|
|
|
$motor_functions_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'reflexes') {
|
|
|
|
$reflexes = 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'] == 'reflexes_remarks') {
|
|
|
|
$reflexes_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'haemoglobin_3') {
|
|
|
|
$haemoglobin_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'tlc_wbc_count') {
|
|
|
|
$tlc_wbc_count = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'esr_1') {
|
|
|
|
$esr_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'polymorphs_6') {
|
|
|
|
$polymorphs_6 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'platelets') {
|
|
|
|
$platelets = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'lymphocytes_2') {
|
|
|
|
$lymphocytes_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'eosinophil_3') {
|
|
|
|
$eosinophil_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'monocyte_5') {
|
|
|
|
$monocyte_5 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'total_2') {
|
|
|
|
$total_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'basophil_2') {
|
|
|
|
$basophil_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'] == 'sgpt_3') {
|
|
|
|
$sgpt_3 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'serum_creatinine_2') {
|
|
|
|
$serum_creatinine_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'methemoglobin_1') {
|
|
|
|
$methemoglobin_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'if_answer_is_yes_then_give_remarks_2') {
|
|
|
|
$if_answer_is_yes_then_give_remarks_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'if_answer_is_yes_then_give_remarks') {
|
|
|
|
$if_answer_is_yes_then_give_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'abnormality_remarks_1') {
|
|
|
|
$abnormality_remarks_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'abnormality_remarks_2') {
|
|
|
|
$abnormality_remarks_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'g6pd') {
|
|
|
|
$g6pd = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'albumin_2') {
|
|
|
|
$albumin_2 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'sugar_1') {
|
|
|
|
$sugar_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'pus_cells_1') {
|
|
|
|
$pus_cells_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'r_b_c') {
|
|
|
|
$r_b_c = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'fvc') {
|
|
|
|
$fvc = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'fev_1_fvc') {
|
|
|
|
$fev_1_fvc = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'fev_1') {
|
|
|
|
$fev_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'mmf_fef_25_75_1') {
|
|
|
|
$mmf_fef_25_75_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'mmf_fef_25_75') {
|
|
|
|
$mmf_fef_25_75 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'pefr') {
|
|
|
|
$pefr = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'pefr_1') {
|
|
|
|
$pefr_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'mmf_fef_25_75_1') {
|
|
|
|
$mmf_fef_25_75_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'fev_1_fvc_1') {
|
|
|
|
$fev_1_fvc_1 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'fev_1_2') {
|
|
|
|
$fev_1_2 = $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'] == 'advice_remarks') {
|
|
|
|
$advice_remarks = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
|
|
if ($rows_exa_key['checkup_form_key'] == 'r_b_c') {
|
|
|
|
$r_b_c = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'r_b_c') {
|
|
|
|
$r_b_c = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'other_8') {
|
|
|
|
$other_8 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'other_9') {
|
|
|
|
$other_9 = $rows_exa_key['checkup_form_value'];
|
|
}
|
|
if ($rows_exa_key['checkup_form_key'] == 'other_10') {
|
|
|
|
$other_10 = $rows_exa_key['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;
|
|
}
|
|
|
|
h1 {
|
|
text-align: left;
|
|
font-size: 12px;
|
|
vertical-align: top;
|
|
}
|
|
|
|
body {
|
|
border-radius: 5px;
|
|
border: 2px solid #000000;
|
|
|
|
width: 700px;
|
|
|
|
}
|
|
|
|
.page-break {
|
|
page-break-before: always;
|
|
/* or use page-break-after: always; */
|
|
}
|
|
|
|
.outer-border {
|
|
border: 2px solid black;
|
|
/* Set the border style, color, and width */
|
|
padding: 10px;
|
|
/* Optional: Add padding to the div */
|
|
}
|
|
|
|
.box_head {
|
|
width: 320px;
|
|
height: 60px;
|
|
padding: 10px;
|
|
border: 2px solid black;
|
|
margin: 0;
|
|
}
|
|
|
|
.box_head_dd {
|
|
width: 100px;
|
|
height: 100px;
|
|
padding: 15px;
|
|
border: 1px solid black;
|
|
margin: 0;
|
|
}
|
|
|
|
|
|
|
|
/* label {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
input {
|
|
margin-right: 5px;
|
|
} */
|
|
|
|
/* .tbl_tbl {
|
|
border: 1px solid black;
|
|
border-collapse: collapse;
|
|
} */
|
|
</style>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<?php
|
|
$queryc = "select * from company_profile ";
|
|
|
|
$resultc = mysqli_query($conn, $queryc);
|
|
|
|
$row_company = mysqli_fetch_array($resultc);
|
|
|
|
@extract($row_company);
|
|
?>
|
|
|
|
|
|
|
|
<table style="width: 100%;">
|
|
|
|
|
|
|
|
<tr>
|
|
<td style="width: 40%;"> </td>
|
|
<td style="width: 33%;"> <span class="box_head_dd">EMP CODE</span><span class="box_head_dd"><?php echo $emp_code; ?></span></td>
|
|
<td style="width: 26%;"> </td>
|
|
</tr>
|
|
|
|
</table>
|
|
<br>
|
|
|
|
|
|
<table width="100%" cellspacing="0">
|
|
<tr>
|
|
|
|
<td width="20%">
|
|
<?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>
|
|
|
|
<td width="60%" align="center">
|
|
<div style="margin-left: 20px; margin-top: 5px; line-height: 1;">
|
|
<center style="font-size: 18px ; text-transform: capitalize;"><b>
|
|
<?php echo ($row_company['company_name']) ?>
|
|
<br> <span style="font-size: 15px; ;"><?php echo ($row_company['address']) ?></span>
|
|
|
|
|
|
<br>
|
|
</b>
|
|
</center>
|
|
</div>
|
|
</td>
|
|
<td width="20%" align="right">
|
|
<!-- DOM/OHC/PM/03
|
|
<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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <table style="width: 100%; align-items: center;">
|
|
<tr>
|
|
<td>
|
|
<center><b>Factory:</b> B-27-29, MIDC, Dombivli (E.) 421 203, Dist. Thane, Maharashtra, INDIA.</center>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<center><b>Tel.:</b> +91 251 2440001/3/4, 2434835-9, 2803380-6, 6766290, 6766390.</center>
|
|
</td>
|
|
</tr>
|
|
</table> -->
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
<h3>
|
|
<center> <span class="box_head">SIX MONTHLY MEDICAL CHECK UP</span></center>
|
|
</h3>
|
|
<br>
|
|
|
|
|
|
|
|
<table style="text-align: right; width: 100%;">
|
|
<tr>
|
|
<td style="width: 70%;">Name: <u><?php echo $patient_name; ?></u></td>
|
|
<td style="width: 30%;">DEPT.:<u><?php echo $dept; ?></u></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 70%;">DESIGNATION:<u><?php echo $designation; ?></u></td>
|
|
<td style="width: 30%;">BLOOD GROUP.:<u><?php echo $blood_group; ?></u></td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
<hr>
|
|
|
|
<h4>
|
|
<center><u>: PERSONAL HISTORY:</u></center>
|
|
</h4>
|
|
<br>
|
|
|
|
<table style="width: 100%;">
|
|
<tr>
|
|
<td style="width: 50%;"><b>MARITAL STATUS: </b><?php echo $marital_status_5 ?></td>
|
|
<td style="width: 25%;"></td>
|
|
<td style="width: 25%;"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 50%;"><b>NO. OF CHILDREN :</b></td>
|
|
<td style="width: 25%;">
|
|
MALE: <span class="box_head_dd"> <?php echo $no_of_children_male_3; ?> </span>
|
|
</td>
|
|
<td style="width: 25%;">FEMALE: <span class="box_head_dd"> <?php echo $no_of_children_female_3; ?></span></td>
|
|
</tr>
|
|
|
|
</table><br>
|
|
<hr><br>
|
|
|
|
<table style="width: 100%;">
|
|
<tr>
|
|
<td style="width: 50%;"><b>F. P. HISTORY: </b><?php echo $family_planning_history ?></td>
|
|
<td style="width: 50%;"><b>DIET:</b> <?php echo $diet_2 ?> </td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
<br>
|
|
<hr>
|
|
<br>
|
|
|
|
|
|
<table style="width: 100%;">
|
|
<tr>
|
|
<td style="width: 40%;">SMOKING: <u><?php echo $smoking_5 ?></u> </td>
|
|
<td style="width: 18%;">SINCE:<u><?php echo $since_2 ?></u></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 40%;">TOBACCO CHEWING/PAN/GUTKHA :<u><?php echo $tobacco_chewing_pan_gutkha ?></u></td>
|
|
<td style="width: 18%;">SINCE:<u><?php echo $since_2 ?></u></td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 40%;">ALCOHOL: <u><?php echo $alcohol_5 ?></u></td>
|
|
<td style="width: 18%;">SINCE:<u><?php echo $since_4 ?></u></td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" style="width: 40%;">Remarks: <u><?php echo $if_answer_is_yes_then_give_remarks ?></u></td>
|
|
|
|
|
|
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
<hr>
|
|
|
|
<table style="width: 100%;">
|
|
<tr>
|
|
<td>HISTORY OF MAJOR ILLNESS/OPERATION/ACCIDENT: <?php echo $history_of_illness; ?></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<br><br><br>
|
|
<table border="1" width="100%" cellspacing="0">
|
|
<tr>
|
|
<td style="width: 40%;">DISEASE</td>
|
|
<td style="width: 20%;">FAMILY MEMBERS</td>
|
|
<td style="width: 40%;">SINCE</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 40%;">DIABETES</td>
|
|
<td style="width: 20%;"><?php echo $diabetes_3?></td>
|
|
<td style="width: 40%;"><?php echo $since_5?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 40%;">HYPERTENSION </td>
|
|
<td style="width: 20%;"><?php echo $hypertension?></td>
|
|
<td style="width: 40%;"><?php echo $since_7?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 40%;">BRONCHIAL ASTHMA </td>
|
|
<td style="width: 20%;"><?php echo $bronchial_asthma?></td>
|
|
<td style="width: 40%;"><?php echo $since_9?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 40%;">HEART DISEASE </td>
|
|
<td style="width: 20%;"><?php echo $heart_disease_3?></td>
|
|
<td style="width: 40%;"><?php echo $since_8?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 40%;">TUBERCULOSIS </td>
|
|
<td style="width: 20%;"><?php echo $tuberculosis_2?></td>
|
|
<td style="width: 40%;"><?php echo $since_10?></td>
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</table>
|
|
<br>
|
|
<div class="page-break"></div>
|
|
<br>
|
|
|
|
<h2 style="font-size: 12px;"><b>GENERAL EXAMINATION:</b></h2>
|
|
|
|
<table border="1" width="100%" cellspacing="0">
|
|
<tr>
|
|
<td style="width: 33%;">DATE</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $checkup_date_new ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">AGE (YEARS)</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $age ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">HEIGHT (cms)</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $height ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">WEIGHT (kgs)</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $weight ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">ENT</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $ent_4 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">DEFORMITIES</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $deformities_3 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">TEETH</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $teeth_4 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">TONGUE</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $tongue_4 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">NAILS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $nails_4 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">SKIN</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $skin ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">EYES</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $eyes_1 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"></td>
|
|
<td style="width: 20%;">D</td>
|
|
<td style="width: 20%;">N</td>
|
|
<td style="width: 16%;">D</td>
|
|
<td style="width: 17%;">N</td>
|
|
<td style="width: 20%;">D</td>
|
|
<td style="width: 20%;">N</td>
|
|
<td style="width: 16%;">D</td>
|
|
<td style="width: 17%;">N</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">RT</td>
|
|
<td style="width: 20%;"><?php echo $distant_rt_corrected ?></td>
|
|
<td style="width: 20%;"><?php echo $near_rt_corrected ?></td>
|
|
<td style="width: 16%;"><?php echo $distant_rt_uncorrected ?></td>
|
|
<td style="width: 17%;"><?php echo $near_rt_uncorrected ?></td>
|
|
<td style="width: 20%;"> </td>
|
|
<td style="width: 20%;"></td>
|
|
<td style="width: 16%;"></td>
|
|
<td style="width: 17%;"></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">LT</td>
|
|
<td style="width: 20%;"><?php echo $distant_lt_corrected ?></td>
|
|
<td style="width: 20%;"><?php echo $near_lt_corrected ?></td>
|
|
<td style="width: 16%;"><?php echo $distant_lt_uncorrected ?></td>
|
|
<td style="width: 17%;"><?php echo $near_lt_uncorrected ?></td>
|
|
<td style="width: 20%;"> </td>
|
|
<td style="width: 20%;"></td>
|
|
<td style="width: 16%;"></td>
|
|
<td style="width: 17%;"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 33%;"><b>SYSTEMIC EXAMINATION</b></td>
|
|
<td style="width: 50%;" colspan="4"><?php ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"> <b> CVS </b></td>
|
|
<td style="width: 33%;" colspan="8"></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">PULSE: (/min)</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $pulse_5 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">SPO2: (%)</td>
|
|
<td style="width: 50%;" colspan="4"> <?php echo $spo2_6 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">BLOOD PRESSURE mm of Hg</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $blood_pressure_4 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">HEART SOUNDS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $heart_sound ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">MURMURS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $murmurs_2 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">PERIPHERAL PULSATIONS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $peripheral_pulsations ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"><b>GENITO URINARY</b></td>
|
|
<td style="width: 66%;" colspan="8"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">HERNIA</td>
|
|
<td colspan="4" style="width: 4-%;"><?php echo $hernia_2 ?> </td>
|
|
<!-- <td style="width: 18%;"><?php echo $hernia_remarks ?></td> -->
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">HYDROCELE</td>
|
|
<td colspan="4" style="width: 50%;"><?php echo $hydrocele_2 ?> </td>
|
|
<!-- <td style="width: 18%;"><?php echo $hydrocele_remarks ?></td> -->
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">REMARKS </td>
|
|
<td colspan="4" style="width: 50%;"><?php echo $if_answer_is_yes_then_give_remarks_2 ?></td>
|
|
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"><b>RESPIRATORY SYSTEM</b></td>
|
|
<td style="width: 33%;" colspan="8"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"> SHAPE OF CHEST</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $shape_of_chest ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">CHEST MOVEMENTS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $chest_of_movements ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">TRACHEA</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $trachea ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">BREATH SOUNDS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $breath_sounds ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">ABNORMAL SOUNDS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $abnormal_sounds ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">Remarks </td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $abnormal_sounds_remarks ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"><b>LOCOMOTOR SYSTEM</b></td>
|
|
<td style="width: 33%;" colspan="8"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">POSTURE</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $posture_3 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">GAIT</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $gait ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">SPINE</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $spine ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"><b>ABDOMEN</b></td>
|
|
<td style="width: 33%;" colspan="8"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">LIVER</td>
|
|
<td style="width: 50%;" colspan="4" ><?php echo $liver ?> </td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">SPLEEN</td>
|
|
<td style="width: 50%;" colspan="4" ><?php echo $spleen ?> </td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">ASCITIS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $ascitis ?> </td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">ANY LUMPS</td>
|
|
<td style="width: 50%;" colspan="4" ><?php echo $any_lumps ?> </td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">REMARKS </td>
|
|
<td style="width: 50%;" colspan="4" ><?php echo $abnormality_remarks_1 ?> </td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"><b>CNS</b></td>
|
|
<td style="width: 50%;" colspan="8"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">HIGHER FUNCTIONS</td>
|
|
<td colspan="4" style="width: 33%;"><?php echo $higher_functions ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">CRANIAL NERVES</td>
|
|
<td colspan="4" style="width: 50%;"><?php echo $cranial_nerves ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">SENSORY SYSTEM</td>
|
|
<td colspan="4" style="width: 50%;"><?php echo $sensory_system ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">MOTOR FUNCTIONS</td>
|
|
<td colspan="4" style="width: 50%;"><?php echo $motor_functions ?> </td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">REFLEXES</td>
|
|
<td colspan="4" style="width: 50%;"><?php echo $reflexes ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">REMARKS</td>
|
|
<td colspan="4" style="width: 50%;"><?php echo $abnormality_remarks_2 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"><b>INVESTIGATIONS</b></td>
|
|
<td style="width: 66%;" colspan="8"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">HEMOGLOBIN-gm%</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $haemoglobin_3 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">TLC</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $tlc_wbc_count ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">ESR mm. 1st Hour</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $esr_1 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">POLYMORPHS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $polymorphs_6 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">LYMPHOCYTES</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $lymphocytes_2 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">EOSINOPHILS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $eosinophil_3 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">MONOCYTES</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $monocyte_5 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">BASOPHILS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $basophil_2 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">BLOOD SUGAR (R)-mg/dl</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $rbs_2 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">SGPT</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $sgpt_3 ?></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">SERUM CREATININE</td>
|
|
<td style="width: 66%;" colspan="8"><?php echo $serum_creatinine_2 ?></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td style="width: 33%;">METHAEMOGLOBIN</td>
|
|
<td style="width: 66%;" colspan="8"><?php echo $methemoglobin_1 ?></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">G6PD</td>
|
|
<td style="width: 66%;" colspan="8"><?php echo $g6pd ?></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"><b>URINE EXAMINATION</b></td>
|
|
<td style="width: 33%;" colspan="8"><?php ?></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">ALBUMIN</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $albumin_2 ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php ?></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">SUGAR</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $sugar_1 ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php ?></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">PUS CELLS</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $pus_cells_1 ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php ?></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">R.B.C.</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $r_b_c ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php ?></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%; padding: 10px;"></td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $other_8; ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php ?></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%; padding: 10px;"></td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $other_9; ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php ?></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%; padding: 10px;"></td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $other_10; ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php ?></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"><b>PFT:</b></td>
|
|
<td style="width: 66%;" colspan="8"><b>Report:</b></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">(Once in a year)</td>
|
|
<td style="width: 50%;" colspan="4">Observed</td>
|
|
<td style="width: 33%;" colspan="4">%</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">FVC (Liters)</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $fvc ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php echo $fvc_1 ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">FEVI (Liters)</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $fev_1 ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php echo $fev_1_2 ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">FEV1/FVC ( % )</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $fev_1_fvc ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php echo $fev_1_fvc_1 ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">MMF (FEF 25-75%)</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $mmf_fef_25_75 ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php echo $mmf_fef_25_75_1 ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">PEFR -PEFR (Liters)</td>
|
|
<td style="width: 50%;" colspan="4"><?php echo $pefr ?></td>
|
|
<td style="width: 33%;" colspan="4"><?php echo $pefr_1 ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;"><b>X-RAY CHEST</b> <br> (Once in a year)</td>
|
|
<td style="width: 66%;" colspan="8"><?php echo $x_ray_chest_pa_view_once_in_year ?></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">Remark & Advice</td>
|
|
<td style="width: 66%;" colspan="8"><?php echo $advice_remarks ?></td>
|
|
<!-- <td style="width: 33%;" colspan="4"></td> -->
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%; padding: 10px;"></td>
|
|
<td style="width: 50%;" colspan="4"></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 33%;">FMO</td>
|
|
<td style="width: 50%;" colspan="4"></td>
|
|
<td style="width: 33%;" colspan="4"></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 . "'";
|
|
// error_log("Signatures :" . $query);
|
|
|
|
$result1 = mysqli_query($conn, $query);
|
|
|
|
$sign_row = mysqli_fetch_array($result1);
|
|
|
|
extract($sign_row);
|
|
|
|
?>
|
|
|
|
<tr>
|
|
<td style="width: 33%; padding: 20px;"></td>
|
|
<td style="width: 33%;" colspan="4"><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']) ?>"></td>
|
|
<td style="width: 33%;" colspan="4"></td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
|
|
|
|
|
|
<!-- <table style="width: 95%;">
|
|
<tr>
|
|
<td style="width: 80%;"></td>
|
|
<td style="width: 20%; align-items: end;"><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></td>
|
|
</tr>
|
|
</table>
|
|
<table style="width: 100%;">
|
|
<tr>
|
|
<td style="text-align: right;">Factory Medical Officer</td>
|
|
</tr>
|
|
</table> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</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>
|