analyzing electronic responses to credit requests
IGeneralCreditResponse::GetAcceptType method | |||
---|---|---|---|
This method is called if the main response type returned by the GetResponse method is enResponseAccepted.
Calling the iterator pair GetFirstNotification / GetNextNotification is unnecessary as there are no notifications and VARIANT_FALSE would be returned. |
|||
C/C++ calling syntax | |||
HRESULT GetAcceptType( | BSTR
BSTR StatusType StatusType CoverageType DATE DATE BSTR VARIANT_BOOL |
*pbstrJustification,
*pbstrAddendum, *peStatusIn, *peStatusOut, *peCoverageType, *pdCoverageBeginDate, *pdCoverageEndDate, *pbstrCoverageUnits, *pbStatus); |
|
Calling argument description | |||
[out] BSTR | *pbstrJustification | An optional justification.
The justification is formulated in the data language returned by the GetResponse method |
|
[out] BSTR | *pbstrAddendum | An optional addendum to the justification.
The addendum is formulated in the data language returned by the GetResponse method |
|
[out] StatusType | *peStatusIn | The status of the credit request (given by the topmost object reference) before this response was generated | |
[out] StatusType | *peStatusOut | The status of the credit request (given by the topmost object reference) after this response was generated | |
[out] CoverageType | *peCoverageType | The principle type of coverage.
If none of the services have been modified in terms of cost and none are appended then there is a full coverage. In all other cases the coverage is limited. |
|
[out] DATE | *pdCoverageBeginDate | The date when the coverage of the cost bearer begins | |
[out] DATE | *pdCoverageEndDate | The optional date when the coverage of the cost bearer ends.
If the end date is not defined then 0 is returned. This implicitly means that there is no upper date boundary for the coverage. |
|
[out] BSTR | *pbstrCoverageUnits | The optional number/length and units of the covered treatment. This is the cost bearer's counterpart to the bstrTreatmentUnits
The coverage units (as well as the treatment units) are in fact context sensitive in their semantical meaning and therefore they are encoded by a string due to the variety of possibilities. Coverage units for stationary treatment are e.g. "4 days" whereas for a physio therapy it could be "6 physio sessions" or "10 physio sessions - 1 per week" |
|
[out, retval] VARIANT_BOOL | *pbStatus | Return status of the method. If pbStatus is VARIANT_FALSE then an error occurred and GetAbortInfo should be called to retrieve the error string. | |
C/C++ return value | |||
S_OK | This value is returned if the function call was successful or if the return value of a boolean method signalling a true value. In this case the VARIANT_BOOL is set to VARIANT_TRUE. | ||
S_FALSE | This is the return value of a boolean method signalling a false return value. In this case the VARIANT_BOOL is set to VARIANT_FALSE. | ||
E_name | This value is returned if the function call was unsuccessful and an error exception was generated. Note that if you are using SmartPointers an exception is thrown under these conditions. | ||