public class CM_OSP extends AbstractComposite
Represents an HL7 CM_OSP (occurence span) data type. This type consists of the following components:
log
Constructor and Description |
---|
CM_OSP(Message message)
Creates a new CM_OSP type
|
Modifier and Type | Method and Description |
---|---|
CE |
getCm_osp1_OccurrenceSpanCode()
Returns occurrence span code (component 1).
|
DT |
getCm_osp2_OccurrenceSpanStartDate()
Returns occurrence span start date (component 2).
|
DT |
getCm_osp3_OccurrenceSpanStopDate()
Returns occurrence span stop date (component 3).
|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
CE |
getOccurrenceSpanCode()
Returns occurrence span code (component 1).
|
DT |
getOccurrenceSpanStartDate()
Returns occurrence span start date (component 2).
|
DT |
getOccurrenceSpanStopDate()
Returns occurrence span stop date (component 3).
|
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 CE getOccurrenceSpanCode()
public CE getCm_osp1_OccurrenceSpanCode()
public DT getOccurrenceSpanStartDate()
public DT getCm_osp2_OccurrenceSpanStartDate()
public DT getOccurrenceSpanStopDate()
public DT getCm_osp3_OccurrenceSpanStopDate()
Copyright © 2001–2017 University Health Network. All rights reserved.