<?php

return [
    // Module
    'clinic_module'       => 'Clinic',
    'clinic'              => 'Clinic',
    'dashboard'               => 'Dashboard',

    // Nav
    'patient_contacts'              => 'Patients',
    'patients'                    => 'Patient Records',
    'pets'                        => 'Patient Records',
    'appointments'            => 'Appointments',
    'calendar'                => 'Calendar',
    'prescriptions'           => 'Prescriptions',
    'vaccinations'            => 'Vaccinations',
    'pharmacy'                => 'Pharmacy',
    'reports'                 => 'Reports',
    'settings'                => 'Settings',
    'departments'             => 'Departments',
    'doctors'                 => 'Doctors',
    'medical_conditions'      => 'Medical Conditions',
    'medical_reports'         => 'Medical Reports',
    'birth_death_records'     => 'Patient Records',
    'vaccine_types'           => 'Vaccination Types',
    'consent_templates'       => 'Consent Templates',
    'edit_requests'           => 'Edit Requests',
    'doctor_change_requests'  => 'Doctor-Change Requests',

    // Preferred doctor
    'preferred_doctor'             => 'Preferred Doctor',
    'no_preferred_doctor'          => 'No preferred doctor',
    'preferred_doctor_hint'        => 'Auto-selected by default on new appointments for this patient.',
    'pet_level_override'           => 'overrides the patient default',
    'use_owner_preferred_doctor'   => 'Use patient\'s preferred doctor',
    'pet_preferred_doctor_hint'    => 'Leave empty to inherit the patient\'s preferred doctor.',

    // Shared
    'saved_successfully'      => 'Saved successfully.',
    'updated_successfully'    => 'Updated successfully.',
    'deleted_successfully'    => 'Deleted successfully.',
    'confirm_delete'          => 'Are you sure you want to delete this record?',
    'are_you_sure'            => 'Are you sure?',
    'add_new'                 => 'Add New',
    'edit'                    => 'Edit',
    'delete'                  => 'Delete',
    'save'                    => 'Save',
    'update'                  => 'Update',
    'cancel'                  => 'Cancel',
    'close'                   => 'Close',
    'search'                  => 'Search',
    'actions'                 => 'Actions',
    'status'                  => 'Status',
    'active'                  => 'Active',
    'inactive'                => 'Inactive',
    'name'                    => 'Name',
    'description'             => 'Description',
    'notes'                   => 'Notes',
    'date'                    => 'Date',
    'no_data'                 => 'No data available.',

    // Dashboard
    'total_pets'              => 'Total Patients',
    'today_appointments'      => "Today's Appointments",
    'pending_appointments'    => 'Pending Appointments',
    'overdue_vaccinations'    => 'Overdue Vaccinations',
    'upcoming_vaccinations'   => 'Upcoming Vaccinations (30 days)',
    'recent_appointments'     => 'Recent Appointments',
    'appointments_this_week'  => 'Appointments This Week',

    // Patient (contact / account side)
    'pet_owner'               => 'Contact',
    'owner_name'              => 'Patient Name',
    'mobile'                  => 'Mobile',
    'phone'                   => 'Phone',
    'email'                   => 'Email',
    'emergency_contact'       => 'Emergency Contact',
    'emergency_contact_name'  => 'Emergency Contact Name',
    'emergency_contact_phone' => 'Emergency Contact Phone',
    'emergency_contact_relation' => 'Relation',
    'occupation'              => 'Occupation',
    'referred_by'             => 'Referred By',
    'select_existing_contact' => 'Search Existing Customer',
    'or_create_new'           => 'Or fill in new customer details',
    'total_pets_count'        => 'Total Visits',
    'add_pet_owner'           => 'Add Patient',
    'patient_contact_details'       => 'Patient Details',
    'linked_contact'          => 'Linked ERP Contact',

    // Patient (clinical record)
    'pet'                     => 'Patient',
    'patient_name'                 => 'Patient Name',
    'species'                 => 'Profile type',
    'breed'                   => 'Sub-type',
    'color'                   => 'Color',
    'gender'                  => 'Gender',
    'dob'                     => 'Date of Birth',
    'age'                     => 'Age',
    'weight_kg'               => 'Weight (kg)',
    'bloodgroup'              => 'Blood Group',
    'microchip_no'            => 'File No.',
    'serial_no'               => 'File No.',
    'neutered'                => 'Sterilised',
    'deceased'                => 'Deceased',
    'photo'                   => 'Photo',
    'add_pet'                 => 'Add Patient',
    'pet_profile'             => 'Patient Profile',
    'medical_history_tab'     => 'Medical History',
    'vaccinations_tab'        => 'Vaccinations',
    'appointments_tab'        => 'Appointments',
    'prescriptions_tab'       => 'Prescriptions',
    'add_condition'           => 'Add Condition',
    'condition'               => 'Condition',
    'severity'                => 'Severity',
    'diagnosed_date'          => 'Diagnosed Date',
    'male'                    => 'Male',
    'female'                  => 'Female',
    'unknown'                 => 'Unknown',

    // Clinic clinical profile
    'default_specialty'       => 'Default Specialty',
    'allergies'               => 'Allergies',
    'chronic_conditions'      => 'Chronic Conditions',
    'family_history'          => 'Family History',

    // Appointment
    'appointment'             => 'Appointment',
    'consultation'            => 'Consultation',
    'vitals'                  => 'Vitals',
    'temperature'             => 'Temperature (°C)',
    'heart_rate'              => 'Heart Rate (bpm)',
    'respiratory_rate'        => 'Respiratory Rate',
    'soap_subjective'         => 'Subjective — Chief Complaint',
    'soap_objective'          => 'Objective — Examination',
    'soap_assessment'         => 'Assessment — Diagnosis',
    'soap_plan'               => 'Plan — Treatment',
    'save_consultation'       => 'Save Consultation',
    'today'                   => 'Today',
    'ref_no'                  => 'Reference No.',
    'appointment_date'        => 'Date',
    'appointment_time'        => 'Time',
    'duration'                => 'Duration (min)',
    'reason'                  => 'Reason',
    'type'                    => 'Type',
    'doctor'                  => 'Doctor',
    'department'              => 'Department',
    'doctor_notes'            => 'Doctor Notes',
    'add_note'                => 'Add Note',
    'create_sale'             => 'Create Sale',
    'record_vaccination'      => 'Record Vaccination',
    'add_prescription'        => 'Add Prescription',
    'pending'                 => 'Pending',
    'confirmed'               => 'Confirmed',
    'in_progress'             => 'In Progress',
    'completed'               => 'Completed',
    'cancelled'               => 'Cancelled',
    'no_show'                 => 'No Show',
    'change_status'           => 'Change Status',
    'appointment_timeline'    => 'Appointment Timeline',

    // Vaccination (cloned vaccination engine, relabeled for derma)
    'vaccination'             => 'Vaccination',
    'vaccine_type'            => 'Vaccination',
    'administered_date'       => 'Vaccination Date',
    'next_due_date'           => 'Next Due Date',
    'administered_by'         => 'Performed By',
    'batch_no'                => 'Batch No.',
    'weight_at_time'          => 'Weight at Time (kg)',
    'temperature_at_time'     => 'Temperature (°C)',
    'dose'                    => 'Dose / Amount',
    'due_soon'                => 'Due Soon',
    'overdue'                 => 'Overdue',
    'upcoming'                => 'Upcoming',
    'administered'            => 'Performed',
    'add_vaccination'         => 'Record Vaccination',
    'auto_calculated'         => '(auto, editable)',
    'reminder_marked'         => 'Reminder marked as sent.',
    'due_this_month'          => 'Due This Month',
    'overview'                => 'Overview',
    'recent_activity'         => 'Recent Activity',
    'weight_history'          => 'Weight History',
    'mark_reminded'           => 'Mark Reminded',
    'urgent_reminders'        => 'Urgent Reminders',

    // Prescription
    'prescription'            => 'Prescription',
    'prescribed_date'         => 'Prescribed Date',
    'valid_until'             => 'Valid Until',
    'diagnosis'               => 'Diagnosis',
    'medicines'               => 'Medicines',
    'medicine'                => 'Medicine',
    'dosage'                  => 'Dosage',
    'frequency'               => 'Frequency',
    'duration_days'           => 'Duration (days)',
    'instructions'            => 'Instructions',
    'quantity'                => 'Qty',
    'add_medicine_row'        => '+ Add Medicine',
    'print_prescription'      => 'Print Prescription',

    // Pharmacy
    'medicine_name'           => 'Medicine Name',
    'generic_name'            => 'Generic Name',
    'company'                 => 'Manufacturer',
    'unit'                    => 'Unit',
    'unit_packing'            => 'Unit Packing',
    'storage_location'        => 'Storage Location',
    'min_stock_level'         => 'Min Stock Level',
    'reorder_level'           => 'Reorder Level',
    'current_stock'           => 'Current Stock',
    'add_batch'               => 'Add Stock Batch',
    'batches'                 => 'Batches',
    'expiry_date'             => 'Expiry Date',
    'manufactured_date'       => 'Manufactured Date',
    'quantity_received'       => 'Quantity Received',
    'quantity_remaining'      => 'Remaining',
    'purchase_price'          => 'Purchase Price',
    'selling_price'           => 'Selling Price',
    'supplier_name'           => 'Supplier',
    'stock_critical'          => 'Critical',
    'stock_low'               => 'Low',
    'stock_ok'                => 'OK',

    // Medical Conditions
    'medical_condition'       => 'Medical Condition',
    'category'                => 'Category',
    'icd_code'                => 'ICD Code',
    'is_chronic'              => 'Chronic Condition',
    'chronic'                 => 'Chronic',
    'acute'                   => 'Acute',

    // Doctor / Department / Location
    'doctor_name'             => 'Doctor Name',
    'specialization'          => 'Specialization',
    'about'                   => 'About',
    'consultation_fee'        => 'Consultation Fee',
    'linked_user'             => 'Linked System User',
    'department_name'         => 'Department Name',
    'department_icon'         => 'Icon Class (e.g. fa-stethoscope)',
    'add_department'          => 'Add Department',
    'add_doctor'              => 'Add Doctor',
    'clinic_locations'        => 'Clinic Locations',
    'appointment_types'       => 'Appointment Types',
    'appointment_reasons'     => 'Visit Reasons',
    'module_settings'         => 'Module Settings',
    'doctors_shared_between_locations' => 'Doctors shared between locations',
    'doctors_shared_help'     => 'When enabled, a doctor can be assigned to appointments in any location regardless of their department\'s location.',
    'allow_overlap'           => 'Allow appointment overlap',
    'allow_overlap_help'      => 'When enabled, a doctor can have multiple appointments at the same time.',
    'reminder_days'           => 'Vaccination reminder (days before due)',
    'save_settings'           => 'Save Settings',
    'sort_order'              => 'Sort Order',
    'icon'                    => 'Icon',
    'address'                 => 'Address',
    'doctor_schedule'         => 'Doctor Schedule',
    'schedule'                => 'Schedule',
    'day_of_week'             => 'Day',
    'start_time'              => 'Start Time',
    'end_time'                => 'End Time',
    'slot_duration'           => 'Slot Duration (min)',
    'available_slots'         => 'Available Slots',
    'select_slot'             => 'Select Time Slot',
    'no_slots'                => 'No available slots for this day.',
    'location'                => 'Location',
    'select_location'         => 'Select Location',
    'select_department'       => 'Select Department',
    'select_doctor'           => 'Select Doctor',

    // Permissions
    'perm_access_module'           => 'Access Clinic Module',
    'perm_manage_departments'      => 'Manage Departments',
    'perm_manage_doctors'          => 'Manage Doctors',
    'perm_manage_patient_contacts'       => 'Manage Patients',
    'perm_manage_pets'             => 'Manage Patient Records',
    'perm_view_appointments'       => 'View Appointments',
    'perm_manage_appointments'     => 'Manage Appointments',
    'perm_manage_prescriptions'    => 'Manage Prescriptions',
    'perm_manage_vaccinations'     => 'Manage Vaccinations',
    'perm_manage_medicines'        => 'Manage Pharmacy',
    'perm_manage_medical_conditions' => 'Manage Medical Conditions',
    'perm_view_reports'            => 'View Reports',
    'perm_manage_reports'          => 'Manage Reports',
    'perm_access_settings'         => 'Access Settings',

    // Reminders
    'reminder_settings'              => 'Vaccination Reminder Settings',
    'reminder_templates'             => 'Reminder Templates',
    'enable_reminders'               => 'Enable automated vaccination reminders',
    'enable_reminders_help'          => 'When enabled, reminder emails are sent automatically according to the schedule below.',
    'days_before_due'                => 'Send reminders',
    'days_before_due_help'           => 'Start sending reminder emails this many days before the vaccination is due.',
    'days'                           => 'days',
    'max_reminders_per_vaccine'      => 'Max reminders per vaccination',
    'max_reminders_help'             => 'Stop sending after this many reminders have been sent for a single vaccination record.',
    'send_overdue_reminders'         => 'Also send reminders for overdue vaccinations',
    'overdue_reminder_interval'      => 'Overdue reminder interval',
    'overdue_interval_help'          => 'For overdue vaccinations, re-send a reminder every this many days.',
    'channels'                       => 'Channels',
    'email_reminders'                => 'Email reminders',
    'wa_reminders'                   => 'WhatsApp reminders',
    'schedule_time'                  => 'Daily send time',
    'schedule_time_help'             => 'Time of day to run the automated reminder job (server time). Use the artisan command: php artisan clc:send-vaccine-reminders',
    'email_confirmed'                => 'Email confirmed — send automated reminders',

    // ── Clinic capabilities (per-clinic-type feature gating) ──────────────
    'clinic_capabilities'  => 'Clinic capabilities',
    'capabilities_help'    => 'Enable or disable optional features for this clinic. "Inherit" follows the clinic type (specialty); the override forces a feature on or off for the whole business.',
    'capability'           => 'Capability',
    'override'             => 'Override',
    'currently'            => 'currently',
    'on'                   => 'On',
    'off'                  => 'Off',
    'inherit_specialty'    => 'Inherit from specialty',
    'force_on'             => 'Force on',
    'force_off'            => 'Force off',
    'cap_controlled_drugs' => 'Controlled-drug register',
    'cap_vitals'           => 'Vital signs (constants)',
    'cap_ai_assist'        => 'AI medical assistant',
    'clinic_type_preset'      => 'Clinic type',
    'clinic_type_preset_help' => 'Apply a preset bundle of capabilities that fits your clinic type. You can still fine-tune individual capabilities below.',
    'choose_preset'           => 'Choose a clinic type',
    'apply_preset'            => 'Apply preset',
    'preset_applied'          => 'Clinic-type preset applied.',
    'invalid_preset'          => 'Unknown clinic-type preset.',

    // ── AI medical assistant ─────────────────────────────────────────────
    'ai_assistant'          => 'AI Medical Assistant',
    'ai_disclaimer'         => 'AI output is clinical decision support only and must be reviewed by a licensed clinician before use.',
    'ai_details_placeholder'=> 'Add any extra context for the AI…',
    'ai_run'                => 'Run',
    'ai_thinking'           => 'Thinking…',
    'ai_draft_soap'         => 'AI: Draft SOAP',
    'ai_summarize_history'  => 'AI: Summarize history',
    'ai_narrate_exam'       => 'AI: Narrate exam',
    'ai_differential'       => 'AI: Differential',
    'ai_explain_patient'    => 'AI: Explain to patient',
    'ai_structure_soap'     => 'AI: Structure dictation',
    'ai_apply_soap'         => 'Apply to SOAP',

    // ── Vitals / constants (extra fields) ────────────────────────────────
    'blood_pressure'  => 'Blood pressure',
    'systolic'        => 'Systolic',
    'diastolic'       => 'Diastolic',
    'spo2'            => 'SpO₂',
    'blood_glucose'   => 'Blood glucose',
    'bmi'             => 'BMI',
    'height_cm'       => 'Height (cm)',
    'vitals_trend'    => 'Vitals trend',

    // ── SIFA P3-T1 patient master identity ───────────────────────────────
    'identity'            => 'Identity',
    'preferred_name'      => 'Preferred name',
    'national_id'         => 'National ID',
    'passport_number'     => 'Passport number',
    'marital_status'      => 'Marital status',
    'marital_single'      => 'Single',
    'marital_married'     => 'Married',
    'marital_divorced'    => 'Divorced',
    'marital_widowed'     => 'Widowed',
    'nationality'         => 'Nationality',
    'primary_language'    => 'Primary language',
    'gender_identity'     => 'Gender identity',
    'registered_location' => 'Registered branch',
    'add'                 => 'Add',

    // ── P3-T1 structured clinical baseline ───────────────────────────────
    'baseline_tab'          => 'Clinical Baseline',
    'allergies_structured'  => 'Allergies',
    'no_allergies'          => 'No structured allergies recorded.',
    'add_allergy'           => 'Add Allergy',
    'allergen'              => 'Allergen',
    'reaction'              => 'Reaction',
    'source'               => 'Source',
    'verified'             => 'Verified',
    'allergy'              => 'Allergy',
    'allergy_type_drug'          => 'Drug',
    'allergy_type_food'          => 'Food',
    'allergy_type_environmental' => 'Environmental',
    'allergy_type_latex'         => 'Latex',
    'allergy_type_other'         => 'Other',
    'severity_mild'              => 'Mild',
    'severity_moderate'          => 'Moderate',
    'severity_severe'            => 'Severe',
    'severity_life_threatening'  => 'Life-threatening',
    'allergy_source_patient_reported'    => 'Patient reported',
    'allergy_source_test_confirmed'      => 'Test confirmed',
    'allergy_source_clinical_observation'=> 'Clinical observation',

    'current_medications'  => 'Current Medications',
    'no_medications'       => 'No current medications recorded.',
    'add_medication'       => 'Add Medication',
    'medication_name'      => 'Medication name',
    'route'                => 'Route',
    'prescriber'           => 'Prescriber',
    'start_date'           => 'Start date',
    'end_date'             => 'End date',
    'ongoing'              => 'Ongoing',
    'home_meds_hint'       => 'Medications the patient takes outside our own prescriptions (for reconciliation).',

    'insurance_cards'      => 'Insurance',
    'no_insurance'         => 'No insurance cards recorded.',
    'add_insurance'        => 'Add Insurance',
    'provider_name'        => 'Provider',
    'policy_number'        => 'Policy number',
    'group_number'         => 'Group number',
    'plan_type'            => 'Plan type',
    'effective_date'       => 'Effective date',
    'copay'                => 'Co-pay',
    'pre_auth'             => 'Pre-auth',
    'pre_auth_required'    => 'Pre-authorisation required',
    'ins_status_active'    => 'Active',
    'ins_status_expired'   => 'Expired',
    'ins_status_cancelled' => 'Cancelled',
    'insurance_phase4_hint'=> 'Card details only. Payer master, claims and pre-auth workflow arrive in Phase 4 (billing).',

    // ── P3-T1 merge / duplicate detection ────────────────────────────────
    'duplicates'           => 'Duplicates',
    'duplicate_patients'   => 'Duplicate Patients',
    'duplicates_intro'     => 'Candidate duplicate records detected by name, date-of-birth and phone similarity. Review each pair and merge when confirmed.',
    'candidate_pairs'      => 'Candidate Pairs',
    'no_duplicates'        => 'No likely duplicates found.',
    'confidence'           => 'Confidence',
    'suggested_master'     => 'Suggested master',
    'duplicate'            => 'Duplicate',
    'match_reasons'        => 'Why matched',
    'review_merge'         => 'Review & Merge',
    'confirm_merge'        => 'Confirm Merge',
    'merge_warning'        => 'Merging moves all records (appointments, prescriptions, vaccinations, conditions, baseline, imaging, plans, lab links…) from the duplicate onto the master and marks the duplicate inactive.',
    'merge_master'         => 'Master (kept)',
    'merge_duplicate'      => 'Duplicate (merged in)',
    'merge_irreversible'   => 'This is logged but not automatically reversible.',
    'merge_now'            => 'Merge Now',
    'patients_merged'      => 'Patients merged successfully.',

    // ── P3-T8 problem list ───────────────────────────────────────────────
    'certainty'                => 'Certainty',
    'certainty_confirmed'      => 'Confirmed',
    'certainty_probable'       => 'Probable',
    'certainty_possible'       => 'Possible',
    'problem_type'             => 'Type',
    'problem_type_diagnosis'   => 'Diagnosis',
    'problem_type_symptom'     => 'Symptom',
    'problem_type_finding'     => 'Finding',
    'problem_type_condition'   => 'Condition',
    'problem_type_risk_factor' => 'Risk factor',

    // ── P3-T8 medical alerts ─────────────────────────────────────────────
    'critical'                 => 'Critical',
    'acknowledge'              => 'Acknowledge',
    'acknowledged'             => 'Acknowledged',
    'resolve'                  => 'Resolve',
    'alert_acknowledged'       => 'Alert acknowledged.',
    'alert_resolved'           => 'Alert resolved.',
    'alert_type_allergy'           => 'Allergy',
    'alert_type_drug_interaction'  => 'Drug interaction',
    'alert_type_duplicate_therapy' => 'Duplicate therapy',
    'alert_type_critical_value'    => 'Critical value',
    'alert_type_fall_risk'         => 'Fall risk',
    'alert_type_isolation'         => 'Isolation',
    'alert_type_consent_missing'   => 'Consent missing',
    'alert_type_vte_risk'          => 'VTE risk',
    'alert_type_other'             => 'Alert',

    // ── P3-T2 encounters ─────────────────────────────────────────────────
    'encounter'                => 'Encounter',
    'encounter_type'           => 'Encounter type',
    'priority'                 => 'Priority',
    'check_in'                 => 'Check in',
    'checked_in'               => 'Checked in',
    'create_follow_up'         => 'Create follow-up',
    'follow_up_of'             => 'Follow-up of',
    'enc_outpatient'           => 'Outpatient',
    'enc_inpatient'            => 'Inpatient',
    'enc_emergency'            => 'Emergency',
    'enc_telemedicine'         => 'Telemedicine',
    'enc_home_visit'           => 'Home visit',
    'enc_day_care'             => 'Day care',
    'prio_routine'             => 'Routine',
    'prio_urgent'              => 'Urgent',
    'prio_emergency'           => 'Emergency',
    'diagnoses'                => 'Diagnoses',
    'no_diagnoses'             => 'No diagnoses recorded yet.',
    'add_to_problem_list'      => 'Add to problem list',
    'added_to_problem_list'    => 'Added to the patient problem list.',
    'dx_primary'               => 'Primary',
    'dx_secondary'             => 'Secondary',
    'dx_differential'          => 'Differential',
    'cf_confirmed'             => 'Confirmed',
    'cf_probable'              => 'Probable',
    'cf_possible'              => 'Possible',

    // ── P3-T3 clinical notes ─────────────────────────────────────────────
    'clinical_note'            => 'Clinical note',
    'encounter_signoff'        => 'Encounter sign-off',
    'sign_note'                => 'Sign note',
    'cosign_note'              => 'Co-sign note',
    'note_signed'              => 'Note signed & locked.',
    'note_cosigned'            => 'Note co-signed.',
    'note_already_signed'      => 'Note is already signed.',
    'note_unsigned'            => 'Note not signed.',
    'cosigned'                 => 'Co-signed',
    'soap_locked_hint'         => 'This note is signed and locked. Use Amend to record any change.',
    'amend'                    => 'Amend',
    'amend_note'               => 'Amend note',
    'amendments'               => 'Amendments',
    'no_amendments'            => 'No amendments recorded.',
    'note_amended'             => 'Amendment recorded.',
    'save_amendment'           => 'Save amendment',
    'invalid_section'          => 'Invalid section.',
    'section'                  => 'Section',
    'subjective'               => 'Subjective',
    'objective'                => 'Objective',
    'assessment'               => 'Assessment',
    'plan'                     => 'Plan',
    'investigations'           => 'Investigations',
    'other'                    => 'Other',
    'new_text'                 => 'New text',
    'typed_notes'              => 'Clinical notes',
    'nt_progress'              => 'Progress',
    'nt_consultation'          => 'Consultation',
    'nt_procedure'             => 'Procedure',
    'nt_discharge'             => 'Discharge',
    'nt_referral'              => 'Referral',
    'nt_follow_up'             => 'Follow-up',
    'nt_nursing'               => 'Nursing',
    'nt_other'                 => 'Other',
    'title'                    => 'Title',
    // Voice dictation (AiCore hook)
    'dictate'                  => 'Dictate',
    'transcribing'             => 'Transcribing…',
    'transcription_unavailable'=> 'Voice transcription is not available.',
    'no_audio'                 => 'No audio was received.',
    'mic_denied'               => 'Microphone access was denied.',

    // ── P3-T4 vitals (record + trends) ───────────────────────────────────
    'record_vitals'            => 'Record vitals',
    'no_vitals_recorded'       => 'No vitals recorded yet.',
    'vitals_not_permitted'     => 'You are not permitted to record vitals.',
    'weight'                   => 'Weight',
    'height'                   => 'Height',
    'pain'                     => 'Pain',
    'glucose_timing'           => 'Glucose timing',
    'gt_fasting'               => 'Fasting',
    'gt_random'                => 'Random',
    'gt_post_prandial'         => 'Post-prandial',
    'critical_vital'           => 'Critical vital',
    'critical_vital_details'   => 'A :measure reading is critically out of range (encounter :ref).',
    'chart_unavailable'        => 'Chart library unavailable — see the table.',
    'back_to_patient'          => 'Back to patient',

    // ── P3-T5 prescriptions upgrade (refills / PRN / substitution / safety) ─
    'rx_type'                  => 'Prescription type',
    'rx_type_outpatient'       => 'Outpatient',
    'rx_type_discharge'        => 'Discharge',
    'refills'                  => 'Refills',
    'refills_allowed'          => 'Refills allowed',
    'refills_used'             => 'Refills used',
    'refills_left'             => 'Refills left',
    'prn'                      => 'PRN (as needed)',
    'prn_reason'               => 'PRN reason',
    'substitutions_allowed'    => 'Substitution allowed',
    'refill'                   => 'Refill',
    'rx_refill_recorded'       => 'Refill recorded.',
    'rx_refills_exhausted'     => 'No refills remaining for this item.',
    'rx_safety_check'          => 'Safety check',
    'rx_safety_warnings'       => 'Prescription safety warnings',
    'rx_safety_blocking'       => 'A severe allergy match was found. Review and confirm to proceed.',
    'rx_safety_confirm'        => 'I have reviewed the warnings and confirm this prescription.',
    'rx_allergy_warning'       => ':medicine matches a recorded :severity drug allergy (:allergen).',
    'rx_allergy_alert_title'   => 'Drug allergy risk: :medicine',
    'rx_duplicate_warning'     => ':medicine is already on an active prescription for this patient.',

    // ── P3-T6 unified orders (lab / imaging / procedure / consultation) ────
    'orders'                   => 'Orders',
    'order'                    => 'Order',
    'order_no'                 => 'Order No.',
    'new_order'                => 'New order',
    'add_order'                => 'Add order',
    'order_type'               => 'Order type',
    'order_type_lab'           => 'Lab',
    'order_type_imaging'       => 'Imaging',
    'order_type_procedure'     => 'Procedure',
    'order_type_consultation'  => 'Consultation',
    'order_priority'           => 'Priority',
    'clinical_indication'      => 'Clinical indication',
    'service_name'             => 'Service',
    'service_code'             => 'Code',
    'laterality'               => 'Laterality',
    'lat_left'                 => 'Left',
    'lat_right'                => 'Right',
    'lat_bilateral'            => 'Bilateral',
    'lat_na'                   => 'N/A',
    'result_summary'           => 'Result summary',
    'abnormal_flag'            => 'Abnormal flag',
    'af_normal'                => 'Normal',
    'af_high'                  => 'High',
    'af_low'                   => 'Low',
    'af_critical_high'         => 'Critical high',
    'af_critical_low'          => 'Critical low',
    'verify_results'           => 'Verify results',
    'order_placed'             => 'Order placed.',
    'order_verified'           => 'Order verified.',
    'order_cannot_verify_cancelled' => 'A cancelled order cannot be verified.',
    'order_duplicate_warning'  => 'A :service order was already placed for this patient today.',
    'order_critical_alert_title' => 'Critical result: :service',
    'no_orders'                => 'No orders yet.',
    'order_routing_lab_absent'   => 'Lab module not installed — item left as ordered.',
    'order_routing_imaging_absent' => 'Imaging not available — item left as ordered.',
    'order_routing_no_modality'  => 'No imaging modality available — item left as ordered.',
    'order_routing_failed'       => 'Downstream routing failed — please action manually.',

    // ── SIFA P3-T7 · scheduling upgrade ───────────────────────────────────
    // shared small labels missing from the file
    'from'                  => 'From',
    'to'                    => 'To',
    'time'                  => 'Time',
    'all'                   => 'All',
    'any'                   => 'Any',
    'optional'              => 'Optional',
    'required'              => 'required',
    'loading'               => 'Loading',
    'patient'               => 'Patient',
    'added'                 => 'Added',
    'preferred_date'        => 'Preferred date',

    // schedule pattern fields
    'effective_from'        => 'Effective from',
    'effective_to'          => 'Effective to',
    'break_from'            => 'Break from',
    'break_to'              => 'Break to',
    'max_per_slot'          => 'Max per slot',
    'overbooking'           => 'Overbooking',
    'overbooking_allowed'   => 'Allow overbooking',
    'overbooking_max'       => 'Overbooking max',
    'branch'                => 'Branch',
    'pattern_fields_hint'   => 'Optional: effective date range, a break period, per-slot capacity / overbooking, and a branch. Leave blank for the classic single-slot pattern.',

    // schedule exceptions
    'exceptions'            => 'Exceptions',
    'exceptions_hint'       => 'Day-specific overrides on top of the weekly pattern: mark the doctor unavailable, modify their hours, or add an extra window for a date.',
    'add_exception'         => 'Add exception',
    'no_exceptions'         => 'No exceptions.',
    'exc_unavailable'       => 'Unavailable',
    'exc_modified'          => 'Modified hours',
    'exc_extra'             => 'Extra window',
    'exc_window_required'   => 'A start and end time are required for a modified or extra exception.',

    // booking source options
    'source_walk_in'        => 'Walk-in',
    'source_online'         => 'Online',
    'source_phone'          => 'Phone',
    'source_referral'       => 'Referral',
    'source_internal'       => 'Internal',

    // waitlist
    'waitlist'              => 'Waitlist',
    'add_to_waitlist'       => 'Add to waitlist',
    'waiting'               => 'Waiting',
    'offered'               => 'Offered',
    'booked'                => 'Booked',
    'expired'               => 'Expired',
    'book_now'              => 'Book now',
    'no_entries'            => 'No entries.',
    'waitlist_booked_notice' => 'Waitlist entry marked booked — complete the appointment below.',

    // today's queue
    'todays_queue'          => "Today's queue",
    'queue_waiting'         => 'Waiting',
    'queue_in_queue'        => 'In queue',
    'queue_with_doctor'     => 'With doctor',
    'queue_completed'       => 'Completed',
    'auto_refresh'          => 'Auto-refresh',
    'refresh'               => 'Refresh',
    'check_in'              => 'Check in',
    'start'                 => 'Start',
    'complete'              => 'Complete',

    // ── SIFA P4-T3 pharmacy dispensing ──
    'pharmacy_dispense'          => 'Pharmacy',
    'dispense'                   => 'Dispense',
    'dispense_progress'          => 'Dispensed',
    'dispense_qty'               => 'Quantity to dispense',
    'dispense_batch_guidance'    => 'Batch (guidance)',
    'dispense_batch_display_only'=> 'Batch guidance only — stock is decremented when the dispensed items are billed (no double deduction).',
    'dispense_no_batch'          => 'No tracked batch (dispense without a batch)',
    'dispense_witness'           => 'Witness',
    'dispense_witness_required'  => 'A witness is required to dispense this controlled medicine (double verification).',
    'dispense_recorded'          => 'Dispensed — recorded on the prescription.',
    'dispense_already_done'      => 'This item has already been dispensed.',
    'dispense_controlled_disabled' => "':medicine' is a controlled medicine and this clinic type is not enabled to dispense controlled substances.",
    'dispense_safety_block'      => 'A life-threatening allergy was flagged for this medicine.',
    'dispense_safety_confirm'    => 'Dispense anyway?',
    'safety_warnings'            => 'Safety warnings',
    'blocking'                   => 'Blocking',
    'rx_completed'               => 'Prescription completed',
    'no_items'                   => 'No items.',
    'date_from'                  => 'From',
    'date_to'                    => 'To',

    // ── SIFA P4-T6 referrals ──
    'referrals'                  => 'Referrals',
    'referral'                   => 'Referral',
    'refer'                      => 'Refer',
    'new_referral'               => 'New referral',
    'urgency'                    => 'Urgency',
    'generated'                  => 'Generated',
    'ref_direction'              => 'Direction',
    'ref_dir_internal'           => 'Internal',
    'ref_dir_external_outgoing'  => 'External (outgoing)',
    'ref_dir_external_incoming'  => 'External (incoming)',
    'ref_target'                 => 'Referred to',
    'ref_referred_to'            => 'Referred to',
    'ref_to_doctor'              => 'To doctor',
    'ref_from_doctor'            => 'Referring doctor',
    'ref_to_facility'            => 'To facility',
    'ref_to_provider'            => 'To provider',
    'ref_from_provider'          => 'From provider',
    'ref_reason'                 => 'Reason for referral',
    'ref_clinical_summary'       => 'Clinical summary',
    'ref_requested_services'     => 'Requested services',
    'ref_response_notes'         => 'Response notes',
    'ref_update_status'          => 'Update status',
    'ref_book_appointment'       => 'Book appointment',
    'ref_letter'                 => 'Referral letter',
    'ref_incoming_intake'        => 'Incoming referral',
    'ref_current_medications'    => 'Current medications',
    'ref_none_recorded'          => 'None recorded.',
    'ref_referring_signature'    => 'Referring provider',
    'ref_invalid_transition'     => 'That status change is not allowed from the current status.',

    // ── SIFA P5-T1 · radiology (imaging reports + modality worklist) ───────
    'imaging'                     => 'Imaging',
    'imaging_worklist'            => 'Imaging Worklist',
    'modality'                    => 'Modality',
    'body_region'                => 'Body region',
    'radiologist'                => 'Radiologist',
    'filter'                     => 'Filter',
    'reset'                      => 'Reset',
    'imgrep_report'              => 'Imaging report',
    'imgrep_worklist_sub'        => 'Grouped by modality — STAT / urgent first',
    'imgrep_worklist_empty'      => 'No active imaging requests. New requests appear here as they are ordered.',
    'imgrep_status_requested'    => 'Requested',
    'imgrep_status_in_progress'  => 'In progress',
    'imgrep_status_reported'     => 'Reported',
    'imgrep_start'               => 'Start',
    'imgrep_complete'            => 'Complete',
    'imgrep_rstatus_draft'       => 'Draft',
    'imgrep_rstatus_preliminary' => 'Preliminary',
    'imgrep_rstatus_final'       => 'Final',
    'imgrep_rstatus_amended'     => 'Amended',
    'imgrep_structured_findings' => 'Structured findings',
    'imgrep_region'              => 'Region',
    'imgrep_finding'             => 'Finding',
    'imgrep_abnormal'            => 'Abnormal',
    'imgrep_add_finding'         => 'Add finding',
    'imgrep_narrative'           => 'Narrative findings',
    'imgrep_impression'          => 'Impression',
    'imgrep_recommendation'      => 'Recommendation',
    'imgrep_comparison'          => 'Comparison (prior studies)',
    'imgrep_has_critical'        => 'Critical finding present',
    'imgrep_critical_description'      => 'Critical finding description',
    'imgrep_critical_communicated_to'  => 'Communicated to',
    'imgrep_critical_comm_placeholder' => 'Name / role of the provider notified',
    'imgrep_critical_comm_hint'  => 'Required to finalise a report with a critical finding (read-back communication).',
    'imgrep_critical_comm_required' => 'Record who the critical finding was communicated to before finalising.',
    'imgrep_critical_alert_title'   => 'Critical imaging finding: :modality',
    'imgrep_amendment_reason'    => 'Amendment reason',
    'imgrep_save_draft'          => 'Save draft',
    'imgrep_save_preliminary'    => 'Save preliminary',
    'imgrep_finalise'            => 'Finalise (sign)',
    'imgrep_finalised'           => 'Report finalised.',
    'imgrep_amend'               => 'Amend',
    'imgrep_amended'             => 'Report amended.',
    'imgrep_back_to_worklist'    => 'Back to worklist',
    'imgrep_locked_use_amend'    => 'This report is finalised. Use Amend to record a correction.',
    'imgrep_already_final'       => 'This report is already finalised.',
    'imgrep_amend_requires_final' => 'Only a finalised report can be amended.',
    'imgrep_cumulative_dose'     => 'Cumulative dose',
    'imgrep_no_dose'             => 'No dose recorded',
];
