public class PT extends AbstractComposite
Represents an HL7 PT (Processing Type) data type. This type consists of the following components:
log
Constructor and Description |
---|
PT(Message message)
Creates a new PT 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.
|
ID |
getProcessingID()
Returns Processing ID (component 1).
|
ID |
getProcessingMode()
Returns Processing Mode (component 2).
|
ID |
getPt1_ProcessingID()
Returns Processing ID (component 1).
|
ID |
getPt2_ProcessingMode()
Returns Processing Mode (component 2).
|
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 ID getProcessingID()
public ID getPt1_ProcessingID()
public ID getProcessingMode()
public ID getPt2_ProcessingMode()
Copyright © 2001–2017 University Health Network. All rights reserved.