General use of the acfValidator ATL COM module

The acfValidator comprises clear, dedicated steps in a specified sequence to ultimately achieve the desired result  - an outpatient flat rate. The sequence shown below should be followed whenever possible:
  1. In the ISearchTMA interface, use Search4Trigger to search for the desired main trigger service (usually from P(OR)). Select one of the search results and add it to IValidateTMA::AddService.
     
  2. In the ISearchTMA interface, search for a suitable ICD code  - important in the chapter shown in a) -  using the Search4ICD method. Select one of the ICD codes shown and enter it together with the patient's gender and date of birth using IValidateTMA::AddACFBaseData  - it is extremely important to use the same SessionNumber as in a).
     
  3. Use SearchGeneral to search for other TMA services that you believe are important and enter them using IValidateTMA::AddService. You can also skip this step!
     
  4. Now use DependencyTreeWalker to obtain a static decision tree diagram. At each node from top to bottom, a yes/no decision must be made until you reach the end point  - the ACF code. Each yes decision requires the corresponding TMA service to be added via IValidateTMA::AddService (with the same SessionNumber)  - the flat rate code achieved is no longer entered.
     
  5. You can now perform the grouping with IValidateTMA:RunGrouper or verify that you have achieved the corresponding flat rate code.
     
  6. Enter the code, the SessionNumber, and the ICD10 code (use the variable referenceCode) under IValidate005::AddService.
     
  7. Read and save all service data in order to enter it in the invoice in generalInvoiceRequest500.