Design and program a GUI user interface that allows a person to evaluate and document a series
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 "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
Management Accounting
ISBN: 9780730369387
4th Edition
Authors: Leslie G. Eldenburg, Albie Brooks, Judy Oliver, Gillian Vesty, Rodney Dormer, Vijaya Murthy, Nick Pawsey