|
generalInvoiceRequest - the modules for generating XML and/or paper based general invoices |
|
|||||||
|
General use of the generalInvoiceRequest ATL COM module ![]() The generalInvoiceRequest module provides all the necessary tools to produce an invoice for all roles except physicians, hospital, and pharmacies. Firstly, an instance of the IGeneralInvoiceRequest interface is created by the method IGeneralInvoiceRequestManager:CreateGeneralInvoiceRequest. All the invoice related data and parameters can be set by the supplied interface methods as SetPatient, SetTreatment,... Two auxiliary interfaces IAddress and ITarmedInput are available for setting address and tarmed related invoice data.
Please note that there is a context dependency in the generation of an invoice! After all information is set by using the appropriate interface methods, there is the choice of either generating and printing a paper based invoice according to the standardized invoice form by using the IGeneralInvoiceRequestManager:Print method. Alternatively, a XML based invoice can be generated and thereafter stored inside a transport provider mailbox with the Store method. After all such XML invoices have been generated, the mailbox can be sent by using the Send method. If you are using your own communication module, then use the GetXmlContent method to retrieve the XML stream from the module. |