<?php

return [
    // Module + menu
    'medemergency_module' => 'Emergency',
    'emergency'           => 'Emergency',
    'er_board'            => 'ER Board',
    'new_arrival'         => 'New arrival',

    // Permissions
    'perm_triage'      => 'Triage & register arrivals',
    'perm_board_view'  => 'View & manage the ER board',
    'perm_disposition' => 'Record disposition',

    // Generic
    'save'    => 'Save',
    'cancel'  => 'Cancel',
    'close'   => 'Close',
    'actions' => 'Actions',
    'optional' => 'optional',
    'none'    => '—',

    // Arrivals
    'arrivals_help'     => 'Register an ER arrival. Name is enough to get on the board — link a patient record now or later.',
    'patient_name'      => 'Patient name',
    'phone'             => 'Phone',
    'arrival_mode'      => 'Arrival mode',
    'chief_complaint'   => 'Chief complaint',
    'link_patient'      => 'Link / create a patient record',
    'link_patient_hint' => 'Find an existing contact by phone, or quick-create a contact + patient. Leave off for a fully anonymous arrival.',
    'register_arrival'  => 'Register arrival',
    'arrival_registered' => 'Arrival :no registered.',
    'clinic_missing'    => 'ClinicCore is not installed — arrivals are recorded name-only (no linked patient record).',

    'mode_walk_in'   => 'Walk-in',
    'mode_ambulance' => 'Ambulance',
    'mode_police'    => 'Police',
    'mode_transfer'  => 'Transfer',
    'mode_other'     => 'Other',

    // Board columns
    'board_awaiting_triage'      => 'Awaiting triage',
    'board_to_be_seen'           => 'To be seen',
    'board_in_progress'          => 'In progress',
    'board_pending_results'      => 'Pending results',
    'board_pending_disposition'  => 'Pending disposition',
    'board_admitted_awaiting_bed' => 'Admitted — awaiting bed',
    'board_done'                 => 'Done',

    // Board UI
    'board_help'        => 'Live ER board. Cards are colour-coded by triage acuity and show time-in-department. Use the buttons to advance a patient.',
    'no_visits'         => 'No patients.',
    'time_in_dept'      => 'In dept',
    'untriaged'         => 'Untriaged',
    'triage'            => 'Triage',
    'triage_now'        => 'Triage',
    'view'              => 'View',
    'advance'           => 'Advance',
    'lwbs'              => 'LWBS',
    'lwbs_confirm'      => 'Mark this patient as Left Without Being Seen?',
    'lwbs_recorded'     => 'Recorded as left without being seen.',
    'board_updated'     => 'Board updated.',
    'moved_board'       => 'Moved from :from to :to',
    'visit_closed'      => 'This visit is already closed.',
    'move_to'           => 'Move to',
    'refreshing'        => 'Auto-refreshing',

    // Metrics strip
    'metrics_today'     => "Today",
    'door_to_triage'    => 'Door-to-triage (median)',
    'door_to_doctor'    => 'Door-to-doctor (median)',
    'lwbs_count'        => 'LWBS',
    'arrivals_count'    => 'Arrivals',
    'minutes_short'     => ':n min',
    'no_data'           => '—',

    // Triage form
    'triage_help'       => 'Assess acuity. Vitals drive a suggested level — you may override it. Saving writes a vitals reading and stamps the triage.',
    'triage_level'      => 'Triage level',
    'triage_system'     => 'Triage system',
    'assigned_doctor'   => 'Assigned doctor',
    'suggested_level'   => 'Suggested level',
    'no_suggestion'     => 'No auto-suggestion from the current vitals.',
    'auto_suggest_from_vitals' => 'Auto-suggested from vitals',
    'apply_suggestion'  => 'Apply',
    'vitals'            => 'Vitals',
    'temperature'       => 'Temp (°C)',
    'heart_rate'        => 'HR (bpm)',
    'respiratory_rate'  => 'RR (/min)',
    'bp_systolic'       => 'BP systolic',
    'bp_diastolic'      => 'BP diastolic',
    'spo2'              => 'SpO2 (%)',
    'pain_score'        => 'Pain (0–10)',
    'gcs_eye'           => 'GCS eye',
    'gcs_verbal'        => 'GCS verbal',
    'gcs_motor'         => 'GCS motor',
    'save_triage'       => 'Save triage',
    'triage_saved'      => 'Triage saved for :no.',

    // Triage levels
    'level_resuscitation' => 'Resuscitation',
    'level_emergent'      => 'Emergent',
    'level_urgent'        => 'Urgent',
    'level_less_urgent'   => 'Less urgent',
    'level_non_urgent'    => 'Non-urgent',

    'system_esi'       => 'ESI',
    'system_manchester' => 'Manchester',
    'system_ctas'      => 'CTAS',

    // Detail drawer
    'visit'            => 'Visit',
    'visit_no'         => 'Visit no',
    'arrival_at'       => 'Arrival',
    'status'           => 'Status',
    'timeline'         => 'Timeline',
    'triage_details'   => 'Triage',
    'triaged_at'       => 'Triaged at',
    'not_triaged'      => 'Not yet triaged.',
    'no_vitals'        => 'No triage vitals recorded.',
    'disposition'      => 'Disposition',
    'disposition_note' => 'Note',
    'record_disposition' => 'Record disposition',
    'disposition_saved' => 'Disposition recorded.',
    'admit_recorded_only' => 'admission recorded — MedWard not installed',
    'open_admission'   => 'Open admission',

    // Dispositions
    'disp_discharged'  => 'Discharged',
    'disp_admitted'    => 'Admitted',
    'disp_transferred' => 'Transferred',
    'disp_expired'     => 'Expired',
    'disp_lwbs'        => 'Left without being seen',
    'disp_ama'         => 'Left against medical advice',

    // Events (timeline)
    'event_arrived'     => 'Arrived',
    'event_triaged'     => 'Triaged',
    'event_seen'        => 'Seen by provider',
    'event_order'       => 'Order',
    'event_result'      => 'Result',
    'event_disposition' => 'Disposition',
    'event_note'        => 'Note',
];
