|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectau.gov.nehta.vendorlibrary.mdm.datatypes.CE
public final class CE
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 |
---|
public java.lang.String getIdentifier()
public java.lang.String getText()
public CodingSystem getCodingSystem()
public static CE parse(java.lang.String parseValue)
CE
from string.
parseValue
- String to be parsed (not null).
CE
public java.lang.String toString()
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'
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |