<!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>Standards Based Adaptation of Clinical Documents for Interoperability of e-Health Services</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Evgeniy Krastev</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dimitar Tcharaktchiev</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kalinka Kaloyanova</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Lyubomir Kirov</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Petko Kovatchev</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Simeon Abanos</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nonka Mateva</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Medical Informatics, Medical University of Plovdiv</institution>
          ,
          <addr-line>Plovdiv</addr-line>
          ,
          <country country="BG">Bulgaria</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Medical Informatics, Medical University</institution>
          ,
          <addr-line>Sofia</addr-line>
          ,
          <country country="BG">Bulgaria</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Faculty of Mathematics and Informatics, University of Sofia St. Kliment Ohridsky</institution>
          ,
          <addr-line>5 James Bourchier Blvd., 1164 Sofia</addr-line>
          ,
          <country country="BG">Bulgaria</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Faculty of Medicine, University of Sofia St. Kliment Ohridsky</institution>
          ,
          <addr-line>Sofia</addr-line>
          ,
          <country country="BG">Bulgaria</country>
        </aff>
      </contrib-group>
      <fpage>14</fpage>
      <lpage>29</lpage>
      <abstract>
        <p>The area of eHealth is constantly evolving in the last years. Health service providers generate and record large volumes of clinical data in electronic or paper format. Most of the time such data is transformed or duplicated in clinical documents manually. In other cases, clinical data is inaccessible due to incompatibility of data types and structures. Therefore, it is a challenge to transform existing models of clinical documents into internationally accepted standards that enable semantic interoperability among the participants in the clinical process. The objective of this paper is to present a model for transformation of such legacy models into a standard reference model that supports semantic interoperability in accordance with the EU approved standard CEN 13606. A realistic case study of information services in Bulgarian healthcare is used to build an UML model and design a corresponding CEN 13606 Archetype model. The results are obtained as part of an eHealth scientific program with the combined research efforts of a team of researchers having professional experience both in medicine and computer science. It allows building a prototype of an information system that enables semantic interoperability among clients in terms of RESTful web services provided by a NoSQL database.</p>
      </abstract>
      <kwd-group>
        <kwd>eHealth</kwd>
        <kwd>semantic interoperability</kwd>
        <kwd>CEN 13606 reference model</kwd>
        <kwd>CEN 13606 archetype</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Nowadays patients widely use modern information technology to consume
