ca.uhn.hl7v2.model.v24.datatype
Class CE

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractType
      extended by ca.uhn.hl7v2.model.v24.datatype.CE
All Implemented Interfaces:
Composite, Type, Serializable

public class CE
extends AbstractType
implements Composite

Represents an HL7 CE (coded element) data type. This type consists of the following components:

See Also:
Serialized Form

Constructor Summary
CE(Message message)
          Creates a new CE type
 
Method Summary
 ST getAlternateIdentifier()
          Returns alternate identifier (ST) (component #4).
 ST getAlternateText()
          Returns alternate text (component #5).
 ST getCe1_Identifier()
          Returns identifier (ST) (component #1).
 ST getCe2_Text()
          Returns text (component #2).
 IS getCe3_NameOfCodingSystem()
          Returns name of coding system (component #3).
 ST getCe4_AlternateIdentifier()
          Returns alternate identifier (ST) (component #4).
 ST getCe5_AlternateText()
          Returns alternate text (component #5).
 IS getCe6_NameOfAlternateCodingSystem()
          Returns name of alternate coding system (component #6).
 Type getComponent(int number)
          Returns an individual data component.
 Type[] getComponents()
          Returns an array containing the data elements.
 ST getIdentifier()
          Returns identifier (ST) (component #1).
 IS getNameOfAlternateCodingSystem()
          Returns name of alternate coding system (component #6).
 IS getNameOfCodingSystem()
          Returns name of coding system (component #3).
 ST getText()
          Returns text (component #2).
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractType
clear, encode, getExtraComponents, getMessage, getName, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ca.uhn.hl7v2.model.Type
clear, encode, getExtraComponents, getMessage, getName, parse
 

Constructor Detail

CE

public CE(Message message)
Creates a new CE type

Method Detail

getComponents

public Type[] getComponents()
Returns an array containing the data elements.

Specified by:
getComponents in interface Composite

getComponent

public Type getComponent(int number)
                  throws DataTypeException
Returns an individual data component.

Specified by:
getComponent in interface Composite
Parameters:
number - The component number (0-indexed)
Throws:
DataTypeException - if the given element number is out of range.

getIdentifier

public ST getIdentifier()
Returns identifier (ST) (component #1). This is a convenience method that saves you from casting and handling an exception.


getCe1_Identifier

public ST getCe1_Identifier()
Returns identifier (ST) (component #1). This is a convenience method that saves you from casting and handling an exception.


getText

public ST getText()
Returns text (component #2). This is a convenience method that saves you from casting and handling an exception.


getCe2_Text

public ST getCe2_Text()
Returns text (component #2). This is a convenience method that saves you from casting and handling an exception.


getNameOfCodingSystem

public IS getNameOfCodingSystem()
Returns name of coding system (component #3). This is a convenience method that saves you from casting and handling an exception.


getCe3_NameOfCodingSystem

public IS getCe3_NameOfCodingSystem()
Returns name of coding system (component #3). This is a convenience method that saves you from casting and handling an exception.


getAlternateIdentifier

public ST getAlternateIdentifier()
Returns alternate identifier (ST) (component #4). This is a convenience method that saves you from casting and handling an exception.


getCe4_AlternateIdentifier

public ST getCe4_AlternateIdentifier()
Returns alternate identifier (ST) (component #4). This is a convenience method that saves you from casting and handling an exception.


getAlternateText

public ST getAlternateText()
Returns alternate text (component #5). This is a convenience method that saves you from casting and handling an exception.


getCe5_AlternateText

public ST getCe5_AlternateText()
Returns alternate text (component #5). This is a convenience method that saves you from casting and handling an exception.


getNameOfAlternateCodingSystem

public IS getNameOfAlternateCodingSystem()
Returns name of alternate coding system (component #6). This is a convenience method that saves you from casting and handling an exception.


getCe6_NameOfAlternateCodingSystem

public IS getCe6_NameOfAlternateCodingSystem()
Returns name of alternate coding system (component #6). This is a convenience method that saves you from casting and handling an exception.



Copyright © 2001-2011 University Health Network. All Rights Reserved.