ExhaledGasScavengingAndRecoveryQC

Exhaled Gas Scavenging & Recovery QC

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

Utility description: Exhaled Gas Scavenging & Recovery QC

Exhaled Gas Scavenging & Recovery QC — Exhaled Gas Scavenging and Recovery Analyzer

ℹ️  Utility controls economics and safety of gas return process:
    • Collection efficiency (>85%)
    • CO2 and moisture removal
    • Isotopic purity preservation

⚠️  CRITICAL: Loss of enriched Xe-129 is economically unviable!
    Trap contamination with water can disable the system.

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

Input format:
BatchNumber,ProductName,Administered_Volume_L,Exhaled_Captured_Volume_L,Initial_Xe_Purity_Percent,Recovered_Xe_Purity_Percent,Recovered_CO2_ppm,Recovered_H2O_ppm,Recovered_O2_ppm,Min_Recovery_Eff,Max_CO2

Example:
  XE-REC-2026-001,HP-Xe-129 (90% enriched),1.0,0.92,90.0,89.5,50.0,2.0,21.0,85.0,100.0

— WHY IS THIS NEEDED?
Xenon recovery is critical for sustainability of HP-MRI programs:
• Enriched Xe-129 costs thousands of dollars per liter
• Patient exhales most of the administered gas
• Scavenging systems collect gas, clean it from CO2 and moisture
• Cleaned gas can be reused after re-polarization
• Inefficient cleaning leads to cryogenic trap failure (water freezing)

⚠️  CRITICAL:
• Collection efficiency ≥85% — economic standard
• CO2 level ≤100 ppm — requirement for adsorbent protection
• Moisture ≤5 ppm — critical for cryogenic systems
• Isotopic purity must remain at ≥90% level

Key features:
• Mass balance calculation of administered vs collected gas
• Scrubber (CO2/H2O) efficiency control
• Assessment of recovered gas suitability for re-polarization
• Session economic efficiency monitoring

Critical parameters:
• Recovery Efficiency: ≥85%
• CO2: ≤100 ppm
• H2O: ≤5 ppm
• Purity: ≥90%

💡 Usage tips:
1. Regularly check patient breathing circuit for leaks
2. Monitor chemical filter (soda lime) lifespan
3. Use humidity sensors at trap outlet
4. Perform periodic mass-spectrometric analysis of recovered mixture
5. Maintain log of recovered gas volume for equipment ROI calculation

⚠️ Note: Unlike standard medical gases, xenon is not chemically consumed, it is only "lost" physically. The utility helps turn this expense item into a savings item through closed-loop usage.

input.csv

BatchNumber,ProductName,Administered_Volume_L,Exhaled_Captured_Volume_L,Initial_Xe_Purity_Percent,Recovered_Xe_Purity_Percent,Recovered_CO2_ppm,Recovered_H2O_ppm,Recovered_O2_ppm,Min_Recovery_Eff,Max_CO2
XE-REC-2026-001,HP-Xe-129 (90% enriched),1.0,0.92,90.0,89.5,50.0,2.0,21.0,85.0,100.0
XE-REC-2026-002,HP-Xe-129 (85% enriched),0.8,0.60,85.0,84.0,150.0,8.0,21.0,85.0,100.0
XE-REC-2026-003,HP-Xe-129 (Recycled),1.0,0.95,92.0,91.8,20.0,1.0,21.0,85.0,100.0

URS & FS — user requirements and functional specification

URS & FS — User Requirements and Functional Specification

This document defines the controlled interface and behaviour of ExhaledGasScavengingAndRecoveryQC for “Exhaled Gas Scavenging & Recovery QC”. 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

  • Recovery Efficiency: ≥85%
  • CO2: ≤100 ppm
  • H2O: ≤5 ppm
  • Purity: ≥90%

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 “Exhaled Gas Scavenging & Recovery QC”.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: medical_devices.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-REC-2026-001Batch/lot identifier for traceability.
2ProductNamestringas specifiedHP-Xe-129 (90% enriched)Name of the controlled product, gas, procedure or equipment.
3Administered_Volume_LdecimalL1.0Controlled input.csv field: Administered Volume L.
4Exhaled_Captured_Volume_LdecimalL0.92Controlled input.csv field: Exhaled Captured Volume L.
5Initial_Xe_Purity_Percentdecimal%90.0Xenon parameter: concentration, isotope fraction, activity, volume or purity depending on the field.
6Recovered_Xe_Purity_Percentdecimal%89.5Xenon parameter: concentration, isotope fraction, activity, volume or purity depending on the field.
7Recovered_CO2_ppmdecimalppm50.0Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter.
8Recovered_H2O_ppmdecimalppm2.0Moisture content affecting gas purity, T1 and equipment condition.
9Recovered_O2_ppmdecimalppm21.0Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter.
10Min_Recovery_Effdecimalas specified85.0Xenon capture, recovery or recycling metric.
11Max_CO2decimal°C100.0Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter.
BatchNumber,ProductName,Administered_Volume_L,Exhaled_Captured_Volume_L,Initial_Xe_Purity_Percent,Recovered_Xe_Purity_Percent,Recovered_CO2_ppm,Recovered_H2O_ppm,Recovered_O2_ppm,Min_Recovery_Eff,Max_CO2
XE-REC-2026-001,HP-Xe-129 (90% enriched),1.0,0.92,90.0,89.5,50.0,2.0,21.0,85.0,100.0
XE-REC-2026-002,HP-Xe-129 (85% enriched),0.8,0.60,85.0,84.0,150.0,8.0,21.0,85.0,100.0
XE-REC-2026-003,HP-Xe-129 (Recycled),1.0,0.95,92.0,91.8,20.0,1.0,21.0,85.0,100.0

FS — Functional Specification

IDFunctionImplementation
FS-001CLI executionExhaledGasScavengingAndRecoveryQC.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 “Exhaled Gas Scavenging & Recovery QC” 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": "exhaled-gas-scavenging-and-recovery-qc",
  "primaryTag": "medical_devices",
  "overallStatus": "PASS|WARNING|FAIL",
  "sourceFile": "input.csv",
  "checks": [
    {
      "parameter": "BatchNumber",
      "value": "XE-REC-2026-001",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "ProductName",
      "value": "HP-Xe-129 (90% enriched)",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Administered_Volume_L",
      "value": "1.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Exhaled_Captured_Volume_L",
      "value": "0.92",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Initial_Xe_Purity_Percent",
      "value": "90.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Recovered_Xe_Purity_Percent",
      "value": "89.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Recovered_CO2_ppm",
      "value": "50.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Recovered_H2O_ppm",
      "value": "2.0",
      "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: 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