Updated the patient data model to insert epilogue in the case. Started correcting & updating the client-side logic accordingly.