<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>October</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Unlocking the Value of Clinical Information: What you Need to do Now to Enjoy the Benefits in the Future</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Hooman Katirai</string-name>
          <email>hooman@MIT.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ulrich Sax</string-name>
          <email>ulrich.sax@childrens.harvard.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Children's Hospital Informatics Program (CHIP) Harvard-MIT Division of Health Sciences &amp; Technology 320</institution>
          <addr-line>Longwood Ave, Boston, MA 02125</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Clinical Decision Making Group MIT Computer Science and Artificial Intelligence Laboratory</institution>
          ,
          <addr-line>3</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2004</year>
      </pub-date>
      <volume>18</volume>
      <issue>2004</issue>
      <fpage>447</fpage>
      <lpage>450</lpage>
      <abstract>
        <p>Electronic communication and connectivity are among the core functionalities of an Electronic Health Record (EHR) infrastructure with comprehensive life-long records. But clinical data is still mostly locked up in disjoint data silos, and often stored in non-standard formats. This paper elucidates the opportunities and drawbacks of using the HL7 Clinical Document Architecture (CDA) as a standard for storing clinical information for computer decision support and knowledge management. As EHR document standards are continually being improved, we argue that the ease in upgrading to new standards should be a significant factor in the design of an EHR infrastructure. To achieve this upgradeability, we need to decouple a document's data from the standards used to represent the data. We argue that this separation between data and form can be achieved using a technique called compilable templates, which was recently developed by the authors in a Personal Health Record (PHR) project. Web services offer a compelling means of implementing such templates owing to their language and platform neutrality. Finally we show that some software that one would typically expect to find in a knowledge management context can be automatically generated from a compilable template, saving time and money while reducing the possibility of error.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>Communication and interoperability are the main goals in creating a useful
electronic infrastructure in the healthcare system1. Patient data should be available both to
the patient and all subsequent institutions dealing with the patient. This is not the case
today. In the current situation, a patient’s data will typically be scattered across
numerous databases housed in different points of care. These data silos will each utilize
a proprietary data format – often incompatible with the data standards of other
organizations. As a result clinical data can rarely be exchanged between different
organizations2.</p>
      <p>Personal Health Records (PHR) offer the possibility of medical records that can be
easily accessed and annotated both within and without organizations3, 4. Post-genomic
clinical studies and the application of data mining methods imply standardized patient
data and standardized terminology being accessible to knowledge discovery tools5.
Early attempts on standardizing medical vocabulary show the complexity of this
task6-8. The lion’s share of clinical phenotype data is not encoded for automated
processing.</p>
      <p>The main goals of enabling clinical data for decision support systems (DSS) and
knowledge management (KM) are (a) minimizing the number of fields that express
similar concepts in the federated databases and where it makes sense (b) codifying the
data to obtain the best tradeoff between specificity and practicality.</p>
      <p>An examination of the data models of a number of standards shows that the HL7
Reference Information Model (RIM) and the HL7 CDA architecture are well
positioned to fulfill the goal of communication and interoperability of health information
systems in general and EHRs in particular9, 10.</p>
      <p>The compilable template technologies introduced in this document were developed
while integrating data from hospitals into the Personal Internetworked Notary and
Guardian (PING) – a multi-institutional Personal Health Record designed to integrate
health information from multiple sources4, 11.
2 The HL7 CDA</p>
      <p>The HL7 Clinical Document Architecture (CDA) is a document markup standard,
which specifies the structure and the semantics of clinical documents in extensible
Markup Language (XML). Persistence, stewardship, potential for authentication,
wholeness and human readability are the main characteristics of the CDA10, 12.</p>
      <p>CDA defines three levels; in level one only the document header is fixed with a
certain set of document and object identifiers. Level two additionally defines a
structured document body, which has to be fully RIM-derived in level three10. The
document type in the header as well as the universal observation identifiers have to be
defined according to Logical Observation Identifier Names and Codes (LOINC)13
document codes. European projects like PICNIC14 and SCIPHOX15 have successfully
made use of CDA level one documents.
3</p>
      <p>Compilable Templates116</p>
      <p>To date, only a few CDA document types have been defined9, 17 . Because changes
