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
IGeneralInvoiceRequest::AddCaseDetail method | |||
---|---|---|---|
Adds a case detail to the list of case details - this method is needed for stationary cases only!
Case detail records are used to supply the complete history of the DRG case in terms of the treatment, possible relocation and re-opening of that case. Obviously, a case detail list make sense only if there is more than one entry in the list, since the used DRG service in itself defines already 1 case detail record. Note, that the case details are optional and if used then it should be supplied in reverse chronological order. |
|||
Restful webservice calling syntax | |||
[POST] | /baseURL/IGeneralInvoiceRequest/AddCaseDetail | ||
[JSON input data] | pIGeneralInvoiceRequest: bstrTariffType: bstrCode: dDateBegin: dDateEnd: bstrACID: |
longValue, //interface address "utf8StringValue", "utf8StringValue", variantDateValue | "stringISODateValue", variantDateValue | "stringISODateValue", "utf8StringValue" |
|
[JSON result data] | pbStatus: | 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. | ||
C/C++ calling syntax | |||
HRESULT AddCaseDetail( | BSTR
BSTR DATE DATE BSTR VARIANT_BOOL |
bstrTariffType,
bstrCode, dDateBegin, dDateEnd, bstrACID, *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. | ||
Calling argument description | |||
[in] BSTR | bstrTariffType | The official tariff type as defined by Forum Datenaustausch
This should be DRG tariff type "010". |
|
[in] BSTR | bstrCode | The DRG service code | |
[in] DATE | dDateBegin | The starting date and time of the current case detail.
Note, that this date must be equal or greater then the dDateBegin of the treatment period set in SetTreatment method. |
|
[in] DATE | dDateEnd | The ending date and time of the current case detail.
Note, that this date must be less or equal the dDateEnd of the treatment period set in SetTreatment method. |
|
[in] BSTR | bstrACID | The Administrative Case IDentification for the current DRG case detail. | |
[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. | |