@extends('hms.layout') @section('title','Telemedicine') @section('content')

Manage remote consultations. The meeting is hosted by your approved video provider; HMS does not record video or audio.

@if(session('invitation_url'))
Patient invitation (shown once):

Send through a verified private channel. Generating another link invalidates the previous one.

@endif

Remote appointments

@forelse($sessions as $s) @empty@endforelse
AppointmentPatientStatusRemote consultation
{{ \Illuminate\Support\Carbon::parse($s->scheduled_at)->format('d M Y H:i') }}{{ $s->first_name }} {{ $s->last_name }}{{ str_replace('_',' ',$s->status) }}
Visit: {{ str_replace('_',' ',$s->appointment_status) }}
@if(auth()->id()===$s->physician_user_id && $s->appointment_status==='checked_in')
Record remote vital signs (optional)
@csrf

Enter only measurements actually available. Leave unavailable measurements blank.

@foreach(['temperature_c'=>'Temperature °C','systolic_bp'=>'Systolic BP','diastolic_bp'=>'Diastolic BP','pulse_bpm'=>'Pulse','respiratory_rate'=>'Respiratory rate','oxygen_saturation'=>'SpO₂ %','weight_kg'=>'Weight kg','height_cm'=>'Height cm'] as $field=>$label)
@endforeach

For remote visits, triage is optional. The assigned physician may start the clinical encounter without vital signs.

@endif @if(auth()->id()===$s->physician_user_id || auth()->user()->is_platform_admin) Open built-in video room
@csrf
@csrf
@endif @if(in_array($s->status,['scheduled','ready']))
@csrf
@if(!$s->consent_recorded_at)
@csrf
@else
Consent recorded
@endif @endif @if($s->meeting_url)Open video meeting ↗@endif @if($s->status==='ready' && $s->consent_recorded_at && $s->meeting_url && $s->appointment_status==='checked_in')
@csrf
@endif @if($s->status==='in_progress')
@csrf
@endif
No remote appointments yet. Book a telemedicine appointment from the Appointments page.
{{ $sessions->links() }}

Before clinical use, verify the video provider's privacy and healthcare data-processing arrangements. Patient check-in, triage, consultation notes, prescriptions and billing remain in their existing HMS workflows.

@endsection