ResidualBDDEAnalyzer
Residual BDDE Analyzer
Residual BDDE Analyzer — Residual Crosslinker BDDE Analysis (Ph. Eur., ISO 13485)
ℹ️ The utility checks total and free BDDE, method validity (R², recovery, blank).
ℹ️ Does not use machine learning — rule-based logic only.
⚠️ CRITICAL! Total BDDE ≤ 2 ppm. Free BDDE ≤ 1 ppm. Method validity mandatory!
Usage:
ResidualBDDEAnalyzer.exe → demo mode
ResidualBDDEAnalyzer.exe input.csv output.json → evaluate data
Input format:
BatchNumber,Total_BDDE_ppm,Free_BDDE_ppm,Bound_BDDE_ppm,Sample_Weight_g,Extraction_Volume_ml,Dilution_Factor,Peak_Area_BDDE,Peak_Area_Internal_Standard,Calibration_Curve_R2,LOD_ppm,LOQ_ppm,Recovery_Spike_Percent,Blank_Signal_ppm,pH_Value,SterilityTest,Endotoxin_EU_ml,Detection_Method
Example:
BDDE-HA-2026-001,1.2,0.4,0.8,1.0,10.0,5.0,15000,50000,0.998,0.1,0.3,92.0,0.02,7.1,0,0.1,GC-MS
— WHY IS THIS NEEDED?
BDDE (1,4-butanediol diglycidyl ether) — main crosslinker for HA fillers:
• Toxic, mutagenic potential, can cause tissue necrosis upon injection
• Divided into free (unreacted, most toxic) and bound (incorporated in HA network)
• Analysis methods: GC-MS, GC-FID after derivatization or extraction
• Requires ultra-low detection limits (ppm/ppb level)
⚠️ CRITICAL:
• Total BDDE ≤ 2 ppm — strict toxicological limit (some regulators require ≤ 1 ppm)
• Free BDDE ≤ 1 ppm — most hazardous fraction, must be minimal
• Method Validity: R² ≥ 0.99 (high linearity), recovery 80–120%, blank signal < LOD/2
• If method invalid (poor calibration, dirty blank) — result cannot be used
• Sterility and Endotoxins — mandatory accompanying parameters
⚠️ Note: Utility first checks analytical procedure validity. For trace analysis, clean blank and high recovery are critical. Separate control of free and total BDDE allows assessment of purification (dialysis/washing) efficiency after synthesis. Exceeding BDDE limit is absolute contraindication for batch release due to risk of toxic reactions in patient.
input.csv
BatchNumber,Total_BDDE_ppm,Free_BDDE_ppm,Bound_BDDE_ppm,Sample_Weight_g,Extraction_Volume_ml,Dilution_Factor,Peak_Area_BDDE,Peak_Area_Internal_Standard,Calibration_Curve_R2,LOD_ppm,LOQ_ppm,Recovery_Spike_Percent,Blank_Signal_ppm,pH_Value,SterilityTest,Endotoxin_EU_ml,Detection_Method BDDE-HA-2026-001,1.2,0.4,0.8,1.0,10.0,5.0,15000,50000,0.998,0.1,0.3,92.0,0.02,7.1,0,0.1,GC-MS
URS & FS — user requirements and functional specification
This document defines user requirements and functional specification for the quality-control utility. It supports deployment discussion, IQ/OQ preparation and QC workflow integration.
1. Scope
The Residual BDDE Analyzer utility is used for Residual BDDE Analyzer. The actual input.csv is the source of truth for the input structure; control criteria are defined by the executable and the domain description.
The utility does not use machine learning; decisions are produced by deterministic rules.
Categories: Dermal fillers
Tags: dermal fillers, endotoxins, hyaluronic acid, injectables, particles, rheology, sterility
2. Execution modes
ResidualBDDEAnalyzer.exe → demo mode ResidualBDDEAnalyzer.exe input.csv output.json → evaluate data
3. Key controlled areas
- microbiology and pathogens
- pH and physicochemical parameters
4. Domain limits and critical parameters
- ⚠️ CRITICAL! Total BDDE ≤ 2 ppm. Free BDDE ≤ 1 ppm. Method validity mandatory!
- ⚠️ CRITICAL:
- Total BDDE ≤ 2 ppm — strict toxicological limit (some regulators require ≤ 1 ppm)
- Free BDDE ≤ 1 ppm — most hazardous fraction, must be minimal
- Method Validity: R² ≥ 0.99 (high linearity), recovery 80–120%, blank signal < LOD/2
- If method invalid (poor calibration, dirty blank) — result cannot be used
- Sterility and Endotoxins — mandatory accompanying parameters
- ⚠️ Note: Utility first checks analytical procedure validity. For trace analysis, clean blank and high recovery are critical. Separate control of free and total BDDE allows assessment of purification (dialysis/washing) efficiency after synthesis. Exceeding BDDE limit is absolute contraindication for batch release due to risk of toxic reactions in patient.
5. URS — user requirements
| ID | Requirement | Criticality | Acceptance criterion |
|---|---|---|---|
| URS-001 | The system shall accept an input.csv file for Residual BDDE Analyzer with the exact columns listed in the “Input data contract” section. | High | A file with the correct header is processed without manual editing; missing mandatory columns produce FAIL/import error. |
| URS-002 | The system shall support execution without arguments in demo mode and execution with input.csv output.json for user data. | Medium | Both execution scenarios produce a predictable result or clear diagnostic error. |
| URS-003 | The system shall perform rule-based controls for: microbiology and pathogens, pH and physicochemical parameters. | High | Each controlled parameter receives a status and message; the result does not depend on hidden Excel formulas or ML. |
| URS-004 | The system shall preserve traceability between batch/lot, source values, applied rules and final verdict. | High | Output includes batch identifier, source values, parameter statuses and critical findings. |
| URS-005 | The system shall generate machine-readable output.json for LIMS/ELN/MES, batch record and QA/QC review. | High | JSON contains overall status, check array, warnings, failures and source-file reference. |
| URS-006 | The system shall support use in the client validation package: URS/FS, IQ/OQ preparation, installation and operational scenario checks. | High | The document, test scenarios and reproducible CSV/JSON flow are suitable for audit and internal approval. |
| URS-007 | The system shall clearly separate technical data errors from specification nonconformities. | Medium | Schema/type errors are not mixed with pharmacopoeial deviations and are reported separately. |
6. input.csv data contract
The source of truth for the input schema is the actual input.csv header. Column names are technical identifiers and are not translated.
| # | Column | Type | Unit | Description | Sample | Control rule |
|---|---|---|---|---|---|---|
| 1 | BatchNumber | identifier | as specified | Batch Number | BDDE-HA-2026-001 | mandatory field; used for batch/lot traceability |
| 2 | Total_BDDE_ppm | decimal | ppm | Total BDDE ppm | 1.2 | mandatory numeric value; rule comparison is performed by the utility |
| 3 | Free_BDDE_ppm | decimal | ppm | Free BDDE ppm | 0.4 | mandatory numeric value; rule comparison is performed by the utility |
| 4 | Bound_BDDE_ppm | decimal | ppm | Bound BDDE ppm | 0.8 | mandatory numeric value; rule comparison is performed by the utility |
| 5 | Sample_Weight_g | decimal | as specified | Sample Weight g | 1.0 | mandatory numeric value; rule comparison is performed by the utility |
| 6 | Extraction_Volume_ml | decimal | as specified | Extraction Volume ml | 10.0 | mandatory numeric value; rule comparison is performed by the utility |
| 7 | Dilution_Factor | decimal | as specified | Dilution Factor | 5.0 | mandatory numeric value; rule comparison is performed by the utility |
| 8 | Peak_Area_BDDE | decimal | as specified | Peak Area BDDE | 15000 | mandatory numeric value; rule comparison is performed by the utility |
| 9 | Peak_Area_Internal_Standard | decimal | as specified | Peak Area Internal Standard | 50000 | mandatory numeric value; rule comparison is performed by the utility |
| 10 | Calibration_Curve_R2 | decimal | as specified | Calibration Curve R2 | 0.998 | mandatory numeric value; rule comparison is performed by the utility |
| 11 | LOD_ppm | decimal | ppm | LOD ppm | 0.1 | mandatory numeric value; rule comparison is performed by the utility |
| 12 | LOQ_ppm | decimal | ppm | LOQ ppm | 0.3 | mandatory numeric value; rule comparison is performed by the utility |
| 13 | Recovery_Spike_Percent | decimal | % | Recovery Spike % | 92.0 | mandatory numeric value; rule comparison is performed by the utility |
| 14 | Blank_Signal_ppm | decimal | ppm | Blank Signal ppm | 0.02 | mandatory numeric value; rule comparison is performed by the utility |
| 15 | pH_Value | decimal | pH | p H Value | 7.1 | mandatory numeric value; rule comparison is performed by the utility |
| 16 | SterilityTest | boolean / flag | 0/1 | Sterility Test | 0 | valid flag required; prohibited organisms and growth are normally expected as 0 / absent |
| 17 | Endotoxin_EU_ml | decimal | as specified | Endotoxin EU ml | 0.1 | numeric value; critical safety attribute compared with endotoxin limit |
| 18 | Detection_Method | text | as specified | Detection Method | GC-MS | mandatory value; format and acceptability are checked by the utility |
CSV example
BatchNumber,Total_BDDE_ppm,Free_BDDE_ppm,Bound_BDDE_ppm,Sample_Weight_g,Extraction_Volume_ml,Dilution_Factor,Peak_Area_BDDE,Peak_Area_Internal_Standard,Calibration_Curve_R2,LOD_ppm,LOQ_ppm,Recovery_Spike_Percent,Blank_Signal_ppm,pH_Value,SterilityTest,Endotoxin_EU_ml,Detection_Method BDDE-HA-2026-001,1.2,0.4,0.8,1.0,10.0,5.0,15000,50000,0.998,0.1,0.3,92.0,0.02,7.1,0,0.1,GC-MS
7. FS — functional specification
| ID | Function | Implementation description |
|---|---|---|
| FS-001 | CLI entry point | The executable ResidualBDDEAnalyzer.exe supports demo mode and input.csv output.json processing mode. |
| FS-002 | CSV parser | The import module reads CSV, validates header, column presence/order, value count and encoding. Decimal values are expected with a dot separator. |
| FS-003 | Field conversion | Each column is converted to the expected type: identifier, text, decimal number, date/time or boolean flag. |
| FS-004 | Domain rule engine | For Residual BDDE Analyzer, explicit rules are applied: range, minimum, maximum, absence of prohibited flag, data completeness or calculation-based check. |
| FS-005 | Criticality handling | Critical violations produce FAIL; non-critical deviations and incomplete data produce WARNING; full conformance produces PASS. |
| FS-006 | JSON writer | output.json stores overall status, per-parameter results, source values, warnings, failures and diagnostic messages. |
| FS-007 | Integration contract | The CSV → JSON format is stable for invocation from LIMS/ELN/MES, scheduled task or wrapper service. |
| FS-008 | Error handling | Schema error, missing file, non-numeric value or JSON write failure returns diagnosable error without silent PASS. |
8. output.json contract
The output file must be suitable for automated processing, audit review and correlation with the source input.csv row.
{
"utility": "ResidualBDDEAnalyzer",
"api": "Residual BDDE Analyzer",
"batchNumber": "BDDE-HA-2026-001",
"overallStatus": "PASS|WARNING|FAIL",
"checkedAtUtc": "2026-05-18T00:00:00Z",
"checks": [
{
"parameter": "BatchNumber",
"value": "BDDE-HA-2026-001",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Total_BDDE_ppm",
"value": "1.2",
"unit": "ppm",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Free_BDDE_ppm",
"value": "0.4",
"unit": "ppm",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Bound_BDDE_ppm",
"value": "0.8",
"unit": "ppm",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Sample_Weight_g",
"value": "1.0",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Extraction_Volume_ml",
"value": "10.0",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Dilution_Factor",
"value": "5.0",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Peak_Area_BDDE",
"value": "15000",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
}
],
"criticalFindings": [],
"sourceFile": "input.csv"
}9. OQ/PQ test scenarios
| ID | Scenario | Expected result |
|---|---|---|
| TC-001 | Valid CSV with expected header and sample row | All rows are processed; output contains PASS/WARNING/FAIL and parameter-level detail. |
| TC-002 | A mandatory input.csv column is missing | Import is rejected or the row receives FAIL with schema reference. |
| TC-003 | A numeric field contains text or a blank value | Type conversion error is recorded; the result is not hidden as PASS. |
| TC-004 | A parameter is outside specification or critical limit | Critical parameters produce FAIL; non-critical deviations produce WARNING according to the rule. |
| TC-005 | Positive pathogen/microbiological flag or microbiological limit excursion | Critical FAIL is produced with the offending parameter. |
10. QA/QC, CSV and change control
- Before production use, the client records executable version, checksum, specification/monograph version, test CSV, expected JSON and IQ/OQ results.
- Column names must not be changed without updating the validator and test scenarios.
- The source CSV, output.json and utility version should be stored together as an evidence package.
- Any change in control rules must go through change control and repeated OQ scenario verification.
Included in packages
Dermal Fillers QC Suite
Package for injectable implants and dermal fillers: hyaluronic acid, CaHA, PLLA, PMMA, collagen and related tests.
Open