Question: Write a JAVA Program for below.(Computerization of Health Records) A health care issue that has been in the news lately is the computerization of health

Write a JAVA Program for below.(Computerization of Health Records) A health care issue that has been in the news lately is the computerization of health records. This possibility is being approached cautiously because of sensitive privacy and security concerns, among others. Computerizing health records could make it easier for patients to share their health profiles and histories among their various health care professionals. This could improve the quality of health care, help avoid drug conflicts and erroneous drug prescriptions, reduce costs and in emergencies, could save lives. In this exercise, youll design a starter HealthProfile class for a person. The class attributes should include persons first name, last name, gender, date of birth (consisting of separate attributes for the month, day and year of birth) , height(in inches) and weight( in pounds). Your class should have a constructor that receives this data. For each attribute, provide set and get methods. The class also should include methods that calculates and returns the users age in years, maximum heart rate and target-heart-rate range(see Exercise 1), and body mass index(BMI ; see Ex-2.33-p-73). Write a java application that prompts for the persons information, instantiates an object of class HealthProfile for that person and prints the information from that object- including the persons first name, last name, gender, date of birth, height and weight- then calculates and prints the persons age in years, BMI, maximum heart rate and target-heart-rate range. It should also display the BMI values Also, the application should display the following information from the Department of Health and Human Services/National Institutes of Health so the user can evaluate his/her BMI:

BMI VALUES Underweight: less than 18.5 Normal: between 18.5 and 24.9 Overweight: between 25 and 29.9 Obese: 30 or greater

The formulas for calculating BMI are

BMI = weight in Pounds * 703/ heightInInches * heightInInches

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!