Package ca.uhn.hl7v2.model.v251.datatype
Class CX
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.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 Number (ST)
- Check Digit (ST)
- Check Digit Scheme (ID)
- Assigning Authority (HD)
- Identifier Type Code (ID)
- Assigning Facility (HD)
- Effective Date (DT)
- Expiration Date (DT)
- Assigning Jurisdiction (CWE)
- Assigning Agency or Department (CWE)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Assigning Agency or Department (component 10).Returns Assigning Authority (component 4).Returns Assigning Facility (component 6).Returns Assigning Jurisdiction (component 9).Returns Check Digit (component 2).Returns Check Digit Scheme (component 3).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns ID Number (component 1).Returns Assigning Agency or Department (component 10).Returns Check Digit (component 2).Returns Check Digit Scheme (component 3).Returns Assigning Authority (component 4).Returns Identifier Type Code (component 5).Returns Assigning Facility (component 6).Returns Effective Date (component 7).Returns Expiration Date (component 8).Returns Assigning Jurisdiction (component 9).Returns Effective Date (component 7).Returns Expiration Date (component 8).Returns Identifier Type Code (component 5).Returns ID Number (component 1).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.
-
getIDNumber
Returns ID Number (component 1). This is a convenience method that saves you from casting and handling an exception. -
getCx1_IDNumber
Returns ID Number (component 1). This is a convenience method that saves you from casting and handling an exception. -
getCheckDigit
Returns Check Digit (component 2). This is a convenience method that saves you from casting and handling an exception. -
getCx2_CheckDigit
Returns Check Digit (component 2). This is a convenience method that saves you from casting and handling an exception. -
getCheckDigitScheme
Returns Check Digit Scheme (component 3). This is a convenience method that saves you from casting and handling an exception. -
getCx3_CheckDigitScheme
Returns Check Digit Scheme (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 (component 5). This is a convenience method that saves you from casting and handling an exception. -
getCx5_IdentifierTypeCode
Returns Identifier Type Code (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 (component 7). This is a convenience method that saves you from casting and handling an exception. -
getCx7_EffectiveDate
Returns Effective Date (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. -
getAssigningJurisdiction
Returns Assigning Jurisdiction (component 9). This is a convenience method that saves you from casting and handling an exception. -
getCx9_AssigningJurisdiction
Returns Assigning Jurisdiction (component 9). This is a convenience method that saves you from casting and handling an exception. -
getAssigningAgencyOrDepartment
Returns Assigning Agency or Department (component 10). This is a convenience method that saves you from casting and handling an exception. -
getCx10_AssigningAgencyOrDepartment
Returns Assigning Agency or Department (component 10). This is a convenience method that saves you from casting and handling an exception.
-