public String toAuditString() {
    StringBuffer auditStr = new StringBuffer();

    auditStr.append("\r\n*locationService* :");
    if (locationService != null) {
      auditStr.append(toShortClassName(locationService));

      auditStr.append(locationService.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*providerSystem* :");
    if (providerSystem != null) {
      auditStr.append(toShortClassName(providerSystem));

      auditStr.append(providerSystem.getId());
    }
    auditStr.append("; ");
    return auditStr.toString();
  }
Ejemplo n.º 2
0
  public String toAuditString() {
    StringBuffer auditStr = new StringBuffer();

    auditStr.append("\r\n*providerSystem* :");
    if (providerSystem != null) {
      auditStr.append(toShortClassName(providerSystem));

      auditStr.append(providerSystem.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*wasProcessed* :");
    auditStr.append(wasProcessed);
    auditStr.append("; ");
    auditStr.append("\r\n*wasDiscarded* :");
    auditStr.append(wasDiscarded);
    auditStr.append("; ");
    auditStr.append("\r\n*msgText* :");
    auditStr.append(msgText);
    auditStr.append("; ");
    auditStr.append("\r\n*ackText* :");
    auditStr.append(ackText);
    auditStr.append("; ");
    auditStr.append("\r\n*failureMsg* :");
    auditStr.append(failureMsg);
    auditStr.append("; ");
    auditStr.append("\r\n*messageStatus* :");
    if (messageStatus != null) auditStr.append(messageStatus.getText());
    auditStr.append("; ");
    auditStr.append("\r\n*msgType* :");
    if (msgType != null) auditStr.append(msgType.getText());
    auditStr.append("; ");
    auditStr.append("\r\n*queueType* :");
    if (queueType != null) auditStr.append(queueType.getText());
    auditStr.append("; ");
    auditStr.append("\r\n*mOS* :");
    if (mOS != null) {
      auditStr.append(toShortClassName(mOS));

      auditStr.append(mOS.getId());
    }
    auditStr.append("; ");
    return auditStr.toString();
  }
Ejemplo n.º 3
0
  public String toAuditString() {
    StringBuffer auditStr = new StringBuffer();

    auditStr.append("\r\n*patient* :");
    if (patient != null) {
      auditStr.append(toShortClassName(patient));

      auditStr.append(patient.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*providerSystem* :");
    if (providerSystem != null) {
      auditStr.append(toShortClassName(providerSystem));

      auditStr.append(providerSystem.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*hL7Message* :");
    auditStr.append(hL7Message);
    auditStr.append("; ");
    auditStr.append("\r\n*messageType* :");
    if (messageType != null) auditStr.append(messageType.getText());
    auditStr.append("; ");
    auditStr.append("\r\n*messageCategory* :");
    if (messageCategory != null) auditStr.append(messageCategory.getText());
    auditStr.append("; ");
    auditStr.append("\r\n*failureMessage* :");
    auditStr.append(failureMessage);
    auditStr.append("; ");
    auditStr.append("\r\n*messageSentDateTime* :");
    auditStr.append(messageSentDateTime);
    auditStr.append("; ");
    auditStr.append("\r\n*successfulOutcome* :");
    auditStr.append(successfulOutcome);
    auditStr.append("; ");
    return auditStr.toString();
  }