Question: Design and program a GUI user interface that allows a person to evaluate and document a series of health factors that may contribute to their

  • Design and program a GUI user interface that allows a person to evaluate and document a series of health factors that may contribute to their "wellness". Call this program  "Individual Health Assessment Program". The specifications follow:
  • Evaluate blood pressure (systolic only)
  • Evaluate BMI (Body Mass Index)
  • Evaluate Cholesterol  levels (both LDL/HDL)
  • Evaluate glucose blood sugar (hemoglobin A/1c)
  • Evaluate Triglycerides

1.     Make a JavaFX GUI in which blood pressure, BMI Blood Glucose Hemoglobin, and Triglycerides are entered by an operator and the ranges are flagged as normal or some other characterization as shown below.

2.     If a reading is far out of bounds, create a GUI notification that he or she should see a doctor, or consult a health professional. You may add additional capabilities based on personal research.

3.     Save a report of the parameters and the determination in a JAXB form (see lectures) of an XML text file on disk.

4.     Enable the GUI to be loaded from the text file for the patient if the file name is given in a textbox you have designed.

 

Specifications:

 

Blood pressure: Systolic ranges:

         210+            Very severe

         180 - 210    Severe

         160 - 180    Moderate

         140 - 160    Mild

         90   -  140    Normal

         50   -   90     Low

 

Body Mass Index (BMI)

         BMI is calculated by the following:

                     Weight/ height2

         BMI < 18.5             Underweight

         BMI = 18.5 - 24.9  Normal

         BMI = 25.0 -  29.9  Overweight

         BMI > 30              Obese

 

Blood Glucose Hemoglobin ranges:

         80 - 120      Excellent

         150 - 180    Good

         210 - 240    Marginal

         270 -  310    Poor

         340 - 370    Out of control

 

HDL/LDL/Triglycerides  ranges:

         Total cholesterol:    < 200 Excellent

         Triglycerides:         < 250   Optimal

         HDL (good)            > 40 Optimal

         LDL (bad)               < 100 Optimal

Step by Step Solution

3.42 Rating (139 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Creating a full JavaFX GUI application with all the functionalities youve mentioned requires a significant amount of code I can provide you with an ov... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!