public static void fillFieldsfromXML(
     org.dom4j.Element el,
     ims.domain.DomainFactory factory,
     Mobilisations obj,
     java.util.HashMap domMap)
     throws Exception {
   org.dom4j.Element fldEl;
   fldEl = el.element("clinicalContact");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setClinicalContact(
         ims.core.admin.domain.objects.ClinicalContact.getClinicalContactfromXML(
             fldEl, factory, domMap));
   }
   fldEl = el.element("authoringCP");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setAuthoringCP(
         ims.core.resource.people.domain.objects.Hcp.getHcpfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("authoringDateTime");
   if (fldEl != null) {
     obj.setAuthoringDateTime(
         new java.text.SimpleDateFormat("yyyyMMddHHmmssSSS").parse(fldEl.getTextTrim()));
   }
   fldEl = el.element("mobilisationTreatment");
   if (fldEl != null) {
     fldEl = fldEl.element("set");
     obj.setMobilisationTreatment(
         ims.therapies.treatment.domain.objects.MobilisationsTreatment.fromSetXMLString(
             fldEl, factory, obj.getMobilisationTreatment(), domMap));
   }
 }
  public String toAuditString() {
    StringBuffer auditStr = new StringBuffer();

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

      auditStr.append(reviewBy.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*reviewDateTime* :");
    auditStr.append(reviewDateTime);
    auditStr.append("; ");
    return auditStr.toString();
  }
  public String toAuditString() {
    StringBuffer auditStr = new StringBuffer();

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

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

      auditStr.append(authoringCP.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*authoringDateTime* :");
    auditStr.append(authoringDateTime);
    auditStr.append("; ");
    auditStr.append("\r\n*mobilisationTreatment* :");
    if (mobilisationTreatment != null) {
      java.util.Iterator it4 = mobilisationTreatment.iterator();
      int i4 = 0;
      while (it4.hasNext()) {
        if (i4 > 0) auditStr.append(",");
        ims.therapies.treatment.domain.objects.MobilisationsTreatment obj =
            (ims.therapies.treatment.domain.objects.MobilisationsTreatment) it4.next();
        if (obj != null) {
          if (i4 == 0) {
            auditStr.append(toShortClassName(obj));
            auditStr.append("[");
          }

          auditStr.append(obj.getId());
        }
        i4++;
      }
      if (i4 > 0) auditStr.append("] " + i4);
    }
    auditStr.append("; ");
    return auditStr.toString();
  }
 public static void fillFieldsfromXML(
     org.dom4j.Element el,
     ims.domain.DomainFactory factory,
     CarePlanReview obj,
     java.util.HashMap domMap)
     throws Exception {
   org.dom4j.Element fldEl;
   fldEl = el.element("reviewBy");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setReviewBy(
         ims.core.resource.people.domain.objects.Hcp.getHcpfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("reviewDateTime");
   if (fldEl != null) {
     obj.setReviewDateTime(
         new java.text.SimpleDateFormat("yyyyMMddHHmmssSSS").parse(fldEl.getTextTrim()));
   }
 }
Exemple #5
0
 public static void fillFieldsfromXML(
     org.dom4j.Element el,
     ims.domain.DomainFactory factory,
     PlanOfCare obj,
     java.util.HashMap domMap)
     throws Exception {
   org.dom4j.Element fldEl;
   fldEl = el.element("clinicalContact");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setClinicalContact(
         ims.core.admin.domain.objects.ClinicalContact.getClinicalContactfromXML(
             fldEl, factory, domMap));
   }
   fldEl = el.element("careContext");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setCareContext(
         ims.core.admin.domain.objects.CareContext.getCareContextfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("authoringInformation");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setAuthoringInformation(
         ims.core.clinical.domain.objects.AuthoringInformation.getAuthoringInformationfromXML(
             fldEl, factory, domMap));
   }
   fldEl = el.element("startDateTime");
   if (fldEl != null) {
     obj.setStartDateTime(
         new java.text.SimpleDateFormat("yyyyMMddHHmmssSSS").parse(fldEl.getTextTrim()));
   }
   fldEl = el.element("startHCP");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setStartHCP(
         ims.core.resource.people.domain.objects.Hcp.getHcpfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("levelOfIntervention");
   if (fldEl != null) {
     obj.setLevelOfIntervention(ims.framework.utils.Color.getColor(fldEl.getTextTrim()));
   }
   fldEl = el.element("group");
   if (fldEl != null) {
     fldEl = fldEl.element("lki");
     obj.setGroup(ims.domain.lookups.LookupInstance.fromXMLString(fldEl, factory));
   }
   fldEl = el.element("title");
   if (fldEl != null) {
     obj.setTitle(new String(fldEl.getTextTrim()));
   }
   fldEl = el.element("status");
   if (fldEl != null) {
     fldEl = fldEl.element("lki");
     obj.setStatus(ims.domain.lookups.LookupInstance.fromXMLString(fldEl, factory));
   }
   fldEl = el.element("resolvedDateTime");
   if (fldEl != null) {
     obj.setResolvedDateTime(
         new java.text.SimpleDateFormat("yyyyMMddHHmmssSSS").parse(fldEl.getTextTrim()));
   }
   fldEl = el.element("resolvingHCP");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setResolvingHCP(
         ims.core.resource.people.domain.objects.Hcp.getHcpfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("confirmingDateTime");
   if (fldEl != null) {
     obj.setConfirmingDateTime(
         new java.text.SimpleDateFormat("yyyyMMddHHmmssSSS").parse(fldEl.getTextTrim()));
   }
   fldEl = el.element("confirmingHCP");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setConfirmingHCP(
         ims.core.resource.people.domain.objects.Hcp.getHcpfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("actions");
   if (fldEl != null) {
     fldEl = fldEl.element("set");
     obj.setActions(
         ims.nursing.domain.objects.PlanOfCareActions.fromSetXMLString(
             fldEl, factory, obj.getActions(), domMap));
   }
   fldEl = el.element("assessmentQuestion");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setAssessmentQuestion(
         ims.assessment.configuration.domain.objects.AssessmentQuestion
             .getAssessmentQuestionfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("answerHistory");
   if (fldEl != null) {
     fldEl = fldEl.element("set");
     obj.setAnswerHistory(
         ims.nursing.domain.objects.PlanOfCareHistory.fromSetXMLString(
             fldEl, factory, obj.getAnswerHistory(), domMap));
   }
 }
Exemple #6
0
  public String toAuditString() {
    StringBuffer auditStr = new StringBuffer();

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

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

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

      auditStr.append(authoringInformation.toString());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*startDateTime* :");
    auditStr.append(startDateTime);
    auditStr.append("; ");
    auditStr.append("\r\n*startHCP* :");
    if (startHCP != null) {
      auditStr.append(toShortClassName(startHCP));

      auditStr.append(startHCP.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*levelOfIntervention* :");
    auditStr.append(levelOfIntervention);
    auditStr.append("; ");
    auditStr.append("\r\n*group* :");
    if (group != null) auditStr.append(group.getText());
    auditStr.append("; ");
    auditStr.append("\r\n*title* :");
    auditStr.append(title);
    auditStr.append("; ");
    auditStr.append("\r\n*status* :");
    if (status != null) auditStr.append(status.getText());
    auditStr.append("; ");
    auditStr.append("\r\n*resolvedDateTime* :");
    auditStr.append(resolvedDateTime);
    auditStr.append("; ");
    auditStr.append("\r\n*resolvingHCP* :");
    if (resolvingHCP != null) {
      auditStr.append(toShortClassName(resolvingHCP));

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

      auditStr.append(confirmingHCP.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*actions* :");
    if (actions != null) {
      java.util.Iterator it14 = actions.iterator();
      int i14 = 0;
      while (it14.hasNext()) {
        if (i14 > 0) auditStr.append(",");
        ims.nursing.domain.objects.PlanOfCareActions obj =
            (ims.nursing.domain.objects.PlanOfCareActions) it14.next();
        if (obj != null) {
          if (i14 == 0) {
            auditStr.append(toShortClassName(obj));
            auditStr.append("[");
          }

          auditStr.append(obj.getId());
        }
        i14++;
      }
      if (i14 > 0) auditStr.append("] " + i14);
    }
    auditStr.append("; ");
    auditStr.append("\r\n*assessmentQuestion* :");
    if (assessmentQuestion != null) {
      auditStr.append(toShortClassName(assessmentQuestion));

      auditStr.append(assessmentQuestion.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*answerHistory* :");
    if (answerHistory != null) {
      java.util.Iterator it16 = answerHistory.iterator();
      int i16 = 0;
      while (it16.hasNext()) {
        if (i16 > 0) auditStr.append(",");
        ims.nursing.domain.objects.PlanOfCareHistory obj =
            (ims.nursing.domain.objects.PlanOfCareHistory) it16.next();
        if (obj != null) {
          if (i16 == 0) {
            auditStr.append(toShortClassName(obj));
            auditStr.append("[");
          }

          auditStr.append(obj.getId());
        }
        i16++;
      }
      if (i16 > 0) auditStr.append("] " + i16);
    }
    auditStr.append("; ");
    return auditStr.toString();
  }
 public static void fillFieldsfromXML(
     org.dom4j.Element el,
     ims.domain.DomainFactory factory,
     OcsOrderSession obj,
     java.util.HashMap domMap)
     throws Exception {
   org.dom4j.Element fldEl;
   fldEl = el.element("clinicalContact");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setClinicalContact(
         ims.core.admin.domain.objects.ClinicalContact.getClinicalContactfromXML(
             fldEl, factory, domMap));
   }
   fldEl = el.element("patient");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setPatient(
         ims.core.patient.domain.objects.Patient.getPatientfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("investigations");
   if (fldEl != null) {
     fldEl = fldEl.element("set");
     obj.setInvestigations(
         ims.ocrr.orderingresults.domain.objects.OrderInvestigation.fromSetXMLString(
             fldEl, factory, obj.getInvestigations(), domMap));
   }
   fldEl = el.element("orderedBy");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setOrderedBy(
         ims.core.resource.people.domain.objects.MemberOfStaff.getMemberOfStafffromXML(
             fldEl, factory, domMap));
   }
   fldEl = el.element("responsibleClinician");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setResponsibleClinician(
         ims.core.resource.people.domain.objects.Hcp.getHcpfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("responsibleGp");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setResponsibleGp(
         ims.core.resource.people.domain.objects.Gp.getGpfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("patientLocation");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setPatientLocation(
         ims.core.resource.place.domain.objects.Location.getLocationfromXML(
             fldEl, factory, domMap));
   }
   fldEl = el.element("patientClinic");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setPatientClinic(
         ims.core.resource.place.domain.objects.Clinic.getClinicfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("hcpAlerts");
   if (fldEl != null) {
     fldEl = fldEl.element("set");
     obj.setHcpAlerts(
         ims.ocrr.orderingresults.domain.objects.OrderHCPAlert.fromSetXMLString(
             fldEl, factory, obj.getHcpAlerts(), domMap));
   }
   fldEl = el.element("clinicalTrial");
   if (fldEl != null) {
     obj.setClinicalTrial(new Boolean(fldEl.getTextTrim()));
   }
   fldEl = el.element("clinicalTrialTxt");
   if (fldEl != null) {
     obj.setClinicalTrialTxt(new String(fldEl.getTextTrim()));
   }
   fldEl = el.element("clinicalInfo");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setClinicalInfo(
         ims.ocrr.orderingresults.domain.objects.OcsQASession.getOcsQASessionfromXML(
             fldEl, factory, domMap));
   }
   fldEl = el.element("additClinNotes");
   if (fldEl != null) {
     obj.setAdditClinNotes(new String(fldEl.getTextTrim()));
   }
   fldEl = el.element("patMobility");
   if (fldEl != null) {
     fldEl = fldEl.element("lki");
     obj.setPatMobility(ims.domain.lookups.LookupInstance.fromXMLString(fldEl, factory));
   }
   fldEl = el.element("orderCategory");
   if (fldEl != null) {
     fldEl = fldEl.element("lki");
     obj.setOrderCategory(ims.domain.lookups.LookupInstance.fromXMLString(fldEl, factory));
   }
   fldEl = el.element("reportTo");
   if (fldEl != null) {
     fldEl = fldEl.element("list");
     obj.setReportTo(
         ims.ocrr.orderingresults.domain.objects.OcsReportTo.fromListXMLString(
             fldEl, factory, obj.getReportTo(), domMap));
   }
   fldEl = el.element("specimens");
   if (fldEl != null) {
     fldEl = fldEl.element("set");
     obj.setSpecimens(
         ims.ocrr.orderingresults.domain.objects.OrderSpecimen.fromSetXMLString(
             fldEl, factory, obj.getSpecimens(), domMap));
   }
   fldEl = el.element("wasProcessed");
   if (fldEl != null) {
     obj.setWasProcessed(new Boolean(fldEl.getTextTrim()));
   }
   fldEl = el.element("authorisationOrderStatus");
   if (fldEl != null) {
     fldEl = fldEl.element("lki");
     obj.setAuthorisationOrderStatus(
         ims.domain.lookups.LookupInstance.fromXMLString(fldEl, factory));
   }
   fldEl = el.element("wasDiscarded");
   if (fldEl != null) {
     obj.setWasDiscarded(new Boolean(fldEl.getTextTrim()));
   }
   fldEl = el.element("careContext");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setCareContext(
         ims.core.admin.domain.objects.CareContext.getCareContextfromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("orderingHospital");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setOrderingHospital(
         ims.core.resource.place.domain.objects.LocSite.getLocSitefromXML(fldEl, factory, domMap));
   }
   fldEl = el.element("hasNewOrUpdatedResults");
   if (fldEl != null) {
     obj.setHasNewOrUpdatedResults(new Boolean(fldEl.getTextTrim()));
   }
   fldEl = el.element("bedNumber");
   if (fldEl != null) {
     obj.setBedNumber(new String(fldEl.getTextTrim()));
   }
   fldEl = el.element("sendNumber");
   if (fldEl != null) {
     obj.setSendNumber(new Boolean(fldEl.getTextTrim()));
   }
   fldEl = el.element("outpatientDept");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setOutpatientDept(
         ims.core.resource.place.domain.objects.Location.getLocationfromXML(
             fldEl, factory, domMap));
   }
   fldEl = el.element("summaryClinicalInformation");
   if (fldEl != null) {
     obj.setSummaryClinicalInformation(new String(fldEl.getTextTrim()));
   }
   fldEl = el.element("bleepExtNumber");
   if (fldEl != null) {
     obj.setBleepExtNumber(new String(fldEl.getTextTrim()));
   }
 }
  public String toAuditString() {
    StringBuffer auditStr = new StringBuffer();

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

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

      auditStr.append(patient.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*investigations* :");
    if (investigations != null) {
      java.util.Iterator it3 = investigations.iterator();
      int i3 = 0;
      while (it3.hasNext()) {
        if (i3 > 0) auditStr.append(",");
        ims.ocrr.orderingresults.domain.objects.OrderInvestigation obj =
            (ims.ocrr.orderingresults.domain.objects.OrderInvestigation) it3.next();
        if (obj != null) {
          if (i3 == 0) {
            auditStr.append(toShortClassName(obj));
            auditStr.append("[");
          }

          auditStr.append(obj.getId());
        }
        i3++;
      }
      if (i3 > 0) auditStr.append("] " + i3);
    }
    auditStr.append("; ");
    auditStr.append("\r\n*orderedBy* :");
    if (orderedBy != null) {
      auditStr.append(toShortClassName(orderedBy));

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

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

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

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

      auditStr.append(patientClinic.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*hcpAlerts* :");
    if (hcpAlerts != null) {
      java.util.Iterator it9 = hcpAlerts.iterator();
      int i9 = 0;
      while (it9.hasNext()) {
        if (i9 > 0) auditStr.append(",");
        ims.ocrr.orderingresults.domain.objects.OrderHCPAlert obj =
            (ims.ocrr.orderingresults.domain.objects.OrderHCPAlert) it9.next();
        if (obj != null) {
          if (i9 == 0) {
            auditStr.append(toShortClassName(obj));
            auditStr.append("[");
          }

          auditStr.append(obj.getId());
        }
        i9++;
      }
      if (i9 > 0) auditStr.append("] " + i9);
    }
    auditStr.append("; ");
    auditStr.append("\r\n*clinicalTrial* :");
    auditStr.append(clinicalTrial);
    auditStr.append("; ");
    auditStr.append("\r\n*clinicalTrialTxt* :");
    auditStr.append(clinicalTrialTxt);
    auditStr.append("; ");
    auditStr.append("\r\n*clinicalInfo* :");
    if (clinicalInfo != null) {
      auditStr.append(toShortClassName(clinicalInfo));

      auditStr.append(clinicalInfo.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*additClinNotes* :");
    auditStr.append(additClinNotes);
    auditStr.append("; ");
    auditStr.append("\r\n*patMobility* :");
    if (patMobility != null) auditStr.append(patMobility.getText());
    auditStr.append("; ");
    auditStr.append("\r\n*orderCategory* :");
    if (orderCategory != null) auditStr.append(orderCategory.getText());
    auditStr.append("; ");
    auditStr.append("\r\n*reportTo* :");
    if (reportTo != null) {
      int i16 = 0;
      for (i16 = 0; i16 < reportTo.size(); i16++) {
        if (i16 > 0) auditStr.append(",");
        ims.ocrr.orderingresults.domain.objects.OcsReportTo obj =
            (ims.ocrr.orderingresults.domain.objects.OcsReportTo) reportTo.get(i16);
        if (obj != null) {
          if (i16 == 0) {
            auditStr.append(toShortClassName(obj));
            auditStr.append("[");
          }
          auditStr.append(obj.toString());
        }
      }
      if (i16 > 0) auditStr.append("] " + i16);
    }
    auditStr.append("; ");
    auditStr.append("\r\n*specimens* :");
    if (specimens != null) {
      java.util.Iterator it17 = specimens.iterator();
      int i17 = 0;
      while (it17.hasNext()) {
        if (i17 > 0) auditStr.append(",");
        ims.ocrr.orderingresults.domain.objects.OrderSpecimen obj =
            (ims.ocrr.orderingresults.domain.objects.OrderSpecimen) it17.next();
        if (obj != null) {
          if (i17 == 0) {
            auditStr.append(toShortClassName(obj));
            auditStr.append("[");
          }

          auditStr.append(obj.getId());
        }
        i17++;
      }
      if (i17 > 0) auditStr.append("] " + i17);
    }
    auditStr.append("; ");
    auditStr.append("\r\n*wasProcessed* :");
    auditStr.append(wasProcessed);
    auditStr.append("; ");
    auditStr.append("\r\n*authorisationOrderStatus* :");
    if (authorisationOrderStatus != null) auditStr.append(authorisationOrderStatus.getText());
    auditStr.append("; ");
    auditStr.append("\r\n*wasDiscarded* :");
    auditStr.append(wasDiscarded);
    auditStr.append("; ");
    auditStr.append("\r\n*careContext* :");
    if (careContext != null) {
      auditStr.append(toShortClassName(careContext));

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

      auditStr.append(orderingHospital.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*hasNewOrUpdatedResults* :");
    auditStr.append(hasNewOrUpdatedResults);
    auditStr.append("; ");
    auditStr.append("\r\n*bedNumber* :");
    auditStr.append(bedNumber);
    auditStr.append("; ");
    auditStr.append("\r\n*sendNumber* :");
    auditStr.append(sendNumber);
    auditStr.append("; ");
    auditStr.append("\r\n*outpatientDept* :");
    if (outpatientDept != null) {
      auditStr.append(toShortClassName(outpatientDept));

      auditStr.append(outpatientDept.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*summaryClinicalInformation* :");
    auditStr.append(summaryClinicalInformation);
    auditStr.append("; ");
    auditStr.append("\r\n*bleepExtNumber* :");
    auditStr.append(bleepExtNumber);
    auditStr.append("; ");
    return auditStr.toString();
  }