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

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

public class CNE
extends AbstractType
implements Composite

Represents an HL7 CNE (coded with no exceptions) data type. This type consists of the following components:

See Also:
Serialized Form

Constructor Summary
CNE(Message message)
          Creates a new CNE type
 
Method Summary
 ST getAlternateCodingSystemVersionID()
          Returns alternate coding system version ID (component #8).
 ST getAlternateIdentifier()
          Returns alternate identifier (ST) (component #4).
 ST getAlternateText()
          Returns alternate text (component #5).
 ST getCne1_Identifier()
          Returns identifier (ST) (component #1).
 ST getCne2_Text()
          Returns text (component #2).
 IS getCne3_NameOfCodingSystem()
          Returns name of coding system (component #3).
 ST getCne4_AlternateIdentifier()
          Returns alternate identifier (ST) (component #4).
 ST getCne5_AlternateText()
          Returns alternate text (component #5).
 IS getCne6_NameOfAlternateCodingSystem()
          Returns name of alternate coding system (component #6).
 ST getCne7_CodingSystemVersionID()
          Returns coding system version ID (component #7).
 ST getCne8_AlternateCodingSystemVersionID()
          Returns alternate coding system version ID (component #8).
 ST getCne9_OriginalText()
          Returns original text (component #9).
 ST getCodingSystemVersionID()
          Returns coding system version ID (component #7).
 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 getOriginalText()
          Returns original text (component #9).
 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

CNE

public CNE(Message message)
Creates a new CNE 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.


getCne1_Identifier

public ST getCne1_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.


getCne2_Text

public ST getCne2_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.


getCne3_NameOfCodingSystem

public IS getCne3_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.


getCne4_AlternateIdentifier

public ST getCne4_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.


getCne5_AlternateText

public ST getCne5_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.


getCne6_NameOfAlternateCodingSystem

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


getCodingSystemVersionID

public ST getCodingSystemVersionID()
Returns coding system version ID (component #7). This is a convenience method that saves you from casting and handling an exception.


getCne7_CodingSystemVersionID

public ST getCne7_CodingSystemVersionID()
Returns coding system version ID (component #7). This is a convenience method that saves you from casting and handling an exception.


getAlternateCodingSystemVersionID

public ST getAlternateCodingSystemVersionID()
Returns alternate coding system version ID (component #8). This is a convenience method that saves you from casting and handling an exception.


getCne8_AlternateCodingSystemVersionID

public ST getCne8_AlternateCodingSystemVersionID()
Returns alternate coding system version ID (component #8). This is a convenience method that saves you from casting and handling an exception.


getOriginalText

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


getCne9_OriginalText

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



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