com.merge.HL7.v260.fields
Class HL7FieldDLD

java.lang.Object
  extended by com.merge.HL7.HL7Field
      extended by com.merge.HL7.v260.fields.HL7FieldDLD

public class HL7FieldDLD
extends HL7Field

Specifies the healthcare facility to which the patient was discharged and the date.


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
HL7FieldDLD()
          Creates an empty HL7 DLD 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.
 HL7FieldCWE getDischargetoLocation()
          Gets the Discharge to Location component of this field.
 java.lang.String getDischargetoLocationValue()
          Gets the Discharge to Location component of this field.
 HL7FieldDTM getEffectiveDate()
          Gets the Effective Date component of this field.
 java.lang.String getEffectiveDateValue()
          Gets the Effective Date component of this field.
 int getMaxSize()
          Gets the number of components defined for this field.
 java.lang.String getTableNo(int index)
          Gets the table identifier of a component in this field.
 boolean isComponentMandatory(int index)
          Tells whether a component is mandatory.
 boolean isDischargetoLocationEmpty()
          Tells whether the Discharge to Location component has been specified.
 boolean isDischargetoLocationNull()
          Tells whether the Discharge to Location component has a has Null value as defined by HL7.
 boolean isEffectiveDateEmpty()
          Tells whether the Effective Date component has been specified.
 boolean isEffectiveDateNull()
          Tells whether the Effective Date component has a has Null value as defined by HL7.
 void setDischargetoLocation(HL7FieldCWE val)
          Sets the Discharge to Location component of this field.
 void setDischargetoLocationValue(java.lang.String val)
          Sets the Discharge to Location from a string.
 void setEffectiveDate(HL7FieldDTM val)
          Sets the Effective Date component of this field.
 void setEffectiveDateValue(java.lang.String val)
          Sets the Effective Date 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

HL7FieldDLD

public HL7FieldDLD()
Creates an empty HL7 DLD type field object.

Method Detail

getMaxSize

public int getMaxSize()
Gets the number of components defined for this field.

Overrides:
getMaxSize in class HL7Field
Returns:
The maximum number of components.

getComponentType

public java.lang.String getComponentType(int index)
Gets the HL7 data type of a component in this field.

Overrides:
getComponentType in class HL7Field
Parameters:
index - The one based index of the component.
Returns:
A string representing the component's data type.

getComponentDescription

public java.lang.String getComponentDescription(int index)
Gets the description of a component in this field.

Overrides:
getComponentDescription in class HL7Field
Parameters:
index - The one based index of the component.
Returns:
A string representing the component's description.

getComponentLength

public int getComponentLength(int index)
Gets the maximum number of characters for a component in this field.

Overrides:
getComponentLength in class HL7Field
Parameters:
index - The one based index of the component.
Returns:
The maximum length of the component as defined by HL7.

isComponentMandatory

public boolean isComponentMandatory(int index)
Tells whether a component is mandatory.

Overrides:
isComponentMandatory in class HL7Field
Parameters:
index - The one based index of the component.
Returns:
true if the specified component is mandatory.

getTableNo

public java.lang.String getTableNo(int index)
Gets the table identifier of a component in this field.

Overrides:
getTableNo in class HL7Field
Parameters:
index - The one based index of the component.
Returns:
A string representing the table number as defined by HL7 or an empty string if a table number is not defined.

getDischargetoLocationValue

public java.lang.String getDischargetoLocationValue()
Gets the Discharge to Location component of this field.

Returns:
the Discharge to Location value

setDischargetoLocationValue

public void setDischargetoLocationValue(java.lang.String val)
Sets the Discharge to Location from a string.

Parameters:
val - The value to set for Discharge to Location

getDischargetoLocation

public HL7FieldCWE getDischargetoLocation()
Gets the Discharge to Location component of this field.

Returns:
An HL7FieldCWE object representing Discharge to Location

setDischargetoLocation

public void setDischargetoLocation(HL7FieldCWE val)
Sets the Discharge to Location component of this field.

Parameters:
val - An HL7FieldCWE object containing the value to be set.

isDischargetoLocationEmpty

public boolean isDischargetoLocationEmpty()
Tells whether the Discharge to Location component has been specified.

Returns:
true if the component is empty.

isDischargetoLocationNull

public boolean isDischargetoLocationNull()
Tells whether the Discharge to Location component has a has Null value as defined by HL7.

Returns:
true if the component has the HL7 Null value.

getEffectiveDateValue

public java.lang.String getEffectiveDateValue()
Gets the Effective Date component of this field.

Returns:
the Effective Date value

setEffectiveDateValue

public void setEffectiveDateValue(java.lang.String val)
Sets the Effective Date from a string.

Parameters:
val - The value to set for Effective Date

getEffectiveDate

public HL7FieldDTM getEffectiveDate()
Gets the Effective Date component of this field.

Returns:
An HL7FieldDTM object representing Effective Date

setEffectiveDate

public void setEffectiveDate(HL7FieldDTM val)
Sets the Effective Date component of this field.

Parameters:
val - An HL7FieldDTM object containing the value to be set.

isEffectiveDateEmpty

public boolean isEffectiveDateEmpty()
Tells whether the Effective Date component has been specified.

Returns:
true if the component is empty.

isEffectiveDateNull

public boolean isEffectiveDateNull()
Tells whether the Effective Date component has a has Null value as defined by HL7.

Returns:
true if the component has the HL7 Null value.

Copyright © 2010 Merge Healthcare Inc. All Rights Reserved.