Bedaquiline_BedaquilineDelamanidPretomanidQCBacklog

Bedaquiline / Bedaquiline

Asthma COPD CSV→JSON FDC Inhaler MissingAPI P2 QC
Open selection
Bedaquiline / Bedaquiline-Delamanid-Pretomanid QC Backlog — Anti-TB Drug Quality Control

ℹ️ Utility checks quality of MDR-TB drugs:
• Supported types: BDQ (mono), BDP (combo)
• Assay of each API: 90.0–110.0%
• Impurities of each API: ≤1.0%
• Total Impurities: ≤2.5%
• Dissolution: ≥85% (Q)
• Moisture Content: ≤4.0%
• Heavy Metals: ≤20 ppm

⚠️ CRITICAL: Second-line drugs require strict quality control due to toxicity.

Usage:
Bedaquiline_BedaquilineDelamanidPretomanidQCBacklog.exe → demo mode
Bedaquiline_BedaquilineDelamanidPretomanidQCBacklog.exe input.csv output.json → evaluate data

Input format:
BatchNumber,ProductType,BedaquilineAssayPercent,DelamanidAssayPercent,PretomanidAssayPercent,BedaquilineImpurityPercent,DelamanidImpurityPercent,PretomanidImpurityPercent,TotalImpuritiesPercent,DissolutionBedaquilinePercent,DissolutionDelamanidPercent,DissolutionPretomanidPercent,MoistureContentPercent,HeavyMetalsPPM

Example:
BDP-2026-001,BDP,100.5,99.8,100.2,0.4,0.3,0.5,1.5,92.0,94.0,93.5,2.5,5.0

— WHY IS THIS NEEDED?
Bedaquiline, Delamanid, and Pretomanid are key drugs for treating Multidrug-Resistant Tuberculosis (MDR-TB):
• Bedaquiline — mycobacterial ATP synthase inhibitor
• Delamanid — cell wall synthesis inhibitor
• Pretomanid — nitroimidazole-oxazine prodrug
• BPaL or BDP combination is the standard of care
• Strict control required due to risk of cardiotoxicity (QT) and hepatotoxicity

⚠️ CRITICAL:
• Assay 90.0–110.0% — ensures bactericidal effect
• Impurities ≤1.0% — degradation and synthesis products
• Total Impurities ≤2.5% — overall purity indicator
• Dissolution ≥85% — critical for bioavailability of poorly soluble substances
• Moisture Content ≤4.0% — drug stability
• Heavy Metals ≤20 ppm — safety

Key features:
• Support for both monoproduct (Bedaquiline) and triple combination
• Individual impurity control for each component
• Dissolution testing for all active substances
• Strict moisture control

Critical parameters:
• Bedaquiline Assay: 90.0–110.0%
• Delamanid Assay: 90.0–110.0% (for BDP)
• Pretomanid Assay: 90.0–110.0% (for BDP)
• Impurities (each): ≤1.0%
• Total Impurities: ≤2.5%
• Dissolution (each): ≥85% (Q)
• Moisture Content: ≤4.0%
• Heavy Metals: ≤20 ppm

💡 Usage tips:
1. Assay determined by HPLC with UV detection
2. Drugs have low solubility, requires control of dissolution conditions
3. Store in light-protected place
4. If deviations detected, check raw material stability

⚠️ Note: BDP combination is a complex pharmaceutical form. All three components have different solubility and stability profiles. Quality control is critical to prevent further development of M. tuberculosis resistance.

input.csv

BatchNumber,ProductType,BedaquilineAssayPercent,DelamanidAssayPercent,PretomanidAssayPercent,BedaquilineImpurityPercent,DelamanidImpurityPercent,PretomanidImpurityPercent,TotalImpuritiesPercent,DissolutionBedaquilinePercent,DissolutionDelamanidPercent,DissolutionPretomanidPercent,MoistureContentPercent,HeavyMetalsPPM
BDP-2026-001,BDP,100.5,99.8,100.2,0.4,0.3,0.5,1.5,92.0,94.0,93.5,2.5,5.0
BDQ-2026-001,BDQ,101.0,0.0,0.0,0.5,0.0,0.0,0.6,95.0,0.0,0.0,2.0,4.0

Bedaquiline_BedaquilineDelamanidPretomanidQCBacklog — Documentation

