1. design a class that will be used to store the information of the patients visiting to the hospital., i.e. a class which stores demographic information of a person like name, address, phone number, male/female. What if the person has any prefix to the name, multiple phone numbers/addresses, how will you handle job in case of multiple locations
(If a person is both at 12 PM in USA on a date, then that date is different from date in India), how will you handle the validations of these fields when the user enters the values using java2. 1. The person’s birth date is a very important piece of demographics to capture as it is frequently used as one of the key attributes used to match a person with their record. Because of this, capturing or displaying a birth date incorrectly can have patient safety impacts. For most patient's, the birth date needs to recorded to a precision‐level of day, just like you were telling someone your birthday. For newborns we must capture the birth date and time. If we were to view a standard patient's birth date on two different systems in different time zones the day displayed must stay the same. If we were to view a newborn's birth date and time, the time should change to reflect the time zone of the system in which the data is being viewed.