Generic Style Sheet Revision Log
================================
The below is a history log of changes made to the style sheet.
There are 2 versions of the style sheet, with a different look and 
feel. v1.1 has java script which caused some issues with rendering
and was taken out in v1.2. Also the main changes included moving
the "more administrative details" to the bottom of the document so
the clinician could see straight about the "clinically relevant" 
data first without having to scroll down the page. Section headers
and indentations were also introduced for better readability.

Version 1.1.x will not me maintained any further unless any major 
bug is found.
Version 1.2.x will continue to be maintained adding any further
functionality deemed necessary or requested.

NEHTA_Generic_CDA_Stylesheet-1.2.6 - 10/12/2012
----------------------------------
- Updated linkHtml to support observationMedia internal targets and external targets
  (i.e. those without an XML ID e.g. a file in the package or external URL)
- Added PCEHR Prescription and Dispense View document type recognition
- Ensured consistent date/datetime date/month/year separators when formatting dates
- Changed formatting of patient name in the banner

NEHTA_Generic_CDA_Stylesheet-1.2.5 - 03/10/2012
----------------------------------
- Included Author Organisation and Author Department in administrative details  

NEHTA_Generic_CDA_Stylesheet-1.2.4 - 27/09/2012
----------------------------------
- Amended display of document, set, and related identifiers      
- Removed display of PCEHR Prescription Record and PCEHR Dispense Record
  item identifiers in Administrative Details

NEHTA_Generic_CDA_Stylesheet-1.2.3 - 14/09/2012
----------------------------------
- Added printing of the Black Banner on the first page
- Trimmed the content of the HTML title for printing
- Fixed top left margin alignment for xPre text
- Added param to support displaying style sheet version

NEHTA_Generic_CDA_Stylesheet-1.2.2 - 03/09/2012
----------------------------------
- Added "PCEHR Prescription + Dispense" record document type
- Fixed paragraph wdith issue within a table.

NEHTA_Generic_CDA_Stylesheet-1.2.1 - 31/08/2012
----------------------------------
- Corrected "Medicare/DVA Benefits Report" document type name
- Fixed section header attribute bug

NEHTA_Generic_CDA_Stylesheet-1.2.0 - 20/08/2012
----------------------------------
- New Version - reformatted look and feel to align with PCEHR view
- Removed java script
- Parameterised the display of HPI-I, HPI-O and PIO-D with def.false
- Changed wording for Incompatibility message (also does not popup)
- Added OIDS for Consolidated and Medicare views
- Adjusted width to allow a min and max to allow for sizing
- Age Calculation uses Admin Obs if present otherwise gives age in
  days weeks, months or years
- Added Indigenous Status
- Added Discharge Location
- Added Support for full range of encompassingEncounter effectiveTime
  values (low, high, value, unit)
- Move All Admin Details to bottom as well as Admin Observations
- Fix Logo bug for non-PNG image types


====================================================================
VERSION 1.2 PUBLISHED (see above)
====================================================================

NEHTA_Generic_CDA_Stylesheet-1.1.12 - 03/09/2012
-----------------------------------
- Fix Logo bug for non-PNG image types
- "July" should be "Jul"
- Add OIDs for PCEHR Prescription Record and PCEHR Dispense Record 
  and other new CDA document types
- Add Transform Status Indicator
- Location of Discharge
- Add Entitlements for orgs and subject of care
- Support for Author Devices
- Date of birth calculation algorithm
- Order of sections (Admin Obs at end)

NEHTA_Generic_CDA_Stylesheet-1.1.11 - 06/07/2012
-----------------------------------
- Added http-equiv X-UA-Compatible meta tag to support browser 
  compatibility mode so when printing, sections aren't broken up
- Fixed formatting of address supporting different address line
  combinations adding commas where necessary

NEHTA_Generic_CDA_Stylesheet-1.1.10 - 06/07/2012
-----------------------------------
- Applied WCAG v2 AAA standards - accessibility
- Fixed up <dl> tag issue around contact details

NEHTA_Generic_CDA_Stylesheet-1.1.9 - 19/06/2012
----------------------------------
- Added referees to list of participants displayed
- Added support for D/S using encompassingEncounter effectiveTime for 
  encounter details section
- Added author address to author section

NEHTA_Generic_CDA_Stylesheet-1.1.8 - 19/06/2012
----------------------------------
- Applied WCAG v2 AAA standards - accessibility
- Fixed up <dl> tag issue
- Added new production license agreement

NEHTA_Generic_CDA_Stylesheet-1.1.7 - 14/06/2012
----------------------------------
- Applied WCAG v2 AAA standards - accessibility
- Moved headers out of tables
- Converted tables to definition lists <td>.. to  <dl><dt><dd> for WCAG
- Standardised organisation details into a <template>
- Added support for gif and jpeg for LOGO (was just png)
- 

NEHTA_Generic_CDA_Stylesheet-1.1.6 - 07/06/2012
----------------------------------
- Only show DOB date (not time)
- Age Calc uses encompassingEncounter effective time if present
- Moved facility name from around Logo
- Reformatted participant tables from <td> to <th> changing the <style> 
  code as well
- Changed section header <style> from <h2> to a <div>
- Removed unused <template>s

NEHTA_Generic_CDA_Stylesheet-1.1.5 - 28/05/2012
----------------------------------
- Added additional http-equiv values to support java script and text/css
- Added formatDate <template>

NEHTA_Generic_CDA_Stylesheet-1.1.4 - 22/05/2012
----------------------------------
- Tidied up support for different mediaTypes and how to display them 
  (or provide links to them)
- Added support for rendering the Logo
- Added validation when splitting a hi identifier into 4-4-4-4

NEHTA_Generic_CDA_Stylesheet-1.1.3 - 21/05/2012
----------------------------------
- Adjusted banner format
- Added OID for Advance Care Directive

NEHTA_Generic_CDA_Stylesheet-1.1.2 - 14/05/2012
----------------------------------
- Adjusted banner display when ihi or mrn not present
- Fixed imag/tiff to image/tiff

NEHTA_Generic_CDA_Stylesheet-1.1.1 - 02/05/2012
----------------------------------
- Display patient's first name
- Add IHI and MRN to banner
- Add additional support for application/rtf + application/xml
- Trimmed leading and trailing spaces on prefix suffix given and family 
  names when concatenating
- Removed seconds from date time display (and us time zones)

NEHTA_Generic_CDA_Stylesheet-1.1.0 - 20/03/2012
----------------------------------
- First published version 

====================================================================
VERSION 1.1.0 PUBLISHED (see above)
====================================================================