Bilingual RU/EN URS & FS. Source: input.csv and *.description.txt. Package folder: Global/API coverage extension.
Utility
Bedaquiline_BedaquilineDelamanidPretomanidQCBacklog
Package
Global/API coverage extension
CSV fields
14
Interface
CSV → JSON

Utility description

Bedaquiline / Bedaquiline-Delamanid-Pretomanid QC Backlog — Anti-TB Drug Quality Control

ℹ️  Utility checks quality of MDR-TB drugs:
    • Supported types: BDQ (mono), BDP (combo)
    • Assay of each API: 90.0–110.0%
    • Impurities of each API: ≤1.0%
    • Total Impurities: ≤2.5%
    • Dissolution: ≥85% (Q)
    • Moisture Content: ≤4.0%
    • Heavy Metals: ≤20 ppm

⚠️  CRITICAL: Second-line drugs require strict quality control due to toxicity.

Usage:
  Bedaquiline_BedaquilineDelamanidPretomanidQCBacklog.exe                            → demo mode
  Bedaquiline_BedaquilineDelamanidPretomanidQCBacklog.exe input.csv output.json      → evaluate data

Input format:
BatchNumber,ProductType,BedaquilineAssayPercent,DelamanidAssayPercent,PretomanidAssayPercent,BedaquilineImpurityPercent,DelamanidImpurityPercent,PretomanidImpurityPercent,TotalImpuritiesPercent,DissolutionBedaquilinePercent,DissolutionDelamanidPercent,DissolutionPretomanidPercent,MoistureContentPercent,HeavyMetalsPPM

Example:
  BDP-2026-001,BDP,100.5,99.8,100.2,0.4,0.3,0.5,1.5,92.0,94.0,93.5,2.5,5.0

— WHY IS THIS NEEDED?
Bedaquiline, Delamanid, and Pretomanid are key drugs for treating Multidrug-Resistant Tuberculosis (MDR-TB):
• Bedaquiline — mycobacterial ATP synthase inhibitor
• Delamanid — cell wall synthesis inhibitor
• Pretomanid — nitroimidazole-oxazine prodrug
• BPaL or BDP combination is the standard of care
• Strict control required due to risk of cardiotoxicity (QT) and hepatotoxicity

⚠️  CRITICAL:
• Assay 90.0–110.0% — ensures bactericidal effect
• Impurities ≤1.0% — degradation and synthesis products
• Total Impurities ≤2.5% — overall purity indicator
• Dissolution ≥85% — critical for bioavailability of poorly soluble substances
• Moisture Content ≤4.0% — drug stability
• Heavy Metals ≤20 ppm — safety

Key features:
• Support for both monoproduct (Bedaquiline) and triple combination
• Individual impurity control for each component
• Dissolution testing for all active substances
• Strict moisture control

Critical parameters:
• Bedaquiline Assay: 90.0–110.0%
• Delamanid Assay: 90.0–110.0% (for BDP)
• Pretomanid Assay: 90.0–110.0% (for BDP)
• Impurities (each): ≤1.0%
• Total Impurities: ≤2.5%
• Dissolution (each): ≥85% (Q)
• Moisture Content: ≤4.0%
• Heavy Metals: ≤20 ppm

💡 Usage tips:
1. Assay determined by HPLC with UV detection
2. Drugs have low solubility, requires control of dissolution conditions
3. Store in light-protected place
4. If deviations detected, check raw material stability

⚠️ Note: BDP combination is a complex pharmaceutical form. All three components have different solubility and stability profiles. Quality control is critical to prevent further development of M. tuberculosis resistance.

URS & FS — User Requirements and Functional Specification

This document describes the controlled interface and behaviour of Bedaquiline_BedaquilineDelamanidPretomanidQCBacklog for Bedaquiline / Bedaquiline.

Portal packages

Global/API coverage extension, Infectious Diseases QC Suite, LabEx QC laboratory utilities, Lumex QC instrument utilities, Medical Gases / inhaler-adjacent QC Suite, World API/FDC extension

AsthmaCOPDCSV→JSONFDCInhalerMissingAPIQCRespiratoryTBTuberculosisURS & FSP2

Domain limits and critical parameters

