From IHE Wiki
Jump to: navigation, search

Change Proposal MS-PCC-CP-0012

Tracking Information

Patient Care Coordination
Change Proposal Number 
Last Updated 
11:51, 19 February 2007 (CST)

Change Proposal Summary

XML Stylesheet Processing Instruction
Submission Date
11:51, 19 February 2007 (CST)
Profile Affected
TF Version
Volume and Section


Support for XDM, XDR and XDS

A CDA document may contain an [XML stylesheet Processing Instruction] to indicate the stylesheet that should be used to display the document as it was originally seen by the author, as shown below.

<?xml-stylesheet href='http://foobar:8080/mystylesheet.xsl' type='text/xsl'?>

When such a document is communicated in an XDS environment, this stylesheet is expected to be available on a web server in the Affinity domain (as part of the affinity domain configuration). However, when exchanging documents via XDM or XDR, no assumption can be made about the presence of a shared web server, as there is not predefined affinity domain.

Also, the same CDA document may be stored in a single repository, but be indexed by multiple registries.

This presents a problem in communicating the stylesheet, as the URL used to retreive a stylesheet will be different depending up how the document is transmitted.

Two potential solutions come to mind:

  1. Use a relative URL and force the stylesheet to be served by the repository.
    This presents the problem that no ITI transactions are available to store stylesheets in a repository, so the use of the relative URL would not necessarily work in this case.
  2. Support the use of more than one stylesheet processing instruction.
    This presents the problem that many viewers expect only one stylesheet processing instruction. This would further require that any XML document submitted with more than one xml stylesheet processing instruction use the alternate attribute on the stylesheet processing instruction to obtain desired behaviour when displaying the document.

There are two issues to be addressed:

  1. In an XDS environment, the system serving the stylesheet would seem to need to be identified unless we can assume that it is the repository serving the document.
  2. In an XDM environment, the system serving the stylesheet should not be identified, because the stylesheet would always be served from the same media as a the document, and therefore, the same system.

A solution to this problem should be discussed jointly by PCC and ITI Technical committees.