Package org.openmrs

Examples of org.openmrs.Provider.addAttribute()


        ProviderAttributeType pAttribType = iter.next();
        if (pAttribType.getName().equals("isOutpatientDoctor")) {
          ProviderAttribute pAttrib = new ProviderAttribute();
          pAttrib.setValue(true);
          pAttrib.setAttributeType(pAttribType);
          provider.addAttribute(pAttrib);
          break;
        }
      }
    }
    Context.getPersonService().savePerson(person);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.