public class CN extends AbstractComposite
Represents an HL7 CN (composite ID number and name) data type. This type consists of the following components:
log| Constructor and Description |
|---|
CN(Message message)
Creates a new CN type
|
| Modifier and Type | Method and Description |
|---|---|
ST |
getCn1_ID()
Returns ID (component 1).
|
ST |
getCn2_FamilyName()
Returns family name (component 2).
|
ST |
getCn3_GivenName()
Returns given name (component 3).
|
ST |
getCn4_MiddleInitialOrName()
Returns middle initial or name (component 4).
|
ST |
getCn5_Degree()
Returns degree (component 5).
|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
ST |
getDegree()
Returns degree (component 5).
|
ST |
getFamilyName()
Returns family name (component 2).
|
ST |
getGivenName()
Returns given name (component 3).
|
ST |
getID()
Returns ID (component 1).
|
ST |
getMiddleInitialOrName()
Returns middle initial or name (component 4).
|
clear, getTypedencode, getExtraComponents, getMessage, getName, parse, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitencode, getExtraComponents, getMessage, getName, parsepublic Type[] getComponents()
public Type getComponent(int number) throws DataTypeException
number - The component number (0-indexed)DataTypeException - if the given element number is out of range.public ST getID()
public ST getCn1_ID()
public ST getFamilyName()
public ST getCn2_FamilyName()
public ST getGivenName()
public ST getCn3_GivenName()
public ST getMiddleInitialOrName()
public ST getCn4_MiddleInitialOrName()
public ST getDegree()
public ST getCn5_Degree()
Copyright © 2001-2012 University Health Network. All Rights Reserved.