public class PN extends AbstractComposite
Represents an HL7 PN (person name) data type. This type consists of the following components:
log
Constructor and Description |
---|
PN(Message message)
Creates a new PN type
|
Modifier and Type | Method and Description |
---|---|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
ST |
getDegree()
Returns degree (component 6).
|
ST |
getFamilyName()
Returns family name (component 1).
|
ST |
getGivenName()
Returns given name (component 2).
|
ST |
getMiddleInitialOrName()
Returns middle initial or name (component 3).
|
ST |
getPn1_FamilyName()
Returns family name (component 1).
|
ST |
getPn2_GivenName()
Returns given name (component 2).
|
ST |
getPn3_MiddleInitialOrName()
Returns middle initial or name (component 3).
|
ST |
getPn4_Suffix()
Returns suffix (component 4).
|
ST |
getPn5_Prefix()
Returns prefix (component 5).
|
ST |
getPn6_Degree()
Returns degree (component 6).
|
ST |
getPrefix()
Returns prefix (component 5).
|
ST |
getSuffix()
Returns suffix (component 4).
|
accept, clear, getTyped, isEmpty, provideLocation
encode, getExtraComponents, getMessage, getName, parse, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
encode, getExtraComponents, getMessage, getName, parse
public 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 getFamilyName()
public ST getPn1_FamilyName()
public ST getGivenName()
public ST getPn2_GivenName()
public ST getMiddleInitialOrName()
public ST getPn3_MiddleInitialOrName()
public ST getSuffix()
public ST getPn4_Suffix()
public ST getPrefix()
public ST getPn5_Prefix()
public ST getDegree()
public ST getPn6_Degree()
Copyright © 2001–2017 University Health Network. All rights reserved.