![]() |
Impact of an XML repository in development of XML messages | Table of contents | Indexes | Designing XML based medical applications for windows | ![]() |
|||
XML ![]() flexibility ![]() pathology ![]() template ![]() user interface ![]() | Using XML for flexible data entry in healthcare |
| example use for pathology |
| Schweiger, Ralf |
| Ralf Schweiger |
| Information Scientist in Medicine |
Germany ![]() Giessen ![]() Institute for Medical Informatics ![]() | Institute for Medical Informatics,
Heinrich-Buff-Ring 44 Giessen 35392 Germany Phone: +49(641)9941370 Fax: +49(641)9941359 email: ralf.schweiger@informatik.med.uni-giessen.de |
| Biography |
| Tafazzoli, Ali |
| Ali Tafazzoli |
| Information Scientist in Medicine |
Germany ![]() Giessen ![]() Institute for Medical Informatics ![]() | Institute for Medical Informatics,
Heinrich-Buff-Ring 44 Giessen 35392 Germany Phone: +49(641)9941382 Fax: +49(641)9941359 email: ali.g.tafazzoli@informatik.med.uni-giessen.de |
| Biography |
Dudeck, Joachim ![]() |
| Joachim Dudeck |
| Information Scientist in Medicine |
Germany ![]() Giessen ![]() Institute for Medical Informatics ![]() | Institute for Medical Informatics,
Heinrich-Buff-Ring 44 Giessen 35392 Germany Phone: +49(641)9941350 Fax: +49(641)9941359 email: joachim.w.dudeck@informatik.med.uni-giessen.de web site: www.uni-giessen.de |
| Biography |
| Abstract |
Introduction |
XML ![]() | Since Feb 1998, theXML is a standardized format for the structuring of Web resources . With XML, single elements are marked inside textual documents. This markup principle might be used as well for clinical resources. In a pathology report e.g. we might want to mark the patient data and the findings (e.g. by <finding>malign tumor</finding>) which allows an application service to automatically identify and relate these elements inside a pool of pathology reports. The markup consequently solves the problem of identifying the information inside textual resources and enables the development of application services on top of it. In addition, XML does not only enable but also accelerate the application development. The XML technology provides the software engineer with a variety of software components for the parsing and transformation of XML structured data. The transformation facility e.g. can be used to quickly translate XML structured data into standard messages like HL7 or to provide different views on a document (text without markup, marked elements only). The ability to provide new functionality for XML structured data with little investments is an important feature of the XML technology. In that sense, XML follows the trend of emerging component strategies. |
Method |
| Following we will give a respective example for the XML template, the HTML form and the resulting XML document. |
XML template |
| presents a simplified XML template for pathology reports. The template contains XML elements such as <Patient>, <Specimen>, <MacroscopicFinding> and <Morphology>, i.e. XML elements in the template represent domain specific markup. Relationships between the elements are established by element nesting. The construct <Morphology><Code/></Morphology> e.g. communicates the code of the morphology. Empty elements such as <Code/> represent a data entry point in the corresponding form. |
URL ![]() | To each domain specific XML element in the template we associate a number of domain independent XML attributes such asoccur ,type andprompt . The default occurrence is exactly once and might be changed to e.g. occur=“omit“ which declares an optional element. The type attribute might be applied to empty template elements, i.e. data entry points in the form and determines the form object to be used for the data entry. Possible form objects are selections (<Sex>), multi line text (<MacroscopicFinding>) and single line text (default). A selection is a comma separated list of the possible values, with a prompt and an optional code for each value (prompt/code). The user prompt of an XML element defaults to the element name and might be changed to a more verbose text. The number of attributes associated with a template element is open and can be extended and adapted to the current needs. We have implemented for example aget attribute whose value is aURL that identifies a remote data server. Such a mechanism allows the document manager to retrieve and integrate existing data from remote locations using different transfer protocols (HTTP, IIOP etc.). |
|
HTML form |
| The XML template is used by the document manager to generate a corresponding HTML form. The user may repeat and omit elements, composed or not, due to their occurrence defined in the template. The <Morphology> group e.g. can be repeated as often as needed. The empty XML elements in the template such as <Code/> correspond to data entry points in the HTML form. Since no template attribute is given for the <Code> element, the default prompt (element name) and the default form object (single line text) apply. |
| In the form of the user has selected the second <Morphology> element (radio button) and the corresponding operators appear in the upper frame. The clinical user can close complex elements (composed elements, multi line text) with a click on the respective radio button and the text contained in the closed element appears on the right hand side. Moreover, the document server joins elements without data into a single row. Such transparency functions make the entry form more compact and are useful for larger documents. Due to the occurrence defined in the template the user may now create a new morphology element (newEl) or delete the selected element (delEl). The putDoc (put Document) operator is used to store the current document in the document base of the given domain, e.g. the pathology domain. The getDoc function allows the user to retrieve a list of those documents that match with the entered data and to select a document from the retrieved list for update purposes. The getDoc function consequently renders a context sensitive search in the document base of the given domain. |
| An example shall illustrate the search functionality. The pathologist might be interested in those pathology report(s) which contain the term “Basaliom” in their assessment part (prompt Beurteilung). For this purpose he starts with an empty HTML form and simply enters the search term into the specific context. By pressing the getDoc button he will receive a list with all matching documents, i.e. pathology reports. He can then select a document from the list and update the corresponding data in an HTML form. The user can also enter several search terms in the same or in different contexts to make the search even more specific. Context sensitive search techniques as possible with XML are an advantage over brute force algorithms which often provide irrelevant search results. |
|
XML document |
| The data in the HTML form can now be stored as XML document ( ). The translation between the HTML form and the XML document is done by the document manager. According to a recommendation of , the document manager generates an XML element representation of the content. We can, however, generate any other representation of the data. We simply have to provide corresponding XSLT stylesheets that describe the transformation between the default representation and the target representation. The document manager includes an XSLT engine which performs the transformation specified in the XSLT stylesheet. |
|
Discussion of the approach |
| Our method was introduced as a pragmatic, generic and flexible approach for the management of XML structured data. In this section, we want to resume these terms as different viewpoints of our approach and detail their meaning in the style of a discussion. |
Pragmatic viewpoint |
| In our approach, we regard XML as a storage format rather than a message format for clinical data. In that sense, the document approach “competes” with a clinical database approach. However, we regard the document approach as a complementary rather than a substitutional approach to clinical databases. How can the different approaches complement each other? Our approach might be regarded as a migration path from unstructured textual clinical documents towards structured clinical databases, i.e. as a transitional solution rather than a final solution to the problem of structuring clinical data. XML turned out a proper means to accomplish such a migration, proper in a healthcare specific sense and proper in a technological sense. |
| Conceptually, XML regards the document as the central data unit. In a clinical environment, documents are used as communication units (doctor’s letter, pathology report etc.), i.e. we often have to start from textual documents in the healthcare domain. The document approach consequently reflects the healthcare situation better than a database approach which often requires clinical documents to be de- and recomposed. On the other hand, databases are technologically matured, perform better in the management of huge amounts of data and increasingly provide interfaces for XML structured data . In that sense, XML documents might be seen as an intermediate step from free text documents towards clinical databases. Such an intermediate step will facilitate the transition towards more structured clinical data. |
| Technologically, XML provides the engineer with a variety of standard software which supports the processing (parsing, creation, transforming etc.) of XML documents. Public software with standardized interfaces is also a pragmatic reason for using XML as a storage format. With XML it is simple to add structure (markup) to existing textual resources and to refine the structure in a gradual fashion, without heavy investments from the very start. |
| Another pragmatic viewpoint of our approach is the XML template. There are standard languages for both, the description of document types (DTD, XML ) and the description of user interfaces (HTML, XUL, ). However, there is no easy way to relate them with each other. User interface languages provide the developer with powerful constructs for the front end development, i.e. for the acquisition and the presentation of data. However, the back end logic for storing and retrieving the data is left to the engineer and requires still a lot of implementation effort. The standard representations DTD and XML Schema, on the other hand, describe a document type rather than a user interface and are designed for validation purposes. As a consequence, it is difficult to accommodate elements of the user interface such as prompts, form objects and connections to remote data servers in these standard document descriptions. |
| Our XML template has been designed with the goal not only to accommodate both kind of information (structure of the document & structure of the form), but also to relate the information with a minimum set of XML markup. We have introduced only a few XML attributes which might be even omitted if the default values apply. The result is a compact and straight forward XML template that mainly contains markup that is related to the clinical domain. It is not to mention that the XML Schema approach is superior to the XML template approach as long as the description of document types is concerned. The same is true for HTML which is more flexible in the description of user forms than it is the XML template. In that sense, the XML template is a pragmatic solution for the ease of implementation. |
| We are currently about to implement a solution that works with a standard XML Schema instead of a nonstandard XML template. However, we still have to investigate the possibilities of how to accommodate the user interface requirements within an XML Schema. One possible approach is to merge the XML Schema namespace with the namespace of a user interface markup language like HTML. |
Generic viewpoint |
| We have introduced the XML template approach at the example of pathology reports. In fact, the document manager in can manage any number of templates and related documents. We only need to design templates for laboratory reports, nursing documentation, questionnaires for quality assurance or other clinical domains and purposes. The document manager can handle a repository of clinical documents and will provide basic application services for the maintenance and context sensitive selection of the XML structured clinical data. On top of such a repository we might further implement integration services which affect documents from different domains. One example for such an integration service is the electronic patient record which selects the documents of a given patient from several domains (lab, pathology). |
Flexibility viewpoint |
| Flexibility in this context means the ease to meet the latest documentation needs and application requirements. Flexibility plays an important role in a domain that is as dynamic as the healthcare domain. The pathologist for example might want to introduce new elements into his documentation model. New application services might also require a refinement of the documentation model. Applications with a fixed data structure can hardly meet this challenge and often lead to unstructured documentation, low application acceptance or high cost for application maintenance. Our solution to this problem is an approach that allows the application engineer to quickly adapt the application (user front & storage back end) to the latest needs. The application developer simply has to provide and change XML templates and the document manager will do the rest. Ease of configuration is the key issue to flexible data structures and more structured clinical data. |
Conclusion |
| XML turned out a means to quickly introduce structure into clinical documents and to refine the structure step by step in order to meet the latest documentation and application requirements. As soon as we use XML as a storage format we also have to think about user interfaces that make the storage format transparent for the clinical user. We have developed a flexible approach that is based on a template concept and that allows the application engineer to quickly adapt both the data acquisition and the storage structure to the changing clinical needs. Such an approach can be completely based on standards and allows an evolution from unstructured over semi-structured towards completely structured clinical data. This seems to be a promising approach for many clinical domains where only little structure has been captured so far. |
| Bibliography |
|
|
|
|
|
|
|
|
|
|
![]() |
Impact of an XML repository in development of XML messages | Table of contents | Indexes | Designing XML based medical applications for windows | ![]() | |||