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

export const medications: Medication[] = [
  {
    id: 'med-python',
    name: 'Python',
    dose: 90,
    frequency: 'Daily',
    startYear: 2017,
    status: 'Active',
    category: 'Active',
    prescribingHistory: [
      { year: 2017, description: 'Started: Self-taught for data analysis automation' },
      { year: 2019, description: 'Increased: Dashboard development, data pipeline work' },
      { year: 2022, description: 'Specialist use: Blueteq automation, Sankey analysis tools' },
      { year: 2024, description: 'Advanced: Switching algorithm (14,000 patients), CD monitoring' },
      { year: 2025, description: 'Current: Population-level analytics, incentive scheme automation' },
    ],
  },
  {
    id: 'med-sql',
    name: 'SQL',
    dose: 88,
    frequency: 'Daily',
    startYear: 2017,
    status: 'Active',
    category: 'Active',
    prescribingHistory: [
      { year: 2017, description: 'Started: Basic querying for prescribing analysis' },
      { year: 2019, description: 'Increased: Complex joins, data transformation' },
      { year: 2022, description: 'Advanced: Patient-level analytics, dm+d integration' },
      { year: 2024, description: 'Specialist: Comprehensive medicines data table development' },
      { year: 2025, description: 'Current: Population health data infrastructure' },
    ],
  },
  {
    id: 'med-powerbi',
    name: 'Power BI',
    dose: 92,
    frequency: 'Daily',
    startYear: 2019,
    status: 'Active',
    category: 'Active',
    prescribingHistory: [
      { year: 2019, description: 'Started: Dashboard creation for team reporting' },
      { year: 2021, description: 'Increased: DAX measures, data modelling' },
      { year: 2024, description: 'Advanced: PharMetrics real-time expenditure dashboard' },
      { year: 2025, description: 'Current: DOAC switching scenario model, executive reporting' },
    ],
  },
  {
    id: 'med-data-analysis',
    name: 'Data Analysis',
    dose: 95,
    frequency: 'Daily',
    startYear: 2016,
    status: 'Active',
    category: 'Active',
    prescribingHistory: [
      { year: 2016, description: 'Started: Prescribing data analysis in community pharmacy' },
      { year: 2018, description: 'Increased: Population-level data interpretation' },
      { year: 2022, description: 'Advanced: Real-world GP prescribing data at scale' },
      { year: 2024, description: 'Current: ICS-wide analytics strategy development' },
    ],
  },
  {
    id: 'med-js-ts',
    name: 'JavaScript / TypeScript',
    dose: 70,
    frequency: 'Weekly',
    startYear: 2020,
    status: 'Active',
    category: 'Active',
    prescribingHistory: [
      { year: 2020, description: 'Started: Web development for personal projects' },
      { year: 2022, description: 'Increased: React dashboard components' },
      { year: 2024, description: 'Current: CV/portfolio development, interactive tools' },
    ],
  },
  {
    id: 'med-dashboard',
    name: 'Dashboard Development',
    dose: 88,
    frequency: 'Weekly',
    startYear: 2019,
    status: 'Active',
    category: 'Active',
    prescribingHistory: [
      { year: 2019, description: 'Started: Power BI for prescribing metrics' },
      { year: 2022, description: 'Increased: Sankey visualisation tools' },
      { year: 2024, description: 'Current: Real-time expenditure tracking, scenario modelling' },
    ],
  },
  {
    id: 'med-algorithm',
    name: 'Algorithm Design',
    dose: 82,
    frequency: 'Weekly',
    startYear: 2022,
    status: 'Active',
    category: 'Active',
    prescribingHistory: [
      { year: 2022, description: 'Started: Basic automation logic for form generation' },
      { year: 2024, description: 'Increased: Controlled drug monitoring calculations' },
      { year: 2025, description: 'Current: Patient switching algorithm (14,000 identified)' },
    ],
  },
  {
    id: 'med-pipelines',
    name: 'Data Pipelines',
    dose: 80,
    frequency: 'Weekly',
    startYear: 2022,
    status: 'Active',
    category: 'Active',
    prescribingHistory: [
      { year: 2022, description: 'Started: ETL processes for Blueteq integration' },
      { year: 2024, description: 'Increased: dm+d standardisation, morphine conversions' },
      { year: 2025, description: 'Current: ICS-wide data infrastructure' },
    ],
  },
  {
    id: 'med-meds-opt',
    name: 'Medicines Optimisation',
    dose: 95,
    frequency: 'Daily',
    startYear: 2016,
    status: 'Active',
    category: 'Clinical',
    prescribingHistory: [
      { year: 2016, description: 'Started: Community pharmacy clinical services' },
      { year: 2018, description: 'Increased: MUR/NMS delivery optimisation' },
      { year: 2022, description: 'Advanced: ICS-level optimisation strategy' },
      { year: 2025, description: 'Current: £14.6M efficiency programme delivery' },
    ],
  },
  {
    id: 'med-pop-health',
    name: 'Population Health Analytics',
    dose: 90,
    frequency: 'Daily',
    startYear: 2022,
    status: 'Active',
    category: 'Clinical',
    prescribingHistory: [
      { year: 2022, description: 'Started: GP prescribing data analysis' },
      { year: 2024, description: 'Increased: 1.2M population coverage' },
      { year: 2025, description: 'Current: ICS-wide health inequality analysis' },
    ],
  },
  {
    id: 'med-nice-ta',
    name: 'NICE TA Implementation',
    dose: 85,
    frequency: 'Weekly',
    startYear: 2022,
    status: 'Active',
    category: 'Clinical',
    prescribingHistory: [
      { year: 2022, description: 'Started: High-cost drug pathway development' },
      { year: 2023, description: 'Increased: Multi-specialty pathway authoring' },
      { year: 2024, description: 'Current: Tirzepatide (TA1026) commissioning' },
    ],
  },
  {
    id: 'med-health-econ',
    name: 'Health Economics',
    dose: 80,
    frequency: 'Monthly',
    startYear: 2023,
    status: 'Active',
    category: 'Clinical',
    prescribingHistory: [
      { year: 2023, description: 'Started: Financial scenario modelling' },
      { year: 2024, description: 'Increased: Rebate negotiation, DOAC switching analysis' },
      { year: 2025, description: 'Current: Efficiency programme prioritisation' },
    ],
  },
  {
    id: 'med-clinical-path',
    name: 'Clinical Pathways',
    dose: 82,
    frequency: 'Weekly',
    startYear: 2022,
    status: 'Active',
    category: 'Clinical',
    prescribingHistory: [
      { year: 2022, description: 'Started: Rheumatology, ophthalmology pathway design' },
      { year: 2023, description: 'Increased: Dermatology, gastroenterology, neurology' },
      { year: 2024, description: 'Current: System-wide pathway governance' },
    ],
  },
  {
    id: 'med-cd-assurance',
    name: 'Controlled Drug Assurance',
    dose: 88,
    frequency: 'Weekly',
    startYear: 2024,
    status: 'Active',
    category: 'Clinical',
    prescribingHistory: [
      { year: 2024, description: 'Started: OME calculation system development' },
      { year: 2024, description: 'Increased: Population-scale monitoring capability' },
      { year: 2025, description: 'Current: High-risk patient identification, diversion detection' },
    ],
  },
  {
    id: 'med-budget',
    name: 'Budget Management',
    dose: 90,
    frequency: 'As needed',
    startYear: 2024,
    status: 'Active',
    category: 'PRN',
    prescribingHistory: [
      { year: 2024, description: 'Started: £220M prescribing budget oversight' },
      { year: 2024, description: 'Increased: Forecasting model development' },
      { year: 2025, description: 'Current: Proactive financial planning, pressure identification' },
    ],
  },
  {
    id: 'med-stakeholder',
    name: 'Stakeholder Engagement',
    dose: 88,
    frequency: 'As needed',
    startYear: 2022,
    status: 'Active',
    category: 'PRN',
    prescribingHistory: [
      { year: 2022, description: 'Started: Clinical lead engagement across care sectors' },
      { year: 2024, description: 'Increased: Executive communication, CMO presentations' },
      { year: 2025, description: 'Current: System-level programme board reporting' },
    ],
  },
  {
    id: 'med-pharma-neg',
    name: 'Pharmaceutical Negotiation',
    dose: 85,
    frequency: 'As needed',
    startYear: 2024,
    status: 'Active',
    category: 'PRN',
    prescribingHistory: [
      { year: 2024, description: 'Started: Rebate terms renegotiation' },
      { year: 2024, description: 'Current: Improved commercial position for ICB' },
    ],
  },
  {
    id: 'med-team-dev',
    name: 'Team Development',
    dose: 82,
    frequency: 'As needed',
    startYear: 2017,
    status: 'Active',
    category: 'PRN',
    prescribingHistory: [
      { year: 2017, description: 'Started: NVQ3 supervision to technician registration' },
      { year: 2019, description: 'Increased: National induction training development' },
      { year: 2024, description: 'Current: Data fluency training, self-serve tools' },
    ],
  },
]
