AAS_Dialysis_Fluid_Monitor

AAS Dialysis Fluid Monitor

Lumex QC URS & FS input.csv output.json rule-based LIMS-ready AAS
Open selection

Utility description: AAS Dialysis Fluid Monitor

AAS Dialysis Fluid Monitor — Quality Control of Hemodialysis Solutions

ℹ️  Utility checks critical parameters of dialyzing fluids:
   • Calcium (Ca): within ±5% of label claim
   • Magnesium (Mg): within ±5% of label claim
   • Sodium (Na): within ±5% of label claim
   • Potassium (K): within ±5% of label claim
   • Aluminum (Al): ≤10.0 ppb (µg/L)

⚠️  CRITICAL: Aluminum >10 ppb → risk of dialysis encephalopathy and osteomalacia!
   Hemodialysis patients cannot excrete aluminum via kidneys.

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

Input format:
BatchNumber,CalciumMgL,MagnesiumMgL,SodiumMgL,PotassiumMgL,AluminumPPB

Example:
 DIAL-CONC-2026-001,60.0,15.0,8000.0,100.0,2.5

— WHY IS THIS NEEDED?
Hemodialysis solutions are used to correct electrolyte balance in patients with end-stage renal disease.
• Accuracy of main electrolytes (Na, K, Ca, Mg) is vital to prevent arrhythmias and seizures.
• Aluminum can enter dialysate from water or chemical reagents.
• Since the dialyzer membrane is permeable to aluminum, its excess in dialysate leads to direct accumulation in the patient's body.
• Atomic Absorption Spectrometry (AAS) on Lumex MGA-1000 allows precise control of both macro-elements (flame mode) and trace aluminum (graphite furnace).

⚠️  CRITICAL:
• Aluminum ≤10 ppb — strict safety limit (complies with Ph. Eur. and USP requirements for dialysis water/fluids).
• Electrolytes must strictly match concentrate formulation (usually ±5% tolerance).
• Regular monitoring prevents mass patient intoxications.
• Use of pure water (reverse osmosis) for preparing dialysate is mandatory.

Key features:
• Comprehensive control of electrolyte composition.
• Strict supervision of toxic aluminum content.
• Compliance with clinical hemodialysis safety standards.

Critical parameters:
• Calcium: Target ±5%
• Magnesium: Target ±5%
• Sodium: Target ±5%
• Potassium: Target ±5%
• Aluminum: ≤10.0 ppb

💡 Usage tips:
1. Use Flame AAS (FAAS) for Ca, Mg, Na, K determination.
2. Use Electrothermal Atomization (Graphite Furnace, GFAAS) for Al due to low concentrations.
3. Potassium and sodium are often easier to determine by flame photometry, but MGA-1000 allows AAS measurement with proper setup.
4. Regularly check water used for diluting concentrates for aluminum content.
5. Use matrix modifiers to stabilize aluminum signal.

⚠️ Note: Unlike regular drugs where impurity control is important for long-term safety, in dialysis, contact with the solution is constant (up to 400 liters of water per week), so purity requirements are comparable to Water for Injections, but considering the specifics of electrolyte exchange.

input.csv

BatchNumber,Ca_mg_L,Mg_mg_L,Na_mg_L,K_mg_L,Al_ppb
DIAL-CONC-2026-001,60.0,15.0,8000.0,100.0,2.5
DIAL-CONC-2026-002,61.0,15.5,8100.0,102.0,4.0
DIAL-FAIL-AL-003,60.0,15.0,8000.0,100.0,15.0

Utility description

AAS Dialysis Fluid Monitor — Quality Control of Hemodialysis Solutions

ℹ️  Utility checks critical parameters of dialyzing fluids:
   • Calcium (Ca): within ±5% of label claim
   • Magnesium (Mg): within ±5% of label claim
   • Sodium (Na): within ±5% of label claim
   • Potassium (K): within ±5% of label claim
   • Aluminum (Al): ≤10.0 ppb (µg/L)

⚠️  CRITICAL: Aluminum >10 ppb → risk of dialysis encephalopathy and osteomalacia!
   Hemodialysis patients cannot excrete aluminum via kidneys.

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

Input format:
BatchNumber,CalciumMgL,MagnesiumMgL,SodiumMgL,PotassiumMgL,AluminumPPB

Example:
 DIAL-CONC-2026-001,60.0,15.0,8000.0,100.0,2.5

— WHY IS THIS NEEDED?
Hemodialysis solutions are used to correct electrolyte balance in patients with end-stage renal disease.
• Accuracy of main electrolytes (Na, K, Ca, Mg) is vital to prevent arrhythmias and seizures.
• Aluminum can enter dialysate from water or chemical reagents.
• Since the dialyzer membrane is permeable to aluminum, its excess in dialysate leads to direct accumulation in the patient's body.
• Atomic Absorption Spectrometry (AAS) on Lumex MGA-1000 allows precise control of both macro-elements (flame mode) and trace aluminum (graphite furnace).

