|
|
||||||
| 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.HL7FieldCP
public class HL7FieldCP
This data type is often used to define a repeating field within a given segment.
| 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 | |
|---|---|
HL7FieldCP()
Creates an empty HL7 CP 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. |
java.lang.String |
getFromValue()
Gets the From Value component of this field. |
int |
getMaxSize()
Gets the number of components defined for this field. |
HL7FieldMO |
getPrice()
Gets the Price component of this field. |
java.lang.String |
getPriceType()
Gets the Price Type component of this field. |
java.lang.String |
getPriceValue()
Gets the Price component of this field. |
java.lang.String |
getRangeType()
Gets the Range Type component of this field. |
HL7FieldCE |
getRangeUnits()
Gets the Range Units component of this field. |
java.lang.String |
getRangeUnitsValue()
Gets the Range Units component of this field. |
java.lang.String |
getTableNo(int index)
Gets the table identifier of a component in this field. |
java.lang.String |
getToValue()
Gets the To Value component of this field. |
boolean |
isComponentMandatory(int index)
Tells whether a component is mandatory. |
boolean |
isFromValueEmpty()
Tells whether the From Value component has been specified. |
boolean |
isFromValueNull()
Tells whether the From Value component has a has Null value as defined by HL7. |
boolean |
isPriceEmpty()
Tells whether the Price component has been specified. |
boolean |
isPriceNull()
Tells whether the Price component has a has Null value as defined by HL7. |
boolean |
isPriceTypeEmpty()
Tells whether the Price Type component has been specified. |
boolean |
isPriceTypeNull()
Tells whether the Price Type component has a has Null value as defined by HL7. |
boolean |
isRangeTypeEmpty()
Tells whether the Range Type component has been specified. |
boolean |
isRangeTypeNull()
Tells whether the Range Type component has a has Null value as defined by HL7. |
boolean |
isRangeUnitsEmpty()
Tells whether the Range Units component has been specified. |
boolean |
isRangeUnitsNull()
Tells whether the Range Units component has a has Null value as defined by HL7. |
boolean |
isToValueEmpty()
Tells whether the To Value component has been specified. |
boolean |
isToValueNull()
Tells whether the To Value component has a has Null value as defined by HL7. |
void |
setFromValue(java.lang.String val)
Sets the From Value from a string. |
void |
setPrice(HL7FieldMO val)
Sets the Price component of this field. |
void |
setPriceType(java.lang.String val)
Sets the Price Type from a string. |
void |
setPriceValue(java.lang.String val)
Sets the Price from a string. |
void |
setRangeType(java.lang.String val)
Sets the Range Type from a string. |
void |
setRangeUnits(HL7FieldCE val)
Sets the Range Units component of this field. |
void |
setRangeUnitsValue(java.lang.String val)
Sets the Range Units from a string. |
void |
setToValue(java.lang.String val)
Sets the To Value 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 HL7FieldCP()
| 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 getPriceValue()
public void setPriceValue(java.lang.String val)
val - The value to set for Pricepublic HL7FieldMO getPrice()
HL7FieldMO object representing Pricepublic void setPrice(HL7FieldMO val)
val - An HL7FieldMO object containing the value to be set.public boolean isPriceEmpty()
public boolean isPriceNull()
public java.lang.String getPriceType()
public void setPriceType(java.lang.String val)
val - The value to set for Price Typepublic boolean isPriceTypeEmpty()
public boolean isPriceTypeNull()
public java.lang.String getFromValue()
public void setFromValue(java.lang.String val)
val - The value to set for From Valuepublic boolean isFromValueEmpty()
public boolean isFromValueNull()
public java.lang.String getToValue()
public void setToValue(java.lang.String val)
val - The value to set for To Valuepublic boolean isToValueEmpty()
public boolean isToValueNull()
public java.lang.String getRangeUnitsValue()
public void setRangeUnitsValue(java.lang.String val)
val - The value to set for Range Unitspublic HL7FieldCE getRangeUnits()
HL7FieldCE object representing Range Unitspublic void setRangeUnits(HL7FieldCE val)
val - An HL7FieldCE object containing the value to be set.public boolean isRangeUnitsEmpty()
public boolean isRangeUnitsNull()
public java.lang.String getRangeType()
public void setRangeType(java.lang.String val)
val - The value to set for Range Typepublic boolean isRangeTypeEmpty()
public boolean isRangeTypeNull()
|
Copyright © 2010 Merge Healthcare Inc. All Rights Reserved. | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||