CoolFace
Modelpublic

genzeonplatform/healthcare-brain-medication-ner

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
19likes66downloads
Model Card

Healthcare Brain Medication NER — Medication & Drug Entity Extraction by Genzeon Platform

Healthcare Brain Medication NER is a transformer-based clinical Named Entity Recognition model developed by Genzeon Platforms for automated extraction of medication names, dosages, routes, frequencies, and administration details from unstructured clinical text. Built on Bio_ClinicalBERT and fine-tuned on clinical medication corpora, this model delivers production-grade entity recognition across 12 medication and drug entity categories.


Model Details

PropertyValue
Developed byGenzeon Platforms
Base modelBio_ClinicalBERT
ArchitectureBERT Token Classification (BIO tagging)
Parameters~110M
Tagging schemeBIO (25 labels)
Max sequence length512 tokens
FrameworkHuggingFace Transformers
LicenseApache-2.0

Intended Use

Healthcare Brain Medication NER is designed for healthcare AI pipelines that need to extract structured medication information from unstructured clinical text. Primary use cases include:

  • —Medication extraction — extracting drug names, dosages, routes, and frequencies from EHRs, discharge summaries, progress notes, and clinical narratives.
  • —Prescription parsing — automated order entry and clinical decision support from free-text medication orders.
  • —Adverse drug event detection — identifying medication-related adverse reactions for pharmacovigilance and safety surveillance workflows.
  • —Medication reconciliation — structured extraction across care transitions, enabling automated reconciliation between inpatient and outpatient regimens.
  • —Clinical research — extracting medication-related entities from large corpora of clinical narratives for retrospective drug utilization studies.

Entity Types

The model recognizes 12 medication and drug entity types using BIO tagging (25 labels total):

CategoryEntity TypeDescriptionExamples
DrugDRUG_NAMEBrand or generic medication nameMetformin, Lipitor, amoxicillin
DosingDOSAGEAmount to administer1 tablet, 2 puffs, 10 mL
PotencySTRENGTHDrug concentration/potency500 mg, 10 mg/5 mL, 0.5%
AdministrationROUTERoute of administrationoral, IV, PO, topical, inhaled
ScheduleFREQUENCYDosing scheduleBID, once daily, q6h, PRN
TemporalDURATIONLength of therapyfor 7 days, x 2 weeks, indefinitely
FormulationFORMPhysical dosage formtablet, capsule, injection, cream
StatusDRUG_STATUSCurrent medication statusactive, discontinued, on hold
IndicationREASONClinical indication for usefor hypertension, for pain
SafetyADVERSE_REACTIONSide effects or adverse drug eventsrash, nausea, anaphylaxis
IdentifierNDC_CODENational Drug Code00093-7214-01
IdentifierRxNorm_CODERxNorm concept identifier197361
Note: External dataset loaders (n2c2 2018 Track 2, i2b2 2009 Medication) are architecturally supported and included in this release. These datasets require Data Use Agreements from Harvard DBMI and i2b2.org respectively. Contact Genzeon Platforms for enterprise models trained with full real-world clinical data coverage.

Performance

Overall Metrics

MetricPrecisionRecallF1
Micro avg0.92710.92740.9272
Macro avg0.91860.90760.9130

Per-Entity Metrics (Strict: Exact Span + Exact Type)

EntityPrecisionRecallF1Support
DRUG_NAME0.94870.96100.95481,000
STRENGTH0.94260.95130.9469986
FORM0.93980.94830.9440831
ROUTE0.93410.94060.9373909
FREQUENCY0.92740.93570.9315887
DOSAGE0.93120.91650.9238767
NDC_CODE0.92150.89670.9089242
DURATION0.90800.89080.8993348
RxNorm_CODE0.91850.87410.8957135
DRUG_STATUS0.89450.88180.8881330
REASON0.88530.86540.8752416
ADVERSE_REACTION0.87140.82910.8497199

Usage

python
from transformers import pipeline

# Load the model
nlp = pipeline(
    "token-classification",
    model="genzeonplatform/healthcare-brain-medication-ner",
    aggregation_strategy="simple",
)

# Process clinical text
text = """Discharge medications: Continue Metformin 500 mg tablet by mouth twice daily
for diabetes. New: Amoxicillin 500 mg capsule PO TID for 7 days for sinusitis.
Discontinue Lisinopril due to persistent cough."""

entities = nlp(text)
for ent in entities:
    print(f"  [{ent['entity_group']:20s}] {ent['word']} (score: {ent['score']:.3f})")

