Package ca.uhn.hl7v2.model.v251.datatype
Class CWE
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.datatype.CWE
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
Represents an HL7 CWE (Coded with Exceptions) data type. This type consists of the following components:
- Identifier (ST)
- Text (ST)
- Name of Coding System (ID)
- Alternate Identifier (ST)
- Alternate Text (ST)
- Name of Alternate Coding System (ID)
- Coding System Version ID (ST)
- Alternate Coding System Version ID (ST)
- Original Text (ST)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Alternate Coding System Version ID (component 8).Returns Alternate Identifier (component 4).Returns Alternate Text (component 5).Returns Coding System Version ID (component 7).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns Identifier (component 1).Returns Text (component 2).Returns Name of Coding System (component 3).Returns Alternate Identifier (component 4).Returns Alternate Text (component 5).Returns Name of Alternate Coding System (component 6).Returns Coding System Version ID (component 7).Returns Alternate Coding System Version ID (component 8).Returns Original Text (component 9).Returns Identifier (component 1).Returns Name of Alternate Coding System (component 6).Returns Name of Coding System (component 3).Returns Original Text (component 9).getText()Returns Text (component 2).Methods inherited from class ca.uhn.hl7v2.model.AbstractComposite
accept, clear, getTyped, isEmpty, provideLocationMethods inherited from class ca.uhn.hl7v2.model.AbstractType
encode, getExtraComponents, getMessage, getName, parse, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Type
encode, getExtraComponents, getMessage, getName, parse
-
Constructor Details
-
CWE
Creates a new CWE type
-
-
Method Details
-
getComponents
Returns an array containing the data elements. -
getComponent
Returns an individual data component.- Parameters:
number- The component number (0-indexed)- Throws:
DataTypeException- if the given element number is out of range.
-
getIdentifier
Returns Identifier (component 1). This is a convenience method that saves you from casting and handling an exception. -
getCwe1_Identifier
Returns Identifier (component 1). This is a convenience method that saves you from casting and handling an exception. -
getText
Returns Text (component 2). This is a convenience method that saves you from casting and handling an exception. -
getCwe2_Text
Returns Text (component 2). This is a convenience method that saves you from casting and handling an exception. -
getNameOfCodingSystem
Returns Name of Coding System (component 3). This is a convenience method that saves you from casting and handling an exception. -
getCwe3_NameOfCodingSystem
Returns Name of Coding System (component 3). This is a convenience method that saves you from casting and handling an exception. -
getAlternateIdentifier
Returns Alternate Identifier (component 4). This is a convenience method that saves you from casting and handling an exception. -
getCwe4_AlternateIdentifier
Returns Alternate Identifier (component 4). This is a convenience method that saves you from casting and handling an exception. -
getAlternateText
Returns Alternate Text (component 5). This is a convenience method that saves you from casting and handling an exception. -
getCwe5_AlternateText
Returns Alternate Text (component 5). This is a convenience method that saves you from casting and handling an exception. -
getNameOfAlternateCodingSystem
Returns Name of Alternate Coding System (component 6). This is a convenience method that saves you from casting and handling an exception. -
getCwe6_NameOfAlternateCodingSystem
Returns Name of Alternate Coding System (component 6). This is a convenience method that saves you from casting and handling an exception. -
getCodingSystemVersionID
Returns Coding System Version ID (component 7). This is a convenience method that saves you from casting and handling an exception. -
getCwe7_CodingSystemVersionID
Returns Coding System Version ID (component 7). This is a convenience method that saves you from casting and handling an exception. -
getAlternateCodingSystemVersionID
Returns Alternate Coding System Version ID (component 8). This is a convenience method that saves you from casting and handling an exception. -
getCwe8_AlternateCodingSystemVersionID
Returns Alternate Coding System Version ID (component 8). This is a convenience method that saves you from casting and handling an exception. -
getOriginalText
Returns Original Text (component 9). This is a convenience method that saves you from casting and handling an exception. -
getCwe9_OriginalText
Returns Original Text (component 9). This is a convenience method that saves you from casting and handling an exception.
-