Key fragments from the source description are shown below. Before production use, limits must be verified against the approved specification, registration dossier and local SOPs.
  • • Assay of each API: 90.0–110.0%
  • • Impurities of each API: ≤1.0%
  • • Total Impurities: ≤2.5%
  • • Dissolution: ≥85% (Q)
  • • Moisture Content: ≤4.0%
  • • Heavy Metals: ≤20 ppm
  • ⚠️ CRITICAL: Second-line drugs require strict quality control due to toxicity.
  • BatchNumber,ProductType,BedaquilineAssayPercent,DelamanidAssayPercent,PretomanidAssayPercent,BedaquilineImpurityPercent,DelamanidImpurityPercent,PretomanidImpurityPercent,TotalImpuritiesPercent,DissolutionBedaquilinePercent,DissolutionDelamanidPercent,DissolutionPretomanidPercent,MoistureContentPercent,HeavyMetalsPPM
  • ⚠️ CRITICAL:
  • • Assay 90.0–110.0% — ensures bactericidal effect
  • • Impurities ≤1.0% — degradation and synthesis products
  • • Total Impurities ≤2.5% — overall purity indicator
  • • Dissolution ≥85% — critical for bioavailability of poorly soluble substances
  • • Moisture Content ≤4.0% — drug stability
  • • Heavy Metals ≤20 ppm — safety
  • • Individual impurity control for each component
  • • Dissolution testing for all active substances
  • Critical parameters:

URS — User Requirements Specification

IDRequirementCriticalityAcceptance criterion
URS-001The utility shall accept an input.csv file for Bedaquiline / Bedaquiline with headers defined in the data contract.HighThe file is processed without manual header editing.
URS-002The utility shall perform deterministic QC evaluation without machine learning and without probabilistic conformance decisions.HighIdentical input data, rule version and configuration produce reproducible results.
URS-003The utility shall validate mandatory fields, data types, ranges, units and domain plausibility.HighSchema, conversion and range errors are explicitly reported.
URS-004The utility shall apply domain limits and rules from the description, approved specification, registration dossier and local SOPs.HighEach check has PASS/WARNING/FAIL and a clear message.
URS-005The utility shall generate output.json with machine-readable results, source values, warnings, failures and critical findings.HighJSON is suitable for LIMS/ELN/MES integration and QA/QC review.
URS-006The utility shall preserve traceability between batch/sample, input file, applied rules and final status.HighOutput contains identifiers, checked parameters and audit metadata.
URS-007The documentation shall support IQ/OQ/PQ, CSV/CSA and review by internal QA or inspectors.MediumURS, FS, input/output contract and test scenarios are supplied with the utility.
URS-008The utility shall be used as a QC decision-support tool and not as a substitute for approved specifications and QA/QP release decision.MediumDocumentation states change control and limit-verification expectations.

input.csv contract

#FieldTypeSamplePurpose
1BatchNumberstring / controlled vocabularyBDP-2026-001Batch or lot identifier used for traceability.
2ProductTypestring / controlled vocabularyBDPProduct or dosage-form name under evaluation.
3BedaquilineAssayPercentdecimal100.5Quantitative content/potency; critical release parameter.
4DelamanidAssayPercentdecimal99.8Quantitative content/potency; critical release parameter.
5PretomanidAssayPercentdecimal100.2Quantitative content/potency; critical release parameter.
6BedaquilineImpurityPercentdecimal0.4Impurity/related-substance parameter; purity and degradation control.
7DelamanidImpurityPercentdecimal0.3Impurity/related-substance parameter; purity and degradation control.
8PretomanidImpurityPercentdecimal0.5Impurity/related-substance parameter; purity and degradation control.
9TotalImpuritiesPercentdecimal1.5Impurity/related-substance parameter; purity and degradation control.
10DissolutionBedaquilinePercentdecimal92.0Dissolution/release parameter relevant to bioavailability and batch quality.
11DissolutionDelamanidPercentdecimal94.0Dissolution/release parameter relevant to bioavailability and batch quality.
12DissolutionPretomanidPercentdecimal93.5Dissolution/release parameter relevant to bioavailability and batch quality.
13MoistureContentPercentdecimal2.5Quantitative content/potency; critical release parameter.
14HeavyMetalsPPMdecimal5.0Elemental impurity/metal parameter relevant to safety.
BatchNumber,ProductType,BedaquilineAssayPercent,DelamanidAssayPercent,PretomanidAssayPercent,BedaquilineImpurityPercent,DelamanidImpurityPercent,PretomanidImpurityPercent,TotalImpuritiesPercent,DissolutionBedaquilinePercent,DissolutionDelamanidPercent,DissolutionPretomanidPercent,MoistureContentPercent,HeavyMetalsPPM
BDP-2026-001,BDP,100.5,99.8,100.2,0.4,0.3,0.5,1.5,92.0,94.0,93.5,2.5,5.0
BDQ-2026-001,BDQ,101.0,0.0,0.0,0.5,0.0,0.0,0.6,95.0,0.0,0.0,2.0,4.0

Input validation rules

IDFieldRuleCriticality
VR-001BatchNumberThe field shall match an approved dictionary or accepted string representation.High
VR-002ProductTypeThe field shall match an approved dictionary or accepted string representation.High
VR-003BedaquilineAssayPercentThe value shall be numeric, non-empty and domain-plausible for the approved specification.High
VR-004DelamanidAssayPercentThe value shall be numeric, non-empty and domain-plausible for the approved specification.High
VR-005PretomanidAssayPercentThe value shall be numeric, non-empty and domain-plausible for the approved specification.High
VR-006BedaquilineImpurityPercentThe value shall be numeric, non-empty and domain-plausible for the approved specification.High
VR-007DelamanidImpurityPercentThe value shall be numeric, non-empty and domain-plausible for the approved specification.High
VR-008PretomanidImpurityPercentThe value shall be numeric, non-empty and domain-plausible for the approved specification.High
VR-009TotalImpuritiesPercentThe value shall be numeric, non-empty and domain-plausible for the approved specification.High
VR-010DissolutionBedaquilinePercentThe value shall be numeric, non-empty and domain-plausible for the approved specification.Medium
VR-011DissolutionDelamanidPercentThe value shall be numeric, non-empty and domain-plausible for the approved specification.Medium
VR-012DissolutionPretomanidPercentThe value shall be numeric, non-empty and domain-plausible for the approved specification.Medium
VR-013MoistureContentPercentThe value shall be numeric, non-empty and domain-plausible for the approved specification.High
VR-014HeavyMetalsPPMThe value shall be numeric, non-empty and domain-plausible for the approved specification.Medium

FS — Functional Specification

IDFunctionImplementation
FS-001CLI executionSupport execution modes: demo mode without arguments and production mode input.csv output.json.
FS-002CSV importRead input.csv in UTF-8/CSV-compatible format and validate header and expected columns.
FS-003Schema validationCheck mandatory fields, column count, unknown key fields and empty mandatory values.
FS-004Type conversionConvert numeric, flag and text values; invalid format is recorded as a row-level error.
FS-005Domain rule engineApply rules for Bedaquiline / Bedaquiline, including critical limits from the description and approved specification.
FS-006Status aggregationProduce final status: FAIL for critical failure, WARNING for non-critical deviation, PASS for conformance.
FS-007JSON exportWrite output.json with detailed checks, source values, warnings, failures and critical findings.
FS-008Audit supportKeep result structure suitable for review, deviation investigation and calculation reproduction.
FS-009Integration contractSupport the scenario LIMS/ELN/MES → input.csv → utility → output.json → portal/admin review.
FS-010Fallback mappingIf the combined utility is not deployed, use component checks: bedaquiline-quality-checker, delamanid-quality-checker, pretomanid-quality-checker plus generic Lumex/LabEx checks.
FS-011Error handlingReturn explicit messages for missing file, empty CSV, invalid schema, output write failure and invalid format.

Example output.json

