@extends('layouts.app') @section('title','Pharmacy') @section('content')

Pharmacy & dispensing

@csrf
Medicine catalogue
@csrf
Receive stock batch
@csrf
Create prescription
Facility stock
@forelse($stock as $b)@empty@endforelse
Batch IDMedicineBatchExpiryAvailable
{{ $b->id }}{{ $b->generic_name }} {{ $b->strength }}{{ $b->batch_number }}{{ $b->expiry_date }}{{ $b->quantity_available }}
No stock batches.
Prescription items awaiting / in progress
@forelse($prescriptionItems as $pi)@empty@endforelse
Item IDPatientMedicinePrescribedDispensedStatus
{{ $pi->id }}{{ $pi->patient_number }}{{ $pi->generic_name }}{{ $pi->quantity_prescribed }}{{ $pi->quantity_dispensed }}{{ $pi->prescription_status }}
No prescription items.
Dispense prescription item
@csrf

Uses row locks, medicine/batch matching, expiry checks and remaining quantity checks.

@endsection