creating initial layouts for patient and doctor views