XeOxygenMixtureSafetyBlenderQC

Xe-O2 Mixture Safety Blender QC

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

Utility description: Xe-O2 Mixture Safety Blender QC

Xe-O2 Mixture Safety Blender QC — Xe/O2 Safety Blender Quality Control

ℹ️  Utility checks medical gas blender accuracy:
    • O2 and Xe flow errors
    • Output oxygen concentration (safety)
    • Mixing ratio accuracy

⚠️  CRITICAL: Blender is the last line of defense against hypoxia!
    Any error in O2 dosing can cost a patient their life.

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

Input format:
BatchNumber,ProductName,Target_O2_Flow,Measured_O2_Flow,Target_Xe_Flow,Measured_Xe_Flow,Output_O2_Percent,Min_Safe_O2,Max_Flow_Error

Example:
  BLEND-QC-2026-001,Blender v2,0.5,0.51,1.5,1.48,20.5,19.0,5.0

— WHY IS THIS NEEDED?
Blender control is critical for HP-MRI procedure safety:
• Blender combines pure xenon and medical oxygen in safe proportion
• Failure of flow meters (MFC) or valves can lead to delivery of pure xenon (asphyxia)
• Mixing accuracy affects predictability of polarization level (T1)
• Regular blender verification is required by GMP and FDA protocols
• Utility helps detect calibration drift before it becomes dangerous

⚠️  CRITICAL:
• Flow error for each gas ≤5%
• Output oxygen concentration strictly ≥19% (or higher per protocol)
• Mixing ratio must match recipe with high precision
• Automatic lockout upon detection of hazardous deviations

Key features:
• Comparison of target and actual gas flows
• Absolute safety control of output O2 concentration
• Mixing ratio error calculation
• Support for various medical blender models

Critical parameters:
• Flow Error: ≤5%
• Output O2: ≥19%
• Mixing Ratio Error: ≤5%

💡 Usage tips:
1. Perform test runs with nitrogen before using expensive xenon
2. Use independent gas analyzer to check blender output
3. Calibrate flow meters at least once a month
4. Monitor inlet pressure drops as they affect MFC accuracy
5. Maintain calibration log for safety audit

⚠️ Note: Unlike standard dosing equipment, here error is measured not in milliliters but in risk to life. The utility provides dual control: engineering (flow accuracy) and clinical (breathing safety).

input.csv

BatchNumber,ProductName,Target_O2_Flow,Measured_O2_Flow,Target_Xe_Flow,Measured_Xe_Flow,Output_O2_Percent,Min_Safe_O2,Max_Flow_Error
BLEND-QC-2026-001,Precision Blender v2.0,0.5,0.51,1.5,1.48,20.5,19.0,5.0
BLEND-QC-2026-002,Precision Blender v2.0 (Drift),0.5,0.45,1.5,1.55,18.0,19.0,5.0
BLEND-QC-2026-003,Precision Blender v2.0 (High Error),0.5,0.60,1.5,1.30,25.0,19.0,5.0

URS & FS — user requirements and functional specification

URS & FS — User Requirements and Functional Specification

This document defines the controlled interface and behaviour of XeOxygenMixtureSafetyBlenderQC for “Xe-O2 Mixture Safety Blender 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

  • Flow Error: ≤5%
  • Output O2: ≥19%
  • Mixing Ratio Error: ≤5%

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 “Xe-O2 Mixture Safety Blender 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 specifiedBLEND-QC-2026-001Batch/lot identifier for traceability.
2ProductNamestringas specifiedPrecision Blender v2.0Name of the controlled product, gas, procedure or equipment.
3Target_O2_Flowdecimalas specified0.5Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter.
4Measured_O2_Flowdecimalas specified0.51Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter.
5Target_Xe_Flowdecimalas specified1.5Xenon parameter: concentration, isotope fraction, activity, volume or purity depending on the field.
6Measured_Xe_Flowdecimalas specified1.48Xenon parameter: concentration, isotope fraction, activity, volume or purity depending on the field.
7Output_O2_Percentdecimal%20.5Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter.
8Min_Safe_O2decimalas specified19.0Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter.
9Max_Flow_Errordecimalas specified5.0Gas flow or target flow used to verify blending/delivery.
BatchNumber,ProductName,Target_O2_Flow,Measured_O2_Flow,Target_Xe_Flow,Measured_Xe_Flow,Output_O2_Percent,Min_Safe_O2,Max_Flow_Error
BLEND-QC-2026-001,Precision Blender v2.0,0.5,0.51,1.5,1.48,20.5,19.0,5.0
BLEND-QC-2026-002,Precision Blender v2.0 (Drift),0.5,0.45,1.5,1.55,18.0,19.0,5.0
BLEND-QC-2026-003,Precision Blender v2.0 (High Error),0.5,0.60,1.5,1.30,25.0,19.0,5.0

FS — Functional Specification

IDFunctionImplementation
FS-001CLI executionXeOxygenMixtureSafetyBlenderQC.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 “Xe-O2 Mixture Safety Blender 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": "xe-oxygen-mixture-safety-blender-qc",
  "primaryTag": "medical_devices",
  "overallStatus": "PASS|WARNING|FAIL",
  "sourceFile": "input.csv",
  "checks": [
    {
      "parameter": "BatchNumber",
      "value": "BLEND-QC-2026-001",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "ProductName",
      "value": "Precision Blender v2.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Target_O2_Flow",
      "value": "0.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Measured_O2_Flow",
      "value": "0.51",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Target_Xe_Flow",
      "value": "1.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Measured_Xe_Flow",
      "value": "1.48",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Output_O2_Percent",
      "value": "20.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Min_Safe_O2",
      "value": "19.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: 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