Added validation in patientservice and conceptservice.