|
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.merge.HL7.HL7Field
com.merge.HL7.v240.fields.HL7FieldCQ
public class HL7FieldCQ
CQ cannot be legally expressed when embedded within another data type. Its use is constrained to a segment field.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.merge.HL7.HL7Field |
|---|
HL7Field.FieldFormatter |
| Field Summary |
|---|
| Fields inherited from class com.merge.HL7.HL7Field |
|---|
EMPTY_VALUE, NULL_VALUE |
| Constructor Summary | |
|---|---|
HL7FieldCQ()
Creates an empty HL7 CQ type field object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getComponentDescription(int index)
Gets the description of a component in this field. |
int |
getComponentLength(int index)
Gets the maximum number of characters for a component in this field. |
java.lang.String |
getComponentType(int index)
Gets the HL7 data type of a component in this field. |
int |
getMaxSize()
Gets the number of components defined for this field. |
java.lang.String |
getQuantity()
Gets the Quantity component of this field. |
java.lang.String |
getTableNo(int index)
Gets the table identifier of a component in this field. |
HL7FieldCE |
getUnits()
Gets the Units component of this field. |
java.lang.String |
getUnitsValue()
Gets the Units component of this field. |
boolean |
isComponentMandatory(int index)
Tells whether a component is mandatory. |
boolean |
isQuantityEmpty()
Tells whether the Quantity component has been specified. |
boolean |
isQuantityNull()
Tells whether the Quantity component has a has Null value as defined by HL7. |
boolean |
isUnitsEmpty()
Tells whether the Units component has been specified. |
boolean |
isUnitsNull()
Tells whether the Units component has a has Null value as defined by HL7. |
void |
setQuantity(java.lang.String val)
Sets the Quantity from a string. |
void |
setUnits(HL7FieldCE val)
Sets the Units component of this field. |
void |
setUnitsValue(java.lang.String val)
Sets the Units from a string. |
| Methods inherited from class com.merge.HL7.HL7Field |
|---|
clone, createField, createField, getBoolValue, getComponent, getContent, getContent, getContent, getDataType, getDateValue, getDoubleValue, getFieldFormatter, getFieldName, getHL7Version, getIntValue, getMinSize, getValue, getValue, isBasicType, isEmpty, isNull, setComponent, setContent, setContent, setFieldClass, setFormatter, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, size, toAnnotatedString, toAnnotatedString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HL7FieldCQ()
| Method Detail |
|---|
public int getMaxSize()
getMaxSize in class HL7Fieldpublic java.lang.String getComponentType(int index)
getComponentType in class HL7Fieldindex - The one based index of the component.
public java.lang.String getComponentDescription(int index)
getComponentDescription in class HL7Fieldindex - The one based index of the component.
public int getComponentLength(int index)
getComponentLength in class HL7Fieldindex - The one based index of the component.
public boolean isComponentMandatory(int index)
isComponentMandatory in class HL7Fieldindex - The one based index of the component.
public java.lang.String getTableNo(int index)
getTableNo in class HL7Fieldindex - The one based index of the component.
public java.lang.String getQuantity()
public void setQuantity(java.lang.String val)
val - The value to set for Quantitypublic boolean isQuantityEmpty()
public boolean isQuantityNull()
public java.lang.String getUnitsValue()
public void setUnitsValue(java.lang.String val)
val - The value to set for Unitspublic HL7FieldCE getUnits()
HL7FieldCE object representing Unitspublic void setUnits(HL7FieldCE val)
val - An HL7FieldCE object containing the value to be set.public boolean isUnitsEmpty()
public boolean isUnitsNull()
|
Copyright © 2010 Merge Healthcare Inc. All Rights Reserved. | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||