API browser of acfValidator100 COM module


/images/arrow_right.png IValidateTMA::GetNextService method space
Gets the next TMA service from the list of services.
 
VARIANT_FALSE is returned if the end of the service list is reached.
space
/images/arrow_right.png Restful webservice calling syntax
[POST] /baseURL/IValidateTMA/GetNextService
[JSON input data] pIValidateTMA: longValue,    //interface address
[JSON result data] pbstrTariffType:
pbstrCode:
pbstrReferenceCode:
pdQuantity:
plSessionNumber:
pdDate:
peSide:
pbstrName:
pdTP:
pdTPValue:
pdExternalFactor:
pdAmount:
plHook:
pbStatus:
"utf8StringValue",
"utf8StringValue",
"utf8StringValue",
doubleValue,
longValue,
"stringISODateValue",
longValue,
"utf8StringValue",
doubleValue,
doubleValue,
doubleValue,
doubleValue,
longValue,
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 GetNextService( BSTR
BSTR
BSTR
double
long
DATE
SideType
BSTR
double
double
double
double
long
VARIANT_BOOL
*pbstrTariffType,
*pbstrCode,
*pbstrReferenceCode,
*pdQuantity,
*plSessionNumber,
*pdDate,
*peSide,
*pbstrName,
*pdTP,
*pdTPValue,
*pdExternalFactor,
*pdAmount,
*plHook,
*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
[out] BSTR *pbstrTariffType The official tariff number for LKAAT services - this is by definition 'TMA'
[out] BSTR *pbstrCode The service code of the TMA service
[out] BSTR *pbstrReferenceCode The reference code
[out] double *pdQuantity The floating point quantity.
[out] long *plSessionNumber The session number or patient contact ID.

Please note that the 'SessionNumber" plays a central role in the ACF/LKAAT tariffs, in that this ID serves as a grouping and connection object to combine services (even across days). Furthermore, the same ID is also used in the TMA tariff to bundle the services and link it to the corresponding global data (ICD and patient data).

[out] DATE *pdDate The date of the service's provision
[out] SideType *peSide The body side dependency of the service
[out] BSTR *pbstrName The name of the TMA service as defined by the tariff owner OAAT
[out] double *pdTP The tax points (TP) of the TMA service - this is by definition 0.00
[out] double *pdTPValue The tax point value (TPV) of the TMA service - this is by definition 1.00
[out] double *pdExternalFactor The external factor of the service.

This external factor is initially predefined as 1.00. However, if the corresponding service is not used/neglegted in the grouping process, it is reset to 0.0 to reflect its non-usability.

[out] double *pdAmount The amount of the TMA service - this is by definition 0.0 as at least dTP is 0.00 as well.
[out] long *plHook The external hook, that was provided in the AddService call. The lHook ID primarily serves to identify this service when the services are read back.
[out,retval] VARIANT_BOOL *pbStatus Return status of the method. If pbStatus is VARIANT_FALSE the end of data is reached
space