- Created by Andrea M, last modified on Jan 12, 2016
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 2 Next »
Overview
To configure the Professional Print layout you must first tell Meridian to save and use the configurable templates. If you have not already done so Save the Report Templates to disk.
There is an editor in development but currently we must edit the files manually. first you must select the CSS_TEMPLATES directory. On a standard install this will be located at C:\MO\Clients\CSS_TEMPLATES
Overall Structure
Basically the structure for the Professional printout can be regarded an amalgamation of three septate web pages. A basic knowledge of HTML and CSS is all that is needed to modify these files. The page is divided into the Header page, the body page and the footer page
The Header Page
The header appears at the top of each page. It is automatically sized to fit the text. The header Page uses the file "Path1_Header.html" as its base page. Modification of "Path1_Header.html" will only affect the header portion of the document
Header HTML Structure
The header html structure is just a basic HTML page. Shown below is the default structure at the time of writing. <#xxxxxxx> are subsitution tags
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css" > <#StylesheetMOPrint> <#StylesheetChangeLayout> </style> <title>Pathology Report</title> </head> <body> < div id="DeliveryNameAndAddress"> <#TargetDoctorFullAddressCapCase> </div> < div id="ReportHeaderDetails"> < div id="LabNumber"> <#LabNo> </div> < div id="Patientname"> Patient: <#PatientName> </div> < div id="Patient_Address"> <#PatientAddressWithHTMLBreak> </div> < div id="DOB"> DOB: <#DOB> </div> < div id="Received"> Collected: <#Testdate> </div> </div> </body> </html>
Each div should have an ID that corresponds with a CSS ID eg #DeliveryNameAndAddress in the css file will affect the setting in < div id="DeliveryNameAndAddress">
The Body Page
Body CSS
The Footer Page
The footer appears at the Bottom of each page. It is automatically sized to fit the text. The footer uses the file "Path1_Footer.html" as its base page. Modification of "Path1_Footer.html" will only affect the footer portion of the document
Footer Structure
The footer html structure is just a basic HTML page. Shown below is the default structure at the time of writing. <#xxxxxxx> are subsitution tags
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css" > <#StylesheetMOPrint> <#StylesheetChangeLayout> </style> <title>Pathology Report</title> </head> <body> < div id='Footer'> Page <#PageNumber> of <#PageCount> Copies to: <#CopiesToHorizontalWithoutCurrentXCN> </div> </body> </html>
Body Structure
the body structure of the printout is stored within the program and is not currently user modifiable. The css used is
Header/Footer CSS Structure
Both the header page and the footer page share the same CSS files. The css files are combined depending on the printout paper size. If A4 then Path1_Default.css and either Path1_A4.css are combined else Path1_Default.css and either Path1_Custom.css get combined. Values is the second css files will overwrite the first values. However groups are combined
Header/Footer CSS Example 1
if we have in Path1_Default.css
#LabNumber { position: absolute; }
and in Path1_A4.css we have if we have in Path1_Default.css
#LabNumber { position: relative; }
then then result will be
#LabNumber { position: relative; }
Header/Footer CSS Example 2
if we have in Path1_Default.css
#LabNumber { position: absolute; font-family:Arial; }
and in Path1_A4.css we have if we have in Path1_Default.css
#LabNumber { position: relative; }
then then result will be
#LabNumber { position: relative; font-family:Arial; }
- No labels