Nitrogen13AmmoniaQualityChecker
Nitrogen-13 Ammonia
Utility description: Nitrogen-13 Ammonia
Nitrogen-13 Ammonia Quality Checker — Nitrogen-13 Ammonia for Cardiac PET Imaging ℹ️ Utility checks critical parameters of [13N]Ammonia: • Radionuclidic purity (≥99.5%) • Fluorine-18 impurity (≤0.1%) • Radiochemical purity (≥95%) • Nitrate/Nitrite (≤5%) • pH (4.5–8.5), endotoxins, sterility ⚠️ CRITICAL: F-18 impurity >0.1% distorts quantitative blood flow analysis! Low RCP (<95%) → reduced myocardial uptake and false perfusion defects! Usage: Nitrogen13AmmoniaQualityChecker.exe → demo mode (console output) Nitrogen13AmmoniaQualityChecker.exe input.csv output.json → evaluate your data Input format: BatchNumber,TotalActivityMBq,RadionuclidicPurityPercent,Fluorine18ImpurityPercent,RadiochemicalPurityPercent,NitrateNitritePercent,pH,EndotoxinsEU,SterilityTest,HeavyMetalsPPM,ProductType Example (sterility: 0=sterile, 1=contaminated): N13-NH3-2026-001,15000.0,99.9,0.01,99.5,0.2,6.5,20.0,0,1,Cardiac_PET Supported product types: • Cardiac_PET — Myocardial Perfusion Imaging (MPI) — WHY IS THIS NEEDED? [13N]Ammonia is the gold standard for PET myocardial perfusion: • Half-life: 9.97 minutes — requires on-site cyclotron • Mechanism: Passive diffusion into cardiomyocytes, metabolic trapping (glutamine synthetase) • High first-pass extraction fraction ~80% • Allows precise quantification of Myocardial Blood Flow (MBF) in mL/min/g ⚠️ CRITICAL: • Radiochemical purity ≥95% — Only ammonia ([13N]NH3) is effectively taken up by the myocardium. Oxidized forms ([13N]NOx) do not accumulate and create blood pool background. • Fluorine-18 impurity ≤0.1% — F-18 (T½=110 min) is often formed as a byproduct. Due to its long half-life, F-18 creates a constant background, distorting dynamic input-output curves in kinetic modeling. • Nitrate/Nitrite ≤5% — Radiolysis and oxidation products. Do not participate in myocardial metabolism. • pH 4.5–8.5 — Strict control for IV administration. Key features: • Control of F-18 impurity (critical for quantitative analysis) • Assessment of oxidized nitrogen species (NOx) • Compliance check with USP <823> and Ph.Eur. • Consideration of short half-life in activity interpretation Critical parameters: • Radionuclidic purity: ≥99.5% • Fluorine-18 impurity: ≤0.1% • Radiochemical purity: ≥95.0% • Nitrate/Nitrite: ≤5.0% • pH: 4.5–8.5 • Endotoxins: ≤175 EU/vial • Sterility: no microbial growth • Heavy metals: ≤10 ppm 💡 Usage tips: RCP is determined by ion chromatography or distillation F-18 impurity is controlled by gamma spectrometry after several N-13 half-lives (when N-13 has decayed, only F-18 remains) The drug is administered as a bolus for first-pass assessment Due to short T½, logistics and synthesis speed are critical ⚠️ Note: Unlike other radiopharmaceuticals, [13N]Ammonia is metabolized into glutamine. F-18 impurities are particularly dangerous not just due to dose, but because they affect the mathematical model of blood flow calculation, as F-18 does not clear from the blood as rapidly as N-13.
input.csv
BatchNumber,TotalActivityMBq,RadionuclidicPurityPercent,Fluorine18ImpurityPercent,RadiochemicalPurityPercent,NitrateNitritePercent,pH,EndotoxinsEU,SterilityTest,HeavyMetalsPPM,ProductType N13-NH3-2026-001,15000.0,99.9,0.01,99.5,0.2,6.5,20.0,0,1,Cardiac_PET N13-NH3-2026-002,14500.0,99.0,0.5,94.0,6.5,7.0,150.0,0,5,Cardiac_PET N13-NH3-2026-003,16000.0,99.95,0.005,99.8,0.1,6.8,10.0,0,0.5,Cardiac_PET
URS & FS — User Requirements and Functional Specification
This document describes the controlled interface and behaviour of Nitrogen13AmmoniaQualityChecker for Nitrogen-13 Ammonia.
Domain limits and critical parameters
- ℹ️ Utility checks critical parameters of [13N]Ammonia:
- • Radionuclidic purity (≥99.5%)
- • Fluorine-18 impurity (≤0.1%)
- • Radiochemical purity (≥95%)
- • Nitrate/Nitrite (≤5%)
- • pH (4.5–8.5), endotoxins, sterility
- ⚠️ CRITICAL: F-18 impurity >0.1% distorts quantitative blood flow analysis!
- BatchNumber,TotalActivityMBq,RadionuclidicPurityPercent,Fluorine18ImpurityPercent,RadiochemicalPurityPercent,NitrateNitritePercent,pH,EndotoxinsEU,SterilityTest,HeavyMetalsPPM,ProductType
- Example (sterility: 0=sterile, 1=contaminated):
- ⚠️ CRITICAL:
- • Radiochemical purity ≥95% — Only ammonia ([13N]NH3) is effectively taken up by the myocardium. Oxidized forms ([13N]NOx) do not accumulate and create blood pool background.
- • Fluorine-18 impurity ≤0.1% — F-18 (T½=110 min) is often formed as a byproduct. Due to its long half-life, F-18 creates a constant background, distorting dynamic input-output curves in kinetic modeling.
- • Nitrate/Nitrite ≤5% — Radiolysis and oxidation products. Do not participate in myocardial metabolism.
- • Control of F-18 impurity (critical for quantitative analysis)
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 Nitrogen-13 Ammonia 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 | N13-NH3-2026-001 | Batch or lot identifier used for traceability. |
| 2 | TotalActivityMBq | decimal | 15000.0 | Radioactivity value used for release, decay or dose-related assessment. |
| 3 | RadionuclidicPurityPercent | string | 99.9 | Radionuclidic purity; a critical radiation-safety and impurity parameter. |
| 4 | Fluorine18ImpurityPercent | string | 0.01 | Controlled impurity or residual material. |
| 5 | RadiochemicalPurityPercent | string | 99.5 | Radiochemical purity; confirms the labelled chemical form and binding quality. |
| 6 | NitrateNitritePercent | decimal | 0.2 | Controlled input parameter used by the deterministic QC rules. |
| 7 | pH | decimal | 6.5 | Solution pH; relevant for stability, compatibility and administration. |
| 8 | EndotoxinsEU | decimal | 20.0 | Bacterial endotoxins; critical for parenteral administration. |
| 9 | SterilityTest | flag / boolean | 0 | Sterility result; critical release parameter. |
| 10 | HeavyMetalsPPM | decimal | 1 | Elemental impurity / metal residue parameter. |
| 11 | ProductType | string | Cardiac_PET | Controlled input parameter used by the deterministic QC rules. |
BatchNumber,TotalActivityMBq,RadionuclidicPurityPercent,Fluorine18ImpurityPercent,RadiochemicalPurityPercent,NitrateNitritePercent,pH,EndotoxinsEU,SterilityTest,HeavyMetalsPPM,ProductType N13-NH3-2026-001,15000.0,99.9,0.01,99.5,0.2,6.5,20.0,0,1,Cardiac_PET N13-NH3-2026-002,14500.0,99.0,0.5,94.0,6.5,7.0,150.0,0,5,Cardiac_PET N13-NH3-2026-003,16000.0,99.95,0.005,99.8,0.1,6.8,10.0,0,0.5,Cardiac_PET
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 Nitrogen-13 Ammonia, 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": "nitrogen13-ammonia-quality-checker",
"api": "Nitrogen-13 Ammonia",
"overallStatus": "PASS|WARNING|FAIL",
"sourceFile": "input.csv",
"checks": [
{
"parameter": "BatchNumber",
"value": "N13-NH3-2026-001",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "TotalActivityMBq",
"value": "15000.0",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "RadionuclidicPurityPercent",
"value": "99.9",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "Fluorine18ImpurityPercent",
"value": "0.01",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "RadiochemicalPurityPercent",
"value": "99.5",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "NitrateNitritePercent",
"value": "0.2",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "pH",
"value": "6.5",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "EndotoxinsEU",
"value": "20.0",
"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
Gastroenterology QC Suite
QC package for gastroenterology: PPIs, antiemetics, prokinetics, IBD medicines, laxatives, enzymes and GI anti-infectives.
OpenPetRad3: 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 isotope family: cardiac perfusion and generator tracers
Rb-82/Sr-82, N-13 and Tl-201 for myocardial perfusion and generator-supported workflows.
OpenRPH isotope family: short-lived PET isotopes
F-18, C-11, N-13, O-15 and related PET production, release and imaging workflows.
OpenRPH organ/system: blood, cells and marrow
WBC/RBC/platelet labelling, blood volume, survival, blood-pool and cellular release workflows.
OpenRPH organ/system: cardiovascular
Myocardial perfusion, cardiac PET/SPECT, ventricular function, blood-pool and perfusion tracers.
OpenRPH organ/system: oncology and theranostics
Tumour imaging, PSMA/FAPI/receptor tracers, immuno-PET, targeted radionuclide therapy and radioembolization.
OpenRPH use case: PET/SPECT oncology diagnostics and receptor imaging
F-18, Ga-68, Cu-64, Zr-89, In-111 and other diagnostic tracers: synthesis, purity, receptor targeting, immuno-PET and generator-based workflows.
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: 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 workflow: synthesis, labelling and kit reconstitution
Radiolabelling, synthesis, chelation, reducing agent, pH/stoichiometry and kit preparation.
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