VitaminADropEmulsionQualityChecker
Vitamin A Drop Emulsion
Vitamin A Drop Emulsion Quality Checker — Vitamin A Emulsion Drops (Oral Use, Pediatric Formulations)
ℹ️ The utility checks vitamin A content, emulsion particle size, stability (phase separation), peroxide value, microbiology (including pathogens), preservative.
ℹ️ Does not use machine learning — rule-based logic only.
⚠️ Critical for pediatric vitamin drops, dietary supplements, pediatric preparations. Strict microbiological requirements!
Usage:
VitaminADropEmulsionQualityChecker.exe → demo mode (console output)
VitaminADropEmulsionQualityChecker.exe input.csv output.json → evaluate your data
Input format:
BatchNumber,VitaminAContent,ParticleSizeD50,ParticleSizeD90,PhaseSeparation,PeroxideValue,pH,HeavyMetals,TAMC,TYMC,EColiDetected,SalmonellaDetected,PreservativeContent,ClarityNTU,ColorAPHA,EthanolPPM,AcetonePPM
Example (EColiDetected/SalmonellaDetected: 0=not detected, 1=detected):
VA-EMUL-2026-001,98.5,5.2,35.0,2.0,3.5,6.2,5,50,5,0,0,95.0,300,150,800,500
— WHY IS THIS NEEDED?
Vitamin A emulsion drops — oral dosage form, especially for children (infants, toddlers). Critical for:
• Prevention and treatment of vitamin A deficiency in children
• Pediatric vitamin complexes and dietary supplements
• Pediatric preparations with oil-based vitamin solutions
⚠️ Emulsion specifics:
• Particle size critical for stability, absorption, and safety (embolism risk with large particles)
• Phase separation = instability = uneven dosing
• Microbiology stricter than adult forms (children — vulnerable group)
• Peroxide value — indicator of oil phase oxidation (vitamin A extremely sensitive!)
Critical parameters:
• Vitamin A content: 90.0–110.0% of declared (dose assurance)
• Particle size: D50 ≤10.0 µm, D90 ≤50.0 µm (stability, safety, bioavailability)
• Phase separation ≤5.0% (visual or instrumental assessment after storage/centrifugation)
• Peroxide value ≤5.0 (oil phase stability)
• pH 5.0–7.0 (GI tract compatibility for children)
• Heavy metals ≤10 ppm
• Microbiology: TAMC ≤100 CFU/g, TYMC ≤10 CFU/g
• Absence of E. coli and Salmonella (mandatory for pediatric oral forms!)
• Preservative (if declared): 90.0–110.0% of declared (safety and efficacy)
• Clarity ≤500 NTU, color ≤200 APHA (appearance)
⚠️ Storage: protect from light, oxygen, high temperatures! Emulsions prone to coalescence and oxidation.
input.csv
BatchNumber,VitaminAContent,ParticleSizeD50,ParticleSizeD90,PhaseSeparation,PeroxideValue,pH,HeavyMetals,TAMC,TYMC,EColiDetected,SalmonellaDetected,PreservativeContent,ClarityNTU,ColorAPHA,EthanolPPM,AcetonePPM VA-EMUL-2026-001,98.5,5.2,35.0,2.0,3.5,6.2,5,50,5,0,0,95.0,300,150,800,500
URS & FS — user requirements and functional specification
This document defines user requirements and functional specification for the quality-control utility. It supports deployment discussion, IQ/OQ preparation and QC workflow integration.
1. Scope
The Vitamin A Drop Emulsion Quality Checker utility is used for Vitamin A Drop Emulsion. The actual input.csv is the source of truth for the input structure; control criteria are defined by the executable and the domain description.
The utility does not use machine learning; decisions are produced by deterministic rules.
Categories: Vitamins and minerals
Tags: assay, biologics, heavy metals, medical gases, microbiology, minerals, premix, specification, vitamins
2. Execution modes
VitaminADropEmulsionQualityChecker.exe → demo mode (console output) VitaminADropEmulsionQualityChecker.exe input.csv output.json → evaluate your data
3. Key controlled areas
- assay / content
- residual solvents
- microbiology and pathogens
- heavy metals / elemental impurities
- pH and physicochemical parameters
4. Domain limits and critical parameters
- ⚠️ Critical for pediatric vitamin drops, dietary supplements, pediatric preparations. Strict microbiological requirements!
- ⚠️ Emulsion specifics:
- Critical parameters:
- Vitamin A content: 90.0–110.0% of declared (dose assurance)
- Particle size: D50 ≤10.0 µm, D90 ≤50.0 µm (stability, safety, bioavailability)
- Phase separation ≤5.0% (visual or instrumental assessment after storage/centrifugation)
- Peroxide value ≤5.0 (oil phase stability)
- pH 5.0–7.0 (GI tract compatibility for children)
- Heavy metals ≤10 ppm
- Microbiology: TAMC ≤100 CFU/g, TYMC ≤10 CFU/g
- Absence of E. coli and Salmonella (mandatory for pediatric oral forms!)
- Preservative (if declared): 90.0–110.0% of declared (safety and efficacy)
- Clarity ≤500 NTU, color ≤200 APHA (appearance)
- ⚠️ Storage: protect from light, oxygen, high temperatures! Emulsions prone to coalescence and oxidation.
5. URS — user requirements
| ID | Requirement | Criticality | Acceptance criterion |
|---|---|---|---|
| URS-001 | The system shall accept an input.csv file for Vitamin A Drop Emulsion with the exact columns listed in the “Input data contract” section. | High | A file with the correct header is processed without manual editing; missing mandatory columns produce FAIL/import error. |
| URS-002 | The system shall support execution without arguments in demo mode and execution with input.csv output.json for user data. | Medium | Both execution scenarios produce a predictable result or clear diagnostic error. |
| URS-003 | The system shall perform rule-based controls for: assay / content, residual solvents, microbiology and pathogens, heavy metals / elemental impurities, pH and physicochemical parameters. | High | Each controlled parameter receives a status and message; the result does not depend on hidden Excel formulas or ML. |
| URS-004 | The system shall preserve traceability between batch/lot, source values, applied rules and final verdict. | High | Output includes batch identifier, source values, parameter statuses and critical findings. |
| URS-005 | The system shall generate machine-readable output.json for LIMS/ELN/MES, batch record and QA/QC review. | High | JSON contains overall status, check array, warnings, failures and source-file reference. |
| URS-006 | The system shall support use in the client validation package: URS/FS, IQ/OQ preparation, installation and operational scenario checks. | High | The document, test scenarios and reproducible CSV/JSON flow are suitable for audit and internal approval. |
| URS-007 | The system shall clearly separate technical data errors from specification nonconformities. | Medium | Schema/type errors are not mixed with pharmacopoeial deviations and are reported separately. |
6. input.csv data contract
The source of truth for the input schema is the actual input.csv header. Column names are technical identifiers and are not translated.
| # | Column | Type | Unit | Description | Sample | Control rule |
|---|---|---|---|---|---|---|
| 1 | BatchNumber | identifier | as specified | Batch Number | VA-EMUL-2026-001 | mandatory field; used for batch/lot traceability |
| 2 | VitaminAContent | decimal | as specified | Vitamin AContent | 98.5 | numeric value; compared with assay/purity limit from specification or method |
| 3 | ParticleSizeD50 | decimal | µm | Particle Size D50 | 5.2 | mandatory numeric value; rule comparison is performed by the utility |
| 4 | ParticleSizeD90 | decimal | µm | Particle Size D90 | 35.0 | mandatory numeric value; rule comparison is performed by the utility |
| 5 | PhaseSeparation | decimal | as specified | Phase Separation | 2.0 | mandatory numeric value; rule comparison is performed by the utility |
| 6 | PeroxideValue | decimal | as specified | Peroxide Value | 3.5 | mandatory numeric value; rule comparison is performed by the utility |
| 7 | pH | decimal | pH | p H | 6.2 | mandatory numeric value; rule comparison is performed by the utility |
| 8 | HeavyMetals | decimal | as specified | Heavy Metals | 5 | numeric value; checked as elemental/metal impurity |
| 9 | TAMC | decimal | as specified | TAMC | 50 | numeric value; compared with microbiological limits |
| 10 | TYMC | decimal | as specified | TYMC | 5 | numeric value; compared with microbiological limits |
| 11 | EColiDetected | boolean / flag | 0/1 | EColi Detected | 0 | valid flag required; prohibited organisms and growth are normally expected as 0 / absent |
| 12 | SalmonellaDetected | boolean / flag | 0/1 | Salmonella Detected | 0 | valid flag required; prohibited organisms and growth are normally expected as 0 / absent |
| 13 | PreservativeContent | decimal | as specified | Preservative Content | 95.0 | numeric value; compared with assay/purity limit from specification or method |
| 14 | ClarityNTU | decimal | as specified | Clarity NTU | 300 | mandatory numeric value; rule comparison is performed by the utility |
| 15 | ColorAPHA | decimal | as specified | Color APHA | 150 | mandatory numeric value; rule comparison is performed by the utility |
| 16 | EthanolPPM | decimal | ppm | Ethanol PPM | 800 | numeric value; checked as residual solvent against the applicable limit |
| 17 | AcetonePPM | decimal | ppm | Acetone PPM | 500 | numeric value; checked as residual solvent against the applicable limit |
CSV example
BatchNumber,VitaminAContent,ParticleSizeD50,ParticleSizeD90,PhaseSeparation,PeroxideValue,pH,HeavyMetals,TAMC,TYMC,EColiDetected,SalmonellaDetected,PreservativeContent,ClarityNTU,ColorAPHA,EthanolPPM,AcetonePPM VA-EMUL-2026-001,98.5,5.2,35.0,2.0,3.5,6.2,5,50,5,0,0,95.0,300,150,800,500
7. FS — functional specification
| ID | Function | Implementation description |
|---|---|---|
| FS-001 | CLI entry point | The executable VitaminADropEmulsionQualityChecker.exe supports demo mode and input.csv output.json processing mode. |
| FS-002 | CSV parser | The import module reads CSV, validates header, column presence/order, value count and encoding. Decimal values are expected with a dot separator. |
| FS-003 | Field conversion | Each column is converted to the expected type: identifier, text, decimal number, date/time or boolean flag. |
| FS-004 | Domain rule engine | For Vitamin A Drop Emulsion, explicit rules are applied: range, minimum, maximum, absence of prohibited flag, data completeness or calculation-based check. |
| FS-005 | Criticality handling | Critical violations produce FAIL; non-critical deviations and incomplete data produce WARNING; full conformance produces PASS. |
| FS-006 | JSON writer | output.json stores overall status, per-parameter results, source values, warnings, failures and diagnostic messages. |
| FS-007 | Integration contract | The CSV → JSON format is stable for invocation from LIMS/ELN/MES, scheduled task or wrapper service. |
| FS-008 | Error handling | Schema error, missing file, non-numeric value or JSON write failure returns diagnosable error without silent PASS. |
8. output.json contract
The output file must be suitable for automated processing, audit review and correlation with the source input.csv row.
{
"utility": "VitaminADropEmulsionQualityChecker",
"api": "Vitamin A Drop Emulsion",
"batchNumber": "VA-EMUL-2026-001",
"overallStatus": "PASS|WARNING|FAIL",
"checkedAtUtc": "2026-05-18T00:00:00Z",
"checks": [
{
"parameter": "BatchNumber",
"value": "VA-EMUL-2026-001",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "VitaminAContent",
"value": "98.5",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "ParticleSizeD50",
"value": "5.2",
"unit": "µm",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "ParticleSizeD90",
"value": "35.0",
"unit": "µm",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "PhaseSeparation",
"value": "2.0",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "PeroxideValue",
"value": "3.5",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "pH",
"value": "6.2",
"unit": "pH",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
},
{
"parameter": "HeavyMetals",
"value": "5",
"unit": "as specified",
"status": "PASS|WARNING|FAIL",
"message": "Rule-based check result"
}
],
"criticalFindings": [],
"sourceFile": "input.csv"
}9. OQ/PQ test scenarios
| ID | Scenario | Expected result |
|---|---|---|
| TC-001 | Valid CSV with expected header and sample row | All rows are processed; output contains PASS/WARNING/FAIL and parameter-level detail. |
| TC-002 | A mandatory input.csv column is missing | Import is rejected or the row receives FAIL with schema reference. |
| TC-003 | A numeric field contains text or a blank value | Type conversion error is recorded; the result is not hidden as PASS. |
| TC-004 | A parameter is outside specification or critical limit | Critical parameters produce FAIL; non-critical deviations produce WARNING according to the rule. |
| TC-005 | Positive pathogen/microbiological flag or microbiological limit excursion | Critical FAIL is produced with the offending parameter. |
| TC-007 | Residual solvent above applicable limit | FAIL is produced with solvent name and measured value. |
10. QA/QC, CSV and change control
- Before production use, the client records executable version, checksum, specification/monograph version, test CSV, expected JSON and IQ/OQ results.
- Column names must not be changed without updating the validator and test scenarios.
- The source CSV, output.json and utility version should be stored together as an evidence package.
- Any change in control rules must go through change control and repeated OQ scenario verification.
Included in packages
Algeria: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenArgentina: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenBangladesh: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenColombia: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenDemocratic Republic of the Congo: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenEgypt: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenEthiopia: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenIndonesia: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenIran: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenKenya: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenMexico: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenMyanmar: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenNigeria: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenPakistan: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenPhilippines: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenSouth Africa: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenSudan: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenTanzania: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenTurkey: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenUganda: national essential medicines QC package
QC utility package aligned with the country essential/reimbursed medicines list analogue and cross-checked against WHO EML. Only utilities already present in the portal are included; the package is a validation/discussion starting map, not an official registry copy.
OpenVitamins & Minerals QC Suite
Quality-control package for vitamins, minerals, premixes and nutrient substances.
Open