@extends('master')


@section('content')
<?php 
    $ChEncryption = new \App\includes\ChEncryption;
?>
<style type="text/css">
    table{
        width: 100%;
    }
</style>


    <div class="row">
        <div class="large-12 columns">
            <div class="row">
                <div class="small-12 medium-12 large-12 columns">
                    <h4>Patient Data Review </h4>
                </div>
            </div>

            <div class="row">
                <div class="small-12 medium-12 large-12 columns">
                    <p>This screen will allow providers to review patient information and identify baselines where necessary
                    The review screen will only allow providers to modify fields such as baseline and select a provider, 
                    once the data is reviewed a record will be created in the application</p>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="small-6 medium-3 large-3 end columns">
            <a href="{{{URL::to('provider')}}}" class="button expand">Done</a>
        </div>    
    </div>
    <div class="row"><div class="small-6 medium-3 large-3 end columns"><p>{{{$data}}}</p></div></div>
    <div class="row">
      	<div style="overflow:show" class="small-12 medium-12 large-12 columns">
          <table width="100%">
                <thead>
                    <tr>
                        <th>Save</th>
                        <th>Test Date</th>
                        <th>plasma</th>
                        <th>rbc</th>
                        <th>baseline</th>
                        <th>fname</th>
                        <th>mname</th>
                        <th>lname</th>
                        <th>sex</th>
                        <th>DOB</th>
                        <th>phone</th> 
                    </tr>
                </thead>
		<tbody>
                    
                    @foreach($data as $labRecord)
                        <tr>
                                <td>{{$labRecord[0]}}</td> 
                        </tr>
                    @endforeach

                </tbody>
                
            </table>    

      	</div>   
    </div>

    <div class="row">
        <div class="small-6 medium-3 large-3 end columns">
            <a href="{{{URL::to('patient-data/upload')}}}" class="button expand">Done</a>
        </div>    
    </div>

    
@stop