to the HL7 CDA standard are likely, the effort required to upgrade to new standards
should be a consideration in the design of a PHR infrastructure. One way to achieve
upgradeability is to decouple the code that generates CDA documents from the code
1 Our use of the word ‘template’ should not be conflated with the HL7 usage of the term
‘template’ in the sense of Archetypes16.
that queries a database via a functional abstraction layer. The code that generates
CDA documents can be treated as a black box function that writes CDA documents
given a tuple whose elements represent the values of individual fields. We term this
function the forward function; it produces a CDA document given a tuple of values.
Fig. 1 shows a simplified example of a compilable template.</p>
      <p>(a) A SNIPPET FROM A COMPILABLE TEMPLATE:
&lt;!--#INCLUDE: “header.inc” --&gt;
&lt;person_name&gt;
&lt;nm&gt;
&lt;v3dt:GIV V="___firstName___"/&gt;
&lt;v3dt:MID V="___midInitial___"/&gt;
&lt;v3dt:FAM V="___lastName___ "/&gt;
&lt;/nm&gt;
&lt;/person_name&gt;
&lt;!-- #INCLUDE: “footer.inc” --&gt;
(b) PRODUCES THE FOLLOWING FORWARD FUNCTION:
String Toy_example(String first_name, String middle_initial,</p>
      <p>String last_name)
(c) CALLING THIS FUNCTION WITH A SET OF VALUES GIVES:
&lt;levelone xmlns="urn:hl7-org:v3/cda"
xmlns:v3dt="urn:hl7-org:v3/v3dt"
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=
"urn:hl7-org:v3/cda levelone_1.0.attachments.xsd"&gt;
&lt;clinical_document_header&gt;
&lt;person_name&gt;
&lt;nm&gt;
&lt;v3dt:GIV V="George"/&gt;
&lt;v3dt:MID V="F"/&gt;
&lt;v3dt:FAM V="Carson"/&gt;
&lt;/nm&gt;
&lt;/person_name&gt;
&lt;/clinical_document_header&gt;
&lt;/levelone&gt;</p>
      <p>Data mining algorithms generally do not accept XML documents as input; rather,
they require their training sets to be in the form a table (where each row in the table
represents a tuple). The act of transforming a CDA document into a tuple implies the
existence of what we call an “inverse function”. An inverse function is the opposite
operation as the forward function; that is, given a CDA document, it returns a tuple of
values. Figure 2 shows a simple example of an inverse function.</p>
      <p>Inverse functions have to deal with the fundamental difference between XML
documents and relational databases. An XML document is a hierarchical data
structure, whereas a database table represents a flat data structure. When one converts an
XML file into a database table, all implicit hierarchic information in the CDA
document is lost. This emphasizes the need for a hybrid approach: “convert the content
into database tables for data mining, but store the original CDA document as well”.</p>
      <p>Both the forward function and the inverse function can be automatically generated
from a file we term a “compilable template”. The file is a template insofar as it is
similar to a CDA document but it contains variables in place of data values. The file
is also termed compilable because it contains commands that be processed by a
compiler21 to generate outputs such as the forward and inverse functions.
(a) SNIPPET FROM A CDA Document:
&lt;levelone xmlns="urn:hl7-org:v3/cda"
xmlns:v3dt="urn:hl7-org:v3/v3dt"
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=
"urn:hl7-org:v3/cda levelone_1.0.attachments.xsd"&gt;
&lt;clinical_document_header&gt;
&lt;person_name&gt;
&lt;nm&gt;
&lt;v3dt:GIV V="George"/&gt;
&lt;v3dt:MID V="F"/&gt;
&lt;v3dt:FAM V="Carson"/&gt;
&lt;/nm&gt;
&lt;/person_name&gt;
&lt;/clinical_document_header&gt;
&lt;/levelone&gt;
(b) USING THE FOLLOWING INVERSE FUNCTION:
Toy_example( String Toy_Example_CDA_Document)
(c) CALLING THIS FUNCTION WITH A CDA DOCUMENT GIVES</p>
      <p>(assumed a table person does not exist yet):
CREATE TABLE Persons (firstName, midInitial, lastName);</p>
      <p>INSERT INTO Persons values (‘George’, ‘F’, ‘Carson’);</p>
      <p>Web services are functions that execute on a remote server. Given an XML file
