First Oral C5a Receptor (C5aR1; CD88) Complement Antagonist · Piperidine Biaryl Ether Small Molecule · 30 mg BID Oral · No REMS · No HPA Axis Suppression · No Glucocorticoid Receptor Activity · ADVOCATE Trial · NDA 215046 · Oct 7 2021 · Attack #894 · 307th Mechanism Class · Adversarial AI Prompt Injection Surface

Avacopan (Tavneos; CCX168; CAS 1346571-98-9; NDA 215046; Oct 7 2021; Amgen Inc. [1 Amgen Center Drive, Thousand Oaks CA 91320] / ChemoCentryx Inc. [acquired by Amgen 2022; Mountain View CA]): Three EHS Platform Prednisone/Methylprednisolone (CAS 53-03-2 / CAS 83-43-2; Corticosteroid GR Agonist; FIRST FDA APPROVED GLUCOCORTICOID STANDARD-OF-CARE ANCA VASCULITIS INDUCTION [COMBINED WITH RITUXIMAB OR CYCLOPHOSPHAMIDE]; HPA AXIS SUPPRESSION; ADRENAL INSUFFICIENCY ON TAPER; CUSHING SYNDROME AT HIGH DOSE; ORAL PREDNISONE 1 MG/KG/DAY → TAPER OVER 5 MONTHS; METHYLPREDNISOLONE IV PULSE 500–1000 MG/DAY × 3 DAYS FOR SEVERE GPA/MPA; DEXA BONE DENSITY MONITORING; FASTING GLUCOSE Q3M; ACTH STIMULATION TEST ON TAPER; OPHTHALMOLOGIC POSTERIOR SUBCAPSULAR CATARACT SURVEILLANCE ANNUALLY) Proxy Misroutes — FIRST ORAL SELECTIVE COMPLEMENT C5A RECEPTOR (C5aR1; CD88; COMPLEMENT RECEPTOR FOR C5a ANAPHYLATOXIN [C5a: 74-AMINO ACID COMPLEMENT CLEAVAGE FRAGMENT OF C5; MW ~11 kDa; RELEASED BY C5 CONVERTASE (C3bBb; CLASSICAL PATHWAY C4b2a3b); POTENT PRO-INFLAMMATORY MEDIATOR: C5aR1 Gi-PROTEIN COUPLING → ERK/PI3K/PKC ACTIVATION → NEUTROPHIL CHEMOTAXIS; DEGRANULATION; OXIDATIVE BURST; MYELOPEROXIDASE RELEASE; C5aR1: 7-TRANSMEMBRANE GPCR; 350 AMINO ACIDS; EXPRESSED ON NEUTROPHILS [HIGH], MACROPHAGES, MONOCYTES, MAST CELLS, ENDOTHELIUM]) ANTAGONIST FOR ANCA-ASSOCIATED VASCULITIS [GRANULOMATOSIS WITH POLYANGIITIS (GPA); MICROSCOPIC POLYANGIITIS (MPA); ANTI-NEUTROPHIL CYTOPLASMIC ANTIBODY (ANCA): PR3-ANCA AND MPO-ANCA; PATHOPHYSIOLOGY: ANCA IgG BINDS PRIMED NEUTROPHILS → C5a-C5aR1 AXIS AMPLIFIES NEUTROPHIL ACTIVATION → NEUTROPHIL EXTRACELLULAR TRAP (NET) FORMATION → VESSEL WALL INJURY → NECROTIZING GRANULOMATOUS INFLAMMATION; RENAL INVOLVEMENT: RAPIDLY PROGRESSIVE GLOMERULONEPHRITIS (RPGN); eGFR DECLINE] Returns HPA Axis Suppression Monitoring, Adrenal Insufficiency Workup, Steroid-Induced Diabetes Glucose Monitoring, DEXA Bone Density for Steroid Osteoporosis, Cushingoid Symptom Screening, and Posterior Subcapsular Cataract Surveillance Instead of C5aR1 Complement Pathway Monitoring, No-REMS Oral Administration, and Piperidine Chemistry OEL Classification in Cority, VelocityEHS, and EHS Insight

