{
  "schema_version": "1.0",
  "organization": "p2-data-lab",
  "portal": "p2-fda-udi-medtech-calc",
  "live_meta_url": "https://p2-fda-udi-medtech-calc.pages.dev/data/meta.json",
  "openapi_url": "https://p2-fda-udi-medtech-calc.pages.dev/openapi.json",
  "public_datasets": [
    "https://p2-fda-udi-medtech-calc.pages.dev/data/device-recalls-and-trials.json",
    "https://p2-fda-udi-medtech-calc.pages.dev/data/fda-510k-pma-benchmarks.json",
    "https://p2-fda-udi-medtech-calc.pages.dev/data/mdufa-eu-mdr-fees.json"
  ],
  "calculator_inputs_schema": {
    "regulatory_pathway": {
      "label": "US FDA Submission Pathway",
      "type": "select",
      "default": "FDA_510K_TRADITIONAL",
      "options": [
        "FDA_510K_TRADITIONAL",
        "FDA_510K_THIRD_PARTY_3P510K",
        "FDA_DE_NOVO_CLASSIFICATION",
        "FDA_PMA_ORIGINAL_CLASS_III",
        "FDA_510K_EXEMPT_CLASS_I"
      ]
    },
    "medical_specialty": {
      "label": "FDA Advisory Panel / Clinical Specialty",
      "type": "select",
      "default": "Radiology (AI/SaMD & Imaging)"
    },
    "annual_gross_receipts_usd": {
      "label": "Applicant + Affiliates Gross Annual Receipts (USD — governs SBD eligibility)",
      "type": "number",
      "default": 12000000,
      "min": 0,
      "max": 5000000000
    },
    "first_ever_pma_submission": {
      "label": "First-Ever Original PMA for Applicant? (<= $30M SBD Waiver Check)",
      "type": "boolean",
      "default": true
    },
    "manufacturing_establishments": {
      "label": "Registered Device Establishments (Annual MDUFA Registration Fee, No SBD Waiver)",
      "type": "number",
      "default": 1,
      "min": 1,
      "max": 25
    },
    "software_ai_cyber_testing": {
      "label": "Includes AI/ML SaMD, PCCP or Section 524B Cybersecurity SBOM Package?",
      "type": "boolean",
      "default": true
    },
    "biocompat_emc_sterility_tier": {
      "label": "ISO 10993 Biocompatibility, IEC 60601-1 EMC & Sterilization Lab Tier",
      "type": "select",
      "default": "NON_INVASIVE_60601_EMC",
      "options": [
        "SAMD_SOFTWARE_ONLY",
        "NON_INVASIVE_60601_EMC",
        "PATIENT_CONTACT_ISO10993",
        "IMPLANTABLE_STERILE_CHRONIC"
      ]
    },
    "clinical_study_patients": {
      "label": "Pivotal / Validation Clinical Study Enrollment (Subjects — anchored to ClinicalTrials.gov)",
      "type": "number",
      "default": 120,
      "min": 0,
      "max": 5000
    },
    "per_patient_cro_site_cost_usd": {
      "label": "Fully-Loaded CRO + Clinical Site Cost per Enrolled Subject (USD)",
      "type": "number",
      "default": 8500,
      "min": 500,
      "max": 100000
    },
    "eu_mdr_class": {
      "label": "Target EU MDR (2017/745) Parallel Market Access",
      "type": "select",
      "default": "EU_MDR_CLASS_IIA",
      "options": [
        "NONE_US_ONLY",
        "EU_MDR_CLASS_IIA",
        "EU_MDR_CLASS_IIB",
        "EU_MDR_CLASS_III_IMPLANT"
      ]
    },
    "monthly_company_burn_usd": {
      "label": "Monthly MedTech Startup Operating Burn During Regulatory Hold (USD/mo)",
      "type": "number",
      "default": 145000,
      "min": 10000,
      "max": 2000000
    }
  },
  "formulas_summary": {
    "sbd_eligibility": "is_SBD = (annual_gross_receipts_usd <= 100000000); is_First_PMA_Waiver = (annual_gross_receipts_usd <= 30000000 and first_ever_pma_submission)",
    "fda_statutory_user_fees_usd": "Fee_FDA = Submission_Fee(pathway, is_SBD, is_First_PMA_Waiver) + manufacturing_establishments * Annual_Establishment_Fee_NoDiscount",
    "v_and_v_testing_capex_usd": "Cost_VnV = Lab_Tier_Cost(biocompat_emc_sterility_tier) + (42000 if software_ai_cyber_testing_IEC62304_Sec524B else 0) + QMS_ISO13485_Audit_Cost",
    "clinical_trial_capex_and_months": "Cost_Clinical = clinical_study_patients * per_patient_cro_site_cost_usd + (65000_IRB_Protocol_Fixed if clinical_study_patients > 0 else 0); Months_Clinical = Empirical_CTgov_Duration(clinical_study_patients)",
    "fda_review_calendar_months_p50_p90": "Days_FDA_P50, Days_FDA_P90 = Empirical_OpenFDA_Review_Days(medical_specialty, regulatory_pathway) * (1.25 if AI_Hold_Risk else 1.0)",
    "eu_mdr_notified_body_usd": "Cost_EU_MDR_USD = (NB_TechFile_Audit_EUR(eu_mdr_class) + ISO13485_Surveillance_EUR * 3) * FX_USD_per_EUR",
    "total_capital_to_clearance_p50_p90": "Total_Cash_Required(p) = Fee_FDA + Cost_VnV + Cost_Clinical + Cost_EU_MDR_USD + Regulatory_Consulting_USD + ((Months_Clinical + Days_FDA(p) / 30.44) * monthly_company_burn_usd)"
  },
  "pro_api_endpoint": "https://p2-core-api.evsmtoken.workers.dev/v1/pro/p2-fda-udi-medtech-calc/dataset",
  "auth_header": "Authorization: Bearer <POLAR_LICENSE_KEY>",
  "purchase_tiers": [
    {
      "sku_key": "fda_medtech_clearance_dataset",
      "product_id": "524fda49-d349-4401-80f8-06a572688075",
      "name": "openFDA 510(k)/PMA Review-Time & Recall Dataset (CSV/JSON)",
      "price_usd": 49,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_2ha7MJSq45EmBnBnOw1dGncvV7RBgx3CKjQHc1jJ6Jl"
    },
    {
      "sku_key": "medtech_ra_pro_license",
      "product_id": "da828756-be79-400c-bb34-154625781a4f",
      "name": "Pro MedTech Regulatory Predicate Modeler & API License Key",
      "price_usd": 39,
      "billing": "month",
      "checkout_url": "https://buy.polar.sh/polar_cl_T0T3ebOyfD9yrgyJGw6gUVC9uM70GjEYwWdCx1tD3qc"
    },
    {
      "sku_key": "medtech_series_a_regulatory_pack",
      "product_id": "83c2d4ef-cd36-4c78-bb1b-0ccd199516f1",
      "name": "MedTech & AI-SaMD CEO/VP-RA FDA/EU-MDR Diligence Workbook",
      "price_usd": 119,
      "billing": "one_time",
      "checkout_url": "https://buy.polar.sh/polar_cl_BzKaIOkU0OByICsTeUuxMZBDlflsPUWy0cAT30euWnR"
    }
  ],
  "master_all_portals_pass": {
    "master_all_portals_pro_monthly": {
      "product_id": "18e0b844-b764-41f0-9c3d-186362784997",
      "name": "All-Portals Master Pro API & Batch CSV License Key (Monthly)",
      "price_usd": 79,
      "billing": "monthly",
      "checkout_url": "https://buy.polar.sh/polar_cl_0P1axu2nXEDXECK8Z0k7I3sMndeo3hsdqpepv1LUcJT"
    },
    "enterprise_annual_data_pass": {
      "product_id": "8a5266eb-3aaf-4fb3-9aef-0e5bbfd17dc3",
      "name": "Annual Enterprise FinOps & Compliance Data Pass (All Portals)",
      "price_usd": 499,
      "billing": "yearly",
      "checkout_url": "https://buy.polar.sh/polar_cl_SPWfsAxuQAVHif3soxwqbq5zPAdNZFkN5CtQK3cZRft"
    }
  }
}