Use of Sketchware calendar component to get Rabies Vaccine Schedule
Anti Rabies Vaccine is administered intramuscularly in a dosing schedule of days 0, 3, 7, 14, and 28 . Now I will describe how to create Sketchware App to get rest of the dates when day 0 is provided. First set the view of the App. It must contain three Edittext layouts to enter date of 0 dose, one Button to get output, and four Textview fields to display the output of four remaining dates (i.e. dose 3, 7, 14, and 28). In Logic area add a new Calendar component . After that, in the on button click function, set the Day_of_month, month, and year of Calendar component to the date entered in Edittext fields. Note that the Calendar month is set to a value 01 less than the value in text field. This is because month in java is from 0-11. Now the date of our calendar is set to the date we enter in Edittext fields (The 0 dose of vaccine). Next add hours equaling desired number of days to the Calendar , serially, in a way that after every addition the next da