|
|
 |
bstrPrintTemplate path of the print command

Beginning with Build 006 the bstrPrintTemplate argument of the IMDInvoiceRequestManager::Print have been patched.
bstrPrintTemplate is either empty or of the general form
actionKey[(objectName1=text;objectName2=text2;...)][=printTemplateFile][#INIPATH=inipath)
- actionKey is (pat2patSummary|patSummary|hcSummary|pat2patDetail|patDetail|hcDetail)
for the patient summary page adressed to the patient (single A4 page),
the patient summary page addressed to the guarantor (single A4 page),
the health care summary, the detailed patient pages addressed to the patient,
the detailed patient pages addresses to the guarantor, and the health care
detailed pages.
Please note that some of these forms are just for your convenience and are not mandatory!
- objectName1=text; is an optional static text substitution enclosed in braces () where objectName1 is the object name
(cf. inside the print template for the names) and text is the substitution. The substitution can be empty as well!
- printTemplateFile is an optional external print template file name (full path!)
- inipath is an optional path the print template's INI file. The report engine uses this path to find an ini file with
the same name as the print template but with an extension of .vpd.
This allows for global settings of a print template in a LAN.
Here are some usage examples:
- bstrPrintTemplate: ""
denotes a standard printing situation depending on the payment mode.
For TG a patient summary invoice on A4 with ESR attached on the bottom addressed to the guarantor plus
a detailed health care invoice ("Rückforderungsbeleg") is printed (patSummary + hcDetail).
For TP a detailed invoice ("TP Rechnung") with an ESR line is printed (hcDetail).
- bstrPrintTemplate: pat2patDetail
prints a detailed invoice for a patient addressed to the patient (title is adjusted accordingly)
- bstrPrintTemplate: hcSummary(DOCUMENT_TITLE_SUMMARY=Alternate title for HealthCare company;)
prints a summary invoice on A4 with ESR attached on the bottom for a health care company. The title is adjusted as given above.
- bstrPrintTemplate: patSummay=C:\myForms\myPrintForm.vps
uses the print template "C:\myForms\myPrintForm.vps". Please note the license restriction below!
An optional INI file with the name "C:\myForms\myPrintForm.vpd" is searched under this condition.
- bstrPrintTemplate: #INIPATH=\\host1\\myForms\
the default path for the ini files (place of the installed component) is changed to "\\host1\\myForms\". If "\\host1\\myForms\" is accessible
by all hosts of the LAN then the same INI settings can be used.
- bstrPrintTemplate: (DOCUMENT_TITLE_SUMMARY=Alternate title for HealthCare company;)
changes the default title of a summary page to the given one.
IMPORTANT LICENSE NOTE
The report engine used is Hexatech's ViewPro (www.hexatech.com). If you supply your own template files
then you must have your own ViewPro licence. By using the invoiceManager you implicitly agree upon this restriction!!!
|