API browser of generalInvoiceRequest500 COM module


/images/arrow_right.png IGeneralInvoiceRequest::SetProcessing method space
Sets the defined processing information that are in effect at the site of the last intermediate.
space
/images/arrow_right.png Restful webservice calling syntax
[POST] /baseURL/IGeneralInvoiceRequest/SetProcessing
[JSON input data] pIGeneralInvoiceRequest:
ePrintPatientInvoiceOnly:
ePrintCopyToGuarantor:
bstrTrustCenterGLN:
longValue,    //interface address
longValue,
longValue,
"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.
space
/images/arrow_right.png C/C++ calling syntax
HRESULT SetProcessing( YesNoType
YesNoType
BSTR
VARIANT_BOOL
ePrintPatientInvoiceOnly,
ePrintCopyToGuarantor,
bstrTrustCenterGLN,
*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.
space
/images/arrow_right.png Calling argument description
[in] YesNoType ePrintPatientInvoiceOnly The Boolean ePrintPatientInvoiceOnly is an instruction for the last intermediate whether to print out the patient summary form only without any additional accompanying forms like "Rückerstattungsbeleg" or "TP-Rechnung" or "Barcode Annex".
 
The Boolean is primarily relevant in a genuine invoicing process of a Tiers Garant case in which the remaining amount (Tiers Soldant deductible or modified/unpaid Tiers Payant services) is claimed directly from the patient/guarantor. Since the insurance company already has the original TS or TP document, no further document addressed to the insurance company needs to be printed out and sent to the patient!
[in] YesNoType ePrintCopyToGuarantor The Boolean ePrintCopyToGuarantor is an instruction for the last intermediate in a Tiers Payant case whether a printed copy of the invoice should be sent to the guarantor's address, basically to fulfill the legal requirement of a "patient copy".
[in] BSTR bstrTrustCenterGLN bstrTrustCenterGLN instructs the last intermediate to send a copy of the XML infoset to the defined trust center defined by the GLN.
 
It should be noted that
  • this process is to be considered as 2nd process. Therefore, it is carried out with the best effort and without the possibility of error propagation to the sender. Under all circumstances, the processing of the 1st process (the delivery to transport@from) must not be affected by a potentially occurring error in the 2nd process!
[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.
space