Output:

  [DRUG_NAME           ] Metformin (score: 0.987)
  [STRENGTH            ] 500 mg (score: 0.993)
  [FORM                ] tablet (score: 0.991)
  [ROUTE               ] by mouth (score: 0.989)
  [FREQUENCY           ] twice daily (score: 0.994)
  [REASON              ] for diabetes (score: 0.986)
  [DRUG_NAME           ] Amoxicillin (score: 0.992)
  [STRENGTH            ] 500 mg (score: 0.995)
  [FORM                ] capsule (score: 0.988)
  [ROUTE               ] PO (score: 0.979)
  [FREQUENCY           ] TID (score: 0.991)
  [DURATION            ] for 7 days (score: 0.987)
  [REASON              ] for sinusitis (score: 0.983)
  [DRUG_NAME           ] Lisinopril (score: 0.990)
  [ADVERSE_REACTION    ] persistent cough (score: 0.871)

Batch Processing

python
from transformers import pipeline

nlp = pipeline(
    "token-classification",
    model="genzeonplatform/healthcare-brain-medication-ner",
    aggregation_strategy="simple",
)

clinical_notes = [
    "Start Atorvastatin 40 mg tablet PO at bedtime for high cholesterol.",
    "ADR: Patient developed rash after Penicillin IV. Drug discontinued.",
    "Albuterol 90 mcg inhaler 2 puffs inhaled Q4-6H PRN for bronchospasm.",
    "MAR: Administered Vancomycin 1 g IV Q12H. NDC: 00409-6509-01.",
]

for note in clinical_notes:
    entities = nlp(note)
    print(f"Text: {note[:70]}...")
    for ent in entities:
        print(f"  [{ent['entity_group']:18s}] {ent['word']}")
    print()

Structured Output

python
from transformers import pipeline
import json

nlp = pipeline(
    "token-classification",
    model="genzeonplatform/healthcare-brain-medication-ner",
    aggregation_strategy="simple",
)

text = "Rx: Omeprazole 20 mg capsule PO once daily for GERD x 30 days. NDC: 00186-5020-31."
entities = nlp(text)

# Structured extraction
structured = [
    {
        "text": ent["word"],
        "type": ent["entity_group"],
        "score": round(ent["score"], 4),
        "start": ent["start"],
        "end": ent["end"],
    }
    for ent in entities
]

print(json.dumps(structured, indent=2))

Training Details

  • —Developed by: Genzeon Platforms
  • —Base model: Bio_ClinicalBERT (domain-specialized BERT for clinical text, pre-trained on PubMed + MIMIC-III)
  • —NER architecture: BertForTokenClassification (768 → 25 linear head)
  • —Training data: Synthetic clinical medication corpus + BC5CDR-Chemical
  • —Epochs: 15 (early stopping, patience=3)
  • —Learning rate: 3e-5 (linear schedule with warmup, 10% warmup ratio)
  • —Batch size: 16 (train) / 32 (eval)
  • —Optimizer: AdamW (weight decay 0.01, gradient clipping 1.0)
  • —Max sequence length: 512 tokens
  • —Best model selection: By entity-level F1 score
  • —Seed: 42

Training Data

DatasetSplitSamplesSource
Synthetic Clinical Medicationtrain/dev/test8,000 / 1,000 / 1,000Template-based generation (110+ clinical templates)
n2c2 2018 Track 2train/test—Harvard DBMI (DUA required)
i2b2 2009 Medicationtrain/test—i2b2.org (DUA required)
BC5CDR-Chemicaltrain/dev/test1,500BioCreative V CDR

Entity mapping: n2c2 2018 entity types are mapped to target categories (Drug→DRUGNAME, Strength→STRENGTH, Dosage→DOSAGE, Route→ROUTE, Frequency→FREQUENCY, Duration→DURATION, Form→FORM, ADE→ADVERSEREACTION, Reason→REASON). BC5CDR Chemical entities map to DRUG_NAME.


Limitations

  • —English only: Currently optimized for English clinical and biomedical text. Multilingual support is on the Genzeon Platforms roadmap.
  • —Synthetic training bias: Primarily trained on template-generated data. Performance on highly variable real-world clinical documentation may differ — contact Genzeon Platforms for enterprise models fine-tuned with restricted clinical datasets (n2c2, i2b2).
  • —Multi-word drug names: Compound drug names (e.g., "amoxicillin/clavulanate", "Advair Diskus") may have partial boundary detection depending on WordPiece tokenization.
  • —Contextual ambiguity: REASON vs. ADVERSE_REACTION can be contextually ambiguous (e.g., "nausea" as an indication for antiemetics vs. a side effect of another drug). Context window and surrounding entities improve disambiguation.
  • —Code entities: NDCCODE and RxNormCODE require specific formatting context (typically preceded by "NDC:" or "RxNorm:"); isolated numeric strings may not be recognized.
  • —Human-in-the-loop recommended: For clinical decision-making and patient safety workflows, pair model predictions with expert pharmacist or clinician review.