called a Web Service Description Language (WSDL)18 file, one can automatically
generate the code required to access a web service in just about any programming
language of significance. Owing to the language and platform neutrality of web
services, we believe that web services represent an ideal means of implementing the
forward function – particularly in the context of a PHR where one can expect the
cooperating institutions to utilize a variety of platforms and programming languages.
Web services are elegant. In our demonstration system the invocation of the function
to produce a CDA document takes only two lines of source code in the C#
programming language and three lines in Java.</p>
      <p>The use of compilable templates can automate many common tasks. To give the
reader an idea of the scope of automation possible, consider the automation already
achieved in the PING project. In addition to automating the production of the code
for the forward and inverse functions, our template compiler also (1) creates web
services for the forward and inverse functions (2) installs the web services on a web
server (3) generates WSDL files for each web service (4) uses the WSDL file to
generate the functions needed to access these web services corresponding to the forward
functions in two languages (C#.Net and Java), and (5) installs on a web server
appropriate documentation to allow authorized programmers to access the web services.</p>
      <p>It is in this vein that we refer to compilable templates as a single point of
maintenance, because all of the above functionality is automatically generated from a single
compilable template file. When compared to the alternative approach of writing the
CDA document manually (in which each step would represent a point of
maintenance) the time and cost savings become compelling.</p>
    </sec>
    <sec id="sec-2">
      <title>4 Opportunities and Challenges</title>
      <p>The opportunity of our approach is it reduces the cost of moving existing documents
to new standards, while immediately reducing the work required to produce software
commonly needed for KM applications.</p>
      <p>Electronically signed documents present special challenges since the alteration of a
single bit is sufficient to void the signature. As a result, signed documents cannot be
upgraded to a new standard per se without abandoning the validity of their signature.
Therefore we recommend the following hybrid approach. A copy of a signed
document should be stored for archival purposes, while an unsigned version of the
document can be upgraded to the newer standard, with a URL pointing to the old
document.</p>
      <p>An even bigger obstacle yet is the lack of ontological compatibility on the clinical
domain. Using terminologies like LOINC or SNOMED CT etc. and the appropriate
mapping to the Unified Medical Language System (UMLS)19 could be a first step to
approach the problem, but first attempts show the complexity of this task6-8.</p>
    </sec>
    <sec id="sec-3">
      <title>5 Conclusion</title>
      <p>CDA documents offer many opportunities for computer decision support and
knowledge management. In order to keep the infrastructure maintainable and
upgradeable, additional services like web services and compilable templates are
necessary.</p>
      <p>Compilable template enable a single point of maintenance as the forward function,
inverse function and associated documentation can be automatically generated from
the template. To achieve ontological compatibility in an extremely heterogeneous
healthcare environment still more work is necessary.</p>
    </sec>
    <sec id="sec-4">
      <title>6 Acknowledgements</title>
      <p>The authors are grateful to (1) Peter Szolovits at MIT for reviewing this
manuscript and for his sage advice and criticism and to (2) Isaac Kohane at Children's
Hospital, for helpful discussions and insights and for suggesting that web services be
used in this project.</p>
      <p>This work was supported by Deutsche Forschungsgemeinschaft (DFG,
SA1009/11) and by the National Institutes of Health through contract N01-LM-3-3515 from the
National Library of Medicine.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <source>July 31</source>
          ,
          <year>2003</year>
          . Available at: http://books.nap.edu/html/ehr/NI000427.pdf.
          <source>August 16</source>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <given-names>Waegemann</given-names>
            <surname>CP</surname>
          </string-name>
          .
          <source>Status Report</source>
          <year>2002</year>
          :
          <article-title>Electronic Health Records</article-title>
          . MRI. Available at: http://www.medrecinst.com/resources/ehr2002/index.shtml.
          <source>August 16</source>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Simons</surname>
            <given-names>WW</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mandl</surname>
            <given-names>KD</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kohane</surname>
            <given-names>IS</given-names>
          </string-name>
          .
          <source>The PING Personally Controlled Electronic Medical Record System: Technical Architecture. J Am Med Inform Assoc. 10 18</source>
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <given-names>Int J Med</given-names>
            <surname>Inf</surname>
          </string-name>
          .
          <source>Jun</source>
          <year>2001</year>
          ;
          <volume>62</volume>
          (
          <issue>1</issue>
          ):
          <fpage>27</fpage>
          -
          <lpage>40</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>