@extends('hms.layout')
@section('title','Historical patient records')
@section('content')
Historical patient records
Search reviewed text from legacy records and scanned documents. Historical entries do not create current prescriptions, test orders, charges or stock movements.
@if($canUpload)
Upload a scanned or digital record
Scan paper using a document scanner or phone, then upload the file. PDF (up to 10 pages), JPEG, PNG, TIFF, Word DOCX and UTF-8 TXT; up to 10 MB. Confirm the patient number before uploading. A physician reviews extracted text against the original before saving searchable entries.
@endif
@forelse($entries as $entry)
{{ $entry->title }}
{{ $entry->content }}
@if($entry->document_id)Original document & review history
@elseLegacy reference: {{ $entry->external_reference }}
@endif
@emptyNo reviewed historical entries match this search.
@endforelse
{{ $entries->links() }}
Recent source documents / extraction queue
@forelse($documents as $doc){{ $doc->name }} · {{ str_replace('_',' ',$doc->status) }} · {{ $doc->created_at }}
@emptyNo source documents in this scope.
@endforelse
@endsection