public class RFI extends Segment
Represents an HL7 RFI message segment. This segment has the following fields:
RFI-1 : Request Date(DTM)Required
RFI-2 : Response Due Date(DTM)Required
RFI-3 : Patient Consent(ID) Optional
RFI-4 : Date Additional Information Was Submitted(DTM) 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 |
|---|
RFI()
Constructs the RFI segment.
|
| Modifier and Type | Method and Description |
|---|---|
DTM |
getDateAdditionalInformationWasSubmitted()
Retrieves Date Additional Information Was Submitted (DTM)
|
ID |
getpatientConsent()
Retrieves Patient Consent (ID)
|
DTM |
getRequestDate()
Retrieves Request Date (DTM)
|
DTM |
getResponseDueDate()
Retrieves Response Due Date (DTM)
|
void |
setDateAdditionalInformationWasSubmitted(DTM objDateAdditionalInformation)
Set Date Additional Information Was Submitted (DTM)
This field is about The date on which the information was assembled for transmission to the Payer.
|
void |
setDateAdditionalInformationWasSubmitted(java.lang.String strDateAdditionalInformation)
Set Date Additional Information Was Submitted (DTM)
This field is about The date on which the information was assembled for transmission to the Payer.
|
void |
setPatientConsent(ID objPatientConsent)
Patient Consent (ID)
This field is about Code indicating if the Payer has obtained patient consent for release of information.
|
void |
setPatientConsent(java.lang.String strPatientConsent)
Patient Consent (ID)
This field is about Code indicating if the Payer has obtained patient consent for release of information.
|
void |
setRequestDate(DTM objRequestDate)
Set Request Date(DTM)
|
void |
setRequestDate(java.lang.String strRequestDate)
Set Request Date(DTM)
|
void |
setResponseDueDate(DTM objResponseDueDate)
Set Response Due Date (DTM)
This Field is about the The latest date by which the additional information is to be returned to requester.
|
void |
setResponseDueDate(java.lang.String strResponseDueDate)
Set Response Due Date (DTM)
This Field is about the The latest date by which the additional information is to be returned to requester.
|
boolean |
validate()
Validates HL7 Message objects .
|
addUnRecognizedField, dumpSegment, getFields, getName, getUnrecognizedFields, moveToNextSegment, parse, removeDataElement, removeDataElement, serialize, setName, setUnRecognizedField, updateDataElement, updateDataElement, writeToXMLpublic DTM getRequestDate()
public DTM getResponseDueDate()
public ID getpatientConsent()
public DTM getDateAdditionalInformationWasSubmitted()
public void setRequestDate(java.lang.String strRequestDate)
String - - Request Date - string of characters the tells about the latest requested date by the requester.public void setRequestDate(DTM objRequestDate)
objRequestDate - - object of Latest date requested dated return to the requester.public void setResponseDueDate(java.lang.String strResponseDueDate)
String - - String of Response Due Date - The latest date by which the additional information is to be returned to requester.public void setResponseDueDate(DTM objResponseDueDate)
objResponseDueDate - - object of Response Due Date - The latest date by which the additional information is to be returned to requester.public void setPatientConsent(java.lang.String strPatientConsent)
String - - String of Patient Consent - Code indicating if the Payer has obtained patient consent for release of information.public void setPatientConsent(ID objPatientConsent)
ID - - Object of Patient Consent - Code indicating if the Payer has obtained patient consent for release of information.public void setDateAdditionalInformationWasSubmitted(java.lang.String strDateAdditionalInformation)
String - - string of Date Additional Information Was Submitted - The date on which the information was assembled for transmission to the Payer.public void setDateAdditionalInformationWasSubmitted(DTM objDateAdditionalInformation)
DTM - - object of Date Additional Information Was Submitted - The date on which the information was assembled for transmission to the Payer.public boolean validate()
throws InvalidSegmentException
validate in interface ISegmentvalidate in class SegmentInvalidSegmentException - Throws when Segment Validation fails.