Dose3Table5Model Documentation
Overview
Dose3Table5Model represents the record of infant growth and health data collected during the
Dose 3 stage of vaccination. This model is typically used in the Vaccine Management System to
display growth data in tables or JavaFX TableViews.
Attributes
Attribute Type Description
infantMRN String Infant’s Medical Record Number (unique ID)
date3 String Date of Dose 3 visit
weight3 String Infant weight recorded at Dose 3
zscore3 String Growth z-score at Dose 3
vitaminA3 String Vitamin A supplementation at Dose 3
Constructor
Dose3Table5Model(String infantMRN, String date3, String weight3, String
zscore3, String vitaminA3)
Initializes a new Dose 3 record with specified values for all attributes.
Getters and Setters
getInfantMRN() / setInfantMRN(String) – Get or set the infant MRN.
getDate3() / setDate3(String) – Get or set the Dose 3 visit date.
getWeight3() / setWeight3(String) – Get or set the infant weight at Dose 3.
getZscore3() / setZscore3(String) – Get or set the z-score at Dose 3.
getVitaminA3() / setVitaminA3(String) – Get or set Vitamin A supplementation
status.
Usage Example
// Create a new Dose 3 growth record
Dose3Table5Model dose3Record = new Dose3Table5Model(
"MRN003", "20/08/2025", "7.5kg", "-0.5", "Given"
);
// Access infant weight
String weight = dose3Record.getWeight3();
// Update z-score
dose3Record.setZscore3("0.0");
Purpose
This class provides a structured way to manage and track growth and health measurements for
infants at Dose 3, enabling the system to display, update, and store Dose 3 data efficiently for
each infant.