Mercury197QualityChecker
Mercury-197
Utility description: Mercury-197
Mercury-197 Quality Checker — Mercury-197 for Renal Imaging ℹ️ Utility checks critical parameters of Mercury-197: • Radionuclidic purity (≥99.0%) • Mercury-197m impurity (≤1.0%) • Mercury-203 impurity (≤0.1%) • Radiochemical purity (≥95%) • Free mercury (≤2%) • pH, endotoxins, sterility, heavy metals ⚠️ CRITICAL: Free mercury >2% → NEPHROTOXICITY! Hg-203 impurity >0.1% → long-term toxicity and radiation burden! Usage: Mercury197QualityChecker.exe → demo mode (console output) Mercury197QualityChecker.exe input.csv output.json → evaluate your data Input format: BatchNumber,TotalActivityMBq,RadionuclidicPurityPercent,Mercury197mImpurityPercent,Mercury203ImpurityPercent,RadiochemicalPurityPercent,FreeMercuryPercent,pH,EndotoxinsEU,SterilityTest,HeavyMetalsPPM,ProductType Example (sterility: 0=sterile, 1=contaminated): Hg197-RENAL-2026-001,37.0,99.5,0.5,0.05,98.0,1.0,6.5,40.0,0,2,Renal_Imaging Supported product types: • Renal_Imaging — Renal cortical imaging (historical/specialized method) • Research — preclinical research — WHY IS THIS NEEDED? Mercury-197 is a radioisotope historically used for kidney scanning: • Half-life: 64.1 hours (2.67 days) • Emission: Gamma (77-80 keV, mercury X-rays) and Auger electrons • Used as chlormerodrin or neohydrin for accumulation in renal tubules • Largely replaced by Tc-99m agents in modern practice, but used in specialized studies ⚠️ CRITICAL: • Free mercury ≤2% — Inorganic mercury is highly nephrotoxic. Even small amounts of free mercury can cause renal tubular damage. • Mercury-203 impurity ≤0.1% — Hg-203 (T½=46.6 days) is a beta and gamma emitter with a long half-life. Its presence is unacceptable due to high patient dose and long-term environmental contamination. • Radiochemical purity ≥95% — Ensures delivery of the isotope specifically to the kidneys. • Mercury-197m impurity ≤1.0% — Hg-197m isomer (T½=23.8 h) increases radiation dose without diagnostic benefit. Key features: • Strict control of free mercury (nephrotoxicity) • Control of long-lived Hg-203 impurity (radiation safety) • Assessment of radiochemical purity of mercury complexes • Support for historical and research applications Critical parameters: • Radionuclidic purity: ≥99.0% • Mercury-203 impurity: ≤0.1% • Mercury-197m impurity: ≤1.0% • Radiochemical purity: ≥95.0% • Free mercury: ≤2.0% • pH: 4.0–8.0 • Endotoxins: ≤175 EU/vial • Sterility: no microbial growth • Heavy metals: ≤10 ppm 💡 Usage tips: Radiochemical purity is determined by TLC or electrophoresis Free mercury is controlled by diethyldithiocarbamate extraction Due to mercury toxicity, all waste must be disposed of as hazardous chemical and radioactive waste Mercury preparations require caution when administering to patients with impaired renal function ⚠️ Note: Mercury-197 decays by electron capture, emitting characteristic mercury X-rays (77-80 keV), which are ideal for gamma cameras. However, the chemical toxicity of mercury requires exceptionally high quality control, especially the absence of free inorganic form.
input.csv
BatchNumber,TotalActivityMBq,RadionuclidicPurityPercent,Mercury197mImpurityPercent,Mercury203ImpurityPercent,RadiochemicalPurityPercent,FreeMercuryPercent,pH,EndotoxinsEU,SterilityTest,HeavyMetalsPPM,ProductType Hg197-RENAL-2026-001,37.0,99.5,0.5,0.05,98.0,1.0,6.5,40.0,0,2,Renal_Imaging Hg197-RENAL-2026-002,35.0,98.5,1.5,0.2,94.0,3.0,6.0,180.0,0,8,Renal_Imaging Hg197-RES-2026-001,50.0,99.8,0.2,0.02,99.0,0.5,7.0,20.0,0,1,Research
URS & FS — User Requirements and Functional Specification
This document describes the controlled interface and behaviour of Mercury197QualityChecker for Mercury-197.
Domain limits and critical parameters
- ℹ️ Utility checks critical parameters of Mercury-197:
- • Radionuclidic purity (≥99.0%)
- • Mercury-197m impurity (≤1.0%)
- • Mercury-203 impurity (≤0.1%)
- • Radiochemical purity (≥95%)
- • Free mercury (≤2%)
- • pH, endotoxins, sterility, heavy metals
- ⚠️ CRITICAL: Free mercury >2% → NEPHROTOXICITY!
- Hg-203 impurity >0.1% → long-term toxicity and radiation burden!
- BatchNumber,TotalActivityMBq,RadionuclidicPurityPercent,Mercury197mImpurityPercent,Mercury203ImpurityPercent,RadiochemicalPurityPercent,FreeMercuryPercent,pH,EndotoxinsEU,SterilityTest,HeavyMetalsPPM,ProductType
- Example (sterility: 0=sterile, 1=contaminated):
- ⚠️ CRITICAL:
- • Free mercury ≤2% — Inorganic mercury is highly nephrotoxic. Even small amounts of free mercury can cause renal tubular damage.
- • Mercury-203 impurity ≤0.1% — Hg-203 (T½=46.6 days) is a beta and gamma emitter with a long half-life. Its presence is unacceptable due to high patient dose and long-term environmental contamination.
URS — User Requirements Specification
| ID | Requirement | Criticality | Acceptance criterion |
|---|---|---|---|
| URS-001 | The utility shall accept an input.csv file with the exact headers defined in the data contract. | High | The file is processed without manual header editing. |
| URS-002 | The utility shall perform deterministic QC evaluation for Mercury-197 using input values, approved limits and domain rules. | High | Each input row receives a PASS / WARNING / FAIL status. |
| URS-003 | The utility shall validate mandatory fields, data types, numeric ranges, units and pharmaceutical/radiochemical plausibility. | High | Schema and conversion errors are explicitly reported. |
| URS-004 | The utility shall identify critical deviations related to radionuclidic purity, radiochemical purity, free radionuclide, impurities, pH, endotoxins and sterility when such fields are present. | High | A critical deviation causes FAIL or a separate critical finding. |
| URS-005 | The utility shall generate output.json with machine-readable results, source values, warnings and failures. | High | JSON is suitable for LIMS/ELN/MES integration and QA/QC review. |
| URS-006 | The utility shall not use machine learning to decide conformance. | Medium | The result is based on explicit rules, thresholds and input values. |
| URS-007 | The utility shall preserve traceability between batch number, input values, applied rules and final status. | High | The output contains the batch identifier and the list of checked parameters. |
| URS-008 | The documentation shall support IQ/OQ preparation and inspection discussion with FDA/EMA/Roszdravnadzor or local regulators. | Medium | URS & FS, input.csv/output.json contract and test scenarios are supplied with the utility. |
input.csv contract
| # | Field | Type | Sample | Purpose |
|---|---|---|---|---|
| 1 | BatchNumber | string | Hg197-RENAL-2026-001 | Batch or lot identifier used for traceability. |
| 2 | TotalActivityMBq | decimal | 37.0 | Radioactivity value used for release, decay or dose-related assessment. |
| 3 | RadionuclidicPurityPercent | string | 99.5 | Radionuclidic purity; a critical radiation-safety and impurity parameter. |
| 4 | Mercury197mImpurityPercent | string | 0.5 | Controlled impurity or residual material. |
| 5 | Mercury203ImpurityPercent | string | 0.05 | Controlled impurity or residual material. |
| 6 | RadiochemicalPurityPercent | string | 98.0 | Radiochemical purity; confirms the labelled chemical form and binding quality. |
| 7 | FreeMercuryPercent | decimal | 1.0 | Free radionuclide / unbound species; important for non-target uptake and toxicity. |
| 8 | pH | decimal | 6.5 | Solution pH; relevant for stability, compatibility and administration. |
| 9 | EndotoxinsEU | decimal | 40.0 | Bacterial endotoxins; critical for parenteral administration. |
| 10 | SterilityTest | flag / boolean | 0 | Sterility result; critical release parameter. |
| 11 | HeavyMetalsPPM | decimal | 2 | Elemental impurity / metal residue parameter. |
| 12 | ProductType | string | Renal_Imaging | Controlled input parameter used by the deterministic QC rules. |
BatchNumber,TotalActivityMBq,RadionuclidicPurityPercent,Mercury197mImpurityPercent,Mercury203ImpurityPercent,RadiochemicalPurityPercent,FreeMercuryPercent,pH,EndotoxinsEU,SterilityTest,HeavyMetalsPPM,ProductType Hg197-RENAL-2026-001,37.0,99.5,0.5,0.05,98.0,1.0,6.5,40.0,0,2,Renal_Imaging Hg197-RENAL-2026-002,35.0,98.5,1.5,0.2,94.0,3.0,6.0,180.0,0,8,Renal_Imaging Hg197-RES-2026-001,50.0,99.8,0.2,0.02,99.0,0.5,7.0,20.0,0,1,Research
FS — Functional Specification
| ID | Function | Implementation |
|---|---|---|
| FS-001 | CSV import | Read input.csv in UTF-8/CSV-compatible format and validate the header and expected columns. |
| FS-002 | Schema validation | Check mandatory fields and column count; report unknown or missing key fields. |
| FS-003 | Type conversion | Convert numeric, flag and text values; invalid formats are recorded as row-level errors. |
| FS-004 | Domain rule engine | Apply domain rules for Mercury-197, including critical limits from the utility description and approved specification. |
| FS-005 | Status aggregation | Produce final status: FAIL for critical failure, WARNING for non-critical deviation, PASS for conformance. |
| FS-006 | JSON export | Write output.json with detailed checks, source values, warnings, failures and critical findings. |
| FS-007 | Audit support | Keep the result structure suitable for review, deviation investigation, calculation reproduction and IQ/OQ preparation. |
| FS-008 | Integration contract | Support the production scenario: LIMS/ELN/MES creates input.csv, the utility returns output.json, the portal displays description and documentation. |
Example output.json
{
"utilityId": "mercury197-quality-checker",
"api": "Mercury-197",
"overallStatus": "PASS|WARNING|FAIL",
"sourceFile": "input.csv",
"checks": [
{
"parameter": "BatchNumber",
"value": "Hg197-RENAL-2026-001",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "TotalActivityMBq",
"value": "37.0",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "RadionuclidicPurityPercent",
"value": "99.5",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Mercury197mImpurityPercent",
"value": "0.5",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Mercury203ImpurityPercent",
"value": "0.05",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "RadiochemicalPurityPercent",
"value": "98.0",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "FreeMercuryPercent",
"value": "1.0",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "pH",
"value": "6.5",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
}
],
"criticalFindings": []
}
OQ/PQ test scenarios
| ID | Scenario | Expected result |
|---|---|---|
| OQ-001 | Valid sample row | PASS or acceptable WARNING according to the rules. |
| OQ-002 | Mandatory column missing | Schema error or FAIL. |
| OQ-003 | Non-numeric value in numeric field | Type-conversion error. |
| OQ-004 | Critical parameter outside limit | FAIL and critical finding. |
| PQ-001 | User real batch/lot | Reviewed result with input.csv and output.json retained. |
QA/QC and change control
- Do not rename columns without updating the validator 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 radiopharmaceutical limits must be verified against the approved specification and local SOPs.
Included in packages
PetRad3: expanded PET/SPECT and radiopharmaceutical QC package
A curated suite for PET/SPECT radiopharmaceuticals, generator and cyclotron radionuclides, labelled compounds, radiochemical purity, breakthrough, sterility and endotoxin control.
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 organ/system: hepatobiliary and GI
HIDA, mebrofenin, gallbladder, gastric emptying, GI transit, bleeding and liver/spleen imaging.
OpenRPH organ/system: renal and urinary
Renography, GFR/ERPF, renal uptake, DMSA/MAG3/DTPA and bladder-related workflows.
OpenRPH use case: generators, isotope purity and starting radionuclides
Control of generator eluate, breakthrough, radionuclidic purity, isotope mix, carrier/free radionuclides and starting radionuclides before labeling.
OpenRPH workflow: generators and isotope purity
Generator eluate, breakthrough, radionuclidic purity, isotope mix and starting radionuclides.
OpenRPH workflow: imaging QC and quantitative interpretation
Acquisition, uptake, clearance, perfusion, transit, ejection fraction, segmentation and quantitative imaging.
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