API browser of acfValidator100 COM module


/images/arrow_right.png IValidate005::GetNextService method space
Gets the next ACF 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/IValidate005/GetNextService
[JSON input data] pIValidate005: 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 ACF services - this is by definition '005'
[out] BSTR *pbstrCode The service code of the ACF service
[out] BSTR *pbstrReferenceCode The reference code.

Since there are no official reference codes for tariff 005, a code here is always interpreted as ICD10 code (supplied via AddService).

[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 prescription
[out] SideType *peSide The body side dependency of the service
[out] BSTR *pbstrName The name of the service as defined by the tariff owner OAAT
[out] double *pdTP The tax points (TP) of the ACF service.
[out] double *pdTPValue The tax point value (TPV) of the ACF service as defined by the cantons.
[out] double *pdExternalFactor The external factor is used and defined by OAAT as modulation factor within its cost neutrality project.
[out] double *pdAmount The amount in CHF of the service supplied in 2-digit precision.
 
Note that the equation: Amount = (ExternalFactor * Quantity * TP * TPValue) holds true
[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