Package ca.uhn.hl7v2.model.v24.datatype
Class XON
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v24.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) (NM)
- check digit (NM) (ST)
- code identifying the check digit scheme employed (ID)
- assigning authority (HD)
- identifier type code (IS) (IS)
- assigning facility ID (HD)
- Name Representation code (ID)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns assigning authority (component 6).Returns assigning facility ID (component 8).Returns check digit (NM) (component 4).Returns code identifying the check digit scheme employed (component 5).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns identifier type code (IS) (component 7).Returns ID number (NM) (component 3).Returns Name Representation code (component 9).Returns organization name (component 1).Returns organization name type code (component 2).Returns organization name (component 1).Returns organization name type code (component 2).Returns ID number (NM) (component 3).Returns check digit (NM) (component 4).Returns code identifying the check digit scheme employed (component 5).Returns assigning authority (component 6).Returns identifier type code (IS) (component 7).Returns assigning facility ID (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 (NM) (component 3). This is a convenience method that saves you from casting and handling an exception. -
getXon3_IDNumber
Returns ID number (NM) (component 3). This is a convenience method that saves you from casting and handling an exception. -
getCheckDigit
Returns check digit (NM) (component 4). This is a convenience method that saves you from casting and handling an exception. -
getXon4_CheckDigit
Returns check digit (NM) (component 4). This is a convenience method that saves you from casting and handling an exception. -
getCodeIdentifyingTheCheckDigitSchemeEmployed
Returns code identifying the check digit scheme employed (component 5). This is a convenience method that saves you from casting and handling an exception. -
getXon5_CodeIdentifyingTheCheckDigitSchemeEmployed
Returns code identifying the check digit scheme employed (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 (IS) (component 7). This is a convenience method that saves you from casting and handling an exception. -
getXon7_IdentifierTypeCode
Returns identifier type code (IS) (component 7). This is a convenience method that saves you from casting and handling an exception. -
getAssigningFacilityID
Returns assigning facility ID (component 8). This is a convenience method that saves you from casting and handling an exception. -
getXon8_AssigningFacilityID
Returns assigning facility ID (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.
-