HyperpolarizationDecayKineticsMonitor

Hyperpolarization Decay Kinetics Monitor

instrumental Hyperpolarized Xenon RPH Xe-129 medical gases CSV→JSON URS & FS rule-based
Open selection

Utility description: Hyperpolarization Decay Kinetics Monitor

Hyperpolarization Decay Kinetics Monitor — Xe-129 Hyperpolarization Decay Kinetics Monitor

ℹ️  Utility analyzes spin polarization lifetime (T1):
    • Measured T1 calculation
    • Remaining signal life prediction
    • Anomalous decay detection (O2 impurities, bad vials)

⚠️  CRITICAL: Polarization lives for minutes/hours!
    If T1 drops faster than normal, image will be unreadable.

Usage:
  HyperpolarizationDecayKineticsMonitor.exe                            → demo mode (console output)
  HyperpolarizationDecayKineticsMonitor.exe input.csv output.json      → evaluate your data

Input format:
BatchNumber,ProductName,Initial_Pol_Percent,Start_Time_H,Current_Pol_Percent,Elapsed_Time_H,O2_ppm,Wall_Factor,Min_Acceptable_Pol,Expected_T1_H

Example:
  XE-T1-2026-001,HP-Xe-129,40.0,0.0,25.0,1.5,10.0,0.95,5.0,2.5

— WHY IS THIS NEEDED?
Decay kinetics control is critical for HP-MRI logistics:
• Hyperpolarized Xe-129 is not eternal; it returns to thermal equilibrium
• This process time is characterized by T1 constant (Spin-Lattice Relaxation Time)
• T1 strongly depends on paramagnetic impurities (oxygen) and vial wall quality
• If T1 is too short, gas "dies" before reaching patient's lungs
• Utility allows predicting if signal will be sufficient for scanning in 30-60 minutes

⚠️  CRITICAL:
• Measured T1 must match theoretical for given mixture (±20%)
• Oxygen presence >50 ppm drastically reduces T1
• Poor anti-relaxation vial coating accelerates decay
• Remaining lifetime must be sufficient for transport and administration

Key features:
• Exponential approximation of decay curve
• "Remaining shelf life" of polarization calculation in minutes
• Rapid decay cause diagnostics (O2 vs Walls)
• Support for various isotopic mixtures

Critical parameters:
• Measured T1: ≥80% of Expected T1
• Current Polarization: ≥5% (approximate detection threshold)
• Remaining Life: ≥15 min

💡 Usage tips:
1. Measure polarization immediately after exiting spinner (t=0) and before patient administration
2. Use data to calibrate gas delivery models
3. If low T1 observed, check vial seal and gas purity
4. Store vials in magnetic field (even weak) to extend T1
5. Account for temperature: heating accelerates relaxation

⚠️ Note: Unlike standard drugs where shelf life is measured in years, here it is measured in hours. The utility turns physical parameter T1 into a practical tool for medical study planning.

input.csv

BatchNumber,ProductName,Initial_Pol_Percent,Start_Time_H,Current_Pol_Percent,Elapsed_Time_H,O2_ppm,Wall_Factor,Min_Acceptable_Pol,Expected_T1_H
XE-T1-2026-001,HP-Xe-129 (Good Vial),40.0,0.0,25.0,1.5,10.0,0.95,5.0,2.5
XE-T1-2026-002,HP-Xe-129 (Bad Coating),40.0,0.0,10.0,1.5,10.0,0.5,5.0,2.5
XE-T1-2026-003,HP-Xe-129 (O2 Leak),40.0,0.0,15.0,1.0,500.0,0.95,5.0,2.5

URS & FS — user requirements and functional specification

URS & FS — User Requirements and Functional Specification

This document defines the controlled interface and behaviour of HyperpolarizationDecayKineticsMonitor for “Hyperpolarization Decay Kinetics Monitor”. Limits from the source description are an initial configuration and shall be reconciled with the approved specification, study protocol, equipment instructions and local SOPs before production use.

Domain constraints and critical parameters

  • Measured T1: ≥80% of Expected T1
  • Current Polarization: ≥5% (approximate detection threshold)
  • Remaining Life: ≥15 min

URS — User Requirements Specification

IDRequirementCriticalityAcceptance criterion
URS-001The utility shall accept input.csv with the exact headers defined by the data contract.HighThe file is processed without manual header renaming.
URS-002The utility shall perform a deterministic assessment for “Hyperpolarization Decay Kinetics Monitor”.HighPASS / WARNING / FAIL is produced for each row.
URS-003Required fields, types, ranges, units and data consistency shall be validated before domain rules.HighSchema errors are separated from nonconformities.
URS-004Critical limits from the description and approved local configuration shall create a critical finding.HighA critical rule violation results in FAIL.
URS-005The result shall be written to machine-readable output.json.HighJSON contains source values, checks, warnings and failures.
URS-006The conformity decision shall not use machine learning.MediumThe result is reproducible from explicit rules and inputs.
URS-007Traceability of batch, source file, rule version and final status shall be retained.HighQA/QC can reproduce the decision.
URS-008The utility shall have exactly one primary portal tag: instrumental.MediumThe other api / instrumental / medical_devices tags are absent.
URS-009Documentation shall support IQ/OQ/PQ or equivalent CSA/CSV verification.MediumThe contract, test scenarios and change-control rules are supplied with the utility.

input.csv data contract