⚠️  CRITICAL:
• Aluminum ≤10 ppb — strict safety limit (complies with Ph. Eur. and USP requirements for dialysis water/fluids).
• Electrolytes must strictly match concentrate formulation (usually ±5% tolerance).
• Regular monitoring prevents mass patient intoxications.
• Use of pure water (reverse osmosis) for preparing dialysate is mandatory.

Key features:
• Comprehensive control of electrolyte composition.
• Strict supervision of toxic aluminum content.
• Compliance with clinical hemodialysis safety standards.

Critical parameters:
• Calcium: Target ±5%
• Magnesium: Target ±5%
• Sodium: Target ±5%
• Potassium: Target ±5%
• Aluminum: ≤10.0 ppb

💡 Usage tips:
1. Use Flame AAS (FAAS) for Ca, Mg, Na, K determination.
2. Use Electrothermal Atomization (Graphite Furnace, GFAAS) for Al due to low concentrations.
3. Potassium and sodium are often easier to determine by flame photometry, but MGA-1000 allows AAS measurement with proper setup.
4. Regularly check water used for diluting concentrates for aluminum content.
5. Use matrix modifiers to stabilize aluminum signal.

⚠️ Note: Unlike regular drugs where impurity control is important for long-term safety, in dialysis, contact with the solution is constant (up to 400 liters of water per week), so purity requirements are comparable to Water for Injections, but considering the specifics of electrolyte exchange.

URS & FS — User Requirements and Functional Specification

This document describes the controlled interface, user requirements and functional behaviour of AAS_Dialysis_Fluid_Monitor. The utility is intended for automated verification of laboratory, pharmacopoeial, analytical or manufacturing QC parameters using input.csv and producing a structured output.json result.

Domain limits and critical parameters

Before production use, all limits must be verified against the approved specification, registration dossier, pharmacopoeial monograph, validated method and local SOPs.
  • • Calcium (Ca): within ±5% of label claim
  • • Magnesium (Mg): within ±5% of label claim
  • • Sodium (Na): within ±5% of label claim
  • • Potassium (K): within ±5% of label claim
  • • Aluminum (Al): ≤10.0 ppb (µg/L)
  • • Accuracy of main electrolytes (Na, K, Ca, Mg) is vital to prevent arrhythmias and seizures.
  • • Aluminum can enter dialysate from water or chemical reagents.
  • • Since the dialyzer membrane is permeable to aluminum, its excess in dialysate leads to direct accumulation in the patient's body.
  • • Atomic Absorption Spectrometry (AAS) on Lumex MGA-1000 allows precise control of both macro-elements (flame mode) and trace aluminum (graphite furnace).
  • • Aluminum ≤10 ppb — strict safety limit (complies with Ph. Eur. and USP requirements for dialysis water/fluids).
  • • Electrolytes must strictly match concentrate formulation (usually ±5% tolerance).
  • • Regular monitoring prevents mass patient intoxications.
  • • Use of pure water (reverse osmosis) for preparing dialysate is mandatory.
  • • Comprehensive control of electrolyte composition.
  • • Strict supervision of toxic aluminum content.
  • • Compliance with clinical hemodialysis safety standards.

URS — User Requirements Specification

IDRequirementCriticalityAcceptance criterion
URS-001The utility shall accept an input.csv file with exact headers defined in the data contract.HighThe file is processed without manual header editing.
URS-002The utility shall perform deterministic evaluation for AAS Dialysis Fluid Monitor using input values, approved limits and domain rules.HighEach row receives a PASS / WARNING / FAIL status.
URS-003The utility shall validate mandatory fields, data types, numeric ranges, units and domain plausibility.HighSchema, format and conversion errors are explicitly reported.
URS-004The utility shall identify critical deviations for parameters stated in the method description and specification.HighA critical deviation causes FAIL or a dedicated critical finding.
URS-005The utility shall generate output.json with machine-readable results, source values, warnings and failures.HighJSON is suitable for LIMS/ELN/MES integration, QA/QC review and archival.
URS-006The result shall not depend on machine learning or undocumented heuristics.MediumAll decisions are based on explicit rules, thresholds and input values.
URS-007The system shall preserve traceability between batch/sample, input data, applied rules and final status.HighThe output contains the batch/sample identifier and checked parameters.
URS-008The documentation shall support IQ/OQ/PQ preparation and inspection discussion.MediumURS, FS, CSV/JSON contract and test scenarios are supplied with the utility.
URS-009The utility shall support batch processing of multiple input.csv rows.MediumEach row is evaluated independently; errors in one row do not mask errors in others.
URS-010The utility shall support a simple operating model: demo mode and execution with input/output files.MediumThe CLI scenario is reproducible in test and production environments.

