KEMBAR78
InfantProgressiveNoteModel Documentation | PDF | Computing | Computer Programming
0% found this document useful (0 votes)
4 views3 pages

InfantProgressiveNoteModel 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)
4 views3 pages

InfantProgressiveNoteModel 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/ 3

InfantProgressiveNoteModel Documentation

Package
package vms.system;

 Part of the Vaccine Management System (VMS) package.


 Represents an infant progressive note record.

Class: InfantProgressiveNoteModel
Description

This class serves as a data model for infant progressive notes.


It contains all necessary fields such as infant information, diagnoses, progress notes,
treatment plan, follow-up, doctor, creation date, and status.
It provides standard getter and setter methods for each field to support JavaFX TableView and
form binding.

Fields
Field Type Description
noteId int Unique identifier for the progressive note.
infantmrn String Infant's Medical Record Number (MRN).
infantname String Infant's full name.
dob String Infant date of birth.
gender String Infant gender.
age String Infant age (in months or years).
primaryDiagnosis String Primary diagnosis of the infant.
secondaryDiagnosis String Secondary diagnosis of the infant (if any).
progressNotes String Notes on infant’s progress.
treatmentPlan String Planned treatment for the infant.
followUpDate String Scheduled follow-up date.
doctorName String Name of the attending doctor.
createdAt String Record creation timestamp.
status String Status of the record (e.g., active, void).
Constructor
public InfantProgressiveNoteModel(
int noteID,
String mrn,
String name,
String dob,
String gender,
String age,
String primaryDiagnosis,
String secondaryDiagnosis,
String progressNotes,
String treatmentPlan,
String followUpDate,
String doctorName,
String createdAt,
String status
)

 Initializes all fields of the model.


 Typically called when fetching data from the database or creating a new record in forms.

Getter & Setter Methods


Method Type Description
getNoteId() / setNoteId(int) int Get or set the note's unique ID.
getInfantMrn() / setInfantMrn(String) String Get or set the infant’s MRN.
getInfantName() / setInfantName(String) String Get or set the infant’s name.
getDob() / setDob(String) String Get or set the date of birth.
getGender() / setGender(String) String Get or set gender.
getAge() / setAge(String) String Get or set age.
getPrimaryDiagnosis() /
setPrimaryDiagnosis(String)
String Get or set primary diagnosis.
getSecondaryDiagnosis() /
setSecondaryDiagnosis(String)
String Get or set secondary diagnosis.
getProgressNotes() / setProgressNotes(String) String Get or set progress notes.
getTreatmentPlan() / setTreatmentPlan(String) String Get or set treatment plan.
getFollowUpDate() / setFollowUpDate(String) String Get or set follow-up date.
getDoctorName() / setDoctorName(String) String Get or set the attending doctor.
Get or set record creation
getCreatedAt() / setCreatedAt(String) String
timestamp.
Get or set the record status (e.g.,
getStatus() / setStatus(String) String
void, active).
Usage Example
InfantProgressiveNoteModel note = new InfantProgressiveNoteModel(
1,
"MRN001",
"John Doe",
"01/01/2024",
"Male",
"18 months",
"Pneumonia",
"Asthma",
"Stable condition",
"Antibiotics for 5 days",
"15/09/2025",
"Dr. Smith",
"01/08/2025",
"active"
);

System.out.println(note.getInfantName()); // Output: John Doe

 This model can be directly used with JavaFX TableView via PropertyValueFactory in
InfantProgressiveNoteManager

You might also like