Fixed issue in saving of prenatal exams.
Added HTTPS support.