Published on 17.03.01 in Vol 3, No 1 (2001)
Internet Patient Records: new techniques
Objective: The demonstration of an experimental Electronic Patient Record (EPR) system built from those technologies that can support viewing of medical imaging exams and graphically-rich clinical reporting tools, while conforming to the newly emerging XML standard for digital documents. In particular, we aim to promote rapid prototyping of new reports by clinical specialists.
Results: We demonstrate the InfoDOM experimental EPR system that is currently being adapted for test-bed use in three hospitals in Cagliari, Italy. For this we are working with specialists in neurology, radiology, and epilepsy.
Conclusions: Early indications are that the rapid prototyping of reports afforded by our EPR system can assist communication between clinical specialists and our system developers. We are now experimenting with new technologies that may provide services to the kind of XML EPR client described here.
J Med Internet Res 2001;3(1):e8
Many European countries aim to introduce Electronic Patient Records (EPRs) as part of the modernization of their public health services. Indeed, the UK NHS (United Kingdom National Health Service) Executive  reported that:
2.7 The arguments for a move towards an electronic record are compelling. Such records are more likely to be legible, accurate, safe, secure, and available when required, and they can be more readily and rapidly retrieved and communicated. They better integrate the latest information about a patient's care, for example from different "departmental" clinical systems in a hospital. In addition, they can be more readily analyzed for audit, research and quality assurance purposes.
Two key benefits that they list are the integration of care between general practitioners (GPs) and hospitals, and improving efficiency by reducing the time spent by health professionals collecting existing data. Hospitals are often critical about the inadequate and incomplete information to support referrals. GPs in turn consistently complain about the quality and timeliness of test results and information following outpatient or inpatient care. In sum, the quality of clinical communication between hospitals and GPs presents a fundamental challenge to the quality and safety of patient care.
The ease by which the Internet is able to distribute information to geographically-distant users on a wide variety of computers makes it an obvious candidate for a technological solution for an electronic patient record system. Indeed, our previous project, WMED  illustrated how first-generation Internet technology could provide a useful infrastructure for secure EPR retrieval.
Yet, providing a nationwide healthcare information infrastructure based on Internet protocols, such as the UK's NHSnet, addresses only part of the electronic solution . Confidentiality of communications and data storage must be guaranteed [ , , ]. Furthermore, interoperable clinical applications should also be provided. Ensuring effective interoperation between heterogeneous applications generally requires adopting standard protocols and/or data formats. In the healthcare domain, such standards are usually issued by committee: HL7 (Health Level Seven), EDI/EDIFACT (Electronic Data Interchange/Electronic Data Interchange For Administration, Commerce and Transport), DICOM (Digital Imaging and Communications in Medicine), CEN (European Normalization Committee) [ ], or imposed by proprietary software vendors. This has tended to inhibit the development of clinical applications that require network transactions. However, this may now change with the advent of a global open-standard for representing documents, XML (eXtensible Markup Language) [ ]. In this article, we harness XML along with other second-generation Internet technologies to demonstrate new techniques for building highly interactive EPR web-clients.
XML, with its inherent facility to impose application-specific constraints on the hierarchy and data content of documents, appears well suited for specifying EPRs. XML is, in fact, a distilled version of SGML (Standard Generalized Markup Language), a more general standard by which rather more complex constraints can be applied. SGML's great complexity meant that it was not widely adopted for healthcare applications, a notable exception being a medical markup language project in Japan . XML's greater accessibility has subsequently led to the wide availability of tools for its development. Indeed, major standards committees are now incorporating XML within their existing standards (eg, Structured Reporting in DICOM [ ], Patient Record Architecture in HL7 [ ], and the XML-EDI initiative). Independent pilot projects, like the Scottish Immediate Discharge Document system [ ], are also deploying XML.
Containment of system complexity has been a primary motivation throughout the evolution of second-generation Internet technologies. For example, XML specifies the content of a document independently of how it should be presented and independently of the logic associated with its interactions. This can help simplify the design of an EPR system. Document content delivered as XML can be presented on the web through the application of stylesheets that conform to well-defined open standards: XSL (eXtensible Style Language) , to lay out the format; and CSS (Cascading Style Sheets) [ ], for page-color and typographical styling.
Specifying the ways users can interact with the document presented to them (eg, to update or add to it) is intrinsically coupled to the way the content itself has been specified. Here, two different approaches have emerged to keep this specification reasonably simple. One has been to embed so-called event handling in the XML technology (as we largely adopt here), while the other has been to follow a comprehensive object-oriented (OO) paradigm in which data-content and the methods to manipulate it both become wrapped into true program objects. In theory an object can be strongly decoupled from other objects within a system and consequently overall complexity ought to be kept low. Ideally a web of objects  would communicate to achieve a joint purpose (eg, the maintenance of the EPR). In practice, complexity inevitably re-emerges when programs distribute their constituent objects over different nodes of a heterogeneous network even when standard interfacing and protocols - eg, CORBA/IDL/IIOP (Common Object Request Broker Architecture/Interface Definition Language/Internet Inter-ORB Protocol), Java/RMI (Java/Remote Method Invocation), or MS/DCOM (Microsoft/Distributed Component Object Model) - are adopted. In particular, tolerating temporary network failure can have significant impact on the complexity of object-to-object collaboration. Nevertheless, distributed object-oriented approaches do exist in the healthcare domain, notably the CORBAmed initiative and the HANSA (Healthcare Advanced Network System Architecture) system [ ].
We have built a prototype EPR client, named InfoDOM, that runs in both the popular web browsers: Internet Explorer 4 & 5, and Netscape 4.illustrates the basic mechanisms involved in this system. Here, version 2 of our prototype is described; we presented the first version at the PA Java 2000 conference [ ]. The process begins by an IO (Input/Output) Manager bean (not shown) requesting an XML record over the web from the EPR server. For this we have used the Apache web server running SSL (Secure Socket Layer). The downloaded document is then stored in the client-side DOM.
An XSL file is also downloaded and then applied to the DOM content by the XSL Processor bean (not shown) to produce HTML. A pop-up web page (the EPR Browser) defined by that HTML is then generated. From that page users can begin to work on the patient data, simply by clicking on the appropriate contextual links. For example, users may choose to modify the textual data as shown in, or else they may launch further pop-up windows containing the Image Viewer or Reporter beans parameterized appropriately for the particular patient and exam in question.
The Image Viewer reads image sequences from a patient-specified network URL on a PACS (Picture Archiving and Communications System) server and presents them in a user-controllable animated sequence. The animation can be halted to examine any particular image frame in detail. For example a 2-, 3-, or 4-times magnifier window can be made to track the mouse cursor. Image regions of interest can be annotated using line graphic overlays as illustrated in. These overlays are read and written to the DOM and form parts of the report section. We leave the original image data as a read-only resource. This is because synchronizing updates to large image sequences across networked clients would inevitably be prone to delays and would require complex back-end integration with the PACS servers. The Scalable Vector Graphics (SVG) standard [ ] is used to represent the overlays. As SVG is simply a dialect of XML, it is possible to store annotations in the DOM and transport them as XML fields. Our prototype client currently reads GIF images from a web directory; however it is not difficult to extend the system to read images from a PACS. We have carried out preliminary tests [ , ] using a DICOM 3 compliant PACS [ ]. As such, we are in line with other researchers [ , ].
Clicking on the [Edit] link in theEPR Browser launches a context-specific Reporter tool.(top) illustrates the configuration for reporting on coronary arteries. The design follows an anatomical image map paradigm. The image map structure is read as SVG and its context-sensitive pop-up menu is specified in XML. For example the figure shows the IVA-II artery and a pop-up menu that can launch three different types of report: Arteriosclerosis, Bypass, or Myocardial Bridge. Selecting a menu item launches a pop-up reportlet window; the Arteriosclerosis reportlet window is illustrated in (bottom).
An early version of this Arteriosclerosis tool  was included in the WMED system, but there it was not integrated into the EPR content. With InfoDOM the data content is now written and read from the DOM and transferred as XML. The current prototype provides five other such reportlets. All graphical assets, such as image-menus and SVG maps, follow a web directory style hierarchical organization and so are instantly transportable between websites or to hard disk.
- The reportlet HTML form coded by the medic is loaded as a web page.
- The script then identifies those elements that have been marked up for enhancement - eg,
- A select box to transform into an icon menu (eg, the small pop-up in (bottom) marked "Click to select Icon"). Here, a set of GIF-icons that correspond to each select option has been prespecified by the medic.
- A numerical text field to transform into a slider-bar (eg, the field in (bottom) marked "Percentage of lesion"). Here, a fixed range of values has been requested.
- A date text field to transform into a day-month-year 3-way selection combo (eg, the field shown in ). Here, the combo is dynamically constrained by an algorithm to allow only legal dates (eg, leap days).
- The script then generates a new page that re-represents each form element, substituting those that it can with enhanced versions and spatially formatting them in cells of a regular table.
- Colors are assigned to each table cell according to the name of its element, using a custom-built CSS stylesheet. That name is the one which the medic specified in the original form using the standard attribute assignment: NAME="yourNameInHere".
- That name, more importantly, identifies the DOM data-item to which that form element is to read and write its contents. In fact, each element in the new page can be updated with the correspondingly named DOM data-item as soon that page has been loaded into a browser window. A JavaBean, that manifests as the menu-bar of that page, carries out this task by communicating with the DOM and appropriately adjusting the value of the elements of the form in the enhanced page.
To achieve a stable synchronization of the above operations, we use a multi-frame web page (a frameset) so that the original form loads into an unseen frame, then the enhanced page loads into the main frame, and finally the JavaBean menu-bar loads into its own strip-like frame at the top.
The XML specification of each clinical section of the EPR is produced by example when one follows the above methodology. Although this may be rather unconventional, it does promote a rapid prototyping style of development. In fact, each particular reportlet specifies a particular branch of the XML tree structure. Part of the specialist's skill is to comprehensively specify the options needed to make a particular report, while another part is to know where to cut each branch so as to best differentiate between distinct pathologies. The spatial image-map interface of the Reporter component can help guide the latter decision. In any case, once a reporting regime has been established by example it is a minor task for an XML developer to convert the medic's original form into a formal XML specification.
The experimental system illustrated above is currently being adapted for use in three hospitals in Cagliari, Sardinia. Each site constitutes a test-bed system  in which medics are participating as both users (that provide feedback) and designers (that provide clinical reports), according to their particular medical specialties. The test-beds include:
- The support for clinical reporting between radiologists and neurologists. Here, DICOM-compliant MRI (Magnetic Resonance Imaging) and CT (Computed Tomography) devices are used by radiologists to acquire imaging exams of the brain. These are stored on a PACS archive and thus made available to networked neurologists in different parts of the same hospital. The electronic patient record acts, here, as a skeleton upon which to collate information on individual exams for each participating patient.
- The support for reporting visits by outpatients to epilepsy centers. Here, we aggregate details gathered over visits made at different times. These details include seizure descriptions, EEG and MRI exam reports, and responses to drug therapies. Here, the electronic patient record acts as a dynamic repository that accumulates over time. By visualizing how the patient's conditions evolve over time, the medic ought to be better able to make diagnoses and more accurately prescribe treatments.
- The support for reporting visits by patients to an oncology hospital. Here, the time evolution of the size of tumors in response to various cancer treatments is to be visualized
It is during the design phase that our system's rapid prototyping methods should be of great benefit because they afford integration of additional networked resources, without significant increase in overall system complexity. This ought to give a particular advantage over similar test-bed systems that are not built in quite such a flexible manner [, , ]. In practice, it has proved very difficult to persuade medics to code HTML forms to describe their own specialist reports. Nevertheless, we are still able to use such forms through a process of consultation and refinement, whereby medics check the forms that are being compiled by our developers. It seems that most medics are so fully occupied with their traditional work that they are not able to devote time to coding how they do it.
As presented here, our InfoDOM prototype implements a rich, but entirely client-side, EPR system. On the server side, we have been satisfied to transmit and receive XML documents that get stored on the server file-system, just as a typical website deals with plain HTML files. Any practical EPR services, however, must consider more sophisticated server-side solutions that provide: confidentiality on the server, full auditing of the changes made to patient data over time, and the management of transactions when two or more users work simultaneously on the same patient. Some of these features are now becoming available as major database vendors, such as Oracle and Microsoft, incorporate XML processing into their products.
In theory, the tree structure of XML ought to afford an even more finely-grained control over the life of a document than traditional file-locking or database table-locking can do. In particular, problems arising due to the asynchronous nature of web connectivity ought to be ameliorated. For example, conflict resolution done at a tree-branch level would mean that medics working on different parts of the same document ought not to unduly hamper each other's access. We are currently developing a server-side version-control system based on these ideas.
Once an EPR server has established that two medics want to access the same part of the same patient's document, it might be appropriate to establish a peer-to-peer connection between them so that they become aware of each other's work and resolve conflicts before submission to the database. This would constitute a form of instant-messaging - cf, ICQ (I Seek You), AIM (AOL Instant Messenger) - whereby sections of the XML document are exchanged between participating clients. A network-aware JavaBean component connected on the existing InfoBus could be developed to fulfill this purpose.
It is also important that any new EPR server integrates well with existing information systems within the target healthcare institution. An immediate example is that our EPR server ought to able to appropriately handle notification from the PACS of new arrivals of imaging exams. Anagraphic databases and exam-booking systems provide other examples. We plan to use the SOAP (Simple Object Access Protocol) protocol  to specify server-to-server calls for information. SOAP protocol has the benefit that it works entirely in XML and runs on top of the standard web protocol. This means that it suffers none of the network accessibility problems that adversely affect CORBA/IIOP, Java/RMI and DCOM approaches. We are currently modeling an existing radiological workflow process using distributed servers that communicate by SOAP.
A problem we have not addressed here is that of the sheer volume of data that image exams contain. What can be done to serve image exams to users that do not have a broadband connection? For example, a consultant might save time by being able to see a particular aspect of an exam while off-site, or working from home. To this end, we are considering possible means for caching on the PACS server a variety of reduced representations of imaging exams, in such a way that the client could prioritize at a distance the order of arrival of the information, so that the medic can see the images in the order that they are needed. Such smart image-delivery mechanisms could be based on image-segmentation algorithms, wavelet compression, or simple tessellation techniques. A key issue here is to understand the human perceptual interface needed to support the medic at a distance.
This project is funded by the Italian Ministry for Research and Technology (MURST); partially supported by equipment obtained through the Hewlett Packard philanthropic program ; with additional support provided by the Sardinian Regional Authority. We thank Andrea Giachetti, Alessandro Pomata, Federico Santoni, and Kateryna Radchencko for their considerable assistance.
Conflicts of Interest
- ; NHS Executive. Information for Health, An Information Strategy for the Modern NHS 1998-2005. 1998 Sep 23. URL: http://www.nhsia.nhs.uk/strategy/full/contents.htm [accessed 2001 Mar 3]
- Brelstaff G, Loddo S. WMED - An experimental electronic patient record system based on the WWW. 1996. URL: http://www.crs4.it/~gjb/BMA [accessed 2001 Mar 3]
- Keen J. Rethinking NHS networking. BMJ 1998 Apr 25;316(7140):1291-1293 [FREE Full text] [Medline]
- Anderson RJ. Security in clinical information systems. London: British Medical Association; 1996.
- Kelly GS. GPs should not connect to NHSnet until it is restructured. BMJ 1999 Feb 20;318(7182):533-534. [Medline]
- Chadwick DW, Crook PJ, Young AJ, Mcdowell DM, Dornan TL, New JP. Using the Internet to access confidential patient records: a case study. BMJ 2000 Sep 9;321(7261):612-614 [FREE Full text] [PMC] [Medline] [CrossRef]
- ; HL7 Technical Steering Committee Retreat, Health Level Seven Inc. HL7 Version 3. 1996.
- Bray T, Paoli J, Sperberg-mcqueen CM. Extensible Markup Language (XML) 1.0, W3C Recommendation. 1998 Feb 20. URL: http://www.w3.org/TR/1998/REC-xml-19980210 [accessed 2001 Mar 3]
- Yoshihara H. Development of the electronic health record in Japan. Int J Med Inform 1998 Mar;49(1):53-58. [Medline] [CrossRef]
- Bidgood WD, Alsafadi Y, Tucker M, Prior F, Hagan G, Mattison JE. The role of digital imaging and communications in medicine in an evolving healthcare computing environment: the model is the message. J Digit Imaging 1998 Feb;11(1):1-9. [Medline]
- XML Technical Committee. URL: http://www.hl7.org/special/committees/sgml/sgml.htm [accessed 2001 Mar 3]
- Woolman PS, Oates J, Frame J, Hardy J. Use of Extensible Markup Language (XML) for transfer of Immediate Discharge Letter information between hospital and general practitioner in Scotland. Healthcare Computing. 2000. URL: http://scotland-xml.uk.eu.org/documents/oldpapers/xml-paper-v1.htm [accessed 2001 Mar 3]
- Adler S, Berglund A, Caruso J, et al. Extensible Stylesheet Language (XSL) Version 1.0, W3C Working Draft. 2000 Mar 27. URL: http://www.w3.org/TR/2000/WD-xsl-20000327/ [accessed 2001 Mar 3]
- Bos B, Lie HW, Lilley C, et al. Cascading Style Sheets level 2, CSS Specification, W3C Recommendation. 1998. URL: http://www.w3.org/TR/1998/REC-CSS2-19980512 [accessed 2001 Mar 3]
- Orfali R, Harkey D. Client Server Programming With Java and Corba. New York: John Wiley & Sons; 1997.
- Blobel N, Holena M. Comparison, evaluation, and possible harmonisation of the HL7, DHE and CORBA middleware. In: Dudeck J, Blobel B, Lordieck W, Bürkle T, editors. New Technologies in Hospital Information Systems, Studies in Health Technology and Informatics. Amsterdam: IOS Press; 1997, Vol. 45:40-47.
- Wood L; DOM Working Group. Document Object Model (DOM) Level 1 Specification Version 1.0, W3C Recommendation. 1998. URL: http://www.w3.org/TR/REC-DOM-Level-1/ [accessed 2001 Mar 3]
- Fallside DC, et al. XML Schema Part 0: Primer, W3C Working Draft. 2000 Sep 22. URL: http://www.w3.org/TR/2000/WD-xmlschema-0-20000922/ [accessed 2001 Mar 3]
- Xml.Apache Project. 2000. URL: http://xml.apache.org/ [accessed 2001 Mar 3]
- ; Sun Microsystems. The JavaBeans Component Architecture. 1998. URL: http://java.sun.com
- Hoque R. Connecting JavaBeans with InfoBus. New York: John Wiley & Sons; Oct 27, 1998.
- Brelstaff G, Moehrs S, Anedda P, Tuveri M, Zanetti G. Electronic Patient Records on the Java InfoBus. In: Proceedings of PA Java 2000. Manchester, UK. Blackpool: The Practical Applications Co; Apr 12, 2000:45-58.
- Ferraiolo J, et al. Scalable Vector Graphics (SVG) 1.0 Specification, W3C Working Draft. 1999 Aug 12. URL: http://www.w3.org/1999/08/WD-SVG-19990812 [accessed 2001 Mar 3]
- Giachetti A, Donizelli M, Scheinine AL. DICOM image handling for medical analysis and the ViVa Project. Presented at: EuroPACS '98; Barcelona, Spain.
- Loddo S, Brelstaff G, Zanetti G. A distributed heterogeneous image server. In: Bartolzzi C, Caramella D, editors. Proceedings of EuroPACS '97 Pisa, Italy: Tipografia Editrice Pisana; 1997:199-202.
- Moore SM, Beecher DE, Hoffman SA. DICOM Shareware: A Public Implementation of the DICOM standard. In Jost RG, ed. Medical Imaging. SPIE 1994:772-781. [CrossRef]
- Ligier Y, Ratib O, Logean M, Girard C. Osiris: a medical image-manipulation system. MD Comput 1994;11(4):212-218. [Medline]
- Bayo JF, Gomez R, Catusus X, et al. DICOM Java viewer: using WWW Internet Technology and DICOM 3.0 standard. In: Bartolzzi C, Caramella D, editors. Proceedings of EuroPACS '97. Pisa, Italy: Tipografia Editrice Pisana; 1997:133-136.
- Loi B, Tuveri M, Pescosolido M, Paddeu G, Pili P, Zanetti G. MEDREP: a WWW System for compilation and integration of medical data. INCIS'96 3rd international workshop on integrating cardiology information systems 1996 May:S2.6.
- Field MJ. Committee on Evaluating Clinical Applications of Telemedicine, Institute of Medicine. Telemedicine: a guide to assessing telecommunications in health care. Institute of Medicine, National Academy Press. 1996. URL: http://books.nap.edu/books/0309055318/html/index.html
- BIPS, Leids Universitair Medisch Centrum, Holland. 1998. URL: http://www.bips.nl/
- ODITEB, University of Munich, Germany. 1999. URL: http://sisko.imse.med.tu-muenchen.de/oditeb_e/odihome.html
- ; TeleMed. The Virtual Patient Record. 1996. URL: http://www.acl.lanl.gov/TeleMed
- Box D, Ehnebuske D, Kakivaya G, et al. Simple Object Access Protocol (SOAP) 1.1, W3C Note. 2000 May 8. URL: http://www.w3.org/TR/2000/NOTE-SOAP-20000508 [accessed 2001 Mar 3]
- http://webcenter.hp.com/grants/. URL: http://webcenter.hp.com/grants/ [accessed 2001 Mar 3]
|CORBA: Common Object Request Broker Architecture|
|CSS: Cascading Style Sheet|
|DCOM: Distributed Component Object Model|
|DICOM: Digital Imaging and Communications in Medicine|
|DOM: Document Object Model|
|EDI: Electronic Data Interchange|
|EPR: Electronic Patient Record|
|GP: General Practioner|
|HTML: HyperText Markup Language|
|IIOP: Internet Inter-ORB Protocol|
|OO: Object Oriented|
|PACS: Picture Archiving and Communications System|
|RMI: Remote Method Invocation|
|SGML: Standard Generalized Markup Language|
|SOAP: Simple Object Access Protocol|
|SSL: Secure Socket Layer|
|SVG: Scalable Vector Graphics|
|XML: eXtensible Markup Language|
|XSL: eXtensible Style Language|
Edited by G Eysenbach; submitted 06.10.00; peer-reviewed by JM Grohol; comments to author 18.01.01; accepted 22.02.01; published 17.03.01
© Gavin Brelstaff, Sascha Moehrs, Paolo Anedda, Massimiliano Tuveri, Gianluigi Zanetti. Originally published in the Journal of Medical Internet Research (http://www.jmir.org), 17.3.2001. Except where otherwise noted, articles published in the Journal of Medical Internet Research are distributed under the terms of the Creative Commons Attribution License (http://www.creativecommons.org/licenses/by/2.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited, including full bibliographic details and the URL (see "please cite as" above), and this statement is included.