com.pixelmed.dicom
Class PersonIdentification

java.lang.Object
  extended by com.pixelmed.dicom.PersonIdentification

public class PersonIdentification
extends Object

A class to provide support for the Person Identification Macro.


Field Summary
protected  String institutionAddress
           
protected  CodedSequenceItem institutionCodeSequence
           
protected  String institutionName
           
protected  AttributeList list
           
protected  String personAddress
           
protected  CodedSequenceItem[] personIdentificationCodeSequence
           
protected  String[] personTelephoneNumbers
           
 
Constructor Summary
PersonIdentification(AttributeList list)
          Extract the contents of a Person Identification Macro from a list of attributes.
PersonIdentification(CodedSequenceItem[] personIdentificationCodeSequence, String personAddress, String[] personTelephoneNumbers, String institutionName, String institutionAddress, CodedSequenceItem institutionCodeSequence)
          Construct the contents of a Person Identification Macro.
 
Method Summary
 AttributeList getAttributeList()
          Get the list of attributes for a Person Identification Macro.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

list

protected AttributeList list

personIdentificationCodeSequence

protected CodedSequenceItem[] personIdentificationCodeSequence

personAddress

protected String personAddress

personTelephoneNumbers

protected String[] personTelephoneNumbers

institutionName

protected String institutionName

institutionAddress

protected String institutionAddress

institutionCodeSequence

protected CodedSequenceItem institutionCodeSequence
Constructor Detail

PersonIdentification

public PersonIdentification(AttributeList list)
                     throws DicomException

Extract the contents of a Person Identification Macro from a list of attributes.

Non-standard attributes are discarded.

Parameters:
list - the list of attributes that comprise the item
Throws:
Dicomexception - if the list of attributes does not contain the required information
DicomException

PersonIdentification

public PersonIdentification(CodedSequenceItem[] personIdentificationCodeSequence,
                            String personAddress,
                            String[] personTelephoneNumbers,
                            String institutionName,
                            String institutionAddress,
                            CodedSequenceItem institutionCodeSequence)
                     throws DicomException

Construct the contents of a Person Identification Macro.

Parameters:
personIdentificationCodeSequence -
personAddress -
personTelephoneNumbers -
institutionName -
institutionAddress -
institutionCodeSequence -
Throws:
Dicomexception - if the the required information is not present
DicomException
Method Detail

getAttributeList

public AttributeList getAttributeList()
                               throws DicomException

Get the list of attributes for a Person Identification Macro.

Returns:
the attribute list
Throws:
DicomException