/**
  * imageScanData
  *
  * @return org.nrg.xdat.om.XnatImagescandata
  */
 public org.nrg.xdat.om.XnatImagescandata getImagescandata() {
   try {
     if (_Imagescandata == null) {
       _Imagescandata =
           ((XnatImagescandata)
               org.nrg.xdat.base.BaseElement.GetGeneratedItem(
                   (XFTItem) getProperty("imageScanData")));
       return _Imagescandata;
     } else {
       return _Imagescandata;
     }
   } catch (Exception e1) {
     return null;
   }
 }
 /**
  * parameters/contrastBolus
  *
  * @return org.nrg.xdat.om.XnatContrastbolus
  */
 public org.nrg.xdat.om.XnatContrastbolus getParameters_contrastbolus() {
   try {
     if (_Parameters_contrastbolus == null) {
       _Parameters_contrastbolus =
           ((XnatContrastbolus)
               org.nrg.xdat.base.BaseElement.GetGeneratedItem(
                   (XFTItem) getProperty("parameters/contrastBolus")));
       return _Parameters_contrastbolus;
     } else {
       return _Parameters_contrastbolus;
     }
   } catch (Exception e1) {
     return null;
   }
 }
  public static PipePipelinedetails getPipePipelinedetailssByPath(
      Object value, org.nrg.xft.security.UserI user, boolean preLoad) {
    try {
      org.nrg.xft.collections.ItemCollection items =
          org.nrg.xft.search.ItemSearch.GetItems("pipe:pipelineDetails/path", value, user, preLoad);
      ItemI match = items.getFirst();
      if (match != null)
        return (PipePipelinedetails) org.nrg.xdat.base.BaseElement.GetGeneratedItem(match);
      else return null;
    } catch (Exception e) {
      logger.error("", e);
    }

    return null;
  }
  public static XnatEsvsessiondata getXnatEsvsessiondatasById(
      Object value, org.nrg.xft.security.UserI user, boolean preLoad) {
    try {
      org.nrg.xft.collections.ItemCollection items =
          org.nrg.xft.search.ItemSearch.GetItems("xnat:esvSessionData/id", value, user, preLoad);
      ItemI match = items.getFirst();
      if (match != null)
        return (XnatEsvsessiondata) org.nrg.xdat.base.BaseElement.GetGeneratedItem(match);
      else return null;
    } catch (Exception e) {
      logger.error("", e);
    }

    return null;
  }
  public static CatCatalogTag getCatCatalogTagsByCatCatalogTagId(
      Object value, org.nrg.xft.security.UserI user, boolean preLoad) {
    try {
      org.nrg.xft.collections.ItemCollection items =
          org.nrg.xft.search.ItemSearch.GetItems(
              "cat:catalog_tag/cat_catalog_tag_id", value, user, preLoad);
      ItemI match = items.getFirst();
      if (match != null)
        return (CatCatalogTag) org.nrg.xdat.base.BaseElement.GetGeneratedItem(match);
      else return null;
    } catch (Exception e) {
      logger.error("", e);
    }

    return null;
  }
  public static ExtClinicalassessmentdataMedication
      getExtClinicalassessmentdataMedicationsByExtClinicalassessmentdataMedicationId(
          Object value, org.nrg.xft.security.UserI user, boolean preLoad) {
    try {
      org.nrg.xft.collections.ItemCollection items =
          org.nrg.xft.search.ItemSearch.GetItems(
              "ext:clinicalAssessmentData_Medication/ext_clinicalAssessmentData_Medication_id",
              value,
              user,
              preLoad);
      ItemI match = items.getFirst();
      if (match != null)
        return (ExtClinicalassessmentdataMedication)
            org.nrg.xdat.base.BaseElement.GetGeneratedItem(match);
      else return null;
    } catch (Exception e) {
      logger.error("", e);
    }

    return null;
  }
  public static XnatFielddefinitiongroupFieldPossiblevalue
      getXnatFielddefinitiongroupFieldPossiblevaluesByXnatFielddefinitiongroupFieldPossiblevalueId(
          Object value, org.nrg.xft.security.UserI user, boolean preLoad) {
    try {
      org.nrg.xft.collections.ItemCollection items =
          org.nrg.xft.search.ItemSearch.GetItems(
              "xnat:fieldDefinitionGroup_field_possibleValue/xnat_fieldDefinitionGroup_field_possibleValue_id",
              value,
              user,
              preLoad);
      ItemI match = items.getFirst();
      if (match != null)
        return (XnatFielddefinitiongroupFieldPossiblevalue)
            org.nrg.xdat.base.BaseElement.GetGeneratedItem(match);
      else return null;
    } catch (Exception e) {
      logger.error("", e);
    }

    return null;
  }