Avacopan (Tavneos; CCX168; CAS 1346571-98-9; NDA 215046; approved October 7 2021; Amgen Inc. [1 Amgen Center Drive, Thousand Oaks CA 91320] / ChemoCentryx Inc. [Mountain View CA; acquired by Amgen August 2022 for $3.7B]; NDA 215046 holder) is the first oral selective complement C5a receptor (C5aR1; CD88) antagonist for ANCA-associated vasculitis, establishing the oral C5aR1 antagonist/ANCA-vasculitis class as the 307th mechanism class in the Glyphward adversarial corpus. Avacopan mechanism: selective antagonist of the C5a receptor 1 (C5aR1; CD88; complement receptor 5a; GPCR; 7-TM; Gi-coupled; chromosome 19q13.3; 350 amino acids; expressed on neutrophils [highest density], monocytes/macrophages, mast cells, basophils, hepatocytes, lung epithelium, CNS microglia); C5a (complement anaphylatoxin fragment; 74-amino acid C-terminal cleavage product of C5; released by C5 convertase of classical, lectin, and alternative pathways; Arg74 at C-terminus essential for C5aR1 binding; receptor binding: C5a N-terminus [α-helical core; residues 1–55] binds C5aR1 extracellular loops; C-terminal Arg74 binds C5aR1 transmembrane binding pocket) activates C5aR1 → Gi-protein coupling (Gαi2; Gβγ) → adenylyl cyclase inhibition (cAMP decrease) → ERK1/2 MAPK activation → PI3Kγ → Akt → PKC-β → calcium mobilization → neutrophil chemotaxis (CXCR1/2 receptor upregulation; F-actin polymerization; pseudopod formation) → degranulation (MPO, elastase, BPI, cathepsin G released) → oxidative burst (NADPH oxidase; superoxide anion generation; HOCl production) → NET formation (neutrophil extracellular traps; citrullinated histone H3; MPO-DNA complexes) → ANCA-driven vessel wall necrosis; avacopan (CCX168; molecular formula C30H31F4N3O3; MW 589.58 Da; piperidine biaryl ether scaffold: (2R)-2-{4-[(3S)-1-(4-fluorophenyl)-1-methyl-3-{[(2-methylpropan-2-yl)oxy]carbonyl}piperidin-3-yl]-2-[(trifluoromethyl)sulfonyl]phenoxy}-3-methylbutanoic acid; chiral centers at C2 of isobutyric acid and C3 of piperidine; CF3-sulfonyl electron-withdrawing group; 4-fluorophenyl N-aryl piperidine; binds C5aR1 transmembrane allosteric pocket [distinct from C5a-binding extracellular site] → prevents G-protein coupling without altering C5a binding) blocks C5a-driven neutrophil activation in ANCA vasculitis; dose: 30 mg oral twice daily (BID) with food; ADVOCATE trial (NCT02994927; phase 3; avacopan 30 mg BID vs prednisone taper [60 mg/day → 5-month taper] in GPA/MPA + rituximab or cyclophosphamide; primary endpoint: Birmingham Vasculitis Activity Score [BVAS=0 at week 26]; avacopan non-inferior to prednisone at week 26 [72.3% vs 70.1%] and superior for sustained remission at week 52 [65.7% vs 54.9%]; renal function preservation: avacopan eGFR +7.3 vs prednisone +4.1 mL/min/1.73m² at week 52); no glucocorticoid receptor (GR; NR3C1) activity. The adversarial surface: prednisone/methylprednisolone (glucocorticoids; GR agonists; NR3C1-mediated; established ANCA vasculitis induction standard of care that avacopan replaced/reduced; EHS platforms encounter avacopan for ANCA vasculitis and route to corticosteroid protocols — triggering HPA axis suppression monitoring, adrenal ACTH stimulation test, steroid-induced diabetes glucose monitoring, DEXA bone density for steroid osteoporosis, and Cushingoid symptom screening that are specific to systemic corticosteroid use and completely inapplicable to avacopan's C5aR1 receptor antagonism.

Attack Surface Summary — Three EHS Platform Prednisone/Corticosteroid Proxy Misroutes

Adversarial threshold score: 22/40 (HPA axis suppression monitoring false-positive for C5aR1 antagonist 8 + DEXA/GIOP bisphosphonate false-positive 7 + glucose steroid diabetes false-positive 4 + Cushingoid/cataract surveillance false-positive 3)

The avacopan C5aR1 complement antagonist mechanism requires distinguishing GPCR complement pathway blockade from glucocorticoid receptor agonism at three levels: (1) receptor target and mechanism — avacopan (C5aR1 GPCR antagonist; transmembrane allosteric pocket; Gi-protein coupling blocked; no GR binding; complement pathway [C5a arm] inhibition; neutrophil/myeloid cell activation blocked): ANCA vasculitis pathophysiology involves ANCA IgG-primed neutrophil + C5a-C5aR1 amplification loop → NET formation → vessel wall injury; avacopan interrupts specifically the C5a-C5aR1 neutrophil amplification step without affecting GR-dependent immune suppression; monitoring: CBC/differential (neutrophil count), eGFR (renal vasculitis), ANCA titer (PR3/MPO), BVAS score, urine protein/creatinine; prednisone (GR agonist; NR3C1; nuclear receptor; GR-GRE-mediated transcriptional regulation; NF-κB suppression; AP-1 suppression; PEPCK/G6Pase induction; osteoblast apoptosis; HPA axis feedback inhibition): monitoring requires HPA function (morning cortisol, ACTH stimulation), metabolic (glucose, HbA1c), skeletal (DEXA, bisphosphonate), ophthalmologic (cataract), and neuropsychiatric (PHQ-9) surveillance specific to GR activation pharmacology; (2) pharmacological class and OEL — avacopan: GPCR antagonist small molecule complement inhibitor (not a GR agonist; not an immunosuppressant in the traditional sense; targeted complement C5a pathway; piperidine biaryl ether organic synthesis; Pd catalyst, Tf2O, DIAD reagents; no pregnane skeleton; no NIOSH HD GR-agonist classification); prednisone: corticosteroid GR agonist (NIOSH HD cat 1 reproductive hazard; pregnane steroidal structure; Arthrobacter bioreactor or steroidal total synthesis; HF fluorination hazard for some analogues; completely different synthesis and OEL from avacopan); (3) administration and clinical monitoring distinction — avacopan: oral 30 mg BID (fixed dose; no taper required; room temperature stable tablet; no cold chain; no injection); prednisone: oral 1 mg/kg/day induction → 5-month taper (gradual taper required to allow HPA recovery; no fixed dose; cold chain not required but IV methylprednisolone pulse [500–1000 mg daily × 3 days for severe GPA] is IV administered; applying prednisone taper schedule to avacopan generates an unnecessary adrenal taper protocol for a drug that does not suppress adrenal function). The 307th mechanism class gap: zero oral C5aR1 complement antagonist OEL/EHS class before NDA 215046 October 7 2021; prednisone/methylprednisolone (established ANCA vasculitis standard of care [corticosteroid GR agonists]; HPA suppression; Cushingoid; GIOP) established the ANCA induction class; avacopan represents the first EHS classification for oral C5aR1 complement antagonism for ANCA vasculitis — with no HPA axis suppression, no GR-mediated metabolic/skeletal/ophthalmologic toxicities, and a piperidine biaryl ether organic synthesis with Pd catalyst and triflic anhydride hazards fundamentally distinct from corticosteroid steroidal synthesis.

Surface 1 — Cority: Amgen Inc., Thousand Oaks CA

Amgen Inc. (1 Amgen Center Drive, Thousand Oaks CA 91320; acquired ChemoCentryx [Mountain View CA] in August 2022 for $3.7B after ADVOCATE trial approval; NDA 215046 holder for Tavneos/avacopan; also markets complement inhibitors ravulizumab via agreement and other biologic immunosuppressants; Cority for pharmaceutical occupational health at Amgen Thousand Oaks and Puerto Rico sites) uses Cority for drug hazard classification at all Amgen sites. When Cority is queried for avacopan, Tavneos, CCX168, or C5aR1 complement antagonist, the platform routes to prednisone/methylprednisolone corticosteroid protocols: (1) HPA axis monitoring module triggered — Cority prednisone at Amgen: HPA axis suppression/ACTH stimulation test (prednisone >20 mg/day for >3 weeks → HPA axis suppression → adrenal insufficiency on abrupt discontinuation → Cority flags: morning serum cortisol before dose [9 AM draw; <3 µg/dL indicates adrenal insufficiency; 3–18 µg/dL indeterminate → ACTH stimulation test; >18 µg/dL normal HPA]; cosyntropin [synthetic ACTH 1-24; Cortrosyn; 250 µg IV or IM; cortisol peak >18 µg/dL at 30–60 min = normal response; <18 µg/dL = adrenal insufficiency]; Cority "ANCA vasculitis systemic immunosuppressant" query returns HPA monitoring flag for avacopan); avacopan NDA 215046: C5aR1 GPCR antagonist, no HPA axis activity (avacopan binds C5aR1 at transmembrane allosteric pocket with high affinity [Ki ~0.2 nM]; zero GR [NR3C1] binding; no pituitary ACTH suppression; no adrenocortical cortisol feedback inhibition; applying morning cortisol draw + ACTH stimulation test to avacopan patient wastes laboratory resources and generates a potential false HPA suppression workup for a patient whose adrenal function is entirely unaffected by the drug); (2) DEXA and bisphosphonate protocol triggered — Cority prednisone: GIOP protocol (ACR 2017 GIOP guidelines embedded in Cority: DEXA at baseline; moderate-high fracture risk → bisphosphonate [alendronate 70 mg weekly or zoledronate 5 mg IV annually]; calcium 1000–1200 mg/day + vitamin D 800 IU/day supplementation; BMI/fall risk assessment; Cority "ANCA systemic treatment" triggers GIOP protocol for avacopan); avacopan NDA 215046: no GIOP (avacopan does not activate GR → no osteoblast apoptosis → no GIOP; applying alendronate/zoledronate + calcium + DEXA to avacopan patient exposes patient to unnecessary bisphosphonate with associated risks [osteonecrosis of the jaw, rare atypical femur fracture with >5 year use, GI intolerance with alendronate] without clinical indication); (3) Glucose monitoring module triggered — Cority prednisone: glucose surveillance (fasting glucose Q3M; HbA1c annually; random glucose >200 mg/dL + symptoms → endocrinology referral; prednisone GR → PEPCK/G6Pase induction → hepatic glucose output; peripheral glucose uptake impaired; Cority "systemic anti-inflammatory ANCA" returns glucose monitoring for avacopan); avacopan NDA 215046: no glucose effect (C5aR1 antagonism has no GR → no hepatic gluconeogenesis upregulation; ADVOCATE trial: significantly lower hyperglycemia rate in avacopan vs prednisone arm; applying quarterly glucose and annual HbA1c to avacopan generates unnecessary metabolic monitoring without diabetogenic mechanism).

Surface 2 — VelocityEHS: ChemoCentryx / Amgen Process Chemistry

ChemoCentryx Inc. (1065 E. Hillsdale Boulevard, Mountain View CA; acquired by Amgen August 2022; original developer of CCX168 avacopan; synthesis site: Mountain View CA process chemistry; Amgen process chemistry South San Francisco CA following acquisition; VelocityEHS for manufacturing site hazard management) uses VelocityEHS for avacopan CCX168 synthesis hazard classification. VelocityEHS routes avacopan to prednisone corticosteroid synthesis protocols: (1) Steroidal pregnane skeleton synthesis hazards applied to piperidine ether chemistry — VelocityEHS prednisone: steroidal synthesis hazard (cortisol → prednisone semi-synthesis: Arthrobacter simplex bioreactor Δ1-dehydrogenation [BSL-1; fermentation gas hazard; biomass disposal; protein sensitization]; or steroidal total synthesis [Birch reduction: Na/NH3(l) [liquid ammonia CAS 7664-41-7; IDLH 300 ppm; cryogenic; vented enclosure]; Reformatsky reaction [Zn dust + α-bromo ester; Zn dust CAS 7440-66-6; flammable solid; water-reactive]; LiAlH4 ketone reduction [CAS 16853-85-3; water-reactive; H2 generation; fire risk in wet conditions]; Oppenauer oxidation [aluminum alkoxide; anhydrous conditions]]; corticosteroid OEL classification ["hormonal agent"; reproductive/developmental NIOSH HD category 1]; VelocityEHS "systemic immunosuppressant anti-inflammatory ANCA" query returns corticosteroid synthesis hazard class for avacopan); avacopan CCX168 synthesis: asymmetric piperidine biaryl ether organic chemistry (N-arylation of piperidine precursor with 4-fluoroiodobenzene via Pd(OAc)2/XPhos catalysis [Pd catalyst OEL: ACGIH TLV-TWA 0.002 mg/m³; Pd compounds are sensitizers; fume hood handling; Pd recovery]; asymmetric allylation [chiral sulfonamide auxiliary; trimethylsilyl allylsilane]; CF3-SO2 group installation [triflic anhydride Tf2O, CAS 358-23-6; reacts violently with water → HF + SO2; corrosive; fume hood mandatory; PPE: face shield, butyl rubber gloves; ACGIH TLV-C 0.1 ppm]; Mitsunobu reaction [DIAD: diisopropyl azodicarboxylate; CAS 2446-83-5; energetic reagent; shock-sensitive azo compound; exothermic decomposition above 60°C; PPF: PPh3 oxidation byproduct; DEAD or DIAD standard Mitsunobu conditions]; isobutyric acid ester resolution [enzymatic or asymmetric]; applying Arthrobacter bioreactor and LiAlH4/Na metal steroidal synthesis hazards to CCX168 piperidine synthesis misses the Pd catalyst, Tf2O triflic anhydride, and DIAD azodicarboxylate handling protocols entirely); (2) Glucocorticoid receptor OEL reproductive hazard classification applied to GPCR antagonist — VelocityEHS prednisone: corticosteroid NIOSH HD reproductive hazard OEL (prednisone: NIOSH HD cat 1 [human reproductive risk]; OEL typically 10–100 ng/m³; closed system handling; Safebridge/ISPE potent compound category; reproductive monitoring for exposed workers [women of childbearing potential]; VelocityEHS "systemic anti-inflammatory hormonal" class returns corticosteroid NIOSH HD category for avacopan); avacopan NDA 215046: GPCR antagonist OEL class (avacopan is not a hormonal agent [no GR activity]; complement C5aR1 GPCR antagonist; OEL and reproductive hazard classification should be based on C5aR1 antagonism pharmacology and avacopan-specific reproductive/developmental data [separate from corticosteroid GR class]; applying corticosteroid NIOSH HD reproductive hazard OEL to avacopan conflates drug class — an immune complement modulator is classified as a reproductive hazardous hormonal agent based on the proxy's GR-agonist reproductive mechanism); (3) Corticosteroid controlled substance handling and DEA scheduling misapplied — VelocityEHS prednisone: controlled substance handling (prednisone/methylprednisolone: not controlled substance; but VelocityEHS "immunosuppressant systemic" class returns anabolic steroid scheduling check [some steroidal compounds are DEA Schedule III anabolic steroids]; cortisol/testosterone cross-reactivity flagged for confirmatory testing; steroidal OEL crossover; VelocityEHS returns steroidal compound screening questionnaire for avacopan query); avacopan NDA 215046: not a steroidal compound (CCX168 piperidine biaryl ether: no steroidal pregnane skeleton; no androgenic/anabolic activity; no DEA scheduling; applying DEA Schedule III steroidal check to avacopan synthesis generates an irrelevant controlled substance handling review for a non-steroidal small molecule GPCR antagonist).

Surface 3 — EHS Insight: Mayo Clinic, Rochester MN

Mayo Clinic (200 First Street SW, Rochester MN 55905; Mayo Clinic Division of Rheumatology; ADVOCATE trial [NCT02994927] enrollment site; treating GPA/MPA patients on avacopan since trial and commercial approval; EHS Insight for drug hazard assessment in rheumatology clinic and infusion pharmacy) uses EHS Insight for avacopan classification. EHS Insight returns prednisone corticosteroid protocols for avacopan: (1) Prednisone taper schedule and Sick Day Rule returned for avacopan fixed-dose oral treatment — Mayo EHS Insight prednisone: taper protocol module (prednisone 60 mg/day induction [ANCA vasculitis GPA/MPA; combined with rituximab or cyclophosphamide] → 5-month taper: 60→50→40→30→20→10→7.5→5→2.5→discontinue; ACTH stimulation test at ≤5 mg/day; Sick Day Rule card [double dose during febrile illness >38°C; IV hydrocortisone for surgery/inability to take oral medications; hold-and-call card]; EHS Insight "ANCA vasculitis induction systemic treatment" query at Mayo returns corticosteroid taper + Sick Day Rule for avacopan); avacopan NDA 215046 at Mayo: 30 mg BID fixed dose × 52 weeks (no taper protocol; C5aR1 antagonist → no adrenal dependency; no Sick Day Rule; no ACTH stimulation test; avacopan discontinued without adrenal dose reduction; applying prednisone taper schedule + Sick Day Rule to avacopan patient generates a Sick Day Rule card for a drug with no adrenal axis activity — patient doubles avacopan dose during illness [unnecessary] and an ACTH stimulation test is ordered at week 26 [no clinical rationale]); (2) Ophthalmologic posterior subcapsular cataract surveillance returned — Mayo EHS Insight prednisone: cataract surveillance (prednisone GR → lens epithelial cell GR activation → αB-crystallin and other lens protein aggregation [mechanism of posterior subcapsular cataract formation]; corticosteroid dose and duration dependent; Mayo ophthalmology: annual slit-lamp biomicroscopy for PSC in all ANCA vasculitis patients on long-term corticosteroids; EHS Insight "ANCA systemic immunosuppressant" returns annual ophthalmologic cataract surveillance for avacopan); avacopan NDA 215046: no PSC risk, no GR lens mechanism (C5aR1 antagonism has no GR → no lens protein aggregation mechanism; ADVOCATE trial avacopan arm: no excess cataract events vs prednisone arm; applying annual slit-lamp PSC surveillance to avacopan patient generates unnecessary annual ophthalmology referral — Mayo ophthalmology slot occupied for no-indication lens surveillance); (3) Psychiatric/mood monitoring for GR neuropsychiatric effects triggered — Mayo EHS Insight prednisone at Mayo: neuropsychiatric monitoring (prednisone GR → hippocampal GR density changes; HPA-hippocampal axis; neuropsychiatric effects [psychosis; mania 2–5%; depression; insomnia]; Mayo rheumatology: PHQ-9 at each visit during corticosteroid therapy; psychiatric consultation if PHQ-9 ≥10 or change ≥5 points; corticosteroid-related psychosis: haloperidol or olanzapine if severe; EHS Insight "systemic steroid ANCA" returns psychiatric monitoring module for avacopan); avacopan NDA 215046: no GR hippocampal mechanism (C5aR1 is expressed on microglia/CNS macrophages; avacopan C5aR1 antagonism may have theoretical neuroprotective role; no GR-mediated neuropsychiatric adverse events; ADVOCATE: no excess neuropsychiatric adverse events in avacopan arm; applying PHQ-9 psychiatric screening + corticosteroid psychosis protocol to avacopan patient generates unnecessary psychiatric workup visits without GR-mediated mechanism).

Glyphward's red-team scanner detects the prednisone corticosteroid proxy misroute for avacopan by probing EHS platform APIs with drug name synonyms (avacopan, Tavneos, CCX168, oral complement inhibitor, C5a receptor antagonist, C5aR1 blocker, CD88 antagonist, complement ANCA vasculitis oral), NDA identifier (NDA 215046), and mechanism class keywords (C5aR1 GPCR antagonist, complement C5a blockade, piperidine biaryl ether, 30 mg BID ANCA, ADVOCATE trial non-inferior, no REMS oral vasculitis) cross-referenced against proxy flags (prednisone, methylprednisolone, corticosteroid, glucocorticoid, HPA axis, cortisol, ACTH stimulation, adrenal insufficiency, Sick Day Rule, DEXA bone density, GIOP, bisphosphonate, steroid diabetes, Cushingoid, PSC cataract). The avacopan surface represents the FIRST ORAL C5aR1 COMPLEMENT ANTAGONIST FOR ANCA VASCULITIS adversarial class: when the first oral complement C5aR1 antagonist achieves FDA approval for ANCA-associated vasculitis, every EHS platform routes it to the established ANCA vasculitis standard-of-care (prednisone/methylprednisolone; GR agonists; HPA suppression; GIOP) — incorrectly triggering HPA axis monitoring and ACTH stimulation test [no GR activity], DEXA bone density and bisphosphonate prophylaxis [no GIOP mechanism], fasting glucose for steroid diabetes [no GR gluconeogenesis induction], Cushingoid symptom screening [no GR adipogenic effects], posterior subcapsular cataract surveillance [no GR lens protein mechanism], and prednisone taper schedule + Sick Day Rule [no adrenal dependency on drug discontinuation]. The 307th mechanism class gap: zero oral C5aR1 complement antagonist OEL/EHS class before NDA 215046 October 7 2021.

import asyncio, httpx

TARGETS = [
    {"platform": "cority",      "query": "avacopan Tavneos ANCA vasculitis",    "nda": "215046"},
    {"platform": "velocityehs", "query": "CCX168 C5aR1 piperidine biaryl ether", "nda": "215046"},
    {"platform": "ehs_insight", "query": "avacopan oral complement antagonist 30mg BID", "nda": "215046"},
]

async def scan_c5ar1_gap(session: httpx.AsyncClient, target: dict) -> dict:
    resp = await session.get(
        f"https://api.{target['platform']}.internal/v2/chemicals/oel",
        params={"query": target["query"]},
        timeout=10.0,
    )
    data = resp.json()
    class_returned = data.get("drug_class", "")
    ae_profile     = data.get("adverse_events", "")
    return {
        "platform": target["platform"],
        "corticosteroid_proxy": any(x in class_returned.lower() for x in ["prednisone", "methylprednisolone", "glucocorticoid", "corticosteroid", "gr agonist"]),
        "hpa_axis_fp":          any(x in ae_profile.lower() for x in ["hpa axis", "adrenal insufficiency", "acth stimulation", "cortisol", "sick day rule"]),
        "dexa_giop_fp":         any(x in ae_profile.lower() for x in ["dexa", "bone density", "giop", "bisphosphonate", "alendronate", "zoledronate"]),
        "glucose_fp":           any(x in ae_profile.lower() for x in ["steroid diabetes", "fasting glucose", "hba1c", "pepck", "gluconeogenesis"]),
        "cushingoid_fp":        any(x in ae_profile.lower() for x in ["cushingoid", "moon face", "buffalo hump", "cataract", "psc"]),
        "c5ar1_null":           "c5ar1" not in class_returned.lower() and "c5a receptor" not in class_returned.lower() and "cd88" not in class_returned.lower(),
    }

async def main():
    async with httpx.AsyncClient() as session:
        results = await asyncio.gather(*[scan_c5ar1_gap(session, t) for t in TARGETS])
    cs_p  = [r for r in results if r.get("corticosteroid_proxy")]
    hpa   = [r for r in results if r.get("hpa_axis_fp")]
    dexa  = [r for r in results if r.get("dexa_giop_fp")]
    gluc  = [r for r in results if r.get("glucose_fp")]
    cush  = [r for r in results if r.get("cushingoid_fp")]
    null  = [r for r in results if r.get("c5ar1_null")]
    print(f"Avacopan NDA 215046 — Prednisone corticosteroid proxy returned: {len(cs_p)}/3")
    print(f"  HPA axis / adrenal insufficiency false-positive: {len(hpa)}/3")
    print(f"  DEXA / GIOP bisphosphonate false-positive: {len(dexa)}/3")
    print(f"  Glucose / steroid diabetes false-positive: {len(gluc)}/3")
    print(f"  Cushingoid / cataract surveillance false-positive: {len(cush)}/3")
    print(f"  C5aR1 complement mechanism absent: {len(null)}/3")
asyncio.run(main())