ca.uhn.hl7v2.model.v24.datatype
Class XON

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractType
      extended by ca.uhn.hl7v2.model.v24.datatype.XON
All Implemented Interfaces:
Composite, Type, Serializable

public class XON
extends AbstractType
implements Composite

Represents an HL7 XON (extended composite name and identification number for organizations) data type. This type consists of the following components:

See Also:
Serialized Form

Constructor Summary
XON(Message message)
          Creates a new XON type
 
Method Summary
 HD getAssigningAuthority()
          Returns assigning authority (component #6).
 HD getAssigningFacilityID()
          Returns assigning facility ID (component #8).
 ST getCheckDigit()
          Returns check digit (NM) (component #4).
 ID getCodeIdentifyingTheCheckDigitSchemeEmployed()
          Returns code identifying the check digit scheme employed (component #5).
 Type getComponent(int number)
          Returns an individual data component.
 Type[] getComponents()
          Returns an array containing the data elements.
 IS getIdentifierTypeCode()
          Returns identifier type code (IS) (component #7).
 NM getIDNumber()
          Returns ID number (NM) (component #3).
 ID getNameRepresentationCode()
          Returns Name Representation code (component #9).
 ST getOrganizationName()
          Returns organization name (component #1).
 IS getOrganizationNameTypeCode()
          Returns organization name type code (component #2).
 ST getXon1_OrganizationName()
          Returns organization name (component #1).
 IS getXon2_OrganizationNameTypeCode()
          Returns organization name type code (component #2).
 NM getXon3_IDNumber()
          Returns ID number (NM) (component #3).
 ST getXon4_CheckDigit()
          Returns check digit (NM) (component #4).
 ID getXon5_CodeIdentifyingTheCheckDigitSchemeEmployed()
          Returns code identifying the check digit scheme employed (component #5).
 HD getXon6_AssigningAuthority()
          Returns assigning authority (component #6).
 IS getXon7_IdentifierTypeCode()
          Returns identifier type code (IS) (component #7).
 HD getXon8_AssigningFacilityID()
          Returns assigning facility ID (component #8).
 ID getXon9_NameRepresentationCode()
          Returns Name Representation code (component #9).
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractType
clear, encode, getExtraComponents, getMessage, getName, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ca.uhn.hl7v2.model.Type
clear, encode, getExtraComponents, getMessage, getName, parse
 

Constructor Detail

XON

public XON(Message message)
Creates a new XON type

Method Detail

getComponents

public Type[] getComponents()
Returns an array containing the data elements.

Specified by:
getComponents in interface Composite

getComponent

public Type getComponent(int number)
                  throws DataTypeException
Returns an individual data component.

Specified by:
getComponent in interface Composite
Parameters:
number - The component number (0-indexed)
Throws:
DataTypeException - if the given element number is out of range.

getOrganizationName

public ST getOrganizationName()
Returns organization name (component #1). This is a convenience method that saves you from casting and handling an exception.


getXon1_OrganizationName

public ST getXon1_OrganizationName()
Returns organization name (component #1). This is a convenience method that saves you from casting and handling an exception.


getOrganizationNameTypeCode

public IS getOrganizationNameTypeCode()
Returns organization name type code (component #2). This is a convenience method that saves you from casting and handling an exception.


getXon2_OrganizationNameTypeCode

public IS getXon2_OrganizationNameTypeCode()
Returns organization name type code (component #2). This is a convenience method that saves you from casting and handling an exception.


getIDNumber

public NM getIDNumber()
Returns ID number (NM) (component #3). This is a convenience method that saves you from casting and handling an exception.


getXon3_IDNumber

public NM getXon3_IDNumber()
Returns ID number (NM) (component #3). This is a convenience method that saves you from casting and handling an exception.


getCheckDigit

public ST getCheckDigit()
Returns check digit (NM) (component #4). This is a convenience method that saves you from casting and handling an exception.


getXon4_CheckDigit

public ST getXon4_CheckDigit()
Returns check digit (NM) (component #4). This is a convenience method that saves you from casting and handling an exception.


getCodeIdentifyingTheCheckDigitSchemeEmployed

public ID 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

public ID 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

public HD getAssigningAuthority()
Returns assigning authority (component #6). This is a convenience method that saves you from casting and handling an exception.


getXon6_AssigningAuthority

public HD getXon6_AssigningAuthority()
Returns assigning authority (component #6). This is a convenience method that saves you from casting and handling an exception.


getIdentifierTypeCode

public IS getIdentifierTypeCode()
Returns identifier type code (IS) (component #7). This is a convenience method that saves you from casting and handling an exception.


getXon7_IdentifierTypeCode

public IS getXon7_IdentifierTypeCode()
Returns identifier type code (IS) (component #7). This is a convenience method that saves you from casting and handling an exception.


getAssigningFacilityID

public HD getAssigningFacilityID()
Returns assigning facility ID (component #8). This is a convenience method that saves you from casting and handling an exception.


getXon8_AssigningFacilityID

public HD getXon8_AssigningFacilityID()
Returns assigning facility ID (component #8). This is a convenience method that saves you from casting and handling an exception.


getNameRepresentationCode

public ID getNameRepresentationCode()
Returns Name Representation code (component #9). This is a convenience method that saves you from casting and handling an exception.


getXon9_NameRepresentationCode

public ID getXon9_NameRepresentationCode()
Returns Name Representation code (component #9). This is a convenience method that saves you from casting and handling an exception.



Copyright © 2001-2011 University Health Network. All Rights Reserved.