congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IOD.add
Code IndexAdd Tabnine to your IDE (free)

How to use
add
method
in
org.dcm4che3.data.IOD

Best Java code snippets using org.dcm4che3.data.IOD.add (Showing top 18 results out of 315)

origin: dcm4che/dcm4che

@Override
protected IOD queryKeysIOD(QueryRetrieveLevel rootLevel,
    boolean relational) {
  IOD iod = new IOD();
  iod.add(new IOD.DataElement(Tag.StudyInstanceUID, VR.UI,
          IOD.DataElementType.TYPE_0, -1, -1, 0));
  iod.add(new IOD.DataElement(Tag.SeriesInstanceUID, VR.UI,
      IOD.DataElementType.TYPE_0, -1, -1, 0));
  iod.add(new IOD.DataElement(Tag.SOPInstanceUID, VR.UI,
      IOD.DataElementType.TYPE_0, -1, -1, 0));
  return iod;
}
origin: org.dcm4che/dcm4che-net

@Override
protected IOD queryKeysIOD(QueryRetrieveLevel rootLevel,
    boolean relational) {
  IOD iod = new IOD();
  iod.add(new IOD.DataElement(Tag.StudyInstanceUID, VR.UI,
          IOD.DataElementType.TYPE_0, -1, -1, 0));
  iod.add(new IOD.DataElement(Tag.SeriesInstanceUID, VR.UI,
      IOD.DataElementType.TYPE_0, -1, -1, 0));
  iod.add(new IOD.DataElement(Tag.SOPInstanceUID, VR.UI,
      IOD.DataElementType.TYPE_0, -1, -1, 0));
  return iod;
}
origin: dcm4che/dcm4che

