[go: up one dir, main page]

0% found this document useful (0 votes)
6 views2 pages

Dose3Table5Model Documentation

Uploaded by

anebek555
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Dose3Table5Model Documentation

Uploaded by

anebek555
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

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.

You might also like