The ATL COM module generalInvoiceRequest is capable of
generating electronic and printed invoices & reminders
generating electronic and printed invoices & reminders
API browser of generalInvoiceRequest450 COM module
|
Retrieves additional input for a DRG service if and only if a 3-party splitting situation was described in the input!
VARIANT_FALSE is returned if the additional data is not defined. |
|||
| [POST] | /baseURL/IGeneralInvoiceResult/GetXtraDRG | ||
| [JSON input data] | pIGeneralInvoiceResult: lID: |
longValue, //interface address longValue |
|
| [JSON result data] | pdSplitFactor1: pdSplitFactor2: pbStatus: |
doubleValue, doubleValue, booleanValue |
|
| [HTTP result status] | 200 | Return status 200 signals a successful method call | |
| 204 | Return status 204 (noContent) signals that the end of an iteration is reached | ||
| >= 400 | Return status >= 400 signals an unsuccessful function call. The returned JSON{errorCode: code, errorText:"text"} supplies the error message the same as GetAbortInfo() would do. | ||
| HRESULT GetXtraDRG( | long
double double VARIANT_BOOL |
lID,
*pdSplitFactor1, *pdSplitFactor2, *pbStatus); |
|
| [C/C++ return value] | S_OK | This value is returned if the function call was successful. | |
| S_FALSE | This value is returned if the end of an iteration is reached | ||
| 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. | ||
| [in] long | lID | The internal ID of the DRG service record returned in the IGeneralInvoiceRequest::AddService method for which the extra DRG information is defined. | |
| [out] double | *pdSplitFactor1 | The first splitting factor defining the splitting between the insurance and the canton.
The following equation is true by definition: where dExternalFactor is the supplied external factor of the DRG service in question. |
|
| [out] double | *pdSplitFactor2 | The second splitting factor defines the splitting between the canton and the second insurance.
The following equation must be true by definition: where dExternalFactor is the supplied external factor of the DRG service in question. |
|
| [out,retval] VARIANT_BOOL | *pbStatus | Return status of the method. If pbStatus is VARIANT_FALSE the additional data set is undefined. | |