General use of the tarmedValidator ATL COM module

  • First create an instance of the tarmedValidator COM module.
     
  • Open the Tarmed database with the Open method from the ITarmedValidator interface. Set the localization language (if it differs from the default setting of German) using the SetLanguage from the ITarmedValidator interface.
     
  • Fill the necessary combo boxes and other GUI elements using the methods provided by the ICatalog interface.
     
  • Set the physician-, patient- and treatment-specific input data using the methods and properties from the ITarmedInput interface. The input data are available to other interfaces within the same instance of the module.
     
  • The following steps may then be performed, until the tarmedValidator module instance is released:
     
  • If the input data changes, set the new physician, patient and/or treatment input data using the methods and properties from the ITarmedInput interface.
     
  • Let the user search for a code (see the Search functions from the ISearch interface). Generate a selection list to let the user choose which additional codes he wants (see How to search for a code document...).
     
  • Add the selected services to the AddService method from the IValidate interface.
     
  • Release the tarmedValidator COM module instance.