Package ca.uhn.hl7v2.model.v251.datatype
Class XON
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.datatype.XON
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
Represents an HL7 XON (Extended Composite Name and Identification Number for Organizations) data type. This type consists of the following components:
- Organization Name (ST)
- Organization Name Type Code (IS)
- ID Number (NM)
- Check Digit (NM)
- Check Digit Scheme (ID)
- Assigning Authority (HD)
- Identifier Type Code (ID)
- Assigning Facility (HD)
- Name Representation Code (ID)
- Organization Identifier (ST)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Assigning Authority (component 6).Returns Assigning Facility (component 8).Returns Check Digit (component 4).Returns Check Digit Scheme (component 5).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns Identifier Type Code (component 7).Returns ID Number (component 3).Returns Name Representation Code (component 9).Returns Organization Identifier (component 10).Returns Organization Name (component 1).Returns Organization Name Type Code (component 2).Returns Organization Name (component 1).Returns Organization Identifier (component 10).Returns Organization Name Type Code (component 2).Returns ID Number (component 3).Returns Check Digit (component 4).Returns Check Digit Scheme (component 5).Returns Assigning Authority (component 6).Returns Identifier Type Code (component 7).Returns Assigning Facility (component 8).Returns Name Representation Code (component 9).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
-
XON
Creates a new XON 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.
-
getOrganizationName
Returns Organization Name (component 1). This is a convenience method that saves you from casting and handling an exception. -
getXon1_OrganizationName
Returns Organization Name (component 1). This is a convenience method that saves you from casting and handling an exception. -
getOrganizationNameTypeCode
Returns Organization Name Type Code (component 2). This is a convenience method that saves you from casting and handling an exception. -
getXon2_OrganizationNameTypeCode
Returns Organization Name Type Code (component 2). This is a convenience method that saves you from casting and handling an exception. -
getIDNumber
Returns ID Number (component 3). This is a convenience method that saves you from casting and handling an exception. -
getXon3_IDNumber
Returns ID Number (component 3). This is a convenience method that saves you from casting and handling an exception. -
getCheckDigit
Returns Check Digit (component 4). This is a convenience method that saves you from casting and handling an exception. -
getXon4_CheckDigit
Returns Check Digit (component 4). This is a convenience method that saves you from casting and handling an exception. -
getCheckDigitScheme
Returns Check Digit Scheme (component 5). This is a convenience method that saves you from casting and handling an exception. -
getXon5_CheckDigitScheme
Returns Check Digit Scheme (component 5). This is a convenience method that saves you from casting and handling an exception. -
getAssigningAuthority
Returns Assigning Authority (component 6). This is a convenience method that saves you from casting and handling an exception. -
getXon6_AssigningAuthority
Returns Assigning Authority (component 6). This is a convenience method that saves you from casting and handling an exception. -
getIdentifierTypeCode
Returns Identifier Type Code (component 7). This is a convenience method that saves you from casting and handling an exception. -
getXon7_IdentifierTypeCode
Returns Identifier Type Code (component 7). This is a convenience method that saves you from casting and handling an exception. -
getAssigningFacility
Returns Assigning Facility (component 8). This is a convenience method that saves you from casting and handling an exception. -
getXon8_AssigningFacility
Returns Assigning Facility (component 8). This is a convenience method that saves you from casting and handling an exception. -
getNameRepresentationCode
Returns Name Representation Code (component 9). This is a convenience method that saves you from casting and handling an exception. -
getXon9_NameRepresentationCode
Returns Name Representation Code (component 9). This is a convenience method that saves you from casting and handling an exception. -
getOrganizationIdentifier
Returns Organization Identifier (component 10). This is a convenience method that saves you from casting and handling an exception. -
getXon10_OrganizationIdentifier
Returns Organization Identifier (component 10). This is a convenience method that saves you from casting and handling an exception.
-