public class DR extends AbstractComposite
Represents an HL7 DR (Date/Time Range) data type. This type consists of the following components:
log
Constructor and Description |
---|
DR(Message message)
Creates a new DR 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.
|
DTM |
getDr1_RangeStartDateTime()
Returns Range Start Date/Time (component 1).
|
DTM |
getDr2_RangeEndDateTime()
Returns Range End Date/Time (component 2).
|
DTM |
getRangeEndDateTime()
Returns Range End Date/Time (component 2).
|
DTM |
getRangeStartDateTime()
Returns Range Start Date/Time (component 1).
|
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 DTM getRangeStartDateTime()
public DTM getDr1_RangeStartDateTime()
public DTM getRangeEndDateTime()
public DTM getDr2_RangeEndDateTime()
Copyright © 2001–2017 University Health Network. All rights reserved.