Package ca.uhn.hl7v2.model.v24.datatype
Class CX
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v24.datatype.CX
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
Represents an HL7 CX (extended composite ID with check digit) data type. This type consists of the following components:
- ID (ST)
- check digit (ST) (ST)
- code identifying the check digit scheme employed (ID)
- assigning authority (HD)
- identifier type code (ID) (ID)
- assigning facility (HD)
- effective date (DT) (DT)
- expiration date (DT)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns assigning authority (component 4).Returns assigning facility (component 6).Returns check digit (ST) (component 2).Returns code identifying the check digit scheme employed (component 3).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns ID (component 1).Returns check digit (ST) (component 2).Returns code identifying the check digit scheme employed (component 3).Returns assigning authority (component 4).Returns identifier type code (ID) (component 5).Returns assigning facility (component 6).Returns effective date (DT) (component 7).Returns expiration date (component 8).Returns effective date (DT) (component 7).Returns expiration date (component 8).getID()Returns ID (component 1).Returns identifier type code (ID) (component 5).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
-
CX
Creates a new CX 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.
-
getID
Returns ID (component 1). This is a convenience method that saves you from casting and handling an exception. -
getCx1_ID
Returns ID (component 1). This is a convenience method that saves you from casting and handling an exception. -
getCheckDigit
Returns check digit (ST) (component 2). This is a convenience method that saves you from casting and handling an exception. -
getCx2_CheckDigit
Returns check digit (ST) (component 2). This is a convenience method that saves you from casting and handling an exception. -
getCodeIdentifyingTheCheckDigitSchemeEmployed
Returns code identifying the check digit scheme employed (component 3). This is a convenience method that saves you from casting and handling an exception. -
getCx3_CodeIdentifyingTheCheckDigitSchemeEmployed
Returns code identifying the check digit scheme employed (component 3). This is a convenience method that saves you from casting and handling an exception. -
getAssigningAuthority
Returns assigning authority (component 4). This is a convenience method that saves you from casting and handling an exception. -
getCx4_AssigningAuthority
Returns assigning authority (component 4). This is a convenience method that saves you from casting and handling an exception. -
getIdentifierTypeCode
Returns identifier type code (ID) (component 5). This is a convenience method that saves you from casting and handling an exception. -
getCx5_IdentifierTypeCode
Returns identifier type code (ID) (component 5). This is a convenience method that saves you from casting and handling an exception. -
getAssigningFacility
Returns assigning facility (component 6). This is a convenience method that saves you from casting and handling an exception. -
getCx6_AssigningFacility
Returns assigning facility (component 6). This is a convenience method that saves you from casting and handling an exception. -
getEffectiveDate
Returns effective date (DT) (component 7). This is a convenience method that saves you from casting and handling an exception. -
getCx7_EffectiveDate
Returns effective date (DT) (component 7). This is a convenience method that saves you from casting and handling an exception. -
getExpirationDate
Returns expiration date (component 8). This is a convenience method that saves you from casting and handling an exception. -
getCx8_ExpirationDate
Returns expiration date (component 8). This is a convenience method that saves you from casting and handling an exception.
-