4 * Copyright (C) 2016-2017 Jerry Padgett <sjpadgett@gmail.com>
6 * LICENSE: This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 3
9 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://opensource.org/licenses/gpl-license.php>;.
18 * @author Jerry Padgett <sjpadgett@gmail.com>
19 * @link http://www.open-emr.org
22 //namespace OnsitePortal;
24 require_once("verify_session.php");
25 require_once("./../library/report.inc");
26 require_once("./../library/options.inc.php");
27 require_once("./../library/lists.inc");
28 require_once("./../library/formatting.inc.php");
29 require_once("./../custom/code_types.inc.php");
30 require_once("./../library/forms.inc");
31 require_once("./../library/patient.inc");
33 require_once("./lib/appsql.class.php");
34 require_once("./lib/section_fetch.class.php");
35 // $fetchsec = new FetchSection ();
36 $appsql = new ApplicationTable();
37 $pending = $appsql->getPortalAudit($pid, 'review');
42 .insurance
.table
.bold
{
47 .insurance
.table
.text
{
50 .demographics
.groupname
.bold
{
54 .demographics table
.bold
{
61 .demographics table
.text
{
67 .demographics
.table td
{
73 .demographics
.panel
-heading
{
81 <div
class='demographics table-responsive' id
='DEM'>
82 <div
class="col-sm-9">
85 $result1 = getPatientData($pid);
86 $result2 = getEmployerData($pid);
88 <div
class="panel panel-primary" >
89 <header
class="panel-heading"><?php
echo xlt('Profile Demographics'); ?
>
91 echo '<button type="button" id="editDems" class="btn btn-danger btn-xs pull-right" style="color:white;font-size:14px">' . xlt('Pending Review') . '</button>';
93 echo '<button type="button" id="editDems" class="btn btn-success btn-xs pull-right" style="color:white;font-size:14px">' . xlt('Revise') . '</button>';
97 <div
class="panel-body " id
="dempanel">
98 <table
class='table table-responsive table-condensed'>
100 display_layout_rows('DEM', $result1, $result2);
104 <div
class="panel-footer"></div
>
109 <div
class="col-sm-12">
110 <div
class='insurance table-condensed table-responsive'>
111 <div
class="panel panel-primary">
112 <header
class="panel-heading"><?php
echo xlt('Primary Insurance');?
></header
>
113 <div
class="panel-body">
115 printRecDataOne($insurance_data_array, getRecInsuranceData($pid, "primary"), $N);
119 <div
class="panel panel-primary">
120 <header
class="panel-heading"><?php
echo xlt('Secondary Insurance');?
></header
>
121 <div
class="panel-body">
123 printRecDataOne($insurance_data_array, getRecInsuranceData($pid, "secondary"), $N);
126 <div
class="panel panel-primary">
127 <header
class="panel-heading"><?php
echo xlt('Tertiary Insurance');?
></header
>
128 <div
class="panel-body">
130 printRecDataOne($insurance_data_array, getRecInsuranceData($pid, "tertiary"), $N);
138 echo "<div class='immunizations'><h4>" . xlt('Patient Immunization') . '</h4>';
139 $result = FetchSection
::getImmunizations($pid);
140 foreach ($result as $row) {
141 echo text($row{'administered_formatted'}) . ' : ';
142 echo text($row['code_text']) . ' : ';
143 echo text($row['note']) . ' : ';
144 echo text($row['completion_status']) . '<br>';