@Override
protected IOD queryKeysIOD(QueryRetrieveLevel rootLevel,
    boolean relational) {
  IOD iod = new IOD();
  iod.add(new IOD.DataElement(Tag.PatientID, VR.LO,
      !relational && rootLevel == QueryRetrieveLevel.PATIENT
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  iod.add(new IOD.DataElement(Tag.SeriesInstanceUID, VR.UI,
      IOD.DataElementType.TYPE_0, -1, -1, 0));
  iod.add(new IOD.DataElement(Tag.SOPInstanceUID, VR.UI,
      IOD.DataElementType.TYPE_0, -1, -1, 0));
  return iod;
}
origin: org.dcm4che/dcm4che-net

@Override
protected IOD queryKeysIOD(QueryRetrieveLevel rootLevel,
    boolean relational) {
  IOD iod = new IOD();
  iod.add(new IOD.DataElement(Tag.PatientID, VR.LO,
      !relational && rootLevel == QueryRetrieveLevel.PATIENT
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  iod.add(new IOD.DataElement(Tag.SeriesInstanceUID, VR.UI,
      IOD.DataElementType.TYPE_0, -1, -1, 0));
  iod.add(new IOD.DataElement(Tag.SOPInstanceUID, VR.UI,
      IOD.DataElementType.TYPE_0, -1, -1, 0));
  return iod;
}
origin: dcm4che/dcm4che

@Override
protected IOD queryKeysIOD(QueryRetrieveLevel rootLevel,
    boolean relational) {
  IOD iod = new IOD();
  iod.add(new IOD.DataElement(Tag.PatientID, VR.LO,
      !relational && rootLevel == QueryRetrieveLevel.PATIENT
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  iod.add(new IOD.DataElement(Tag.StudyInstanceUID, VR.UI,
        !relational 
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  iod.add(new IOD.DataElement(Tag.SOPInstanceUID, VR.UI,
      IOD.DataElementType.TYPE_0, -1, -1, 0));
  return iod;
}
origin: dcm4che/dcm4che

@Override
protected IOD retrieveKeysIOD(QueryRetrieveLevel rootLevel,
    boolean relational) {
  IOD iod = queryKeysIOD(rootLevel, relational);
  iod.add(new IOD.DataElement(Tag.PatientID, VR.LO,
      IOD.DataElementType.TYPE_1, 1, 1, 0));
  return iod;
}
origin: dcm4che/dcm4che

  @Override
  protected IOD retrieveKeysIOD(QueryRetrieveLevel rootLevel,
      boolean relational) {
    IOD iod = queryKeysIOD(rootLevel, relational);
    iod.add(new IOD.DataElement(Tag.SeriesInstanceUID, VR.UI,
        IOD.DataElementType.TYPE_1, -1, -1, 0));
    return iod;
  }
},
origin: org.dcm4che/dcm4che-net

@Override
protected IOD queryKeysIOD(QueryRetrieveLevel rootLevel,
    boolean relational) {
  IOD iod = new IOD();
  iod.add(new IOD.DataElement(Tag.PatientID, VR.LO,
      !relational && rootLevel == QueryRetrieveLevel.PATIENT
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  iod.add(new IOD.DataElement(Tag.StudyInstanceUID, VR.UI,
        !relational 
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  iod.add(new IOD.DataElement(Tag.SOPInstanceUID, VR.UI,
      IOD.DataElementType.TYPE_0, -1, -1, 0));
  return iod;
}
origin: dcm4che/dcm4che

  @Override
  protected IOD retrieveKeysIOD(QueryRetrieveLevel rootLevel,
      boolean relational) {
    IOD iod = queryKeysIOD(rootLevel, relational);
    iod.add(new IOD.DataElement(Tag.SOPInstanceUID, VR.UI,
        IOD.DataElementType.TYPE_1, -1, -1, 0));
    return iod;
  }
},
origin: org.dcm4che/dcm4che-net

@Override
protected IOD retrieveKeysIOD(QueryRetrieveLevel rootLevel,
    boolean relational) {
  IOD iod = queryKeysIOD(rootLevel, relational);
  iod.add(new IOD.DataElement(Tag.PatientID, VR.LO,
      IOD.DataElementType.TYPE_1, 1, 1, 0));
  return iod;
}
origin: dcm4che/dcm4che

@Override
protected IOD queryKeysIOD(QueryRetrieveLevel rootLevel,
    boolean relational) {
  IOD iod = new IOD();
  iod.add(new IOD.DataElement(Tag.PatientID, VR.LO,
      !relational && rootLevel == QueryRetrieveLevel.PATIENT
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  iod.add(new IOD.DataElement(Tag.StudyInstanceUID, VR.UI,
        !relational 
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  iod.add(new IOD.DataElement(Tag.SeriesInstanceUID, VR.UI,
        !relational 
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  return iod;
}
origin: dcm4che/dcm4che

  @Override
  protected IOD retrieveKeysIOD(QueryRetrieveLevel rootLevel,
      boolean relational) {
    IOD iod = queryKeysIOD(rootLevel, relational);
    iod.add(new IOD.DataElement(Tag.StudyInstanceUID, VR.UI,
        IOD.DataElementType.TYPE_1, -1, -1, 0));
    return iod;
  }
},
origin: org.dcm4che/dcm4che-net

  @Override
  protected IOD retrieveKeysIOD(QueryRetrieveLevel rootLevel,
      boolean relational) {
    IOD iod = queryKeysIOD(rootLevel, relational);
    iod.add(new IOD.DataElement(Tag.SeriesInstanceUID, VR.UI,
        IOD.DataElementType.TYPE_1, -1, -1, 0));
    return iod;
  }
},
origin: org.dcm4che/dcm4che-net

@Override
protected IOD queryKeysIOD(QueryRetrieveLevel rootLevel,
    boolean relational) {
  IOD iod = new IOD();
  iod.add(new IOD.DataElement(Tag.PatientID, VR.LO,
      !relational && rootLevel == QueryRetrieveLevel.PATIENT
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  iod.add(new IOD.DataElement(Tag.StudyInstanceUID, VR.UI,
        !relational 
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  iod.add(new IOD.DataElement(Tag.SeriesInstanceUID, VR.UI,
        !relational 
        ? IOD.DataElementType.TYPE_1
        : IOD.DataElementType.TYPE_3,
      1, 1, 0));
  return iod;
}
origin: org.dcm4che/dcm4che-net

  @Override
  protected IOD retrieveKeysIOD(QueryRetrieveLevel rootLevel,
      boolean relational) {
    IOD iod = queryKeysIOD(rootLevel, relational);
    iod.add(new IOD.DataElement(Tag.StudyInstanceUID, VR.UI,
        IOD.DataElementType.TYPE_1, -1, -1, 0));
    return iod;
  }
},
origin: org.dcm4che/dcm4che-net

  @Override
  protected IOD retrieveKeysIOD(QueryRetrieveLevel rootLevel,
      boolean relational) {
    IOD iod = queryKeysIOD(rootLevel, relational);
    iod.add(new IOD.DataElement(Tag.SOPInstanceUID, VR.UI,
        IOD.DataElementType.TYPE_1, -1, -1, 0));
    return iod;
  }
},
origin: dcm4che/dcm4che

  public static IOD valueOf(Code code) {
    IOD iod = new IOD();
    iod.add(new DataElement(
        Tag.CodeValue, VR.SH, DataElementType.TYPE_1, 1, 1, 0)
        .setValues(code.getCodeValue()));
    iod.add(new DataElement(
        Tag.CodingSchemeDesignator, VR.SH, DataElementType.TYPE_1, 1, 1, 0)
        .setValues(code.getCodingSchemeDesignator()));
    String codingSchemeVersion = code.getCodingSchemeVersion();
    if (codingSchemeVersion == null)
      iod.add(new DataElement(
          Tag.CodingSchemeVersion, VR.SH, DataElementType.TYPE_0, -1, -1, 0));
    else
      iod.add(new DataElement(
          Tag.CodingSchemeVersion, VR.SH, DataElementType.TYPE_1, 1, 1, 0));
      
    return iod;
  }
}
origin: dcm4che/dcm4che

if (locator != null)
  el.setLineNumber(locator.getLineNumber());
iod.add(el);
elementConditions = true;
itemConditions = false;
org.dcm4che3.dataIODadd

Popular methods of IOD

  • load
  • <init>
  • get
  • getCondition
  • getLineNumber
  • getType
  • parse
  • setCondition
  • setLineNumber
  • setType
  • size
  • trimToSize
  • size,
  • trimToSize,
  • valueOf

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now