public class IssuerofPatientIDMacro extends Macro
| Constructor and Description |
|---|
IssuerofPatientIDMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
IssuerofPatientIDMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
IssuerofPatientIDMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
IssuerofPatientIDMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and Dictionary Reader
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIssuerofPatientID()
Return Issuer of Patient ID.
|
IssuerofPatientIDQualifiersSequence |
getIssuerofPatientIDQualifiersSequence()
Retrieves pre-initialized object of Issuer of Patient ID Qualifiers Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
void |
setIssuerofPatientID(java.lang.String strIssuerofPatientID)
Sets Issuer of Patient ID.
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in Issuer of Patient ID Macro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in Issuer of Patient ID Macro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic IssuerofPatientIDMacro(IDataSet objDataSet)
objDataSet - Collection of Data Elementspublic IssuerofPatientIDMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic IssuerofPatientIDMacro(IItem objItem)
objItem - specifies instance of Item classpublic IssuerofPatientIDMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic void setIssuerofPatientID(java.lang.String strIssuerofPatientID)
strIssuerofPatientID - String value of Issuer of Patient ID.public java.lang.String getIssuerofPatientID()
public IssuerofPatientIDQualifiersSequence getIssuerofPatientIDQualifiersSequence()
public static boolean validate(IDataSet objIDataSet) throws InvalidMacroException
objIDataSet - collection of DataElementsInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static boolean validate(IItem objIItem) throws InvalidMacroException
objIItem - collection of DataElements in a sequenceInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.