The acfValidator provides methods to browse, search,
validate & group records of the ACF and/or LKAAT tariff
validate & group records of the ACF and/or LKAAT tariff
API browser of acfValidator100 COM module
![]() |
![]() |
||
---|---|---|---|
This is one of the most essential methods that brings you back an optional static decision tree table when starting with an ACFBase element and at least one main trigger service (P).
Please study the description of bstrACFStatusList for a in-depth knowledge of the outcome of this method. Furthermore an example of the output is given in the decsription of the iterator pair GetFirstOptServiceTree / GetNextOptServiceTree. Cavete: due to technical circumstances, "7680664950014 = SPINRAZA Inj Sol 12 mg/5ml" is never proposed as a possible optional service! |
|||
![]() | |||
![]() |
|||
[POST] | /baseURL/ISearchTMA/FindOptServiceTree | ||
[JSON input data] | pISearchTMA: pIValidateTMA: dDate: lSessionNumber: |
longValue, //interface address longValue, variantDateValue | "stringISODateValue", longValue |
|
[JSON result data] | pbstrACFStatusList: pbStatus: |
"utf8StringValue", 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 FindOptServiceTree( | IValidateTMA
DATE long BSTR VARIANT_BOOL |
*pIValidateTMA,
dDate, lSessionNumber, *pbstrACFStatusList, *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] IValidateTMA | *pIValidateTMA | The IValidateTMA interface instance that holds at least one trigger service and the corresponding, defined ACFBase element, for which a decision tree walk should be performed. | |
[in] DATE | dDate | The date of the service application | |
[in] long | lSessionNumber | The unique session number to which the services and the global data (ICD and patient data) are coupled. | |
[out] BSTR | *pbstrACFStatusList | This is a hash separated list of possibly reachable ACF services formatted as sessionNumber(ACFCode1#ACFCode2#...#ACFCoden) - e.g. 35(C08.26A#C08.26B#C08.26C) or 40(C02.30D) or 50(ERR_NO.amP) ).
Please note that the latter example shows a non-grouping result - the iterator pair GetFirstOptServiceTree / GetNextOptServiceTree will be empty in that case! The middle result in the list above shows that the given trigger service is directly grouped to the given ACF service without optional TMA services - - the iterator pair GetFirstOptServiceTree / GetNextOptServiceTree will be empty in that case! The first case shows that various ACF services can be reached dependent on the list returned by the iterator pair GetFirstOptServiceTree / GetNextOptServiceTree. |
|
[out,retval] VARIANT_BOOL | *pbStatus | Return status. VARIANT_TRUE means S_OK, VARIANT_FALSE means S_FALSE (e.g. in an iterator) or an error (E_name). In the later case check for possible errors with the GetAbortInfo method. |
|
![]() |