// drugs_k.sy -- FDA drug labels: generic names starting with 'K'
// Entries: 27 | 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_k(generic: String) -> DrugRecord {
    if generic == "KALI BROMATUM" { return drug("KALI BROMATUM", "KALI BROMATUM", "ORAL", "", "HUMAN OTC DRUG", "", "cd4f7ba3-554a-4e79-e053-2995a90adc42", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KALI CYANATUM" { return drug("Kali Cyanatum", "KALI CYANATUM", "ORAL", "", "HUMAN OTC DRUG", "", "032507e2-c9fb-f285-e063-6394a90a0fbf", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KALI FLUORATUM" { return drug("Kali Fluoratum", "KALI FLUORATUM", "ORAL", "", "HUMAN OTC DRUG", "", "055aa7ce-89e6-cd78-e063-6394a90a7da6", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KALI MURIATICUM, GELSEMIUM, KALI BICHROMICUM, SABADILLA, HISTAMINUM, MOLD MIX." { return drug("Mold Relief Formula", "KALI MURIATICUM, GELSEMIUM, KALI BICHROMICUM, SABADILLA, HISTAMINUM, MOLD MIX.", "ORAL", "", "HUMAN OTC DRUG", "", "416205c4-4fec-1e12-e063-6294a90af417", "", "", "", "", "", "", "", "Non-Standardized Fungal Allergenic Extract [EPC]", "", "", "") }
    if generic == "KALI MURIATICUM,KALI SULPHURICUM,CALCAREA SULPHURICA,SILICEA" { return drug("Schuessler Tissue Salts Comb D Skin Disorders", "KALI MURIATICUM,KALI SULPHURICUM,CALCAREA SULPHURICA,SILICEA", "ORAL", "", "HUMAN OTC DRUG", "", "3c3ecdc5-f936-ece1-e063-6394a90a9539", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KALI OXALICUM" { return drug("Kali Oxalicum", "KALI OXALICUM", "ORAL", "", "HUMAN OTC DRUG", "", "0326769f-24a8-059b-e063-6294a90a0f76", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KALI PHOSPHORICUM" { return drug("KALI PHOSPHORICUM", "KALI PHOSPHORICUM", "ORAL", "", "HUMAN OTC DRUG", "", "ccf4b8a3-7222-4237-e053-2a95a90a00b1", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KALI SULPHURICUM" { return drug("Schuessler Tissue Salts Kali Sulph Skin Balance 7", "KALI SULPHURICUM", "ORAL", "", "HUMAN OTC DRUG", "", "395844ca-6baa-db3e-e063-6294a90a7726", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KAOLIN" { return drug("Alumina silicata", "KAOLIN", "ORAL", "", "HUMAN OTC DRUG", "", "13a2eb11-908e-323a-e063-6394a90aba0e", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KEROSENE - SULFUR - THUJA OCCIDENTALIS LEAFY" { return drug("WHP Fungus", "KEROSENE - SULFUR - THUJA OCCIDENTALIS LEAFY", "ORAL", "", "HUMAN OTC DRUG", "", "2cc8665c-5c37-a931-e063-6294a90ade88", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KEROSENE,GRAPHITE, CALCIUM SULFIDE, SEPIA OFFICINALIS JUICE, SULFUR, AND THUJA OCCIDENTALIS LEAFY TWIG" { return drug("Hendel Psoriasis, Eczema, Seborrhea", "KEROSENE,GRAPHITE, CALCIUM SULFIDE, SEPIA OFFICINALIS JUICE, SULFUR, AND THUJA OCCIDENTALIS LEAFY TWIG", "ORAL", "", "HUMAN OTC DRUG", "", "19d60e31-a1d2-4724-a2da-9045fd58284e", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KETAMINE HYDROCHLORIDE" { return drug("Ketalar", "KETAMINE HYDROCHLORIDE", "INTRAMUSCULAR", "", "HUMAN PRESCRIPTION DRUG", "NDA016812", "0f521490-2803-43cd-baf9-e0ab303694d0", "2.5 hours", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KETOCONAZOLE" { return drug("Ketoconazole", "KETOCONAZOLE", "TOPICAL", "", "HUMAN PRESCRIPTION DRUG", "ANDA075581", "21bd4467-5a52-41b8-b583-6bff890cf499", "", "", "", "", "", "", "", "Azole Antifungal [EPC]", "", "", "") }
    if generic == "KETOCONAZOLE CREAM, 2%" { return drug("Ketoconazole", "KETOCONAZOLE CREAM, 2%", "TOPICAL", "", "HUMAN PRESCRIPTION DRUG", "ANDA212443", "2d04d27d-6b6d-e729-e063-6394a90ab60b", "", "", "", "", "", "", "", "Azole Antifungal [EPC]", "", "", "") }
    if generic == "KETOPROFEN" { return drug("Ketoprofen", "KETOPROFEN", "ORAL", "", "HUMAN PRESCRIPTION DRUG", "ANDA075679", "2dad8626-e0dd-46ad-9e75-069c6e82fc20", "", "90 %", "0.50", "", "", "1.2 hours", "", "Nonsteroidal Anti-inflammatory Drug [EPC]", "", "", "") }
    if generic == "KETOROLAC TROMETHAMINE" { return drug("Ketorolac Tromethamine", "KETOROLAC TROMETHAMINE", "ORAL", "", "HUMAN PRESCRIPTION DRUG", "ANDA216759", "36d66131-6457-f5ef-e063-6394a90a005d", "2.5 hours", "100 %", "99", "0.04 L/h", "0.34 L/kg", "", "2.5 mcg/mL", "", "", "", "Drug") }
    if generic == "KETOTIFEN FUMARATE" { return drug("KETOTIFEN FUMARATE", "KETOTIFEN FUMARATE", "OPHTHALMIC", "", "HUMAN OTC DRUG", "ANDA204059", "948d4259-9d62-4bc7-9149-6961034364bf", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KINFIELD CLOUD COVER MINERAL BODY SUNSCREEN BROAD SPECTRUM SPF 35" { return drug("Kinfield Cloud Cover Mineral Body Sunscreen Broad Spectrum SPF 35", "KINFIELD CLOUD COVER MINERAL BODY SUNSCREEN BROAD SPECTRUM SPF 35", "TOPICAL", "", "HUMAN OTC DRUG", "M020", "472ba91e-6f2b-7a13-e063-6294a90aa350", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KINFIELD DAILY DEW SEA KELP MOISTURIZER SUNSCREEN LOTION BROAD SPECTRUM SPF 35" { return drug("Kinfield Daily Dew Sea Kelp Moisturizer Sunscreen Broad Spectrum SPF 35", "KINFIELD DAILY DEW SEA KELP MOISTURIZER SUNSCREEN LOTION BROAD SPECTRUM SPF 35", "TOPICAL", "", "HUMAN OTC DRUG", "M020", "472ba8a2-02e2-697e-e063-6294a90adc2f", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KIT" { return drug("Vega Oral Care Recovery Cucumber", "KIT", "ORAL", "", "HUMAN OTC DRUG", "", "468e73f6-9318-4e8d-e063-6294a90a83cb", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KIT FOR THE PREPARATION OF TECHNETIUM TC 99M MEBROFENIN" { return drug("Kit for the Preparation of Technetium Tc 99m Mebrofenin", "KIT FOR THE PREPARATION OF TECHNETIUM TC 99M MEBROFENIN", "INTRAVENOUS", "", "HUMAN PRESCRIPTION DRUG", "ANDA078242", "20bf6038-c480-0b7f-e063-6394a90a8d65", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KIT FOR THE PREPARATION OF TECHNETIUM TC 99M-LABELED CARBON INHALATION AEROSOL" { return drug("TECHNEGAS", "KIT FOR THE PREPARATION OF TECHNETIUM TC 99M-LABELED CARBON INHALATION AEROSOL", "", "", "HUMAN PRESCRIPTION DRUG", "NDA022335", "4a80a439-074a-c62f-e063-6394a90a7834", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KLEBSIELLA PNEUMONIAE" { return drug("Muco coccinum", "KLEBSIELLA PNEUMONIAE", "SUBLINGUAL", "", "HUMAN OTC DRUG", "", "ed11f0cb-f2b5-732a-e053-2a95a90a6c45", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KNEE PATCH" { return drug("Mqupin Knee Patch", "KNEE PATCH", "TOPICAL", "", "HUMAN OTC DRUG", "M017", "349c91e3-026f-ba51-e063-6394a90a3fa3", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KNEE RELIEVE PATCH" { return drug("Sumifun Knee Relieve Patch", "KNEE RELIEVE PATCH", "TOPICAL", "", "HUMAN OTC DRUG", "M017", "0e031aa5-edf5-8c9d-e063-6394a90afee3", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KNEE RELIEVING PATCH" { return drug("Sumifun Knee Relieving Patch", "KNEE RELIEVING PATCH", "TOPICAL", "", "HUMAN OTC DRUG", "M017", "0e7e7a45-0a9d-7430-e063-6294a90a894f", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "KONIX ALCOHOL ANTISEPTIC HAND RUB" { return drug("KONIX Alcohol Antiseptic Hand Rub", "KONIX ALCOHOL ANTISEPTIC HAND RUB", "TOPICAL", "", "HUMAN OTC DRUG", "part333A", "d8939fbd-da34-4f20-ab23-2d4b7fd62363", "", "", "", "", "", "", "", "", "", "", "") }
    return unknown_drug()
}

fn drug_count_k() -> Int {
    return 27
}