{
  "utilityId": "bedaquiline-bedaquiline-delamanid-pretomanid-qc-backlog",
  "utilityFolder": "Bedaquiline_BedaquilineDelamanidPretomanidQCBacklog",
  "package": "Global/API coverage extension",
  "overallStatus": "PASS|WARNING|FAIL",
  "sourceFile": "input.csv",
  "processedAtUtc": "2026-07-02T00:00:00Z",
  "checks": [
    {
      "parameter": "BatchNumber",
      "value": "BDP-2026-001",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-001"
    },
    {
      "parameter": "ProductType",
      "value": "BDP",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-002"
    },
    {
      "parameter": "BedaquilineAssayPercent",
      "value": "100.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-003"
    },
    {
      "parameter": "DelamanidAssayPercent",
      "value": "99.8",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-004"
    },
    {
      "parameter": "PretomanidAssayPercent",
      "value": "100.2",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-005"
    },
    {
      "parameter": "BedaquilineImpurityPercent",
      "value": "0.4",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-006"
    },
    {
      "parameter": "DelamanidImpurityPercent",
      "value": "0.3",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-007"
    },
    {
      "parameter": "PretomanidImpurityPercent",
      "value": "0.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-008"
    },
    {
      "parameter": "TotalImpuritiesPercent",
      "value": "1.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-009"
    },
    {
      "parameter": "DissolutionBedaquilinePercent",
      "value": "92.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-010"
    },
    {
      "parameter": "DissolutionDelamanidPercent",
      "value": "94.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-011"
    },
    {
      "parameter": "DissolutionPretomanidPercent",
      "value": "93.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-012"
    },
    {
      "parameter": "MoistureContentPercent",
      "value": "2.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-013"
    },
    {
      "parameter": "HeavyMetalsPPM",
      "value": "5.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-014"
    }
  ],
  "criticalFindings": [],
  "warnings": [],
  "audit": {
    "inputHash": "sha256:<calculated at runtime>",
    "rulesVersion": "<utility executable version>",
    "documentation": "Bedaquiline_BedaquilineDelamanidPretomanidQCBacklog.documentation.html"
  }
}

Traceability matrix

URSFSTestEvidence
URS-001FS-001, FS-002OQ-001Verify execution and import of valid input.csv.
URS-002FS-005, FS-006OQ-004Repeat the same dataset and compare output.json.
URS-003FS-003, FS-004, FS-011OQ-002, OQ-003Verify missing columns and invalid types.
URS-004FS-005, FS-006OQ-004, PQ-001Verify critical deviations on real/boundary data.
URS-005FS-007, FS-009OQ-005Verify JSON schema and downstream-system suitability.
URS-006FS-008OQ-006Verify identifiers and audit metadata.
URS-007FS-008, FS-011IQ-001, OQ-007Verify documentation completeness and control evidence.
URS-008FS-005, FS-008, FS-010PQ-002Verify review workflow and no replacement of QA decision.

IQ/OQ/PQ test scenarios

IDScenarioExpected result
IQ-001Verify executable, input.csv, documentation and checksum availability.Delivery set is complete; version is recorded.
OQ-001Valid sample row from input.csv.PASS or acceptable WARNING according to rules.
OQ-002Remove a mandatory CSV column.Schema error or FAIL with missing-column reference.
OQ-003Place a non-numeric value into a numeric field.Type-conversion error with row/field reference.
OQ-004Set a critical parameter outside the limit.FAIL and critical finding.
OQ-005Verify output.json structure.All mandatory sections are present and JSON is valid.
OQ-006Verify batch/sample traceability.Input and result identifiers match.
OQ-007Verify fallback/decomposition for combined APIs.Component checks are explicitly documented.
PQ-001Verify 3–5 real user batches/samples.Result is confirmed by QC/QA review.
PQ-002Verify deviation workflow and manual QA decision.Utility supports review but does not replace approved decision.

QA/QC and change control

  • Do not rename columns without updating validator, documentation and test set.
  • Retain input.csv, output.json, executable version and checksum.
  • Before production use, perform IQ/OQ/PQ or equivalent CSV/CSA verification.
  • Critical limits shall be verified against the approved specification, registration dossier and local SOPs.
  • For combination products, document whether the specialized FDC utility or fallback component checks were used.
  • The utility provides structured QC decision support; final release decision remains with QA/QP and approved procedures.

Included in packages

Global API & Biosimilars QC Suite

Package for high-demand global APIs, generics and biosimilars, including fixed-dose combinations and biological products.

Open

Infectious Diseases QC Suite

QC utility package for infectious diseases: antibacterial, antiviral, antifungal and antiparasitic products, microbiology, sterility, endotoxins, viral safety and vaccine release checks.

Open

Medical Gases QC Suite

Quality-control package for medical and pharmaceutical gases: oxygen, nitrogen, carbon dioxide, nitrous oxide, helium and mixtures.

Open

World API Extension QC Suite

Extended package for 130 additional high-demand APIs and biological products prepared as a market-coverage backlog.

Open