public class CM_OCD extends AbstractComposite
Represents an HL7 CM_OCD (occurence) data type. This type consists of the following components:
log
Constructor and Description |
---|
CM_OCD(Message message)
Creates a new CM_OCD type
|
Modifier and Type | Method and Description |
---|---|
ID |
getCm_ocd1_OccurrenceCode()
Returns occurrence code (component 1).
|
DT |
getCm_ocd2_OccurrenceDate()
Returns occurrence date (component 2).
|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
ID |
getOccurrenceCode()
Returns occurrence code (component 1).
|
DT |
getOccurrenceDate()
Returns occurrence date (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 getOccurrenceCode()
public ID getCm_ocd1_OccurrenceCode()
public DT getOccurrenceDate()
public DT getCm_ocd2_OccurrenceDate()
Copyright © 2001–2017 University Health Network. All rights reserved.