Package ca.uhn.hl7v2.model.v251.datatype
Class XCN
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.datatype.XCN
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
Represents an HL7 XCN (Extended Composite ID Number and Name for Persons) data type. This type consists of the following components:
- ID Number (ST)
- Family Name (FN)
- Given Name (ST)
- Second and Further Given Names or Initials Thereof (ST)
- Suffix (e.g., JR or III) (ST)
- Prefix (e.g., DR) (ST)
- Degree (e.g., MD) (IS)
- Source Table (IS)
- Assigning Authority (HD)
- Name Type Code (ID)
- Identifier Check Digit (ST)
- Check Digit Scheme (ID)
- Identifier Type Code (ID)
- Assigning Facility (HD)
- Name Representation Code (ID)
- Name Context (CE)
- Name Validity Range (DR)
- Name Assembly Order (ID)
- Effective Date (TS)
- Expiration Date (TS)
- Professional Suffix (ST)
- Assigning Jurisdiction (CWE)
- Assigning Agency or Department (CWE)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Assigning Agency or Department (component 23).Returns Assigning Authority (component 9).Returns Assigning Facility (component 14).Returns Assigning Jurisdiction (component 22).Returns Check Digit Scheme (component 12).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns Degree (e.g., MD) (component 7).Returns Effective Date (component 19).Returns Expiration Date (component 20).Returns Family Name (component 2).Returns Given Name (component 3).Returns Identifier Check Digit (component 11).Returns Identifier Type Code (component 13).Returns ID Number (component 1).Returns Name Assembly Order (component 18).Returns Name Context (component 16).Returns Name Representation Code (component 15).Returns Name Type Code (component 10).Returns Name Validity Range (component 17).Returns Prefix (e.g., DR) (component 6).Returns Professional Suffix (component 21).Returns Second and Further Given Names or Initials Thereof (component 4).Returns Source Table (component 8).Returns Suffix (e.g., JR or III) (component 5).Returns ID Number (component 1).Returns Name Type Code (component 10).Returns Identifier Check Digit (component 11).Returns Check Digit Scheme (component 12).Returns Identifier Type Code (component 13).Returns Assigning Facility (component 14).Returns Name Representation Code (component 15).Returns Name Context (component 16).Returns Name Validity Range (component 17).Returns Name Assembly Order (component 18).Returns Effective Date (component 19).Returns Family Name (component 2).Returns Expiration Date (component 20).Returns Professional Suffix (component 21).Returns Assigning Jurisdiction (component 22).Returns Assigning Agency or Department (component 23).Returns Given Name (component 3).Returns Second and Further Given Names or Initials Thereof (component 4).Returns Suffix (e.g., JR or III) (component 5).Returns Prefix (e.g., DR) (component 6).Returns Degree (e.g., MD) (component 7).Returns Source Table (component 8).Returns Assigning Authority (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
-
XCN
Creates a new XCN 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. -
getXcn1_IDNumber
Returns ID Number (component 1). This is a convenience method that saves you from casting and handling an exception. -
getFamilyName
Returns Family Name (component 2). This is a convenience method that saves you from casting and handling an exception. -
getXcn2_FamilyName
Returns Family Name (component 2). This is a convenience method that saves you from casting and handling an exception. -
getGivenName
Returns Given Name (component 3). This is a convenience method that saves you from casting and handling an exception. -
getXcn3_GivenName
Returns Given Name (component 3). This is a convenience method that saves you from casting and handling an exception. -
getSecondAndFurtherGivenNamesOrInitialsThereof
Returns Second and Further Given Names or Initials Thereof (component 4). This is a convenience method that saves you from casting and handling an exception. -
getXcn4_SecondAndFurtherGivenNamesOrInitialsThereof
Returns Second and Further Given Names or Initials Thereof (component 4). This is a convenience method that saves you from casting and handling an exception. -
getSuffixEgJRorIII
Returns Suffix (e.g., JR or III) (component 5). This is a convenience method that saves you from casting and handling an exception. -
getXcn5_SuffixEgJRorIII
Returns Suffix (e.g., JR or III) (component 5). This is a convenience method that saves you from casting and handling an exception. -
getPrefixEgDR
Returns Prefix (e.g., DR) (component 6). This is a convenience method that saves you from casting and handling an exception. -
getXcn6_PrefixEgDR
Returns Prefix (e.g., DR) (component 6). This is a convenience method that saves you from casting and handling an exception. -
getDegreeEgMD
Returns Degree (e.g., MD) (component 7). This is a convenience method that saves you from casting and handling an exception. -
getXcn7_DegreeEgMD
Returns Degree (e.g., MD) (component 7). This is a convenience method that saves you from casting and handling an exception. -
getSourceTable
Returns Source Table (component 8). This is a convenience method that saves you from casting and handling an exception. -
getXcn8_SourceTable
Returns Source Table (component 8). This is a convenience method that saves you from casting and handling an exception. -
getAssigningAuthority
Returns Assigning Authority (component 9). This is a convenience method that saves you from casting and handling an exception. -
getXcn9_AssigningAuthority
Returns Assigning Authority (component 9). This is a convenience method that saves you from casting and handling an exception. -
getNameTypeCode
Returns Name Type Code (component 10). This is a convenience method that saves you from casting and handling an exception. -
getXcn10_NameTypeCode
Returns Name Type Code (component 10). This is a convenience method that saves you from casting and handling an exception. -
getIdentifierCheckDigit
Returns Identifier Check Digit (component 11). This is a convenience method that saves you from casting and handling an exception. -
getXcn11_IdentifierCheckDigit
Returns Identifier Check Digit (component 11). This is a convenience method that saves you from casting and handling an exception. -
getCheckDigitScheme
Returns Check Digit Scheme (component 12). This is a convenience method that saves you from casting and handling an exception. -
getXcn12_CheckDigitScheme
Returns Check Digit Scheme (component 12). This is a convenience method that saves you from casting and handling an exception. -
getIdentifierTypeCode
Returns Identifier Type Code (component 13). This is a convenience method that saves you from casting and handling an exception. -
getXcn13_IdentifierTypeCode
Returns Identifier Type Code (component 13). This is a convenience method that saves you from casting and handling an exception. -
getAssigningFacility
Returns Assigning Facility (component 14). This is a convenience method that saves you from casting and handling an exception. -
getXcn14_AssigningFacility
Returns Assigning Facility (component 14). This is a convenience method that saves you from casting and handling an exception. -
getNameRepresentationCode
Returns Name Representation Code (component 15). This is a convenience method that saves you from casting and handling an exception. -
getXcn15_NameRepresentationCode
Returns Name Representation Code (component 15). This is a convenience method that saves you from casting and handling an exception. -
getNameContext
Returns Name Context (component 16). This is a convenience method that saves you from casting and handling an exception. -
getXcn16_NameContext
Returns Name Context (component 16). This is a convenience method that saves you from casting and handling an exception. -
getNameValidityRange
Returns Name Validity Range (component 17). This is a convenience method that saves you from casting and handling an exception. -
getXcn17_NameValidityRange
Returns Name Validity Range (component 17). This is a convenience method that saves you from casting and handling an exception. -
getNameAssemblyOrder
Returns Name Assembly Order (component 18). This is a convenience method that saves you from casting and handling an exception. -
getXcn18_NameAssemblyOrder
Returns Name Assembly Order (component 18). This is a convenience method that saves you from casting and handling an exception. -
getEffectiveDate
Returns Effective Date (component 19). This is a convenience method that saves you from casting and handling an exception. -
getXcn19_EffectiveDate
Returns Effective Date (component 19). This is a convenience method that saves you from casting and handling an exception. -
getExpirationDate
Returns Expiration Date (component 20). This is a convenience method that saves you from casting and handling an exception. -
getXcn20_ExpirationDate
Returns Expiration Date (component 20). This is a convenience method that saves you from casting and handling an exception. -
getProfessionalSuffix
Returns Professional Suffix (component 21). This is a convenience method that saves you from casting and handling an exception. -
getXcn21_ProfessionalSuffix
Returns Professional Suffix (component 21). This is a convenience method that saves you from casting and handling an exception. -
getAssigningJurisdiction
Returns Assigning Jurisdiction (component 22). This is a convenience method that saves you from casting and handling an exception. -
getXcn22_AssigningJurisdiction
Returns Assigning Jurisdiction (component 22). This is a convenience method that saves you from casting and handling an exception. -
getAssigningAgencyOrDepartment
Returns Assigning Agency or Department (component 23). This is a convenience method that saves you from casting and handling an exception. -
getXcn23_AssigningAgencyOrDepartment
Returns Assigning Agency or Department (component 23). This is a convenience method that saves you from casting and handling an exception.
-