import type { Consultation } from '@/types/pmr'

export const consultations: Consultation[] = [
  {
    id: 'interim-head-2025',
    date: '14 May 2025',
    organization: 'NHS Norfolk & Waveney ICB',
    orgColor: '#005EB8',
    role: 'Interim Head, Population Health & Data Analysis',
    duration: 'May 2025 — Nov 2025',
    isCurrent: false,
    history: 'Returned to substantive Deputy Head role following commencement of ICB-wide organisational consultation. Led strategic delivery of population health initiatives and data-driven medicines optimisation across Norfolk & Waveney ICS, reporting to Associate Director of Pharmacy with presentation accountability to Chief Medical Officer and system-level programme boards.',
    examination: [
      'Identified £14.6M efficiency programme through comprehensive data analysis',
      'Built Python-based switching algorithm: 14,000 patients identified, £2.6M annual savings',
      'Automated incentive scheme analysis: 50% reduction in targeted prescribing within 2 months',
    ],
    plan: [
      'Achieved over-target performance by October 2025',
      '£2M on target for delivery this financial year',
      'Presented to CMO bimonthly with evidence-based recommendations',
      'Led transformation to patient-level SQL analytics',
    ],
    codedEntries: [
      { code: 'EFF001', description: 'Efficiency programme: £14.6M identified' },
      { code: 'ALG001', description: 'Algorithm: 14,000 patients, £2.6M savings' },
      { code: 'AUT001', description: 'Automation: 50% prescribing reduction in 2mo' },
      { code: 'SQL001', description: 'Data transformation: practice→patient level' },
    ],
  },
  {
    id: 'deputy-head-2024',
    date: '01 Jul 2024',
    organization: 'NHS Norfolk & Waveney ICB',
    orgColor: '#005EB8',
    role: 'Deputy Head, Population Health & Data Analysis',
    duration: 'Jul 2024 — Present',
    isCurrent: true,
    history: 'Driving data analytics strategy for medicines optimisation, developing bespoke datasets and analytical frameworks from messy, real-world GP prescribing data to identify efficiency opportunities and address health inequalities across the integrated care system.',
    examination: [
      'Managed £220M prescribing budget with sophisticated forecasting models',
      'Created comprehensive medicines data table with dm+d integration, morphine equivalents, Anticholinergic Burden scoring',
      'Led financial scenario modelling for DOAC switching programme',
      'Renegotiated pharmaceutical rebate terms securing improved commercial position',
      'Supported commissioning of tirzepatide (NICE TA1026) with financial projections',
      'Developed Python-based controlled drug monitoring system for population-scale OME tracking',
    ],
    plan: [
      'Single source of truth established for all medicines analytics',
      'GP-led model adopted for tirzepatide delivery following executive sign-off',
      'Team data fluency improved through training, documentation, and self-serve tools',
    ],
    codedEntries: [
      { code: 'BUD001', description: 'Budget management: £220M oversight' },
      { code: 'DAT001', description: 'Data infrastructure: dm+d integration' },
      { code: 'LEA001', description: 'Leadership: team data literacy programme' },
      { code: 'MON001', description: 'Monitoring: CD OME tracking system' },
    ],
  },
  {
    id: 'high-cost-drugs-2022',
    date: '01 May 2022',
    organization: 'NHS Norfolk & Waveney ICB',
    orgColor: '#005EB8',
    role: 'High-Cost Drugs & Interface Pharmacist',
    duration: 'May 2022 — Jul 2024',
    isCurrent: false,
    history: 'Led implementation of NICE technology appraisals and high-cost drug pathways across the ICS. Wrote most of the system\'s high-cost drug pathways—spanning rheumatology, ophthalmology (wet AMD, DMO, RVO), dermatology, gastroenterology, neurology, and migraine—balancing legal requirements to implement TAs against financial costs and local clinical preferences.',
    examination: [
      'Developed software automating Blueteq prior approval form creation',
      'Integrated Blueteq data with secondary care activity databases',
      'Created Python-based Sankey chart analysis tool for patient pathway visualisation',
    ],
    plan: [
      '70% reduction in required Blueteq forms, 200 hours immediate savings',
      'Ongoing 7–8 hours weekly efficiency gains',
      'Accurate high-cost drug spend tracking enabled',
      'Trusts enabled to audit compliance and identify improvement opportunities',
    ],
    codedEntries: [
      { code: 'AUT002', description: 'Automation: Blueteq form generation, 70% reduction' },
      { code: 'DAT002', description: 'Data integration: Blueteq + secondary care' },
      { code: 'VIS001', description: 'Visualisation: Sankey pathway analysis tool' },
    ],
  },
  {
    id: 'pharmacy-manager-2017',
    date: '01 Nov 2017',
    organization: 'Tesco PLC',
    orgColor: '#00897B',
    role: 'Pharmacy Manager',
    duration: 'Nov 2017 — May 2022',
    isCurrent: false,
    history: 'Managed all pharmacy operations with full autonomy across a 100-hour contract, leading regional KPI delivery initiatives and contributing to national operational improvements. Served as Local Pharmaceutical Committee representative for Norfolk.',
    examination: [
      'Identified and shared asthma screening process adopted nationally across Tesco pharmacy estate (~300 branches)',
      'Led creation of national induction training plan and eLearning modules',
      'Supervised two staff members through NVQ3 qualifications to pharmacy technician registration',
    ],
    plan: [
      'Reduced pharmacist time from ~60 hours to 6 hours per store per month',
      'Network enabled to claim approximately £1M in revenue',
      'Enhanced leadership development for non-pharmacist team members',
      'Full HR responsibilities including recruitment, performance management, grievances',
    ],
    codedEntries: [
      { code: 'INN001', description: 'Innovation: Asthma screening, ~£1M national revenue' },
      { code: 'TRN001', description: 'Training: National induction programme' },
      { code: 'LEA002', description: 'Leadership: Staff development to technician registration' },
    ],
  },
  {
    id: 'duty-pharmacist-2016',
    date: '01 Aug 2016',
    organization: 'Tesco PLC',
    orgColor: '#00897B',
    role: 'Duty Pharmacy Manager',
    duration: 'Aug 2016 — Nov 2017',
    isCurrent: false,
    history: 'Commenced professional career as registered pharmacist following GPhC registration. Developed foundational skills in pharmacy operations, patient care, and team management within a high-volume community pharmacy setting.',
    examination: [
      'Progressed from newly registered pharmacist to Pharmacy Manager role',
      'Developed clinical and operational competencies in community pharmacy',
    ],
    plan: [
      'GPhC registration obtained, beginning professional practice',
      'Foundation established for progression to management role',
    ],
    codedEntries: [
      { code: 'REG001', description: 'Registration: GPhC pharmacist qualification' },
    ],
  },
]
