Iodine131CapsulesQualityChecker
Iodine131 Capsules
Iodine-131 Capsules Quality Checker — Iodine-131 Capsules (radiopharmaceutical for thyroid therapy) (Ph. Eur., USP <823>) ℹ️ The utility checks activity (% of declared), radiochemical purity, volatile iodine, disintegration, microbiology, heavy metals, residual solvents. ℹ️ Does not use machine learning — rule-based logic only. ⚠️ CRITICAL: Volatile iodine (≤5.0%) — radiation exposure risk to personnel! Radiochemical purity (≥95.0%) — therapy efficacy and minimization of radiation dose! Usage: Iodine131CapsulesQualityChecker.exe → demo mode (console output) Iodine131CapsulesQualityChecker.exe input.csv output.json → evaluate your data Input format: BatchNumber,MeasuredActivityMBq,DeclaredActivityMBq,RadiochemicalPurity,VolatileIodine,DisintegrationTime,HeavyMetals,TAMC,TYMC,EColiDetected,SalmonellaDetected,EthanolPPM,AcetonePPM Example (pathogens: 0=not detected, 1=detected): I131-2026-001,370.0,370.0,98.0,2.0,10.0,10,500,50,0,0,800,500 — WHY IS THIS NEEDED? Iodine-131 capsules — radiopharmaceutical for: • Treatment of diffuse toxic goiter (Graves' disease) • Therapy of thyroid cancer after thyroidectomy • Suppression of residual thyroid tissue function ⚠️ CRITICAL: • Activity 90.0–110.0% of declared — ensures therapeutic dose and minimizes risk of under/over-treatment • Radiochemical purity ≥95.0% — ensures delivery of iodine-131 specifically to thyroid tissue, not other organs • Volatile iodine ≤5.0% — CRITICAL FOR PERSONNEL SAFETY! Volatile forms evaporate when package is opened, creating radiation hazard • Disintegration ≤15.0 min — ensures release of active substance in GI tract for absorption ⚠️ Special attention: Iodine-131 capsules require STRICT radiation safety measures during production and quality control! Volatile iodine control is mandatory at all stages. Microbiological control is important as capsules are taken orally, but less strict than for parenteral forms. Critical parameters: • Activity: 90.0–110.0% of declared • Radiochemical purity: ≥95.0% • Volatile iodine: ≤5.0% (CRITICAL FOR PERSONNEL SAFETY!) • Disintegration: ≤15.0 minutes • Heavy metals: ≤20 ppm • TAMC: ≤1000 CFU/g • TYMC: ≤100 CFU/g • Absence of E. coli and Salmonella • Residual solvents: ethanol ≤5000 ppm, acetone ≤5000 ppm ⚠️ Note: Utility calculates activity as percentage of declared dose (not absolute value), allowing use for capsules of different strengths (37, 185, 370, 740, 1110, 1850, 3700, 7400 MBq). Volatile iodine control performed by sublimation or gas chromatography method. Radiochemical purity determined by TLC method.
input.csv
BatchNumber,MeasuredActivityMBq,DeclaredActivityMBq,RadiochemicalPurity,VolatileIodine,DisintegrationTime,HeavyMetals,TAMC,TYMC,EColiDetected,SalmonellaDetected,EthanolPPM,AcetonePPM I131-2026-001,370.0,370.0,98.0,2.0,10.0,10,500,50,0,0,800,500
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 Iodine131 Capsules Quality Checker utility is used for Iodine131 Capsules. 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: Radiopharmaceuticals
Tags: biologics, capsules, decay correction, endotoxins, heavy metals, medical gases, microbiology, PET, radionuclide purity, radiopharma, residual solvents, SPECT
2. Execution modes
Iodine131CapsulesQualityChecker.exe → demo mode (console output) Iodine131CapsulesQualityChecker.exe input.csv output.json → evaluate your data
3. Key controlled areas
- purity and impurities
- dissolution / disintegration
- residual solvents
- microbiology and pathogens
- heavy metals / elemental impurities
- pH and physicochemical parameters
- activity, decay and radiochemical purity
4. Domain limits and critical parameters
- ⚠️ CRITICAL: Volatile iodine (≤5.0%) — radiation exposure risk to personnel! Radiochemical purity (≥95.0%) — therapy efficacy and minimization of radiation dose!
- ⚠️ CRITICAL:
- Activity 90.0–110.0% of declared — ensures therapeutic dose and minimizes risk of under/over-treatment
- Radiochemical purity ≥95.0% — ensures delivery of iodine-131 specifically to thyroid tissue, not other organs
- Volatile iodine ≤5.0% — CRITICAL FOR PERSONNEL SAFETY! Volatile forms evaporate when package is opened, creating radiation hazard
- Disintegration ≤15.0 min — ensures release of active substance in GI tract for absorption
- ⚠️ Special attention: Iodine-131 capsules require STRICT radiation safety measures during production and quality control! Volatile iodine control is mandatory at all stages. Microbiological control is important as capsules are taken orally, but less strict than for parenteral forms.
- Critical parameters:
- Activity: 90.0–110.0% of declared
- Radiochemical purity: ≥95.0%
- Volatile iodine: ≤5.0% (CRITICAL FOR PERSONNEL SAFETY!)
- Disintegration: ≤15.0 minutes
- Heavy metals: ≤20 ppm
- TAMC: ≤1000 CFU/g
- TYMC: ≤100 CFU/g
- Absence of E. coli and Salmonella
- Residual solvents: ethanol ≤5000 ppm, acetone ≤5000 ppm
- ⚠️ Note: Utility calculates activity as percentage of declared dose (not absolute value), allowing use for capsules of different strengths (37, 185, 370, 740, 1110, 1850, 3700, 7400 MBq). Volatile iodine control performed by sublimation or gas chromatography method. Radiochemical purity determined by TLC method.
5. URS — user requirements
| ID | Requirement | Criticality | Acceptance criterion |
|---|---|---|---|
| URS-001 | The system shall accept an input.csv file for Iodine131 Capsules 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: purity and impurities, dissolution / disintegration, residual solvents, microbiology and pathogens, heavy metals / elemental impurities, pH and physicochemical parameters, activity, decay and radiochemical purity. | 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 | I131-2026-001 | mandatory field; used for batch/lot traceability |
| 2 | MeasuredActivityMBq | decimal | MBq | Measured Activity MBq | 370.0 | mandatory numeric value; rule comparison is performed by the utility |
| 3 | DeclaredActivityMBq | decimal | MBq | Declared Activity MBq | 370.0 | mandatory numeric value; rule comparison is performed by the utility |
| 4 | RadiochemicalPurity | decimal | as specified | Radiochemical Purity | 98.0 | numeric value; compared with assay/purity limit from specification or method |
| 5 | VolatileIodine | decimal | as specified | Volatile Iodine | 2.0 | mandatory numeric value; rule comparison is performed by the utility |
| 6 | DisintegrationTime | decimal | min | Disintegration Time | 10.0 | numeric value; dissolution/disintegration profile checked according to method |
| 7 | HeavyMetals | decimal | as specified | Heavy Metals | 10 | numeric value; checked as elemental/metal impurity |
| 8 | TAMC | decimal | as specified | TAMC | 500 | numeric value; compared with microbiological limits |
| 9 | TYMC | decimal | as specified | TYMC | 50 | numeric value; compared with microbiological limits |
| 10 | EColiDetected | boolean / flag | 0/1 | EColi Detected | 0 | valid flag required; prohibited organisms and growth are normally expected as 0 / absent |
| 11 | SalmonellaDetected | boolean / flag | 0/1 | Salmonella Detected | 0 | valid flag required; prohibited organisms and growth are normally expected as 0 / absent |
| 12 | EthanolPPM | decimal | ppm | Ethanol PPM | 800 | numeric value; checked as residual solvent against the applicable limit |
| 13 | AcetonePPM | decimal | ppm | Acetone PPM | 500 | numeric value; checked as residual solvent against the applicable limit |
CSV example
BatchNumber,MeasuredActivityMBq,DeclaredActivityMBq,RadiochemicalPurity,VolatileIodine,DisintegrationTime,HeavyMetals,TAMC,TYMC,EColiDetected,SalmonellaDetected,EthanolPPM,AcetonePPM I131-2026-001,370.0,370.0,98.0,2.0,10.0,10,500,50,0,0,800,500
7. FS — functional specification
| ID | Function | Implementation description |
|---|---|---|
| FS-001 | CLI entry point | The executable Iodine131CapsulesQualityChecker.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 Iodine131 Capsules, 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": "Iodine131CapsulesQualityChecker",
"api": "Iodine131 Capsules",
"batchNumber": "I131-2026-001",
"overallStatus": "PASS|WARNING|FAIL",
"checkedAtUtc": "2026-05-18T00:00:00Z",
"checks": [
{
"parameter": "BatchNumber",
"value": "I131-2026-001",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "MeasuredActivityMBq",
"value": "370.0",
"unit": "MBq",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "DeclaredActivityMBq",
"value": "370.0",
"unit": "MBq",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "RadiochemicalPurity",
"value": "98.0",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "VolatileIodine",
"value": "2.0",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "DisintegrationTime",
"value": "10.0",
"unit": "min",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "HeavyMetals",
"value": "10",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "TAMC",
"value": "500",
"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. |
| TC-006 | Insufficient dissolution or excessive disintegration time | FAIL/WARNING is produced according to method criticality. |
| TC-007 | Residual solvent above applicable limit | FAIL is produced with solvent name and measured value. |
| TC-008 | Incorrect activity, reference time or radiochemical purity | FAIL/WARNING is produced with calculation traceability. |
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
Endocrinology QC Suite
QC package for endocrinology: thyroid, pituitary/peptide hormones, corticosteroids, sex hormones and selected metabolic medicines.
OpenPetRad QC Suite
A specialised utility package for radiopharmaceutical quality control: PET, SPECT, therapeutic radionuclides, generators and decay calculations.
OpenRadiology QC Suite
QC package for radiology and diagnostic imaging: radiopharmaceuticals, PET/SPECT, contrast media, iodinated and gadolinium products, plus particle, sterility and endotoxin checks.
OpenRPH isotope family: radioiodine
I-123, I-124, I-125 and I-131 for diagnostics, therapy, labelling and purity control.
OpenRPH organ/system: endocrine, thyroid and NET
Radioiodine, thyroid/parathyroid, somatostatin receptor, MIBG and neuroendocrine workflows.
OpenRPH organ/system: hepatobiliary and GI
HIDA, mebrofenin, gallbladder, gastric emptying, GI transit, bleeding and liver/spleen imaging.
OpenRPH organ/system: oncology and theranostics
Tumour imaging, PSMA/FAPI/receptor tracers, immuno-PET, targeted radionuclide therapy and radioembolization.
OpenRPH use case: radionuclide therapy and theranostics
Lu-177, Ac-225, Ra-223, Y-90, Ho-166, Sm-153, Sr-89, Re-188, Tb-161, I-131 and other therapeutic radiopharmaceuticals: activity, purity, free metal, daughters and toxicological constraints.
OpenRPH workflow: instruments, devices and radiation safety
PET/gamma-camera state, calibration, detector QC, energy window, TOF, shielding and radiation safety.
OpenRPH workflow: product release QC
Assay, purity, sterility, endotoxins, pH, impurities, appearance and batch-release checks.
OpenRPH workflow: stability, storage, decay and waste
Kinetic stability, shelf life, decay correction, expiry, storage, trend and radioactive waste.
OpenRPH: combined radiopharmaceutical QC package
RPH combines PetRad, PetRad2 and PetRad3 into one umbrella package for PET/SPECT, therapeutic radionuclides, generators, labelled compounds, decay calculations, sterility, endotoxins and radiochemical/radionuclidic purity.
Open