updated maternityMedicalHistory api configuration and template with reference to security extension