au.gov.nehta.vendorlibrary.mdm.datatypes
Class CE

java.lang.Object
  extended by au.gov.nehta.vendorlibrary.mdm.datatypes.CE

public final class CE
extends java.lang.Object

CE Encapsulates an HL7 V2 coded element (CE).


Nested Class Summary
static class CE.Builder
          CE.Builder Build class used to construct and validate an CE object.
 
Method Summary
 CodingSystem getCodingSystem()
          Retrieve identifier's coding system.
 java.lang.String getIdentifier()
          Retrieve identifier.
 java.lang.String getText()
          Retrieve text description.
static CE parse(java.lang.String parseValue)
          Parse CE from string.
 java.lang.String toString()
          Outputs an CE in the following format:

identifier^text^codingSystem

Variables that are not set are denoted by an empty string.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getIdentifier

public java.lang.String getIdentifier()
Retrieve identifier.

Returns:
Identifier.

getText

public java.lang.String getText()
Retrieve text description.

Returns:
Text.

getCodingSystem

public CodingSystem getCodingSystem()
Retrieve identifier's coding system.

Returns:
Coding system.

parse

public static CE parse(java.lang.String parseValue)
Parse CE from string.

Parameters:
parseValue - String to be parsed (not null).
Returns:
CE

toString

public java.lang.String toString()
Outputs an CE in the following format:

identifier^text^codingSystem

Variables that are not set are denoted by an empty string.

Trailing '^' symbols are trimmed. For example:

'identifier^^' becomes 'identifier'

Overrides:
toString in class java.lang.Object
Returns:
Formatted string.