#FieldTypeUnitSamplePurpose
1BatchNumberstringas specifiedXE-T1-2026-001Batch/lot identifier for traceability.
2ProductNamestringas specifiedHP-Xe-129 (Good Vial)Name of the controlled product, gas, procedure or equipment.
3Initial_Pol_Percentdecimal%40.0Xe-129 hyperpolarization level, loss or target parameter.
4Start_Time_Hdecimalh0.0Time parameter for processing, relaxation, pumping or examination.
5Current_Pol_Percentdecimal%25.0Xe-129 hyperpolarization level, loss or target parameter.
6Elapsed_Time_Hdecimalh1.5Time parameter for processing, relaxation, pumping or examination.
7O2_ppmdecimalppm10.0Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter.
8Wall_Factordecimalas specified0.95Controlled input.csv field: Wall Factor.
9Min_Acceptable_Poldecimalas specified5.0Xe-129 hyperpolarization level, loss or target parameter.
10Expected_T1_Hdecimalh2.5Longitudinal relaxation time or its target/predicted value.
BatchNumber,ProductName,Initial_Pol_Percent,Start_Time_H,Current_Pol_Percent,Elapsed_Time_H,O2_ppm,Wall_Factor,Min_Acceptable_Pol,Expected_T1_H
XE-T1-2026-001,HP-Xe-129 (Good Vial),40.0,0.0,25.0,1.5,10.0,0.95,5.0,2.5
XE-T1-2026-002,HP-Xe-129 (Bad Coating),40.0,0.0,10.0,1.5,10.0,0.5,5.0,2.5
XE-T1-2026-003,HP-Xe-129 (O2 Leak),40.0,0.0,15.0,1.0,500.0,0.95,5.0,2.5

FS — Functional Specification

IDFunctionImplementation
FS-001CLI executionHyperpolarizationDecayKineticsMonitor.exe supports demo mode and input.csv output.json mode.
FS-002CSV importRead UTF-8 CSV and validate header, column count and order.
FS-003Schema validationValidate required values, empties, types and basic plausibility.
FS-004Domain rule engineApply explicit rules for “Hyperpolarization Decay Kinetics Monitor” and locally approved limits.
FS-005Status aggregationFAIL for a critical finding; WARNING for a non-critical deviation; PASS for conformity.
FS-006JSON exportWrite source values, applied rules, statuses, warnings, failures and configuration version.
FS-007Audit supportRetain a result structure suitable for review, investigation, IQ/OQ and change control.
FS-008Integration contractLIMS/ELN/MES or an instrument wrapper creates CSV; the utility returns JSON.

output.json example

{
  "utilityId": "hyperpolarization-decay-kinetics-monitor",
  "primaryTag": "instrumental",
  "overallStatus": "PASS|WARNING|FAIL",
  "sourceFile": "input.csv",
  "checks": [
    {
      "parameter": "BatchNumber",
      "value": "XE-T1-2026-001",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "ProductName",
      "value": "HP-Xe-129 (Good Vial)",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Initial_Pol_Percent",
      "value": "40.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Start_Time_H",
      "value": "0.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Current_Pol_Percent",
      "value": "25.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Elapsed_Time_H",
      "value": "1.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "O2_ppm",
      "value": "10.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Wall_Factor",
      "value": "0.95",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    }
  ],
  "warnings": [],
  "criticalFindings": []
}

OQ/PQ test scenarios

IDScenarioExpected result
OQ-001Valid example rowPASS or an allowed WARNING under local rules.
OQ-002Required column missingSchema error; domain checks do not mask it.
OQ-003Non-numeric value in numeric fieldType-conversion error.
OQ-004Critical parameter outside its limitFAIL and a critical finding.
OQ-005Boundary valueThe result follows the configured ≤ / ≥ / < / > operator.
PQ-001Real site dataAgreed QA/QC review retaining CSV, JSON, version and checksum.

QA/QC and change control

  • Do not change column names without updating the validator, documentation and test set.
  • Retain input.csv, output.json, executable version, rule version and checksums.
  • Before production use, verify local limits and execute IQ/OQ/PQ or equivalent CSA.
  • Changes affecting patient safety, dosimetry, gas composition, polarization or equipment require documented impact assessment.

Included in packages

Rph Hyperpolarized Xenon Lifecycle QC Suite

29 utilities for the hyperpolarized xenon lifecycle: isotope composition and gas purity, SEOP and polarization, T1/storage/transport, safe blending and delivery, MRI/SPECT QC, dosimetry, scavenging, recovery and recycling.

Open

RPH isotope family: xenon and gas tracers

Xe-127, Xe-129 and Xe-133 for ventilation, hyperpolarized imaging, gas QC and safety.

Open

RPH organ/system: hepatobiliary and GI

HIDA, mebrofenin, gallbladder, gastric emptying, GI transit, bleeding and liver/spleen imaging.

Open

RPH organ/system: pulmonary and ventilation

Lung perfusion, MAA, V/Q, aerosol, xenon ventilation, shunt and pulmonary dosimetry.

Open

RPH use case: xenon, ventilation and medical gases

Xe-129, Xe-133, Xe-127, hyperpolarization, SEOP, T1, mixing, scavenging, transport, recovery and ventilation imaging.

Open

RPH workflow: dosimetry and therapy planning

Activity planning, absorbed dose, organ dose, lung shunt, preplanning and therapy verification.

Open

RPH workflow: imaging QC and quantitative interpretation

Acquisition, uptake, clearance, perfusion, transit, ejection fraction, segmentation and quantitative imaging.

Open

RPH workflow: product release QC

Assay, purity, sterility, endotoxins, pH, impurities, appearance and batch-release checks.

Open

RPH workflow: stability, storage, decay and waste

Kinetic stability, shelf life, decay correction, expiry, storage, trend and radioactive waste.

Open