Package org.openmrs.propertyeditor

Examples of org.openmrs.propertyeditor.PatientEditor


        } else if (Drug.class.isAssignableFrom(clazz)) {
            DrugEditor ed = new DrugEditor();
            ed.setAsText(val);
            return ed.getValue();
        } else if (Patient.class.isAssignableFrom(clazz)) {
      PatientEditor ed = new PatientEditor();
      ed.setAsText(val);
      return ed.getValue();
    } else if (Person.class.isAssignableFrom(clazz)) {
      PersonEditor ed = new PersonEditor();
      ed.setAsText(val);
      return ed.getValue();
    } else if (EncounterType.class.isAssignableFrom(clazz)) {
      EncounterTypeEditor ed = new EncounterTypeEditor();
      ed.setAsText(val);
      return ed.getValue();
    } else {
      return val;
    }
  }
View Full Code Here

TOP

Related Classes of org.openmrs.propertyeditor.PatientEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.