@extends('layouts.app') @section('content')
eRX ID: {{ $prescription['erx_id'] }}
Electronic Prescription System
789 Health Plaza, Los Angeles, CA 90017 • Phone: (555) 999-8888
{{ $prescription['prescriber_name'] }}
{{ $prescription['prescriber_npi'] }}
{{ $prescription['prescriber_dea'] }}
{{ $prescription['prescriber_phone'] }}
{{ $prescription['prescriber_address'] }}
{{ $prescription['patient_name'] }}
{{ $prescription['patient_dob'] }}
{{ $prescription['patient_phone'] }}
{{ $prescription['patient_address'] }}
{{ $prescription['medication'] }}
{{ $prescription['quantity'] }}
{{ $prescription['sig'] }}
{{ $prescription['refills'] }}
Substitution Permitted
{{ $prescription['notes'] }}
{{ $prescription['pharmacy'] }}
Electronically Signed By:
@if(!empty($prescription['signature_path']) && file_exists(public_path($prescription['signature_path']))){{ \Carbon\Carbon::parse($prescription['date_approved'])->format('F d, Y \a\t g:i A') }}
@else{{ $prescription['prescriber_name'] }}
Digital signature on file{{ \Carbon\Carbon::parse($prescription['date_approved'])->format('F d, Y \a\t g:i A') }}
Transmission Method: Electronic (NCPDP SCRIPT)
Verification Code: {{ strtoupper(substr(md5($prescription['erx_id']), 0, 8)) }}