Package org.openmrs.module.webservices.rest.web.resource.impl

Examples of org.openmrs.module.webservices.rest.web.resource.impl.DelegatingResourceDescription.addProperty()


    } else if (rep instanceof FullRepresentation) {
      DelegatingResourceDescription description = new DelegatingResourceDescription();
      description.addProperty("uuid");
      description.addProperty("display", findMethod("getDisplayString"));
      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient");
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
View Full Code Here


      DelegatingResourceDescription description = new DelegatingResourceDescription();
      description.addProperty("uuid");
      description.addProperty("display", findMethod("getDisplayString"));
      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient");
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent");
View Full Code Here

      description.addProperty("uuid");
      description.addProperty("display", findMethod("getDisplayString"));
      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient");
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent");
      description.addProperty("providerRecipient");
View Full Code Here

      description.addProperty("display", findMethod("getDisplayString"));
      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient");
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent");
      description.addProperty("providerRecipient");
      //cannot add 'voided' property as a bug exists in OpenMRS: tickets.openmrs.org/browse/TRUNK-2205
View Full Code Here

      description.addProperty("name");
      description.addProperty("description");
      description.addProperty("patient");
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent");
      description.addProperty("providerRecipient");
      //cannot add 'voided' property as a bug exists in OpenMRS: tickets.openmrs.org/browse/TRUNK-2205
      //description.addProperty("voided");
View Full Code Here

      description.addProperty("description");
      description.addProperty("patient");
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent");
      description.addProperty("providerRecipient");
      //cannot add 'voided' property as a bug exists in OpenMRS: tickets.openmrs.org/browse/TRUNK-2205
      //description.addProperty("voided");
      description.addProperty("auditInfo", findMethod("getAuditInfo"));
View Full Code Here

      description.addProperty("patient");
      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent");
      description.addProperty("providerRecipient");
      //cannot add 'voided' property as a bug exists in OpenMRS: tickets.openmrs.org/browse/TRUNK-2205
      //description.addProperty("voided");
      description.addProperty("auditInfo", findMethod("getAuditInfo"));
      description.addSelfLink();
View Full Code Here

      description.addProperty("seen");
      description.addProperty("alertType");
      description.addProperty("time");
      description.addProperty("defaultTask");
      description.addProperty("providerSent");
      description.addProperty("providerRecipient");
      //cannot add 'voided' property as a bug exists in OpenMRS: tickets.openmrs.org/browse/TRUNK-2205
      //description.addProperty("voided");
      description.addProperty("auditInfo", findMethod("getAuditInfo"));
      description.addSelfLink();
      return description;
View Full Code Here

      description.addProperty("defaultTask");
      description.addProperty("providerSent");
      description.addProperty("providerRecipient");
      //cannot add 'voided' property as a bug exists in OpenMRS: tickets.openmrs.org/browse/TRUNK-2205
      //description.addProperty("voided");
      description.addProperty("auditInfo", findMethod("getAuditInfo"));
      description.addSelfLink();
      return description;
    }
    return null;
  }
View Full Code Here

   
    description.addRequiredProperty("patient");
    description.addRequiredProperty("providerSent");
    description.addRequiredProperty("providerRecipient");
   
    description.addProperty("alertType");
    description.addProperty("name");
    description.addProperty("time");
    description.addProperty("defaultTask");
    return description;
  }
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.