OpenMRS
Create Constructor for Android client Patient model
As of now, the Patient class is using setters to initialize its properties. As setter can be dangerous when one could forget to initialize some of the properties of Patient. In that case, we get a patient object with half of the information of the patient.
So, using constructor for the patient will fix the problem and restrict the user at compile time.
Task tags
Students who completed this task
prathamesh_m009