public class CDO extends Segment
Represents an HL7 CDO message segment. This segment has the following fields:
CDO-1: Set ID - CDO (SI)Optional
CDO-2: Action Code (ID)Optional
CDO-3: Cumulative Dosage Limit (CQ)Optional
CDO-4: Cumulative Dosage Limit Time Interval (CQ)Optional
This class provides mechanism to validate message against HL7 v 2.8.2 standard.
The class provides accessors & mutators for the elements mentioned above.
The class has validate method which validates Message against HL7 v 2.8.2 standard.
User can also create Segment through SegmentFactory
| Constructor and Description |
|---|
CDO()
Constructs the ABS segment.
|
| Modifier and Type | Method and Description |
|---|---|
ID |
getActionCode()
Retrieves the Action Code.
|
CQ |
getCumulativeDosageLimit()
Retrieves the Cumulative Dosage Limit.
|
CQ |
getCumulativeDosageLimitTimeInterval()
Retrieves the Cumulative Dosage Limit Time Interval.
|
SI |
getSetID_CDO()
Retrieves the Set ID CDO.
|
void |
setActionCode(ID objActionCode)
Set the Action Code.
|
void |
setActionCode(java.lang.String strActionCode)
Set the Action Code.
|
void |
setCumulativeDosageLimit(CQ objCumulativeDosageLimit)
Set the Cumulative Dosage Limit.
|
void |
setCumulativeDosageLimit(java.lang.String strQuantity,
CWE objUnits)
Set the Cumulative Dosage Limit.
|
void |
setCumulativeDosageLimitTimeInterval(CQ objCumulativeDosageLimitTimeInterval)
Set the Cumulative Dosage Limit Time Interval.
|
void |
setCumulativeDosageLimitTimeInterval(java.lang.String strQuantity,
CWE objUnits)
Set the Cumulative Dosage Limit Time Interval.
|
void |
setSetID_CDO(SI objSetID_CDO)
Set the Set ID CDO.
|
void |
setSetID_CDO(java.lang.String strSetID_CDO)
`
Set the Set ID CDO.
|
addUnRecognizedField, dumpSegment, getFields, getName, getUnrecognizedFields, moveToNextSegment, parse, removeDataElement, removeDataElement, serialize, setName, setUnRecognizedField, updateDataElement, updateDataElement, validate, writeToXMLpublic SI getSetID_CDO()
public void setSetID_CDO(java.lang.String strSetID_CDO)
strSetID_CDO - This field contains the number that identifies CDO transaction.public void setSetID_CDO(SI objSetID_CDO)
objSetID_CDO - Object of Set ID CDO.public ID getActionCode()
public void setActionCode(java.lang.String strActionCode)
strActionCode - This field identifies indicates whether the cumulative dosage segment is intended to be added, deleted, updated, or did not change.public void setActionCode(ID objActionCode)
objActionCode - This field indicates whether the cumulative dosage segment is intended to be added, deleted, updated, or did not change.public CQ getCumulativeDosageLimit()
public void setCumulativeDosageLimit(java.lang.String strQuantity,
CWE objUnits)
strQuantity - Specifies the numeric quantity or amount of an entity.objUnits - Specifies the units in which the quantity is expressed.public void setCumulativeDosageLimit(CQ objCumulativeDosageLimit)
objCumulativeDosageLimit - Object of Cumulative Dosage Limit.public CQ getCumulativeDosageLimitTimeInterval()
public void setCumulativeDosageLimitTimeInterval(java.lang.String strQuantity,
CWE objUnits)
strQuantity - Specifies the numeric quantity or amount of an entity.objUnits - Specifies the units in which the quantity is expressed.public void setCumulativeDosageLimitTimeInterval(CQ objCumulativeDosageLimitTimeInterval)
objCumulativeDosageLimitTimeInterval - Object of Cumulative Dosage Limit Time Interval.