mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 10:41:32 +00:00
The official image from streamline does not currently work for the arm64 platform. As a temporary measure, the source code and docker build scripts have been lifted from the official images and are used to build locally. Some additional modifications are made to reduce overall image size, these are documented in docker/README.md
160 lines
6.4 KiB
PHP
160 lines
6.4 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="{{ app()->getLocale() }}">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ base_path('public/uploads/streamline/color/streamline_icon-02.png') }}">
|
|
<title>{{ config('app.name', 'CHI Membership Card - Stre@mline') }}</title>
|
|
<!-- Bootstrap Core CSS -->
|
|
<link href="{{ base_path('public/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
|
|
|
|
<style style="text-css">
|
|
body{
|
|
/*font-size: 1.2em;*/
|
|
}
|
|
|
|
thead {
|
|
/*display: table-header-group;*/
|
|
}
|
|
|
|
tfoot {
|
|
/*display: table-row-group;*/
|
|
}
|
|
|
|
tr {
|
|
/*page-break-inside: avoid;*/
|
|
}
|
|
|
|
th{
|
|
font-weight: bolder;
|
|
font-size: 22px;
|
|
color: #fff;
|
|
}
|
|
|
|
td{
|
|
font-size: 24px;
|
|
padding-top: 5px;
|
|
color: #fff;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div style="background-color: rgb(43, 116, 91); color:#fff">
|
|
<div class="hospital-logo" style="padding-top: 10px;">
|
|
@include('layouts.header_pdf_print')
|
|
</div>
|
|
|
|
<div class="row" style="padding: 30px;">
|
|
<div class="col-12" style="padding-top: 10px;">
|
|
<table>
|
|
<tr>
|
|
<td><u>NAME</u></td>
|
|
<td style="padding-left: 15px;"><u>SEX</u></td>
|
|
</tr>
|
|
<tr>
|
|
<th>
|
|
{{ get_full_name($patient->id, "id", "first_name", "last_name", "patients") }}
|
|
</th>
|
|
<th style="padding-left: 15px;">
|
|
{{ $patient->gender == 1 ? "MALE" : "FEMALE" }}
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td style="padding-left: 15px;"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><u>Stre@mline NUMBER</u></td>
|
|
<td style="padding-left: 15px;"><u>DATE OF BIRTH</u></td>
|
|
</tr>
|
|
<tr>
|
|
<th>
|
|
{{ $patient->number }}
|
|
</th>
|
|
<th style="padding-left: 15px;">
|
|
{{ streamline_date($patient->date_of_birth) }}
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td style="padding-left: 10px;"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><u>NIN</u></td>
|
|
<td style="padding-left: 10px;"><u>HOLDER'S SIGNATURE</u></td>
|
|
</tr>
|
|
<tr>
|
|
<th>
|
|
{{ $patient->national_id }}
|
|
</th>
|
|
<th style="padding-left: 10px;">
|
|
{{-- signature --}}
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<br><br><br>
|
|
|
|
|
|
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div style="background-color: rgb(43, 116, 91); padding:10px; padding-top: 120px;">
|
|
<table align="center">
|
|
|
|
<tr>
|
|
<td>HOST HEALTH FACILITY </td>
|
|
<td>
|
|
{{ $hospitalInfo->name }}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>VILLAGE</td>
|
|
<td>
|
|
{{ get_name(get_name($patient->id, "id", "village_id", "patients"), "id", "name", "villages") }}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>DISTRICT</td>
|
|
<td>
|
|
{{ get_name($patient->district_id, "id", "name", "districts") }}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="2" style="background-color: #fff">
|
|
{{ getDNS1DBarcodePNGOtherOption(sprintf("%04u", $patient->id)) }}
|
|
<br>
|
|
<h4 style="color: black">{{ sprintf("%04u", $patient->id) }}</h4>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div style="text-align: center; color: #fff; padding: 10px; font-size: 22px;">
|
|
This card should only be used for identification at a Stre@mline network hospital.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |