// drugs_w.sy -- FDA drug labels: generic names starting with 'W'
// Entries: 19 | PK values: median of all FDA label records with units
// Source: kai_consciousness DB <- FDA/DailyMed SPL (public domain)
// Generated: 2026-04-12 | Marjorie McCubbins + Aether
// Patent pending: 64/034,536

struct DrugRecord {
    brand_name: String,
    generic_name: String,
    route: String,
    dosage_form: String,
    product_type: String,
    app_number: String,
    spl_id: String,
    half_life: String,
    bioavailability: String,
    protein_binding: String,
    clearance: String,
    volume_distribution: String,
    tmax: String,
    cmax: String,
    pharmacologic_class: String,
    therapeutic_category: String,
    cyp_profile: String,
    interactions: String,
}

fn drug(bn: String, gn: String, rt: String, df: String, pt: String, an: String, si: String, hl: String, ba: String, pb: String, cl: String, vd: String, tm: String, cm: String, pc: String, tc: String, cyp: String, ia: String) -> DrugRecord {
    return DrugRecord { brand_name: bn, generic_name: gn, route: rt, dosage_form: df, product_type: pt, app_number: an, spl_id: si, half_life: hl, bioavailability: ba, protein_binding: pb, clearance: cl, volume_distribution: vd, tmax: tm, cmax: cm, pharmacologic_class: pc, therapeutic_category: tc, cyp_profile: cyp, interactions: ia }
}

fn unknown_drug() -> DrugRecord {
    return drug("", "UNKNOWN", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "")
}

fn lookup_drug_w(generic: String) -> DrugRecord {
    if generic == "WARFARIN SODIUM" { return drug("Jantoven", "WARFARIN SODIUM", "ORAL", "", "HUMAN PRESCRIPTION DRUG", "ANDA040416", "396ff415-9bf2-8f45-e063-6394a90af63e", "", "", "", "", "0.14 L/kg", "", "", "", "", "CYP1A2:inducer|CYP1A2:inhibitor:moderate|CYP1A2:substrate|CYP2C9:inducer|CYP2C9:inhibitor:moderate|CYP2C9:substrate|CYP3A4:inhibitor:moderate", "") }
    if generic == "WART CORN REMOVER PADS" { return drug("Samsali Wart Corn Remover Pads", "WART CORN REMOVER PADS", "TOPICAL", "", "HUMAN OTC DRUG", "M030", "22744929-7fe4-3193-e063-6394a90af685", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WART DROPS" { return drug("Wart Drops 2078", "WART DROPS", "ORAL", "", "HUMAN OTC DRUG", "", "3427cade-9eb2-4fa6-a2f0-c1cb48779222", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WART REMOVER" { return drug("Samsali Wart Remover", "WART REMOVER", "TOPICAL", "", "HUMAN OTC DRUG", "M028", "0f32eb6d-0175-59aa-e063-6394a90a7087", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WART REMOVER LIQUID" { return drug("Salicylic Acid", "WART REMOVER LIQUID", "TOPICAL", "", "HUMAN OTC DRUG", "M028", "409769e5-f71d-17f7-e063-6294a90a94c8", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WATER" { return drug("EyS Eye Wash", "WATER", "OPHTHALMIC", "", "HUMAN OTC DRUG", "M018", "696e53d5-52ce-4bcc-9a2a-74c9145a6d75", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WATER, PURIFIED" { return drug("RUGBY EYE WASH", "WATER, PURIFIED", "OPHTHALMIC", "", "HUMAN OTC DRUG", "M018", "ced11292-8545-4b63-8ce4-6798bb02e707", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WATERMELON FLAVOR SODIUM FLUORIDE ANTICAVITY TOOTHPASTE" { return drug("Hismile", "WATERMELON FLAVOR SODIUM FLUORIDE ANTICAVITY TOOTHPASTE", "DENTAL", "", "HUMAN OTC DRUG", "M021", "4878b60a-cd10-5156-e063-6394a90a59ee", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WEIGHT LOSS GUMMIES" { return drug("weight loss gummies", "WEIGHT LOSS GUMMIES", "ORAL", "", "HUMAN OTC DRUG", "", "2e4fa606-008c-e54b-e063-6294a90af4c3", "", "", "", "", "", "", "", "Amino Acid Hypertonic Solution [EPC], Non-Standardized Food Allergenic Extract [EPC], Non-Standardized Plant Allergenic Extract [EPC]", "", "", "") }
    if generic == "WELLMIND" { return drug("WellMind Mental Focus", "WELLMIND", "ORAL", "", "HUMAN OTC DRUG", "", "a4334f92-51ed-4731-8af8-ce7848c89c52", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WEST NILE VIRUS NOSODE" { return drug("West Nile Virus Nosode 4015", "WEST NILE VIRUS NOSODE", "ORAL", "", "HUMAN OTC DRUG", "", "7e55732a-2ede-405a-86be-24246f7f4424", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WHITE CHESTNUT, SCLERANTHUS, CLEMATIS" { return drug("Bach Clarity of Mind Focus Kit", "WHITE CHESTNUT, SCLERANTHUS, CLEMATIS", "", "", "HUMAN OTC DRUG", "", "06311e45-7194-a60d-e063-6294a90a95ec", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WHITE PETROLATUM" { return drug("Medline", "WHITE PETROLATUM", "TOPICAL", "", "HUMAN OTC DRUG", "M016", "249a2adb-281b-abe4-e063-6294a90a7635", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WHITE PETROLATUM, ZINC OXIDE" { return drug("Medline", "WHITE PETROLATUM, ZINC OXIDE", "TOPICAL", "", "HUMAN OTC DRUG", "M016", "101b9933-c2b9-0fdd-e063-6294a90a306a", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WHITE PETROLEUM" { return drug("UNIVERSAL LAVENDER SCENT PETROLEUM", "WHITE PETROLEUM", "TOPICAL", "", "HUMAN OTC DRUG", "M016", "498e79b1-89f7-e051-e063-6294a90ae14d", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WILD WOODS 48H ANTIPERSPIRANT DEODORANT" { return drug("Degree", "WILD WOODS 48H ANTIPERSPIRANT DEODORANT", "TOPICAL", "", "HUMAN OTC DRUG", "M019", "264b67b9-5197-975e-e063-6394a90abf10", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WITCH HAZEL" { return drug("PURA", "WITCH HAZEL", "TOPICAL", "", "HUMAN OTC DRUG", "M015", "453a5aea-e8d8-e6f9-e063-6294a90a9ad9", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WOOD CREOSOTE" { return drug("Kreosotum", "WOOD CREOSOTE", "ORAL", "", "HUMAN OTC DRUG", "", "0a0e30cc-ad75-8cf3-e063-6394a90a974d", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "WOUND CREAM" { return drug("Xcellderma", "WOUND CREAM", "TOPICAL", "", "HUMAN OTC DRUG", "M016", "351c4e48-bfe9-1023-e063-6394a90ac6e7", "", "", "", "", "", "", "", "", "", "", "") }
    return unknown_drug()
}

fn drug_count_w() -> Int {
    return 19
}