input.csv contract

#FieldTypeSamplePurpose
1BatchNumberstringDIAL-CONC-2026-001Batch or lot identifier used for traceability, review and deviation investigation.
2Ca_mg_Lstring / decimal60.0Controlled input parameter used by deterministic QC rules and traceable result generation.
3Mg_mg_Lstring / decimal15.0Controlled input parameter used by deterministic QC rules and traceable result generation.
4Na_mg_Lstring / decimal8000.0Controlled input parameter used by deterministic QC rules and traceable result generation.
5K_mg_Lstring / decimal100.0Controlled input parameter used by deterministic QC rules and traceable result generation.
6Al_ppbdecimal2.5Controlled input parameter used by deterministic QC rules and traceable result generation.
BatchNumber,Ca_mg_L,Mg_mg_L,Na_mg_L,K_mg_L,Al_ppb
DIAL-CONC-2026-001,60.0,15.0,8000.0,100.0,2.5
DIAL-CONC-2026-002,61.0,15.5,8100.0,102.0,4.0
DIAL-FAIL-AL-003,60.0,15.0,8000.0,100.0,15.0

FS — Functional Specification

IDFunctionImplementation
FS-001CSV importRead input.csv in UTF-8/CSV-compatible format and validate the header and expected columns.
FS-002Schema validationCheck mandatory fields, column count, critical missing values and row structure.
FS-003Type conversionConvert numeric, flag and text values; invalid formats are recorded as row-level errors.
FS-004Domain rule engineApply domain rules for AAS Dialysis Fluid Monitor, including limits from the utility description and approved specification.
FS-005Status aggregationProduce final status: FAIL for critical failure, WARNING for non-critical deviation, PASS for conformance.
FS-006JSON exportWrite output.json with detailed checks, source values, warnings, failures and critical findings.
FS-007Audit supportKeep the result structure suitable for review, deviation investigation, calculation reproduction and IQ/OQ/PQ preparation.
FS-008Integration contractSupport the production scenario: LIMS/ELN/MES creates input.csv, the utility returns output.json, and the portal displays description and documentation.
FS-009Error handlingReport errors unambiguously and do not substitute missing values with calculated values unless the rule is explicitly defined.
FS-010Version control supportDocument the utility version, input contract, executable checksum and rule application date.

Example output.json

{
  "utilityId": "aas-dialysis-fluid-monitor",
  "utilityName": "AAS_Dialysis_Fluid_Monitor",
  "overallStatus": "PASS|WARNING|FAIL",
  "sourceFile": "input.csv",
  "checks": [
    {
      "parameter": "BatchNumber",
      "value": "DIAL-CONC-2026-001",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Ca_mg_L",
      "value": "60.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Mg_mg_L",
      "value": "15.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Na_mg_L",
      "value": "8000.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "K_mg_L",
      "value": "100.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    },
    {
      "parameter": "Al_ppb",
      "value": "2.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Rule-based check result"
    }
  ],
  "criticalFindings": [],
  "warnings": [],
  "generatedFor": "QA/QC review and LIMS integration"
}

Traceability matrix

URSFSOQ/PQ coverage
URS-001, URS-003FS-001, FS-002, FS-003OQ-001/OQ-002/OQ-003
URS-002, URS-004FS-004, FS-005OQ-004/PQ-001
URS-005, URS-007FS-006, FS-007OQ-005/PQ-002
URS-008, URS-010FS-008, FS-010IQ-001/OQ-006

OQ/PQ test scenarios

IDScenarioExpected result
OQ-001Valid sample rowPASS or acceptable WARNING according to the rules.
OQ-002Mandatory column missingSchema error or FAIL.
OQ-003Non-numeric value in numeric fieldType-conversion error.
OQ-004Critical parameter outside limitFAIL and critical finding.
OQ-005Multiple rows with different statusesIndependent row-level evaluation.
PQ-001User real batch/sampleReviewed result with retained input/output files.

QA/QC and change control

  • Do not rename columns without updating the validator, documentation and test set.
  • Retain input.csv, output.json, executable version, documentation and checksum.
  • Before production use, perform IQ/OQ/PQ or equivalent CSV/CSA verification.
  • Critical limits must be verified against the approved specification, local SOPs and registration dossier.

Included in packages

Lumex QC Suite

A single Lumex package combining the former Lumex and Lumex2 sets: instrumental and general pharmaceutical QC, AAS/ICP, CE, HPLC, NIR/PAT, stability, dissolution, content uniformity, system suitability and statistical control.

Open

Radiology QC Suite

QC package for radiology and diagnostic imaging: radiopharmaceuticals, PET/SPECT, contrast media, iodinated and gadolinium products, plus particle, sterility and endotoxin checks.

Open