AssayImpurityHPLCQualityChecker
Assay & Impurity HPLC
Assay & Impurity HPLC Quality Checker — HPLC Assay and Related Substances Control ℹ️ Utility checks critical parameters of HPLC analysis (USP <621>, Ph. Eur. 2.2.46): • Assay content (% on dried basis) • Specific impurities (Impurity A, B etc., %) • Total impurities (%) • System suitability: Resolution of critical pair (Rs) ⚠️ CRITICAL: Exceeding impurity limits may indicate drug degradation or synthesis errors! Low resolution (<2.0) invalidates the analysis according to pharmacopoeial requirements. Usage: AssayImpurityHPLCQualityChecker.exe → demo mode (console output) AssayImpurityHPLCQualityChecker.exe input.csv output.json → evaluate your data Input format: BatchNumber,AssayPercent,ImpurityAPercent,ImpurityBPercent,TotalImpuritiesPercent,ResolutionCriticalPair Example: HPLC-API-2026-001,99.85,0.12,0.08,0.35,3.50 Supported analysis types: • API Substance — control of Active Pharmaceutical Ingredients • Finished Product — control of finished dosage forms (tablets, capsules, solutions) • Degradation Study — monitoring degradation products in stability studies — WHY IS THIS NEEDED? HPLC is the gold standard for quantitative analysis in pharma: • High selectivity allows separation of complex mixtures • Sensitivity down to trace levels (ppm/ppb) for genotoxic impurity control • Mandatory method for registration dossiers (CTD Module 3) in all major pharmacopoeias (USP, Ph. Eur., JP) ⚠️ CRITICAL: • Assay: must strictly match label claim (typically 98.0–102.0% for substances). Deviations affect dosing! • Impurities: each specific impurity has its own limit (e.g., NMT 0.5%). Total impurities are also limited (e.g., NMT 2.0%). • Resolution: system suitability criterion. If peaks are not separated (Rs < 1.5–2.0), the result is unreliable. • Tailing Factor: another important system suitability parameter (usually NMT 2.0) affecting integration accuracy. Key features: • Automatic check against pharmacopoeial limits (configurable per monograph) • System suitability control (Resolution) before result evaluation • Support for multiple specific impurities • LIMS-compatible report generation (LabWare) Critical parameters: • Assay: 98.0 – 102.0 % (example for substance) • Impurity A: NMT 0.50 % • Impurity B: NMT 0.50 % • Total Impurities: NMT 2.00 % • Resolution: NLT 2.0 💡 Usage tips: Ensure the chromatographic system passed System Suitability Test before running the utility. Impurity limits must be taken from the current monograph (USP/Ph.Eur.) or registration dossier. For gradient elution methods, pay special attention to Retention Time for peak identification. If unknown peaks (>0.1%) are detected, their identification or safety justification (ICH Q3A/Q3B) is required. ⚠️ Note: This utility is basic for QC laboratories. It covers routine release control. For complex cases (genotoxic impurities, enantiomers), use specialized utilities (ResidualSolventsGCQualityChecker, ChiralPurityHPLCQualityChecker).
input.csv
BatchNumber,AssayPercent,ImpurityAPercent,ImpurityBPercent,TotalImpuritiesPercent,ResolutionCriticalPair HPLC-API-2026-001,99.85,0.12,0.08,0.35,3.50 HPLC-API-2026-002,97.50,0.60,0.10,0.90,2.10 HPLC-API-2026-003,100.10,0.05,0.05,0.15,4.20
URS & FS — Assay & Impurity HPLC
This document describes the user requirements and functional specification for AssayImpurityHPLCQualityChecker. The utility is intended for QC laboratory use as a rule-based check of data prepared from an instrument, LIMS, ELN, MES or an approved input.csv.
URS — User Requirements Specification
| ID | Requirement | Criticality | Acceptance criterion |
|---|---|---|---|
| URS-001 | The utility shall accept input.csv with approved columns: BatchNumber, AssayPercent, ImpurityAPercent, ImpurityBPercent, TotalImpuritiesPercent, ResolutionCriticalPair. | High | The CSV file is processed without manual header editing. |
| URS-002 | The utility shall perform deterministic evaluation for “Assay & Impurity HPLC” without machine learning. | High | The same input data produce the same JSON result. |
| URS-003 | The utility shall validate mandatory fields, numeric formats, flags, ranges and domain plausibility. | High | Schema and conversion errors are explicitly reported. |
| URS-004 | The utility shall generate output.json with PASS / WARNING / FAIL statuses, source values, warnings and failures. | High | The JSON result is suitable for review, deviation investigation and integration. |
| URS-005 | The documentation shall support IQ/OQ/PQ or CSV/CSA verification. | Medium | URS/FS, CSV/JSON contract and test scenarios are supplied with the utility. |
input.csv contract
| # | Field | Sample | Purpose |
|---|---|---|---|
| 1 | BatchNumber | HPLC-API-2026-001 | Input parameter for deterministic QC evaluation. |
| 2 | AssayPercent | 99.85 | Input parameter for deterministic QC evaluation. |
| 3 | ImpurityAPercent | 0.12 | Input parameter for deterministic QC evaluation. |
| 4 | ImpurityBPercent | 0.08 | Input parameter for deterministic QC evaluation. |
| 5 | TotalImpuritiesPercent | 0.35 | Input parameter for deterministic QC evaluation. |
| 6 | ResolutionCriticalPair | 3.50 | Input parameter for deterministic QC evaluation. |
FS — Functional Specification
| ID | Function | Implementation |
|---|---|---|
| FS-001 | CSV import | Read input.csv; validate header, column count and encoding. |
| FS-002 | Schema validation | Check required fields and permitted input values. |
| FS-003 | Rule engine | Apply domain rules, limits and system suitability/specification checks described in the source utility description. |
| FS-004 | Status aggregation | Produce final status: FAIL for critical failure, WARNING for non-critical deviation, PASS for conformance. |
| FS-005 | JSON export | Write machine-readable output.json for LIMS/ELN/MES and QA/QC review. |
OQ/PQ scenarios
- OQ-001: a valid sample row shall be processed without schema error.
- OQ-002: a missing mandatory column shall produce a schema error.
- OQ-003: a non-numeric value in a numeric field shall produce a conversion error.
- OQ-004: a critical parameter outside the limit shall produce
FAILor a critical finding. - PQ-001: user real batches shall be checked with retention of
input.csv,output.json, utility version and checksum.
Included in packages
Addiction Medicine & Controlled Substances QC Suite
QC utility package for addiction medicine and regulated medicinal products: addiction-treatment medicines, opioids, benzodiazepines, stimulants, sedatives, volatile impurities, assay/identity/dissolution/release checks.
OpenBiopharmaceuticals Extended QC Suite
Extended QC utility coverage for mAbs, biosimilars, proteins, insulins, vaccines, mRNA/LNP, HCP, sterile release, microbiology, water, cleanroom and stability workflows.
OpenDental & Dental Materials QC Suite
QC utility package for dental medicinal products, oral-care products and dental materials: anaesthetics, antiseptics, analgesic/anti-infective products, polymers/minerals, resins, bonding workflows, microbiology, stability and material QC.
OpenInfectious Diseases QC Suite
QC utility package for infectious diseases: antibacterial, antiviral, antifungal and antiparasitic products, microbiology, sterility, endotoxins, viral safety and vaccine release checks.
OpenLabEx QC Suite
LabEx package for laboratory QC methods: chromatography, spectroscopy, microbiology, sterility, endotoxins, particles, dissolution, water, cleanrooms and sample preparation.
OpenToxicology QC Suite
QC utility package for toxicologically relevant risks: genotoxic impurities, residual solvents, elemental impurities, heavy metals, mercury, mycotoxins, pesticides, extractables/leachables and degradation impurities.
Open