services offered by the participants in the healthcare system– general practitioners
(GP), labs, hospitals, etc. These services generate and record large volumes of
clinical data in electronic or paper format. For example, in accordance with the
best worldwide practices Bulgarian GPs record in electronic format data for more
than 25, 000, 000 medical exams annually [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. This medical information is very
comprehensive and contains data about medical history, diagnoses, medications,
vaccination, allergies, lab results, results from consultant’s referrals and hospital
stay, GP’s notes, etc. In a similar way the rest of the healthcare services
providers (HSP) generate and record huge amounts of clinical data in electronic format.
Undoubtedly, this data could be used in a very meaningful way for improving
the quality of the health care services in Bulgaria. At the same time, the level of
electronic exchange of clinical data and interoperability between HSPs remain
quite limited. The establishment of direct connectivity between separate subjects
of the healthcare system as well as the implementation of EU approved standards
for representation of clinical data structures are one of the greatest challenges for
the national healthcare system.
      </p>
      <p>
        The main objective of this paper is to investigate the most frequently used
definitions of clinical data structures and to propose a model for adapting them to
CEN 13606 [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Harmonizing existing technologies with approved
interoperability standards appears to be a better approach than replacing them with very new
solutions. The proposed UML model is a result of the combined research efforts
of a team of researchers combining professional experience both in medicine and
computer science. The conclusions are based on original documents used in the
clinical practice.
      </p>
      <p>The paper is structured in seven sections. In the following section, we briefly
describe the limitations in the information flow of XML documents employed
to manage healthcare activities in Bulgaria. This realistic case study makes use
of original information sources and provides evidence that the information flow
is based on document definitions inconsistent with the CEN 13606 standard for
semantic interoperability. It serves as a motivation to formulate in section 3 the
problem statement in this paper. Section 4 establishes a common ground for
harmonizing the existing document definitions in the national healthcare with the
standard reference model of CEN 13606. Section 5 presents the proposed
transition from W3C XML schemas used in legacy document definitions into the CEN
13606 reference model. Discussion about the applicability of the obtained results
and concluding remarks are provided in sections 6 and 7.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Motivation Case Study</title>
      <p>Management of health insurance funds and payments to healthcare services
providers (HSP) involve gathering and processing a huge amount of information.
These tasks are delegated to a specialized institution in Bulgaria – the National
Health Insurance Fund (NHIF). NHIF collects account reports in electronic
format from HSP like hospitals, GPs, dentists, and medical laboratories for the
services they have provided to self-insured patients. The reports are submitted as
XML documents prepared in accordance with XML Schema definitions (XSD)
designed and officially published by NHIF.</p>
      <p>
        For example, let us consider the structure of such an XSD document employed
to generate the account report in the GP practice [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. This document has a set of
global elements among which most important are elements Practice, Doctor and
AmbList (see Fig. 1). Here AmbList represents a sheet of the Ambulatory paper
book possessed by each patient, where for each visit of the patient the GP records
medical status details such as prescribed pharmaceutical drugs, and directions
for medical treatment, hospitalization, or specialized laboratory examinations.
Recording of this kind of medical data is common for GP practices [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The XSD
employs a set of 17 Global simple types to define the complex types of the Global
elements to represent the data structure of the AmbList (see Fig. 2).
      </p>
      <p>It is noteworthy that these simple types are direct references to standard
W3C XML Schema datatypes such as string, date, boolean or named containers
for a value of such datatypes like CodeType10 and Str150. The named containers
include validation rules for the contained value in terms of regular expressions
(see Fig. 3). These validation rules can be applied just to the value in the named
container. For instance, it is impossible to create a validation rule in the XSD to
ensure that DateFrom occurs before DateTo.</p>
      <p>
        Moreover, the GP report as an instance of this XSD contains no trace of
the semantic context accompanying the generation of the entries in the AmbList
of this to report to the NHIF. It makes it difficult to trace the results of the
prescribed treatment or even to relate together different sets of medical checks. For
example, it is important to link the prescribed drug to a problem code, illness
history or record the drug code with personalized dosage instructions and codes
of risk factors [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. A serious limitation for the efficient usage of this information
is the one- way communication between the GPs and NHIF. It allows the NHIF
just to manage the financial aspects in healthcare like accounting and distribution
of total payments due to GPs and other HSPs for the healthcare activities they
have completed. This substantially complicates the exchange of electronic data
between different HSPs mainly because of using non-standard and incomplete
data structures for representing clinical.
      </p>
      <p>In these circumstances, a patient may face the following problems. Assume
the patient has made some expensive and painful medical examinations ordered
by his GP. Then, while on vacation or on a duty trip, the patient loses accidentally
his Ambulatory paper book and he needs to visit another GP. The newly visited
GP has no access to the AmbList records of the patient in the NHIF. In the general
case, this GP cannot exchange information with the primary GP of the patient
about the reasons he has prescribed the medical examinations or about certain
discrepancies in the medical data provided by the patient. Most often in such
case, the patient must repeat the medical examinations.</p>
      <p>
        This model of communication in the healthcare system entails duplication of
data and usage of different technologies for data management by each one of the
HSPs. The XSD provided by the NHIF appear to be the only standard for
healthcare data interchange in the national healthcare system. Finally, the absence of
semantic context in the collection of medical data does not allow the application
of modern means for computer-aided support for decision making at all the levels
of the healthcare system [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
    </sec>
    <sec id="sec-3">
      <title>Problem Statement</title>
      <p>This case study exposes several information problems in the national
healthcare system that can discovered in many other countries as well. First, we note
that the exchange of medical information is centralized in a single institution
(NHIF) and the information flows unidirectionally to this institution. The scope
and content of the electronic records are reduced to serve merely the purposes of
an activity-based funding business model for health insurance management.</p>
      <p>
        The W3C XML Schema definitions of these records do not satisfy any
internationally recognized standard for semantic interoperability of health records like
CEN 13606 [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. These data structures do not refer to formally defined domain
concepts. Therefore, clinical data represented this way cannot be validated and
its meaning interpreted correctly by a software product in relation to a medical
domain. The absence of semantic context in the XSD does not allow the
information requester and the information provider to have a common understanding
for the “content meaning” embedded in the exchanged information [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ]. As an
immediate consequence, a patient usually communicates with different HSPs by
means of paper documents such as their Ambulatory paper book. Besides, the
content of paper documents is rarely complete and accurate [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Therefore, in
the general case the patient must communicate the same way with multiple HSPs.
This kind of communication causes many inconveniences for the end users of the
healthcare system and it is a major source of dissatisfaction from the quality of
the healthcare services.
      </p>
      <p>
        The absence of direct connectivity between HSPs isolates the large volumes
of data they accumulate in executing their everyday activities in the healthcare
domain. Modern eHealth approaches can help in finding reusable, scalable and
knowledge- driven solution based on the implementation of standards and best
practices in healthcare [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. The implementation of new approaches in a
complex system as healthcare is a great challenge especially when it goes about
a national healthcare system without system integrated medical databases and no
direct connectivity between HSPs.
      </p>
      <p>Therefore, in this paper we focus our efforts on the content of the XML
documents submitted to NHIF on a regular basis by GPs in Bulgaria. Our main
research hypothesis is that it is realistic to adapt these documents into the
reference model of CEN 13606. In this paper, we prove that this task can be resolved
in a typical case study.</p>
      <p>
        Existing research papers provide evidence that the reference model of this
standard can represent all the medical information contained within an electronic
health record such as an Ambulatory list [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. It enables different HSPs to
exchange information in a semantically interoperable manner [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. The CEN 13606
is compliant with the XML technologies employed to define the structure of
documents submitted to the NHIF [
        <xref ref-type="bibr" rid="ref15 ref16">15, 16</xref>
        ]. Moreover, the relationships of CEN
13606 with HL7 and openEHR are well investigated [
        <xref ref-type="bibr" rid="ref17 ref18">17, 18</xref>
        ]. Finally, a
successful harmonization of GP reports to NHIF with the reference model of CEN 13606
will have a great social effect because patients visit a GP before getting access to
any other healthcare service. On the other side, semantic interoperability between
GPs will improve the quality of the healthcare system.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>CEN 13606 Standard for Semantic Interoperability</title>
      <p>Interoperability refers to the ability two or more communicating parties to
exchange information and use the exchanged information. There exist three levels
of interoperability, syntactic, functional, and semantic. The levels of
interoperability distinguish the degree a machine language can understanding the
“meaning” of the exchanged information. Semantic interoperability provides a formal
model allowing the receiving system to interpret the shared information by
processing of formally defined concepts with a machine language.</p>
      <p>The exchange of electronic health records (EHR) is an essential requirement
for delivering eHealth services and products. In the general case EHR include
patient demographics, his health status data, prescribed therapy, immunizations,
laboratory data and other documentation required by the healthcare system. These
records contain clinical data such as the GP records discussed in Section 2.
Semantic interoperability in exchanging EHR plays an important role in healthcare
as an instrument for the implementation of key functional and non-functional
requirements that influence the effective management of the healthcare system
and the quality of healthcare services.</p>
      <p>
        The CEN 13606 standard is a five-part International standard approved by
the EU for semantic interoperability of EHR. In this paper, we employ the first
part of the standard, namely CEN13606-1:2019, where the EHR reference model
is specified [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. The reference model presents UML class diagrams and the
technical details of the core classes that are required by this standard for delivering
an extract from a clinical system to a recipient. The datatypes in the first edition
of the standard CEN 13606 make use of CEN/TS 14796:2008 that is currently
deprecated. Currently ISO 21090:2011 [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] is the International Standard that
provides a comprehensive set of models for data types needed by all health IT
systems including those represented in the reference model of CEN13606. This
standard supports UML 2.0, specifies XML based representations of datatypes, and
declares the semantics of the datatypes extending the ISO/IEC 11404 standard for
terminology, notations, and datatypes [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. All of it makes ISO 21090:2011
appropriate for adapting the datatypes in the XSD documents of the here considered
case study to the datatypes in the reference model in CEN 13606-1:2019.
      </p>
      <p>The reference model of CEN 13606 follows the hierarchical structure typical
for the representation and storage organization of clinical data. Class EXTRACT
is the root of a hierarchical structure of an EHR or a part of an EHR. This class
identifies the owner of the information extracted from the EHR in terms of
demographic data, access policy and version control. For shortness, we will not
consider here these properties. Class EXTRACT references a hierarchically structured
clinical data defined by classes all of which inherit class
RECORD_COMPONENT. It ensures secure exchange of extract components in this hierarchy even
in case of duplication of information. Class FOLDER is the container at the top
level of the clinical data hierarchy. Its purpose is to divide the clinical data into
compartments related to a single condition like individual ambulatory lists of
patients as our case study. Class COMPOSITION is model of the information
produced by a single data provider. This class describes the data provider (person
responsible for executing the healthcare activity or healthcare service structure).
Details about clinical action, observation, interpretation, or intention are
hierarchically grouped in sections (class SECTION) and entries (class ENTRY), where
each component of the hierarchy is referred to by the abstract class CONTENT.
Typical examples for instances of ENTRY are “Diagnose”, “Prescribed drug”,
while “Subjective symptoms”, “Documents” and “Procedure” are examples for
instances of class SECTION. At the lowest level instances of class ENTRY by a
hierarchy of clusters (class CLUSTER) and elements (class ELEMENT), where
components of this hierarchy are referred to as items (class ITEM). Class
ELEMENT is the leaf node in the CEN13606 reference model, and its instances
contain a single data value (“Height”, “Body weight”, “Drug name” etc.).</p>
    </sec>
    <sec id="sec-5">
      <title>UML Model for Transformation</title>
      <p>
        CEN 13606 enables semantic interoperability by separating the
representation of information and knowledge. At the first level of the proposed
methodology, information is structured in terms of the core classes of the reference model
introduced in the previous section. Knowledge is described at an upper level in
terms of a language for defining archetypes specified in the second part of this
standard known as CEN 13606-2:2019 [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ]. This paper considers the
transformation of information of existing XML documents into the CEN 13606 reference
model, where the documents belong to the healthcare domain and are valid
instances with respect to a given XSD document of a W3C XML Schema definition.
      </p>
      <p>
        The first stage in transforming the information into the reference model of
CEN 13606 is to convert the XSD document into a set of classes. Nowadays there
exist many software tools to complete this task. For example, Java Architecture
for XML Binding (JAXB) is one such software framework that allows mapping
Java classes to XSD documents [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ]. This way the Global elements displayed in
Figure 1 are converted in Java classes with the same names. As a result, we get
flexibility to manipulate freely separate pieces of semantic meaning that are
otherwise embedded in the monolithic structure of an XML document.
      </p>
      <p>
        The challenge is to fit the obtained classes at appropriate places into the
framework of the reference model of CEN 13606. First, the transformation of
information must preserve the semantics of the core classes and their relationships
in the reference model. Second, the classes from the here considered healthcare
domain must be mapped to classes in the reference model satisfying best
practices for information management in healthcare [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In other words, a synergy of
professional experience in both medicine and information technology is essential
for the implementation of such transformation of information structures.
      </p>
      <p>Let us consider the clinical data contained in an Ambulatory list (AmbList)
displayed in Fig. 1. This figure shows the major entities that buildup the
information content of an Ambulatory list. Among these entities, there are entities that
are of administrative origin and others carry important clinical context. Entities
with administrative content such as Practice (identification properties of the GP),
Patient (identification properties of the patient), Doctor (identification properties
of the GP) and the set of datamembers of the AmbList (the id code of the AmbList,
date of issue, payment source etc.) map to the categories of FOLDER and
COMPOSITION classes of entities.</p>
      <p>It is common entities with semantic context related to healthcare procedures
and services to serve as roots of hierarchical structures of documents with
specialized content of information. Such documents like Docs (documents for
specialized healthcare activities), SIMPList (directions for specialized non-hospital
medical care), Procedure (highly specialized healthcare services, laboratory
probes) or Profilact (prophylactically administered activities) from Fig. 1 may
contain observations for physical, neuro-psychological and general development,
temporary labor inability and so on. Therefore, it is appropriate to map these
entities to the semantic context of the SECTION class in the reference model. On the
other side, there are also entities that carry summary of clinical experience, such
as MainDiag and Diag (the Main Diagnose and secondary Diagnosis coded using
ICD-10) from Fig. 1. It is common to discover this kind of entities as instances
of ENTRY classes of SECTION type in the CEN 13606 reference model. These
objects provide content support for the previously considered group of SECTION
entities.</p>
      <p>This way we have demonstrated our approach for transforming an existing
clinical document into the CEN 13606 standard reference model. According to
this approach:
• entities of administrative origin having the same values in each document
instance are mapped to FOLDER and COMPOSITION classes of entities;
• entities of clinical semantic origin that require more detailed classification
of content with different values for each instance are mapped to SECTION
types; and
• entities that appear with different values for each instance of a SECTION
type are mapped to ENTRY classes.</p>
      <p>This transformation process obligatory requires practical experience in
healthcare information management and consultation with a clinical professional.</p>
      <p>The final step but not the least important in the transformation process is the
mapping of ISO 21090:2011 compatible datatypes to the datatypes used in the XSD
representation of the existing clinical document. In the here considered use case
we discover user-defined datatypes like CodeType10 and Str150 (see Fig. 2) as
well as simple types in XML such as string, date or boolean. ISO 21090:2011
supports directly simple XML types like string, date or boolean. Fig. 4 shows that
these types can be wrapped in classes that are more complex, respectively ST, TS,
and BL, if desired. The same refers to value containers such as CodeType10 and
Str150.</p>
      <p>
        The thus discovered information entities in XSD must be structured in a
reference model that is compatible with the CEN13606 standard. Therefore, the
second stage of the proposed information transformation involves extending core
classes in the reference model with classes discovered in the XSD document.
This way we to preserve the standard content in the core classes and the
relationships among them as per the standard specifications. It ensures that the obtained
extended reference model is compatible in terms of object-oriented design with
the base implementation of that model. A similar approach is followed in [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] for
publishing CEN 13606 compatible EHR extracts.
      </p>
      <p>The extended reference model of a GP report is displayed in Fig. 5, where the
shaded blocks represent the objects inheriting some core class in the base
definition of CEN 13606. The state of the objects is determined by the values of the
data members of the respective class. For simplicity of presentation core classes
CLUSTER and ELEMENT as well as some, the discovered information entities
in the XSD are not shown in Fig. 5. The proposed inheritance relationships
allow these objects to be referenced in any software implementation that makes
use of the core classes in this standard. The greatest challenge in developing the
extended reference model is the proper selection of the base class among the
standard core classes for each one of the classes obtained from the XSD model.
ISO 21090:2011 compatible datatypes.
6</p>
    </sec>
    <sec id="sec-6">
      <title>Archetype Design</title>
      <p>
        The Reference Model shown in Fig. 5 satisfies the CEN 13606; however, it is
not ready for practical implementations. One of its drawbacks is that it does not
reflect well the business process followed by GPs to collect clinical information,
evaluate, and prescribe a therapy to a patient in need. Another drawback is that
this model is difficult to share and implement readily in software applications.
For this purpose, we convert the Information model shown in Fig. 5 into the
Archetype model of CEN 13606 [
        <xref ref-type="bibr" rid="ref13 ref21">21, 13</xref>
        ]. This model allows us to structure in a
meaningful way the CONTENT of the Reference Model of CEN 13606-1:2019
by means of the software tool LinkEHR Studio [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ]. The obtained archetype
CEN-EN13606-COMPOSITION.AmbulatoryList.v1 is shown in Fig. 6.
      </p>
      <p>Unlike the Reference model shown in Fig. 4 the Archetype model transforms
the data entities in the XML Schema definition of a GP report (see Fig. 1) into a
set of four major SECTIONs that are intuitively understood by a GP. These
SECTIONs represent the four major stages of a visit to a GP (Observation,
Evaluation, Instruction and Action).</p>
      <p>Initially a GP performs an OBSERVATION of the vital signs of the patient
and records the measured values as well as gets familiar with the history of the
illness or other clinical evidence. Next, the GP makes an EVALUATION of the
clinical information in the semantic context of the overall health status of the
patient. This allows the GP to assign a therapy for the illness in terms of a set of
INSTRUCTIONs and propose a set of ACTIONs the patient must execute.</p>
      <p>
        It is noteworthy that the proposed grouping of concepts based on their
semantic context in the business process a GP follows in executing his activities is
not clearly defined in the CEN 13606 standard. Similarly, to the openEHR open
source specification [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] it helps research workers both from information and
medical sciences to understand the information model of the clinical document.
      </p>
      <p>This archetype model itself is expressed in an Archetype Description
Language (ADL) that is based on XML. This model is inherently extensible and
scalable with respect to the semantic context we want to include in clinical data
exchange. It also allows representing any clinical document in an EU
standardbased model that can be shared among application developers as well as used by
GPs to exchange clinical data.</p>
      <p>The Archetype model of CEN 13606 provides several features that are
required for achieving semantic interoperability. For example, it allows imposing
constraints on the range of attributes of primitive types, constraints on the
cardinalities of these attributes as well as introducing constraints on complex objects.
The ontology section (see Fig. 6) of that model allows describing and binding
information entities to clinical terminologies like SNOMED CT. For example, the
entries of MainDiag and Diag in AmbList are bound to the ICD-10 terminology.
It helps to embed semantic context in easy to discover patterns related to
Procedures ENTRY concepts of health-related activities (SECTION-PROCEDURE)
or to Observable ENTRY concepts (SECTION-ACTION), where specific values
identify a health-related finding of the GP.</p>
      <p>
        The Archetype model of the clinical documents has been exported in a W3C
XML schema. It allowed managing instances of this model in a uniform way on
a noSQL database like eXist-db [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ]. For testing purposes, the database was
installed locally, however, without any limitations it can be managed remotely or in
a cloud infrastructure [
        <xref ref-type="bibr" rid="ref24 ref25 ref26">24, 25, 26</xref>
        ]. Clients execute XQuery requests on instances
of the Archetype model by means of RESTful web services. This allows
exchanging the semantic context belonging to heterogeneous repositories of clinical data
for example in cross-border exchange of personal health records [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ].
Computer systems in Bulgarian healthcare generate and record large volumes
of clinical data in electronic format. This data is a valuable resource of
information for improving the quality of the health care services. The objective of this
paper is to propose a common methodology for transforming existing
information from XML documents exchanged in the healthcare domain making use of
the Archetype model of CEN 13606. As a motivation case study, we consider the
clinical documents generated in a GP practice. First, the global elements in the
XSD document are converted to Java classes. Next, the Reference model of CEN
13606 is extended with these classes by preserving the original structure of core
classes and their relationships in the international standard. Further, on we build
an Archetype model of the Ambulatory list prepared by GPs. The architecture of
concepts in this model is aligned with the logic of the business process followed
by a GP in his practice and the semantic context is enriched by binding the model
entries to clinical terminologies. The proposed methodology aims to overcome
the currently limited scope of centralized exchange of clinical records and
provide means for introducing modern approaches for computer assisted knowledge
management in healthcare through semantic interoperability. The UML model for
transformation of information structures is the result of the combined research
efforts of a team of researchers combining professional experience both in
medicine and computer science. The conclusions are based on original documents
used in the clinical practice and best practices reported in the existing literature
sources. The results are obtained as part of an eHealth scientific program with the
combined research efforts of a team of researchers having professional
experience both in medicine and computer science. It allows building a prototype of an
information system that enables semantic interoperability among clients in terms
of RESTful web services provided by a NoSQL database.
      </p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgment</title>
      <p>This research is supported by the National Scientific Program еHealth in
Bulgaria.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1. Department of Health (DH)/Royal College of General Practitioners,
          <article-title>(RCGP)/British Medical Association (BMA), “The Good Practice Guidelines for GP electronic patient records v4</article-title>
          ,
          <source>” 21 March</source>
          <year>2011</year>
          . [Online]. Available: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/215680/dh_125350.pdf.
          <source>[Accessed 6 April</source>
          <year>2019</year>
          ].
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. ISO/TC 215 Health informatics,
          <source>“ISO 13606-1</source>
          :2008 Health informatics --
          <source>Electronic health record communication -- Part 1: Reference model,” 2</source>
          <year>2008</year>
          . [Online]. Available: https://www. iso.org/standard/40784.html.
          <source>[Accessed 6 April</source>
          <year>2019</year>
          ].
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>National</given-names>
            <surname>Health Insurance Fund</surname>
          </string-name>
          , “
          <article-title>XML file format for submitting requests by doctors and specialists for accounting completed ambulatory activities in primary and specialized patient care after September 1st</article-title>
          .,
          <year>2018</year>
          ,”
          <issue>1</issue>
          <year>September 2018</year>
          . [Online]. Available: https://www.nhif.
          <source>bg/ page/28. [Accessed 7 April</source>
          <year>2019</year>
          ].
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>L. P.</given-names>
            <surname>Kongstad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Mellace and K. R. Olsen</surname>
          </string-name>
          , “
          <article-title>Can the use of Electronic Health Records in General Practice reduce hospitalizations for diabetes patients? Evidence from a natural experiment,” HEDG-Health Econometrics</article-title>
          and Data Group, vol.
          <volume>16</volume>
          , no.
          <issue>25</issue>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>M. R.</given-names>
            <surname>Santosa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. P.</given-names>
            <surname>Baxa</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Kalra</surname>
          </string-name>
          , “
          <article-title>Building a logical EHR architecture based on ISO 13606 standard and semantic web technologies,” Studies in health technology and informatics PTS I AND II , 160</article-title>
          , pp.
          <fpage>161</fpage>
          -
          <lpage>165</lpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>P.</given-names>
            <surname>Muñoz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. D.</given-names>
            <surname>Trigo</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Martínez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Muñoz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Escayola</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>García</surname>
          </string-name>
          , “
          <article-title>The ISO/EN 13606 Standard for the Interoperable Exchange of Electronic Health Records,”</article-title>
          <source>Journal of Healthcare Engineering</source>
          , vol.
          <volume>2</volume>
          , no.
          <issue>1</issue>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>24</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>B.</given-names>
            <surname>Blobel</surname>
          </string-name>
          , “
          <source>Interoperable EHR Systems - Challenges</source>
          , Standards and Solutions,”
          <source>European Journal for Biomedical Informatics</source>
          , vol.
          <volume>14</volume>
          , no.
          <issue>2</issue>
          , pp.
          <fpage>10</fpage>
          -
          <lpage>19</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>M.</given-names>
            <surname>Todorova</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Orozova</surname>
          </string-name>
          , “
          <source>Generalized Net Model of Sequential Programs,” in 20th International Symposium on Electrical Apparatus and Technologies (SIELA)</source>
          ,
          <year>Bourgas</year>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>D.</given-names>
            <surname>Nazário</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Dantas</surname>
          </string-name>
          and
          <string-name>
            <surname>D.</surname>
            ,
            <given-names>D. J.</given-names>
          </string-name>
          <string-name>
            <surname>Macedo</surname>
          </string-name>
          , “
          <article-title>An e-Health Study Case Environment Enhanced by the Utilization of a Quality of Context Paradigm</article-title>
          ,” in
          <source>2018 IEEE Symposium on Computers and Communications (ISCC)</source>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>P. P.</given-names>
            <surname>Gutiérrez</surname>
          </string-name>
          , “
          <article-title>Towards the Implementation of an openEHR-based Open Source EHR Platform (a vision paper</article-title>
          ),” in MEDINFO 2015:
          <article-title>EHealth-enabled</article-title>
          <source>Health: Proceedings of the 15th World Congress on Health and Biomedical Informatics</source>
          , São Paulo, Brazil,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>W. O.-N. d'Hollosy</surname>
            ,
            <given-names>L. V.</given-names>
          </string-name>
          <string-name>
            <surname>Velsen</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Henket</surname>
            and
            <given-names>H.</given-names>
          </string-name>
          <string-name>
            <surname>Hermens</surname>
          </string-name>
          , “
          <article-title>An Interoperable eHealth Reference Architecture for Primary Care</article-title>
          ,” in
          <source>2018 IEEE Symposium on Computers and Communications (ISCC)</source>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>C. Rinner</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Wrba</surname>
          </string-name>
          and G. Duftschmid, “
          <article-title>Publishing Relational Medical data as CEN 13606 Archetype Compliant RHR Extracts Using XML Technologies,” in Medical Informatics meets eHealth</article-title>
          .
          <source>Tagungsband der eHealth2007, Wien</source>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>R.</given-names>
            <surname>Lozano-Rubí</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Carrero</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. S.</given-names>
            <surname>Balazote</surname>
          </string-name>
          and
          <string-name>
            <given-names>X.</given-names>
            <surname>Pastor</surname>
          </string-name>
          , “
          <article-title>OntoCR: A CEN/ISO-13606 clinical repository based on ontologies</article-title>
          ,
          <source>” Journal of biomedical informatics</source>
          , vol.
          <volume>60</volume>
          , pp.
          <fpage>224</fpage>
          -
          <lpage>233</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14. T. Austin, S. Sun,
          <string-name>
            <given-names>T.</given-names>
            <surname>Hassan</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Kalra</surname>
          </string-name>
          , “
          <article-title>Evaluation of ISO EN 13606 as a result of its implementation in XML,” Health informatics journal</article-title>
          , vol.
          <volume>19</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>264</fpage>
          -
          <lpage>280</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>S.</given-names>
            <surname>Kropf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Chalopin</surname>
          </string-name>
          and
          <string-name>
            <given-names>K.</given-names>
            <surname>Denecke</surname>
          </string-name>
          , “
          <article-title>Template and Model Driven Development of Standardized Electronic Health Records,” in MEDINFO 2015: EHealth-enabled</article-title>
          <source>Health: Proceedings of the 15th World Congress on Health and Biomedical Informatics</source>
          , Brazil,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>C. McCay</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Kalra</surname>
            and
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Worden</surname>
          </string-name>
          , “
          <article-title>Results of Investigating the Transformability Between HL7 V3, openEHR</article-title>
          and EN/ISO 13606,” Crown,
          <volume>8</volume>
          <fpage>8</fpage>
          2008. [Online]. Available: http://www. healthintersections.com.au/wp-content/uploads/2011/12/HL7-openEHR-13606
          <source>-Transformability_v1.0.pdf. [Accessed 6 April</source>
          <year>2019</year>
          ].
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17. P. Schloeffel,
          <string-name>
            <given-names>T.</given-names>
            <surname>Beale</surname>
          </string-name>
          , G. Hayworth,
          <string-name>
            <given-names>S.</given-names>
            <surname>Heard</surname>
          </string-name>
          and
          <string-name>
            <given-names>H.</given-names>
            <surname>Leslie</surname>
          </string-name>
          , “
          <article-title>The relationship between CEN 13606, HL7</article-title>
          , and openEHR,” Sydney, Australia,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18. ISO/TC 215 Health informatics, “ISO 21090:
          <year>2011</year>
          <article-title>Health informatics -- Harmonized data types for information interchange</article-title>
          ,
          <source>” Feb</source>
          <year>2011</year>
          . [Online]. Available: https://www.iso.org/standard/35646.html.
          <source>[Accessed 8 Apr</source>
          <year>2019</year>
          ].
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19. T. Beale, “
          <article-title>ISO 13606 2012 revision openEHR proposal</article-title>
          ,”
          <issue>30</issue>
          <year>July 2012</year>
          . [Online]. Available: https://openehr.atlassian.net/wiki/spaces/stds/overview. [
          <source>Accessed 9 April</source>
          <year>2019</year>
          ].
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <given-names>D.</given-names>
            <surname>Leuck</surname>
          </string-name>
          and
          <string-name>
            <given-names>P.</given-names>
            <surname>Niemeyer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Learning</given-names>
            <surname>Java</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O</given-names>
            <surname>'Reilly Media</surname>
          </string-name>
          , Inc.,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21. ISO/TC 215 Health informatics,
          <source>«ISO 13606-2</source>
          :
          <fpage>2008</fpage>
          .
          <article-title>Health informatics -- Electronic health record communication -- Part 2: Archetype interchange specification</article-title>
          ,»
          <year>December 2008</year>
          . [Online]. Available: https://www.iso.org/standard/50119.html.
          <source>[Accessed 4 May</source>
          <year>2019</year>
          ].
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22. VeraTech for Health, «LinkEHR. Interoperability Platform,» VeraTech,
          <year>2019</year>
          . [Online]. Available: http://34.241.222.167/linkehr/index.html.
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <given-names>E.</given-names>
            <surname>Siegel</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Retter</surname>
          </string-name>
          ,
          <string-name>
            <surname>eXist.A NoSQL Document Database and Application Platform</surname>
            ,
            <given-names>O</given-names>
          </string-name>
          <string-name>
            <surname>'Reilly Media</surname>
          </string-name>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <given-names>I.</given-names>
            <surname>Patias</surname>
          </string-name>
          and
          <string-name>
            <given-names>V.</given-names>
            <surname>Georgiev</surname>
          </string-name>
          , «
          <article-title>Mobile Medical Applications as Instrument in Supporting Patients Compliance</article-title>
          ,»
          <source>American Journal of Engineering Research</source>
          , pp.
          <fpage>96</fpage>
          -
          <lpage>102</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25. Code4Health, «Code4Health Platform,» Apperta Foundation,
          <year>2020</year>
          . [Online]. Available: https://platform.code4health.org/#/.
          <source>[Accessed 20 April</source>
          <year>2020</year>
          ].
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <given-names>I.</given-names>
            <surname>Patias</surname>
          </string-name>
          and
          <string-name>
            <given-names>V.</given-names>
            <surname>Georgiev</surname>
          </string-name>
          , «
          <article-title>Mobile Medical Applications: From Cloud-oriented to Cloud Ready</article-title>
          ,
          <source>Proceedings of the Eleventh Mediterranean Conference on Information Systems,» in Eleventh Mediterranean Conference on Information Systems</source>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <given-names>S.</given-names>
            <surname>Savoska</surname>
          </string-name>
          and
          <string-name>
            <surname>I. Jolevski</surname>
          </string-name>
          , «
          <article-title>Architectural Model of e-health PHR to Support the Integrated Cross-</article-title>
          border Services,
          <source>» in 12th Conference on Information Systems and Grid Technologies (ISGT2018)</source>
          , Sofia, Bulgaria,
          <year>2018</year>
          . CEUR-WS.
          <source>org [Online] Available: CEUR-WS.org/Vol2464/paper4.pdf. [Accessed 21 April</source>
          <year>2020</year>
          ].
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>