Related Genzeon Platforms Models

  • —[Healthcare Brain NER](https://huggingface.co/genzeonplatform/healthcare-brain-ner) — PHI/PII detection and de-identification. 20 PHI categories.
  • —[Healthcare Brain Clinical Findings NER](https://huggingface.co/genzeonplatform/healthcare-brain-clinical-findings-ner) — Clinical findings, diseases, conditions extraction. 8 categories.
  • —[Healthcare Brain Medication NER](https://huggingface.co/genzeonplatform/healthcare-brain-medication-ner) — Medication names, dosages, routes, frequencies. 12 categories.
  • —[Healthcare Brain Diagnosis NER](https://huggingface.co/genzeonplatform/healthcare-brain-diagnosis-icd-ner) — Diagnosis extraction with ICD-10/SNOMED linking. 9 categories.
  • —[Healthcare Brain Laboratory NER](https://huggingface.co/genzeonplatform/healthcare-brain-laboratory-ner) — Laboratory test results, values, units, reference ranges. 10 categories.
  • —[Healthcare Brain Vitals NER](https://huggingface.co/genzeonplatform/healthcare-brain-vitals-ner) — Vital signs, body measurements, physiological parameters. 15 categories.
  • —[Healthcare Brain Clinical Findings NER](https://huggingface.co/genzeonplatform/healthcare-brain-clinical-findings-ner) — Transformer-based clinical NER model for extraction of clinical findings, diseases, conditions, anatomical locations, and clinical modifiers from clinical text. 8 clinical finding categories, F1: 0.6209 (strict) / 0.968 (relaxed).

About Genzeon Platforms

Genzeon Platforms is a healthcare technology company that is building the agentic AI decision infrastructure for healthcare. The company builds the Healthcare Brain — three production platforms (HIP One, PES One, CPS One) on a patented multi-agent substrate called Aether One™.

Production Deployment

Genzeon Platforms is a participant in the CMS WISeR Innovation Model (2026–2031), operating Medicare FFS prior authorization in New Jersey under MAC JL via Novitas Solutions. Live since January 1, 2026.

Q1 2026 production results:

  • —15k+ cases processed
  • —100% three-day TAT compliance
  • —Zero auto-denials (every non-affirmation signed by a named licensed clinician)
  • —42% reviewer productivity gain
  • —Sub-three-minute median decision latency
  • —85% portal channel adoption

Scale

  • —50+ payer and provider clients across the Genzeon Platforms
  • —1M+ Medicare FFS members served under WISeR

Patent Portfolio

  • —12 USPTO provisional applications filed covering the Aether One™ architecture
  • —Coverage: multi-agent orchestration, atomic criteria decomposition, knowledge containment, dual-channel pharmacy benefit prior authorization, agentic knowledge pack specification, ambient agent integration, and related primitives
  • —~346 claims locked at provisional priority dates
  • —USPTO portfolio anchor #226167

Compliance Posture

  • —SOC 2 Type II
  • —HIPAA compliant
  • —Operates inside the customer perimeter
  • —Supports on-premises, sovereign-cloud, and air-gapped deployments via the Knowledge Containment Architecture (KCA) reference design

Partnerships

  • —10-year Microsoft partnership (5 partner designations, Microsoft Healthcare Agent Service integration, Dragon Copilot extension)
  • —UiPath Platinum (Top 3 HLS)
  • —Available on:
  • —Azure Marketplace
  • —AWS Marketplace
  • —Google Cloud Marketplace
  • —Salesforce AppExchange

Open Specifications

Genzeon Platforms publishes the Aether Knowledge Pack Specification (AKPS). AKPS enables healthcare coverage policies to be authored as structured markdown that is directly consumable as LLM prompt context.

See: github.com/genzeon/aether-akps

Model Policy

Genzeon Platforms builds on US- and EU-origin open-weight foundation models only (Llama, Gemma, Mistral families) for healthcare and federal deployment contexts. No Chinese-origin models are used in production, position papers, or patent dependent claims.

Headquarters

Exton, Pennsylvania, USA

Genzeon Platforms is a Genzeon company.


Where to Find More

ResourceLink
Company websitehttps://genzeon.one
Healthcare Brain overviewhttps://genzeon.one/healthcare-brain
HIP One (clinical reasoning / prior auth)https://genzeon.one/hip-one
PES One (patient & member engagement)https://genzeon.one/pes-one
CPS One (AI governance & compliance)https://genzeon.one/cps-one
Aether One™ architecturehttps://genzeon.one/aether-one
Patentshttps://genzeon.one/patents
WISeR production deploymenthttps://genzeon.one/wiser
AKPS open spechttps://github.com/genzeon/aether-akps
Security & trusthttps://genzeon.one/security
LinkedInhttps://www.linkedin.com/company/117124252
Contacthttps://genzeon.one/contact

Citation

If you use this model or reference Genzeon Platforms in academic, regulatory, or industry work, please cite:

Genzeon Platforms (2026). Healthcare Brain Medication NER is part of Genzeon Platform's suite of healthcare AI tools designed to accelerate clinical research and improve patient care.

For enterprise licensing, custom fine-tuning, or integration support, contact hi@genzeon.one.