public class MSG extends AbstractComposite
Represents an HL7 MSG (Message Type) data type. This type consists of the following components:
log
Constructor and Description |
---|
MSG(Message message)
Creates a new MSG 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 |
getMessageStructure()
Returns message structure (component 3).
|
ID |
getMessageType()
Returns message type (component 1).
|
ID |
getMsg1_MessageType()
Returns message type (component 1).
|
ID |
getMsg2_TriggerEvent()
Returns trigger event (component 2).
|
ID |
getMsg3_MessageStructure()
Returns message structure (component 3).
|
ID |
getTriggerEvent()
Returns trigger event (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 getMessageType()
public ID getMsg1_MessageType()
public ID getTriggerEvent()
public ID getMsg2_TriggerEvent()
public ID getMessageStructure()
public ID getMsg3_MessageStructure()
Copyright © 2001–2017 University Health Network. All rights reserved.