Package ca.uhn.hl7v2.model.v251.datatype
Class CF
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.datatype.CF
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
Represents an HL7 CF (Coded Element with Formatted Values) data type. This type consists of the following components:
- Identifier (ST)
- Formatted Text (FT)
- Name of Coding System (ID)
- Alternate Identifier (ST)
- Alternate Formatted Text (FT)
- Name of Alternate Coding System (ID)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Alternate Formatted Text (component 5).Returns Alternate Identifier (component 4).Returns Identifier (component 1).Returns Formatted Text (component 2).Returns Name of Coding System (component 3).Returns Alternate Identifier (component 4).Returns Alternate Formatted Text (component 5).Returns Name of Alternate Coding System (component 6).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns Formatted Text (component 2).Returns Identifier (component 1).Returns Name of Alternate Coding System (component 6).Returns Name of Coding System (component 3).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
-
CF
Creates a new CF 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. -
getCf1_Identifier
Returns Identifier (component 1). This is a convenience method that saves you from casting and handling an exception. -
getFormattedText
Returns Formatted Text (component 2). This is a convenience method that saves you from casting and handling an exception. -
getCf2_FormattedText
Returns Formatted 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. -
getCf3_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. -
getCf4_AlternateIdentifier
Returns Alternate Identifier (component 4). This is a convenience method that saves you from casting and handling an exception. -
getAlternateFormattedText
Returns Alternate Formatted Text (component 5). This is a convenience method that saves you from casting and handling an exception. -
getCf5_AlternateFormattedText
Returns Alternate Formatted 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. -
getCf6_NameOfAlternateCodingSystem
Returns Name of Alternate Coding System (component 6). This is a convenience method that saves you from casting and handling an exception.
-