<!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 />
    <article-meta>
      <title-group>
        <article-title>Feasibility of Modeling HL7 FHIR Profiles Using RDF Shape Expressions Language</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Harold R. Solbrig</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Eric Prud'hommeaux</string-name>
          <email>eric@w3.org</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Deepak K. Sharma</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christopher G. Chute</string-name>
          <email>chute@jhu.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Guoqian Jiang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Johns Hopkins University</institution>
          ,
          <addr-line>Baltimore, MD</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Mayo Clinic College of Medicine</institution>
          ,
          <addr-line>Rochester, MN</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>W3C/MIT</institution>
          ,
          <addr-line>Boston, MA</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This presentation describes our progress to date in developing tools to mechanically parse the core models in the HL7 Fast Healthcare Interoperability Resources (FHIR) DSTU2 Ballot, and produce corresponding Shape Expressions (ShEx) schemas. In it we describe the transformation process, and how the resulting artifacts can be used in modeling FHIR profiles, and its validation and information mapping. We also discuss our plans to integrate this process into the OpenRefine platform to provide a user-friendly interface to support RDF/FHIR data element harmonization and model transformation.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>HL7 Fast Healthcare Interoperability Resources (FHIR) is an emerging standard for
the electronic exchange of healthcare information1. FHIR defines a collection of
"resources" that "can easily be assembled into working systems." While a robust
software ecosystem is emerging from FHIR community, the clinical community still faces
a substantial challenge of transformation between existing databases and the FHIR
models.</p>
      <p>The Resource Description Framework (RDF)2 Shape Expressions language (ShEx)3,
developed as an input to the W3C RDF Data Shapes working group4, is a mechanism
to formally describe RDF structures, providing the RDF analog to XML schema. In
addition, ShEx provides a "semantic action" capability that enables conformant RDF
instances to be transformed to corresponding RDF, XML, JSON, HTML, CSV, or
other equivalents.</p>
      <p>
        In this study, we used the core resources in the HL7 FHIR DSTU2 Ballot released on
April
        <xref ref-type="bibr" rid="ref2">2, 2015</xref>
        . The core resources are classified into clinical, administrative,
infrastructure and financial categories. Both the FHIR resources and the schemas that
describe have equivalent XML and JSON representations.
      </p>
      <p>The FHIR schema to ShEx (FHIRSchema2ShEx)5 transformation tools were
developed in collaboration with the HL7 ITS/W3C HCLS group6, based on the their
mappings between the JSON representation of the FHIR schemas and their ShEx
equivalent. We implemented these transformation rules in JavaScript and integrated them
with the FHIRData2RDF application5.</p>
      <p>We began by creating a library of ShEx schemas, one per core FHIR resource. The
library is generated by a tool that starts with a FHIR ShEx schema name from the
FHIR2ShEx transformation tool and produces a file that contains the target FHIR
schema and its dependencies.</p>
      <p>We also examined the feasibility of using ShEx to represent the HL7 FHIR profiles.
We manually created ShEx schemas for three HL7 FHIR profiles in a genomics
domain7, Sequence, Sequencing Lab, and Genetic Observation. It turned out that the
much of the ShEx schema produced for the FHIR core resources could be reused in
the FHIR profiles. As an example, the ShEx schemas for the core FHIR resources
Quality, Code, CodeableConcept and Patient in the Sequence profile. We are
currently developing tools that support the FHIR profile modeling process in a
semiautomated fashion, which will allow FHIR resources instances to be created and
exchanged as standardized FHIR RDF.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <source>HL7 FHIR DSTU 2 Ballot</source>
          .
          <source>2015 [September 14</source>
          ,
          <year>2015</year>
          ]; Available from: http://www.hl7.org/fhir/2015May/index.html.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>W3C</given-names>
            <surname>Resource Description Framework</surname>
          </string-name>
          (RDF).
          <source>2015 [September 14</source>
          ,
          <year>2015</year>
          ]; Available from: http://www.w3.org/RDF/.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Shape</given-names>
            <surname>Expressions Langauge</surname>
          </string-name>
          .
          <source>2015 [September 14</source>
          ,
          <year>2015</year>
          ]; Available from: http://www.w3.org/2001/sw/wiki/ShEx.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>W3C RDF Data Shapes Working Group</surname>
          </string-name>
          .
          <source>2015 [September 14</source>
          ,
          <year>2015</year>
          ]; Available from: http://www.w3.org/2014/data-shapes/wiki/Main_Page.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <source>FHIR RDF Transformation</source>
          .
          <source>2015 [September 10</source>
          ,
          <year>2015</year>
          ]; Available from: https://github.com/w3c/hcls-fhir-rdf.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <article-title>HL7 ITS/W3C HCLS RDF work group</article-title>
          .
          <source>2015 [September 14</source>
          ,
          <year>2015</year>
          ]; Available from: http://wiki.hl7.org/index.php?title=RDF_for_Semantic_Interoperability.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Alterovitz</surname>
            <given-names>G</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Warner</surname>
            <given-names>J</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            <given-names>P</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            <given-names>Y</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ullman-Cullere</surname>
            <given-names>M</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kreda</surname>
            <given-names>D</given-names>
          </string-name>
          , et al.
          <article-title>SMART on FHIR Genomics: Facilitating standardized clinico-genomic apps</article-title>
          .
          <source>Journal of the American Medical Informatics Association : JAMIA</source>
          .
          <year>2015</year>
          . Epub 2015/07/23.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>