92 lines
2.4 KiB
PHP
92 lines
2.4 KiB
PHP
<?php include('techsyn_header.php'); ?>
|
|
|
|
<!-- Main Content Container for side bar and body-->
|
|
<style>
|
|
input {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
input[type="radio"]:checked+label {
|
|
color: #ff4c30;
|
|
}
|
|
</style>
|
|
<div class="main-container ace-save-state" id="main-container">
|
|
|
|
<script type="text/javascript">
|
|
try {
|
|
ace.settings.loadState('main-container')
|
|
} catch (e) {}
|
|
</script>
|
|
|
|
<?php include('techsyn_sidebar.php'); ?>
|
|
<?php
|
|
|
|
|
|
$sql_patient = "select * from patient_master where id = '" . $_POST['patient_id'] . "'";
|
|
error_log("patient details query" . $sql_patient);
|
|
$result_patient = mysqli_query($conn,$sql_patient);
|
|
$row_patient = mysqli_fetch_assoc($result_patient);
|
|
@extract($row_patient);
|
|
|
|
|
|
|
|
$sql_patient_physical_parameters = "select * from medical_examination where medical_exam_id='" . $_POST['medical_exam_id'] . "'";
|
|
error_log("medical_examination details query" . $sql_patient_physical_parameters);
|
|
$result_patient_physical_parameters = mysqli_query($conn,$sql_patient_physical_parameters);
|
|
$row_patient_physical_parameters = mysqli_fetch_assoc($result_patient_physical_parameters);
|
|
@extract($row_patient_physical_parameters);
|
|
|
|
?>
|
|
<div class="main-content">
|
|
|
|
<div class="main-content-inner">
|
|
|
|
<div class="breadcrumbs ace-save-state" id="breadcrumbs">
|
|
|
|
<ul class="breadcrumb">
|
|
|
|
<li><i class="ace-icon fa fa-home home-icon"></i> <a href="#">Home</a>
|
|
|
|
</li>
|
|
|
|
<li class="#">Patient Visit</li>
|
|
<li class="active">Health Surveillance</li>
|
|
<li class="active"><?= $patient_name ?></li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
<div class="page-content">
|
|
<div class="box box-primary" style="padding: 10px; margin: 2px 0px 50px 5px; width: 99.5%;">
|
|
<div class="box-header with-border">
|
|
<h3 class="box-title">PEME for short duration</h3>
|
|
</div>
|
|
|
|
<div class="mainPanel">
|
|
<div class="panel-group" id="accordion">
|
|
<?php include('patient_profile_panel_receptionist.php'); ?>
|
|
<?php include('patient_past_history_panel.php'); ?>
|
|
<?php include('patient_details_form_ime_short_term.php'); ?>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
|
$("#generate_pdf").on("click", function() {
|
|
|
|
$("#medical_examination_form").submit(function(e) {
|
|
e.preventDefault();
|
|
});
|
|
|
|
|
|
document.forms['medical_exam_form'].action = "peme_short_duration_card.php";
|
|
document.forms['medical_exam_form'].method = "post";
|
|
document.forms['medical_exam_form'].submit();
|
|
|
|
});
|
|
</script>
|