XeOxygenMixtureSafetyBlenderQC
Xe-O2 Mixture Safety Blender QC
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
| ID | Requirement | Criticality | Acceptance criterion |
|---|---|---|---|
| URS-001 | The utility shall accept input.csv with the exact headers defined by the data contract. | High | The file is processed without manual header renaming. |
| URS-002 | The utility shall perform a deterministic assessment for “Xe-O2 Mixture Safety Blender QC”. | High | PASS / WARNING / FAIL is produced for each row. |
| URS-003 | Required fields, types, ranges, units and data consistency shall be validated before domain rules. | High | Schema errors are separated from nonconformities. |
| URS-004 | Critical limits from the description and approved local configuration shall create a critical finding. | High | A critical rule violation results in FAIL. |
| URS-005 | The result shall be written to machine-readable output.json. | High | JSON contains source values, checks, warnings and failures. |
| URS-006 | The conformity decision shall not use machine learning. | Medium | The result is reproducible from explicit rules and inputs. |
| URS-007 | Traceability of batch, source file, rule version and final status shall be retained. | High | QA/QC can reproduce the decision. |
| URS-008 | The utility shall have exactly one primary portal tag: medical_devices. | Medium | The other api / instrumental / medical_devices tags are absent. |
| URS-009 | Documentation shall support IQ/OQ/PQ or equivalent CSA/CSV verification. | Medium | The contract, test scenarios and change-control rules are supplied with the utility. |
input.csv data contract
| # | Field | Type | Unit | Sample | Purpose |
|---|---|---|---|---|---|
| 1 | BatchNumber | string | as specified | BLEND-QC-2026-001 | Batch/lot identifier for traceability. |
| 2 | ProductName | string | as specified | Precision Blender v2.0 | Name of the controlled product, gas, procedure or equipment. |
| 3 | Target_O2_Flow | decimal | as specified | 0.5 | Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter. |
| 4 | Measured_O2_Flow | decimal | as specified | 0.51 | Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter. |
| 5 | Target_Xe_Flow | decimal | as specified | 1.5 | Xenon parameter: concentration, isotope fraction, activity, volume or purity depending on the field. |
| 6 | Measured_Xe_Flow | decimal | as specified | 1.48 | Xenon parameter: concentration, isotope fraction, activity, volume or purity depending on the field. |
| 7 | Output_O2_Percent | decimal | % | 20.5 | Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter. |
| 8 | Min_Safe_O2 | decimal | as specified | 19.0 | Oxygen concentration or flow; a breathing-mixture safety and/or polarization-retention parameter. |
| 9 | Max_Flow_Error | decimal | as specified | 5.0 | Gas 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
| ID | Function | Implementation |
|---|---|---|
| FS-001 | CLI execution | XeOxygenMixtureSafetyBlenderQC.exe supports demo mode and input.csv output.json mode. |
| FS-002 | CSV import | Read UTF-8 CSV and validate header, column count and order. |
| FS-003 | Schema validation | Validate required values, empties, types and basic plausibility. |
| FS-004 | Domain rule engine | Apply explicit rules for “Xe-O2 Mixture Safety Blender QC” and locally approved limits. |
| FS-005 | Status aggregation | FAIL for a critical finding; WARNING for a non-critical deviation; PASS for conformity. |
| FS-006 | JSON export | Write source values, applied rules, statuses, warnings, failures and configuration version. |
| FS-007 | Audit support | Retain a result structure suitable for review, investigation, IQ/OQ and change control. |
| FS-008 | Integration contract | LIMS/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
| ID | Scenario | Expected result |
|---|---|---|
| OQ-001 | Valid example row | PASS or an allowed WARNING under local rules. |
| OQ-002 | Required column missing | Schema error; domain checks do not mask it. |
| OQ-003 | Non-numeric value in numeric field | Type-conversion error. |
| OQ-004 | Critical parameter outside its limit | FAIL and a critical finding. |
| OQ-005 | Boundary value | The result follows the configured ≤ / ≥ / < / > operator. |
| PQ-001 | Real site data | Agreed 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.
OpenRPH isotope family: xenon and gas tracers
Xe-127, Xe-129 and Xe-133 for ventilation, hyperpolarized imaging, gas QC and safety.
OpenRPH organ/system: hepatobiliary and GI
HIDA, mebrofenin, gallbladder, gastric emptying, GI transit, bleeding and liver/spleen imaging.
OpenRPH organ/system: pulmonary and ventilation
Lung perfusion, MAA, V/Q, aerosol, xenon ventilation, shunt and pulmonary dosimetry.
OpenRPH use case: xenon, ventilation and medical gases
Xe-129, Xe-133, Xe-127, hyperpolarization, SEOP, T1, mixing, scavenging, transport, recovery and ventilation imaging.
Open