Full text
2012 81 Nelia Lasierra Beamonte An ontology-driven architecture for data integration and management in home-based telemonitoring scenarios Departamento Director/es Instituto de Investigación en Ingeniería [I3A] Alesanco Iglesias, Álvaro García Moros, José Director/es Tesis Doctoral Autor Repositorio de la Universidad de Zaragoza – Zaguan http://zaguan.unizar.es UNIVERSIDAD DE ZARAGOZA
Nelia Lasierra Beamonte AN ONTOLOGY-DRIVEN ARCHITECTURE FOR DATA INTEGRATION AND MANAGEMENT IN HOME-BASED TELEMONITORING SCENARIOS Director/es Instituto de Investigación en Ingeniería [I3A] Alesanco Iglesias, Álvaro García Moros, José Tesis Doctoral Autor 2012 Repositorio de la Universidad de Zaragoza – Zaguan http://zaguan.unizar.es UNIVERSIDAD DE ZARAGOZA
Departamento Director/es Director/es Tesis Doctoral Autor Repositorio de la Universidad de Zaragoza – Zaguan http://zaguan.unizar.es UNIVERSIDAD DE ZARAGOZA
An ontology-driven architecture for data integration and management in home-based telemonitoring scenarios Nelia Lasierra Beamonte Supervisors: ´ Alvaro Alesanco Iglesias and Jos´e Garc´ıa Moros Arag´on Institute of Engineering Research (I3A) Communications Technology Group (GTC) University of Zaragoza PhD Dissertation Zaragoza, 2012 Biomedical Engineering Doctoral Program
Acknowledgments Completing a PhD is a tough task that requires hard work and effort. This is often an overwhelming but also wonderful experience which I would not have been able to complete without the aid and support of countless people. Thus, it is my pleasure to thank the many people who made this thesis possible. I would like to deeply thank ´ Alvaro, one of my supervisors, for his guidance, encouragement and support over years. This dissertation would not have been possible without your advices, your ability to approach the research and your infinite patient to discuss ideas and difficulties. I am also very grateful to Josechu, my other supervisor, for providing me with the necessary support during this research. I would like to thank him also for his valuable advices, comments, great patience and support throughout these years. I would like to express my gratitude to Declan and Andre for welcoming me so warmly in their respective research groups. I would like to thank them also the chance they gave me of learning and working in new research lines. It is a great pleasure to thank everyone from KDEG and the UVic who contributed to make my research stages such wonderful experiences. A warm thank you to all my colleagues from the University of Zaragoza from whom I have learned so much and who with I have shared hours of fun and thesis work. A special thank to Jes´us,Carlos and Eva. I am also indebted to the students I had the pleasure to work with and who trusted me to guide their master thesis. My sincere gratitude to Marcos,Andreas,Ver´onica,Juan Carlos and Fernando. It is a great pleasure to thank Rosa,Yolanda,Carmen,Eva,Sara and the rest of clinical personnel that have contributed in this thesis and in our research. I want to express my profound gratitude to Melike and Petra for accepting to be external reviewers of my PhD dissertation draft. I would like to thank also to all the committee members for accepting to evaluate my research. I am truly indebted and thankful with my friends Patricia and Laura for so many years of fun, support and love. A warm thank you to my telecom friends Leti,Blanca, Laura and Claudia for their sharp conversations, friendship and valuable advices. My greatest appreciation to all my family who have shown much love and support. In particular, a special thank to my sister, Ana, who has always supported me. Last but not least, I would like to thank my parents, Marisa and Jos´e Manuel for their unconditional support, for instilling in me confidence and a drive for pursuing my PhD. To them I dedicate this Thesis.
Agradecimientos El desarrollo de una tesis doctoral require de trabajo y esfuerzo. Superar los retos y las dificultades es una tarea que a´un se complica mucho m´as en lo que voy a llamar “momentos tesis”. Y es que el camino no siempre est´a iluminado. Sin embargo, para lograr completar la tesis y superar as´ı los obst´aculos tambi´en hacen falta apoyo, confianza y ´animo. Y por supuesto, las alegr´ıas de los logros conseguidos y los buenos momentos tambi´en son compa˜neros de viaje. Es claro por tanto que el m´erito de la tesis no es solo mio. La culminaci´on de este trabajo no hubiera sido posible sin mucha gente que me ha apoyado, animado, soportado y sufrido durante todos estos a˜nos. Es por ello un placer para mi aprovechar este espacio para agradecerles el haber hecho realidad esta tesis. En primer lugar quiero agradecer a ´ Alvaro, uno de mis directores, por darme la oportunidad de hacer este trabajo. No tengo la menor duda de que hoy no estar´ıa escribiendo esto sino fuera por sus buenos consejos, su orientaci´on, sus palabras de ´animo y la confianza que siempre me ha dado para seguir adelante.Gracias por compartir conmigo tu trabajo y tus ideas, por darme siempre tu apoyo y por compensar la balanza cuando los momentos de agobio pesaban demasiado. Debo agrader de manera muy especial tambi´en a mi otro director, Josechu, quien ha puesto a mi disposici´on siempre todos los medios necesarios para el desarrollo de esta tesis y me ha demostrado siempre su apoyo y confianza. Gracias por tus comentarios, consejos, orientaci´on y tu eficacia y disposici´on siempre para el trabajo Quiero aprovechar para agradecer a Declan yAndre el que me acogieran tan bien en sus respectivos grupos de investigaci´on. Debo agradecerles adem´as la oportunidad que me brindaron de aprender y trabajar en nuevas l´ıneas de investigaci´on. No puedo olvidarme de todas las personas que contribuyeron a que mi estancia en Dubl´ın y en Victoria fuesen tan buenas experiencias. Gracias a mis compa˜neros de KDEG y de la UVic. Muchos de los “momentos tesis” han sido compartidos con mis compa˜neros del grupo de investigaci´on y con mis compa˜neros del laboratorio 2.05. Con ellos he vivido sin duda tambi´en gran parte de los buenos y tengo que agradecerles por sus consejos, su trabajo y sus ´animos. En especial a Jes´us, a Carlos y a Eva con quienes he compartido muchas horas de tesis y conversaciones. Quiero extender este agradecimiento a los compa˜neros de la Universidad de Zaragoza con los que he compartido el laboratorio 2.03 y los desayunos de discusiones variadas durante todos estos a˜nos. Un agradecimiento especial aMarcos,Andreas,Ver´onica,Juan Carlos yFernando, que confiaron en mi para que guiara el desarrollo de sus proyectos fin de carrera y trabajos de master. Espero que aprendieran conmigo tanto como yo hice con ellos.
No quiero olvidarme de todos los profesionales m´edicos que han contribuido en este trabajo. Muchas gracias a Rosa, a Yolanda, a Carmen, a Eva, a Sara y tantos otros que de forma voluntaria han participado en nuestras investigaciones. Muchas gracias tambi´en a Melike y a Petra por revisar esta tesis. Y tambi´en a todas las personas que han formado parte del tribunal de evaluaci´on. A mis amigas Patricia yLaura, a las que conozco desde hace ya unos a˜nos y han estado apoyandome, animandome y a mi lado siempre que las he necesitado. Tambi´en tengo que agradecer a mis amigas de “la fila” (Leti,Blanca,Laura yClaudia) que aunque dispersas por el mundo y nuevas tecnolog´ıas mediante, siempre tienen palabras de ´animo y buenos consejos. Muchas gracias tambi´en a Edurne y a todos los que durante estos a˜nos compartieron conmigo dias de conversaci´on y diversi´on. Y por ´ultimo el mayor de los agradecimientos a mis primos, tios y familia en general. Gracias a todos (que son much´ısimos y no tengo espacio para nombrarlos a todos) por el apoyo, el ´animo y la comprensi´on. Gracias en particular a mi hermana, Ana, por su apoyo no importa cual sea el pais al que vaya y su confianza. Aunque de pocas palabras, sin duda incondicional. Gracias a mis abuelos, otros incondicionales. Y por supuesto, gracias a mis padres, Marisa yJos´e Manuel que nunca han dejado de confiar en mi y me han apoyado siempre. Gran parte de este trabajo es tambi´en suyo y a ellos se lo dedico. Gracias por ense˜narme a salir de la piscina peque˜na.
Scientific Contributions Next peer-reviewed scientific publications have been derived from this research. The methodology and results presented in this thesis are mainly based on them. Publications in International Journals (JCR indexed) N. Lasierra, A. Alesanco, Y. Gilaberte, R. Magall´on, and J. Garc´ıa. Lessons learned after a three-year store and forward teledermatology experience using internet: Strengths and limitations. Int J Med Informat, 81:332-343, 2012. N. Lasierra, A. Alesanco, and J. Garc´ıa. An SNMP based solution to enable remote ISO/IEEE 11073 technical management. IEEE Trans Inform Tech Biomed, 16(4):709- 719, 2012 C. Campos, E. Caudevilla, A. Alesanco, N. Lasierra, O. Martinez, J. Fern´andez and J. Garc´ıa. Setting up a telemedicine service for remote real-time video-EEG consultation in la Rioja (Spain). Int J Med Informat, 81(6):404-414, 2012. N. Lasierra, A. Alesanco, D. O’Sullivan and J. Garc´ıa. An autonomic ontologybased approach to manage information in home-based scenarios: from theory to practice. Submitted (under Review) N. Lasierra, A. Alesanco, S. Guill´en and J. Garc´ıa. A new approach to supervise remote patients with chronic conditions using ontologies and the autonomic computing paradigm. Submitted (under Review) Publications in International Conferences N. Lasierra, A. Alesanco J. Garc´ıa and D. O’Sullivan. Data Management in Home Scenarios Using an Autonomic Ontology-Based Approach. 9th IEEE Workshop on Managing Ubiquitous Communications and Services part of PerCom 2012, Lugano, Switzerland, March 2012. N. Lasierra, A. Alesanco and J. Garc´ıa. An Ontology approach to manage individual patient profiles in home-based telemonitoring scenarios. 10th IEEE Int. Conf. on Information Technology and Applications in Biomedicine (ITAB’10), Corfu (Greece), November 2010.
N. Lasierra, A. Alesanco and J. Garc´ıa. Home-Based Telemonitoring Architecture To Manage Health Information Based on Ontology Solutions. 10th IEEE Int. Conf. on Information Technology and Applications in Biomedicine (ITAB’10), Corfu (Greece), November 2010. N. Lasierra, A. Alesanco, C. Campos, E. Caudevilla, J. Fern´andez and J. Garc´ıa. Experience of a Real-time Tele-EEG Service Proc. of the 31st Int. Conf. of the IEEE Eng. in Med. and Biol. Soc, Minneapolis (US), Septiembre 2009, Proc. pp. 5211-5214. E. Caudevilla, C. Campos, N. Lasierra, A. Alesanco, J. Fern´andez and J. Garc´ıa. Experiencia de tele-electroencefalograf´ıa en Espa˜na: evaluaci´on del impacto sobre el proceso organizativo. III Congreso Latinoamericano en Inform´atica M´edica, Buenos Aires (Argentina), August 2008. Publications in National Conferences N. Lasierra, A. Alesanco, S.Guill´en, J. Garc´ıa. Tres fases para el dise˜no y desarrollo de un sistema orientado a la monitorizaci´on remota de pacientes basado en ontolog´ıas XXX Congreso Anual de la Sociedad Espa˜nola de Ingenier´ıa Biom´edica (CASEIB), San Sebasti´an (Spain), November 2012. N. Lasierra, A.Mu˜noz, A. Alesanco, J.Escayola, J. Garc´ıa. Una soluci´on SNMP para la gesti´on t´ecnica de dispositivos m´edicos ISO/IEEE 11073. XXIX Congreso Anual de la Sociedad Espa˜nola de Ingenier´ıa Biom´edica (CASEIB), C´aceres (Spain), November 2011. N. Lasierra, A. Alesanco, J. Garc´ıa. Dise˜no de una ontolog´ıa para la gesti´on de perfiles de pacientes en escenarios de telemonitorizaci´on domiciliaria. XXVIII Congreso Anual de la Sociedad Espa˜nola de Ingenier´ıa Biom´edica (CASEIB). Madrid (Spain), November 2010. N. Lasierra, A. Alesanco, J. Garc´ıa. Arquitectura de telemonitorizaci´on domiciliaria para la gesti´on de informaci´on cl´ınica basada en ontolog´as. XXVIII Congreso Anual de la Sociedad Espa˜nola de Ingenier´ıa Biom´edica (CASEIB), Madrid (Spain), November 2010. N. Lasierra, M. L´opez, J. Garc´ıa, A. Alesanco. Desarrollo de un agente SNMPv3 para modelado de usuario en entornos LAN. VIII Jornadas de Ingenier´ıa Telem´atica JITEL Cartagena (Spain), September 2009, Proc. pp 397-404.
N. Lasierra, C. Campos, E. Caudevilla, A. Alesanco, J. Fern´andez, G. Palacios, J. Garc´ıa. Implantaci´on y evaluaci´on de un servicio de teleelectroencefalograf´ıa en tiempo real. XXVI Congreso Anual de la Sociedad Espa˜nola de Ingenier´ıa Biom´edica (CASEIB), Valladolid (Spain), October 2008 Proc. pp 65-68. N. Lasierra, A. Alesanco, Y. Gilaberte, N. Gonz´alez , M.A. Sanchez , R. Magall´on , J. Garc´ıa. Dise˜no y evaluaci´on de un sistema de Teledermatolog´ıa basado en tecnolog´ıas Web. XXVI Congreso Anual de la Sociedad Espa˜nola de Ingenier´ıa Biom´edica (CASEIB), Valladolid (Spain). October 2008, Proc. pp 57-60.
Abbreviations 4KCARE Knowledge-Based HomeCare eServices for an Aging Europe ABox Assertional box AJAX Asynchronous JavaScript And XML AT Analysis Task BAN Body Area Network BMI Body Mass Index BP Blood Pressure BP EL4W S Business Process Execution Language for Web Services BP ML Business Process Modelling Language BP MN Business Process Modelling Notation CA Certificate Authority CBC Cipher Block Chaining CDSS Clinical decision support systems CE Compute Engine CEN European Commitee for Standardization CHA Continua Health Alliance CHF Congestive Heart Failure CMIP Common Management Information Protocol COP D Chronic Obstructive Pulmonary Disease CORBA Common Object Request Broker Architecture DAML DARPA Agent Markup Language i
ii DES Data Encryption Standard DIM Domain Information Model DL Description logic DLP Dyslipidemia DM Diabetes Mellitus EEG Electroencephalography EHR Electronic Health Record EI Environmental Information EM External Manager ET Execution Task EU European Union F−Logic Frame Logic F EV 1 Forced Expiratory Volume in one second F HC Calahorra Hospital Foundation F OL First-order logic F SM Finite-state machine GP General practitioner GUI Graphical User Interface HCO Health Care Organizations HF Heart Failure HG Home Gateway HL7 Health Level Seven HMAC Hash-based Message Authentication Code HOT MES Home Ontology for inTegrated Management in homE-based Scenarios HR −MIB Host Resources MIB HSP San Pedro Hospital HT A Hypertension
iii HT T P Hypertext Transfer Protocol HTTPS Hypertext Transfer Protocol Secure IBM International Business Machines Corporation ICT Information and Communications Technologies IHD Ischemic Heart Disease IHE Integrating the Healthcare Enterprise IP Internet Protocol ISO International Organization for Standarization JDBC Java Database Connectivity KBase Knowledge Base KIF Knowledge Interface Format MAP Mean Arterial Pressure MAP E Monitor Analyze Plan Execute MAST Method for Assessment of Telemedicine MCD Multi-Chronic Disease MD Medical Device MD −MIB Medical Device-MIB MD5 Message Digest 5 MDS Medical Device System MIB Management Information Base MP Management Profile MT Monitoring Task NETCONF Network Configuration Protocol OCL Object Constraint language OCML Operational Conceptual Modeling Language OID Object Identifier OIL Ontology Inference Layer
iv OO Object Oriented OW L Ontology Web Language OW L −SSemantic Markup for Web Services P ACS Picture archiving and communication system P AN Personal Area Network P DU Protocol Data Unit P HDW G PHD Working Group P KI Public-Key Infrastructure P T Planning Task QLI Qualitative Information QNI Quantitative Information RDF Resource Description Framework RDF S RDF Schema RDQL RDF Data Query Language REST Representational state transfer RMON Remote MONitoring RP C Remote Procedure Call RT −SA Real Time-Simple Array Rule −ML Rule Markup Language SeRQL Sesame RDF Query Language SHA −1 Secure Hash Algorithm 1 SHOE Simple HTML Ontology Extension SMIv2 Structure of Management Information Version 2 SMT P Simple Mail Transfer Protocol SNMP Simple Network Management Protocol SNOMED −CT Systematized Nomenclature of Medicine Clinical Terms SOA Service-Oriented Architecture
v SOAP Simple Object Access Protocol SP ARQL SPARQL Protocol and RDF Query Language SQL Data Encryption Standard SSL Secure Socket Layer SW RL Semantic Web Rule Language T Box Terminological box T CP Transmision Control Protocol T LS Transport Layer Security T MN Telecommunication Management Network T S Telemonitoring Server UDDI Universal Description, Discovery and Integration UDP User Datagram Protocol UML Unified Modeling Language UMLS Unified Medical Language System UNA Unique Name Assumption URI Uniform Resource Identifier USM User-Based Security Model V BAC View-Based Access Control V C Vital Constant W HO World Health Organization W S Web Service W S −Security Web Services Security W SDL Web Service Description Language W SMO Web Service Modeling Ontology X73 ISO/IEEE 11073 family of standards X73 ISO/IEEE 11073 Personal Health Device communication X73 −P HD ISO/IEEE 11073 Personal Health Device communication
vi X73 −P oC CEN/ISO/IEEE 11073 Health Informatics Point-of-Care XML eXtensible Markup Languange XOL Ontology Exchange Language
List of Figures 1.1 Methodology for setting-up a telemedicine system . . . . . . . . . . . . . . 4 1.2 Development and evaluation phases . . . . . . . . . . . . . . . . . . . . . . 7 1.3 Example of a Teledermatology consultation . . . . . . . . . . . . . . . . . 9 1.4 Example of a Tele-EEG consultation . . . . . . . . . . . . . . . . . . . . . 10 1.5 General Telemonitoring Architecture . . . . . . . . . . . . . . . . . . . . . 12 1.6 Standards in the Telemonitoring Scenario . . . . . . . . . . . . . . . . . . 15 2.1 X73-PHD Abstract Model . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 2.2 Semantic Web Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 2.3 Ontology graphical representation . . . . . . . . . . . . . . . . . . . . . . 37 2.4 Example of a SPARQL Query . . . . . . . . . . . . . . . . . . . . . . . . . 46 2.5 SWRL rule to SPARQL query . . . . . . . . . . . . . . . . . . . . . . . . . 47 2.6 Autonomic Computing System Architecture . . . . . . . . . . . . . . . . . 48 2.7 RCP Web service architecture . . . . . . . . . . . . . . . . . . . . . . . . . 51 2.8 SNMP agent/manager architecture . . . . . . . . . . . . . . . . . . . . . . 56 2.9 MIB-treestructure............................... 60 2.10 SNMPv3 packet structure . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 3.1 General Architecture (layers) . . . . . . . . . . . . . . . . . . . . . . . . . 66 3.2 3 stage approach for ontology application . . . . . . . . . . . . . . . . . . 67 3.3 Data and Management Integration Levels . . . . . . . . . . . . . . . . . . 68 3.4 HOTMESextensions.............................. 70 3.5 HOTMESontology............................... 71 3.6 SPARQL average and division functions . . . . . . . . . . . . . . . . . . . 79 3.7 TSmanagementmodule............................ 82 3.8 Rules-XMLschema............................... 84 3.9 Semantic Autonomic Agent . . . . . . . . . . . . . . . . . . . . . . . . . . 85 3.10 Resources and methods described within the Web Service . . . . . . . . . 88 xiii
xiv LIST OF FIGURES 3.11 Individual WS attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 3.12 Individual WS chain structure . . . . . . . . . . . . . . . . . . . . . . . . . 89 3.13SecureArchitecture............................... 90 3.14Messagestacklayer............................... 91 3.15 Workflow Communication Procedure (Step 1) . . . . . . . . . . . . . . . . 94 3.16 Converter Method algorithm . . . . . . . . . . . . . . . . . . . . . . . . . 95 3.17 Workflow Communication Procedure (Step 2) . . . . . . . . . . . . . . . . 96 4.1 Three-stage work flow for clinical data . . . . . . . . . . . . . . . . . . . . 101 4.2 Competency Questions (clinical) . . . . . . . . . . . . . . . . . . . . . . . 103 4.3 HOTMES clinical version . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 4.4 Clinical Data Classes and subclasses . . . . . . . . . . . . . . . . . . . . . 106 4.5 Health Test Questionnaires . . . . . . . . . . . . . . . . . . . . . . . . . . 107 4.6 Systolic Pressure Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 4.7 Relation between Patient Profile questionnaire and Ontology tasks . . . . 118 4.8 SPARQL Condition related to a blood pressure alarm . . . . . . . . . . . 120 4.9 Patient Profile Instance Example . . . . . . . . . . . . . . . . . . . . . . . 121 4.10 SPARQL Condition related to the thyrotoxic alarm . . . . . . . . . . . . . 124 4.11 SPARQL Condition related to complex alarm definition . . . . . . . . . . 125 4.12 Semantic Autonomic Agent interface (principal view) . . . . . . . . . . . . 126 4.13 Semantic Autonomic Agent interface (reminders view) . . . . . . . . . . . 127 4.14 Workflow of the agent prototype execution . . . . . . . . . . . . . . . . . . 129 5.1 HOTMES solution vs SNMP solution . . . . . . . . . . . . . . . . . . . . 138 5.2 Three-Stage workflow for technical data . . . . . . . . . . . . . . . . . . . 143 5.3 Competency Questions (technical) . . . . . . . . . . . . . . . . . . . . . . 144 5.4 HOTMES technical version . . . . . . . . . . . . . . . . . . . . . . . . . . 145 5.5 Technical Data Classes and Subclasses . . . . . . . . . . . . . . . . . . . . 146 5.6 Memory Resource and Bandwidth Usage classes . . . . . . . . . . . . . . . 147 5.7 Technical Management Profile Instance Example + SPARQL rules . . . . 151 5.8 Modified modules in the agent implementation . . . . . . . . . . . . . . . 152 5.9 Semantic Autonomic agent interface (technical view) . . . . . . . . . . . . 153 5.10 General SNMP architecture proposal . . . . . . . . . . . . . . . . . . . . . 158 5.11 Communication model (SNMP-X73 solution) . . . . . . . . . . . . . . . . 159 5.12MedicalDevicesMIB..............................160 5.13SNMPagentinterface .............................166
LIST OF FIGURES xv 5.14 Key Strengths and Limitations Comparison . . . . . . . . . . . . . . . . . 171 5.15SNMPWebManager..............................173 5.16 Qualitative metrics colour bar comparison . . . . . . . . . . . . . . . . . . 176 6.1 Integration of data models at both end sites . . . . . . . . . . . . . . . . . 186
List of Tables 3.1 Monitoring Task properties . . . . . . . . . . . . . . . . . . . . . . . . . . 75 3.2 Analysis Task properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 3.3 Planning Task properties . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 3.4 Execution Task properties . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 4.1 Health Qualitative Information Properties . . . . . . . . . . . . . . . . . . 107 4.2 Vital Constants Measurements Description . . . . . . . . . . . . . . . . . 108 4.3 Object properties related to the Systolic Pressure Measurement . . . . . . 111 4.4 Relation between Patient Profile ontology and the X73 standard . . . . . 112 4.5 Patients Profile (Chronic) Diseases Information . . . . . . . . . . . . . . . 114 4.6 Patient Profile Questionnaires . . . . . . . . . . . . . . . . . . . . . . . . . 115 4.7 Multi-chronic Patient Profiles (Complex) . . . . . . . . . . . . . . . . . . . 117 4.8 Monitoring requirements for a generic COPD patient . . . . . . . . . . . . 119 4.9 Relation between Patient Profile questionnaires and Ontology tasks . . . . 122 4.10 Instances and rules for each patient profile . . . . . . . . . . . . . . . . . . 123 4.11 Cost metrics evaluation test 1 . . . . . . . . . . . . . . . . . . . . . . . . . 132 4.12 Cost metrics evaluation test 2 . . . . . . . . . . . . . . . . . . . . . . . . . 133 5.1 General HG and MD technical data . . . . . . . . . . . . . . . . . . . . . 140 5.2 Mapping to X73 and SNMP . . . . . . . . . . . . . . . . . . . . . . . . . . 141 5.3 Technical Classes Description . . . . . . . . . . . . . . . . . . . . . . . . . 146 5.4 Management Action Examples . . . . . . . . . . . . . . . . . . . . . . . . 148 5.5 Technical Classes Description . . . . . . . . . . . . . . . . . . . . . . . . . 149 5.6 Actions included in the COPD technical management profile ........154 5.7 Cost metrics evaluation COPD technical test (step 1) . . . . . . . . . . . 155 5.8 Compute Engine Control Info Group . . . . . . . . . . . . . . . . . . . . . 161 5.9 Medical Device Control Table . . . . . . . . . . . . . . . . . . . . . . . . . 163 5.10 Medical Device Data Table . . . . . . . . . . . . . . . . . . . . . . . . . . 163 xvii
xviii LIST OF TABLES 5.11 Medical Device State Table . . . . . . . . . . . . . . . . . . . . . . . . . . 163 5.12 Medical Device Errors Table . . . . . . . . . . . . . . . . . . . . . . . . . . 164 5.13TrapsTable...................................165 5.14 Messages for modifying an object . . . . . . . . . . . . . . . . . . . . . . . 168 5.15 SNMP solution: evaluation performance results . . . . . . . . . . . . . . . 169 5.16 Quantitative Metrics Comparison . . . . . . . . . . . . . . . . . . . . . . . 177 A.1 Monitoring requirements for a generic COPD patient . . . . . . . . . . . . 207 A.2 Cost metrics and resources required for a COPD patient . . . . . . . . . 207 A.3 Monitoring requirements for a generic obesity patient . . . . . . . . . . . . 208 A.4 Cost metrics and resources required for a obesity patient . . . . . . . . . . 209 A.5 Monitoring requirements for a generic thyroid disorder patient(I) . . . . . 210 A.6 Cost metrics and resources required for a thyroids disorder patient . . . . 210 A.7 Monitoring requirements for a generic thyroid disorder patient (II) . . . . 211 A.8 Monitoring requirements for a generic ischemic patient . . . . . . . . . . . 212 A.9 Cost metrics and resources required for a ischemic patient . . . . . . . . 212 A.10 Monitoring requirements for a generic asthma patient . . . . . . . . . . . 213 A.11 Cost metrics and resources required for a asthma patient . . . . . . . . . . 213 A.12 Monitoring requirements for a generic HTA patient . . . . . . . . . . . . . 214 A.13 Cost metrics and resources required for a HTA patient . . . . . . . . . . 214 A.14 Monitoring requirements for a generic osteoporosis patient . . . . . . . . . 215 A.15 Cost metrics and resources required for a osteoporosis patient . . . . . . 215 A.16 Monitoring requirements for a generic HF patient . . . . . . . . . . . . . . 216 A.17 Cost metrics and resources required for a HF patient . . . . . . . . . . . 216 A.18 Monitoring requirements for a generic diabetes patient . . . . . . . . . . . 218 A.19 Cost metrics and resources required for a diabetes patient . . . . . . . . . 218 A.20 Monitoring requirements for a generic dyslipidemia patient . . . . . . . . 219 A.21 Cost metrics and resources required for a dyslipidemia patient . . . . . . 219 A.22 Monitoring requirements for a generic osteoarthritis patient . . . . . . . . 220 A.23 Cost metrics and resources required for a osteoarthritis patient . . . . . . 220
Chapter 1 Introduction Advances in information and communication technologies have enabled the development of new systems to deliver medical services at a distance. These telemedicine systems are now a reality providing anyone with medical care at any place and at any time. However, while significant contributions have been made in this field in recent decades, telemedicine and e-health scenarios in general still present numerous challenges that should be addressed by researchers in order to completely exploit the advantages that these systems provide and thus support their long-term implementation. This chapter presents an overview of this thesis which aims to make a contribution to the e-health domain. Data integration, interoperability, personalized care, multi-chronic conditions, and clinical and technical management are the main topics and challenges presented and discussed. 1.1 Introduction and Motivation 1.1.1 Telemedicine and telemedicine scenarios The shift from traditional care to the use of new technology and engineering innovations is nowadays an interesting and growing research area mainly motivated by trends in world demographics (a growing population with chronic conditions and disabilities). More than a third of the population of Europe is currently affected with a chronic disease [1] and, according to UN (United Nations) population forecasts, the proportion of the population aged 60 or over is expected to reach almost 35% of the total population by 2050 [2]. This dramatic process of population aging and the evolution of the population pyramid in Europe (currently static with low fertility and mortality, with increasingly lower percentages of younger and higher percentages of older people) will have a serious economic effect in terms of social security, health insurance and pensions systems. This is a big issue for governments to face. All the evidence shows that looking for alternative technological solutions such as telemedicine systems is necessary. 1
21.1. Introduction and Motivation Telemedicine can be defined as the practice of clinical health care at a distance by means of information and communications technologies (ICT). These systems today are widely used for delivering medical services to remote areas, especially in countries where there is no easy access to medical care due to geographical barriers or a widely dispersed distribution of physicians. Using telemedicine systems provides benefits for patients in terms of accessibility and quality of life while also having a positive impact on hospital waiting lists and financial investment. For this reason, the utilization of these health services is being increased and they are frequently adopted as regular services available at any place at any time. Telemedicine applications play an important role under the e-Health umbrella by supporting healthcare practice using ICT in both clinical and nonclinical services such as health education. Furthermore, e-health can be described as a way of thinking or as an attitude towards improving health care [3]. These eHealth services can be applied in various different areas of daily medical practice. In addition, three main communication scenarios can be distinguished for their usage: -Scenario 1) Hospital - Hospital communication: Telemedicine systems can be useful for obtaining second opinions or advice from other physicians and also for making easier the access to specific medical tests that can not be performed in the hospital where the corresponding physician or the patient are located. Tele- EEG (electroencephalography) or Tele-ictus are examples of systems applied in this scenario. -Scenario 2) Primary Care Centre - Hospital communication: Telemedicine systems are valuable tools that can be used for supporting diagnoses in primary care centres. Tele-dermatology, tele-retinography or tele-echocardiography are the most popular types of systems implemented in this scenario [4, 5, 6]. -Scenario 3) Home site - Health Care Site communication: These systems, known as home-based telemonitoring systems, are oriented to make easier the supervision of chronic and elderly patients from their homes. Indeed, the development of these technology solutions for monitoring patients at home is nowadays one of the most popular research areas within the e-Health scope which is being expanded to the use of mobile software systems [7, 8]. Different challenges and problems arise during the setting-up of telemedicine systems in all these scenarios. Going one step further, it could be said that these challenges and problems arise during different phases and in different areas involved in the setting up process. As each scenario has its own particular conditions and demands, specific research needs to be done to solve the problems according to the scenario and the application. Nevertheless, in general the design, development and implementation of a telemedicine system can be carried out following a common methodology which should be
Chapter 1. Introduction 3 executed according to the specific and particular conditions presented in each scenario. This methodology can be applied in general for the three telemedicine scenarios presented and in particular for telemonitoring to which major contributions presented in this thesis have been made. 1.1.2 Methodology for setting-up a telemedicine system The great majority of telemedicine studies focus on showing these systems as valuable tools for medical practice but they do not give much consideration to the long-term implementation of these systems within the clinical routine of healthcare centres. The alignment of new information systems with the objectives of Health Care Organizations (HCO) is a key factor for their introduction and long-term success. Alignment theories should thus be taken into account when examining the long-term implementation of a telemedicine system [9, 10]. These theories suggest that as long as a telemedicine system contributes to the achievement of HCO objectives following defined strategic plans, it can be aligned with hospital strategy and its long-term set-up will be possible. Bush et. al. in [11] suggested five steps for aligning information systems with organizational objectives: Step 1) identify organization objectives; Step 2) identify organization strategy to cope with the objectives; Step 3) envision an information system to support organization strategies; Step 4) gain approval of health centres at a high-level to implement the system; Step 5) implement the system (see Figure 1.1). In order to envision and implement a telemedicine system in accordance with Step 3, it should be taken into account that good telemedicine implementations are developed after a process where the dynamic interaction among a combination of sociotechnical factors is optimized [12]. This point leads to 3 main ideas which should be considered within a methodology for setting-up a telemedicine system. The first idea is that challenges and problems involve not only technical but also clinical and social issues. Apart from developing good technology solutions to support telemedicine systems development, there are other factors that strongly condition the adoption of telemedicine systems and that consequently should also be investigated. The second idea is that the evaluation process is an important and dynamic factor as it provides real information about the way to maximize success in such a project and to guarantee its continuity. This should be considered from the outset of the project and should continue throughout the whole system set-up and subsequent long-term implementation. Finally, the third idea is that the interaction between the 3 disciplines involved in the telemedicine set-up should be considered. Clinical, technical, and social (including economic and organizational) issues should finally be considered all together through evaluation and e-health strategies for telemedicine system implementations. Figure 1.1 provides a graphical view of a methodology proposed for the set-up of a telemedicine system which combines the steps of alignment theories and the interaction of technical, clinical and social issues within the development and evaluation of the system.
41.1. Introduction and Motivation Figure 1.1: Methodology for setting-up a telemedicine system Overall general agreement about how to evaluate telemedicine systems is still lacking [13]. Nevertheless, some initiatives such as the MethoTelemed project have emerged recently [14]. The team behind this initiative has proposed a new model to assess the effectiveness of telemedicine applications (Method for Assessment of Telemedicine, MAST [15]), to form a basis for decision-making in the EU (European Union) and other European countries on the use of telemedicine applications. This guidance is based mainly on a multidisciplinary assessment (thus applying evaluation in different areas such as clinical effectiveness and patient perspective) and a transferability assessment of the system. This proposed methodology is in line with other evaluation techniques published in the literature [16] and also with the evaluation process that we followed in the setting-up of the system in two telemedicine experiences [17, 18]. It is worth remarking that while interaction among all the factors should be considered to optimize the system, three phases can be distinguished during the system development
Chapter 1. Introduction 11 they were comfortable using the telemedicine system and that it offered high quality for performing the EEG tests. During all the interviews they stressed the benefits the system had for patients in terms of reduction in social costs and especially the benefits for hospital inpatients (avoiding travel). On the other hand, regarding the teledermatology experience, the impact on the health system was mainly measured in terms of personnel satisfaction and the time impact on clinical routine. Interviews and questionnaires were used to collect these data. The physicians’ satisfaction and interest in teledermatology were also important strengths that supported its adoption and long-term set-up. In addition, the physicians involved described several other possible applications of teledermatology apart from its diagnosis function (filtering referrals, discarding urgencies, etc.). In contrast, the time invested in teleconsultation in primary care centres was as an important limitation. This was mainly due to a lack of integration with the EHR (electronic health record). 1.1.3 Home-based Telemonitoring Systems Quality of care has been a growing area of interest and research in recent years, arising from the existing evidence that directly relates improving quality of care with a positive impact on the outcomes delivered by health systems. The WHO (World Health Organization) international organization states in its document about Quality of Care [20] that healthcare systems should make improvements in 6 dimensions of quality and consequently be effective (providing care adhering to clinical evidence and achieving positive outcomes for patients and the health system as a whole), efficient (using available resources properly and avoiding wasting money), accessible (thus solving time and geographical difficulties), equitable (they should not be reliant on personal characteristics), acceptable and patient-centred (patients’ preferences should be taken into account for delivering services) and safe (risk and harm for patients should be minimized). In addition, two new emergent dimensions should be considered for quality of care management: 1) security (although this has always been considered in complex healthcare systems it has gradually gained importance) 2) empowerment (related to patients’ participation in their disease management). This new paradigm known as empowerment is a central idea in the EU health strategy supported by international health organizations including the WHO among others [21], and its effectiveness in yielding quality of care is an obvious and interesting area of research [1, 22]. Patient empowerment is considered as a philosophy of health care based on the perspective that better outcomes are achieved when patients become active participants in their own health management. The European experience of e- Health Patient Empowerment includes 1) providing patients with advice and trusted information, 2) supporting patients’ education on health issues, 3) making the access to managing their own health data easy, 4) supporting the self-care paradigm and 5) supporting new models of chronic care. This new idea feeds into new ways of providing
12 1.1. Introduction and Motivation healthcare using ICT and new technologies. In this context, telemonitoring systems can be used as self-care management tools while collaborative processes among healthcare personnel and patients is maintained, thus the patient’s safe control is guaranteed. Telemonitoring systems face the problem of delivering medicine to the current growing population with chronic conditions while at the same time covering the dimensions of quality of care (effectiveness, efficiency, patients’ acceptability, safety, ....), and new paradigms such as empowerment can be supported. By periodically collecting patients’ clinical data and transferring them to physicians located in remote sites, remote patient health status supervision and feedback provision is possible. This type of telemedicine system guarantees patient supervision while reducing costs (enabling more autonomous patient care and avoiding hospital overflows). Furthermore, patients’ quality of life is improved. These are the main reasons that justify the increasing interest in research and in the setting-up of home-based telemonitoring systems. Figure 1.5: General Telemonitoring Architecture In general, a typical home-based telemonitoring scenario includes two sites: the home site and the health-care site linked by a communication network (see Figure 1.5 ). At the home site, patients themselves periodically acquire vital signs measurements (e.g blood pressure) by using medical devices (MDs) to monitor their current health condition according to some indications provided by physicians (monitoring guidelines). This information acquired together with the patient’s feedback is collected in a concentrator device (HG, home gateway) used to evaluate and/or transfer the acquired data outside the patient’s home if necessary. Depending on the telemonitoring scenario, this evaluated data can alert patients to take some action or the transmitted data can make physicians in charge of the patient’s supervision aware of an abnormal finding and consequently take action if required. At the health-care site, a server device is used to manage information from the home site as well as to manage and store the patient’s monitoring guidelines defined by physicians (TS, Telemonitoring Server). In fact, this telemonitoring process, and consequently the evolution of the patient’s health status, is managed through the indications or monitoring guidelines provided by physicians. Through these guidelines they indicate how many measurements the patient should perform,
Chapter 1. Introduction 13 their schedule, whether or not they should be transferred to the health-care site, any additional subjective information that the patients should provide, and sometimes even a definition of alarms over acquired information in order to be alerted if an abnormal finding is detected. According to the methodology presented in section 1.1.2, once a technology solution has been envisioned to reduce health-care costs and improve patient empowerment (hence in line the HCO strategies and objectives), technical issues and technical viability should be considered in the next development and evaluation stage. The introduction of these new elements in healthcare has driven researchers and industry to develop new standards and look for new technology solutions to address the challenges that this e- Health scenario presents in order to accurately and effciently deal with clinical data. In particular, at this technical stage data integration and clinical management are key challenges in this scenario where heterogeneous sources located at both end sites of the e-health infrastructure participate together in the telemonitoring process [23]. This integration should be addressed at both end sites of the scenario but also in the communication-link, thus integrating the way of transferring and exchanging information efficiently between them. In addition, providing personalized care services and taking into account the patient’s context have been identified as additional requirements [24, 25]. Furthermore, apart from clinical data aspects, technical issues should be also addressed in this scenario. Technical management of all the devices that comprise the telemonitoring scenario is an important task that may or may not be integrated under the same architecture as clinical management. Hence, at this technical level, research is still required to address these challenges. Consequently there is a need for the development of new telemonitoring architectures. It should be pointed out that while clinical viability is dealt with in the next phase of the methodology (see section 1.1.2), clinical staff participation is vital for this technical stage. According to the proposed methodology, further investigation should be performed in the following phases in order to collect real evidence that the evolution of the patient’s disease is controlled in the same manner as it would be if the patient attended the primary care centre (clinical viability). In the same manner, the impact on patients and physicians in terms of satisfaction and comfort should be measured. 1.1.3.1 Data Integration and Clinical Management Data integration is required to guarantee interoperability and seamless access to data provided by all heterogeneous sources (MDs, physicians and patients) that participate together in the telemonitoring process (acquiring and transferring medical data, defining telemonitoring guidelines and providing contextual information). At the home site, a wide variety of MDs that use their own format to represent and transfer data to the HG are likely to be used together for the patient’s supervision. To address this problem, some initiatives such as the CLSI-POCT1A standard or the ISO/IEEE 11073 (X73)
14 1.1. Introduction and Motivation family of standards have been proposed as a solution for integration and interoperability in MD data communication [26, 27]. Specifically, the CLSI-POCT1A establishes a set of specifications to allow multivendor interoperability between point-of care devices, data concentrators, and clinical information systems. On the other hand, the X73 family of standards (supported by some open initiatives such as Integrating the Healthcare Enterprise, IHE [28] or Continua Health Alliance [29]) describes how information can be exchanged between personal MDs (X73 agents) and a concentrator device or gateway (where the X73 manager is installed) used to gather all the measurements provided by the different agents. Nevertheless, although manufacturers have eventually started using this last standard, the present situation is that these standards are not implemented in the majority of cases and thus heterogeneous MDs from different manufacturers with different protocols are still being used at homesites in e-health scenarios [23]. Besides, apart from data acquired by MDs, additional information must be provided by patients and integrated together with the vital constant measurements acquired in order to accurately describe the patient’s situation and thus perform a correct diagnostic supervision. On the other hand, at the healthcare site, physicians define and provide monitoring guidelines to supervise patients and collect transferred data from the HG. Although different information is managed at both end sites of the architecture, all these sources take part in the same telemonitoring process. Consequently, data provided by them (and later shared or exchanged) should be represented as common knowledge into which all sources may be mapped, thus making clear the interaction and relations among them. Apart from knowledge integration, data transference between the home site and the health-care site is an additional point to be addressed in this scenario. The development of architectures to support this knowledge exchange is required. Popular solutions such as the standardized Health Level Seven7 (HL7) messages could be used to solve these clinical data transferences within telemonitoring scenarios [30]. HL7 refers to a family of standards used to transfer, share and exchange electronic health record information. It specifies a set of conceptual models, guidelines and messaging standards (which is in fact its most popular and important contribution) aiming to solve communication and interoperability issues between heterogeneous healthcare systems. However, this effective XML [31] based message transference solution lacks semantic representation which would ease data integration and semantic interoperability in contrast to other proposals that can be used such as OpenEHR or ontology solutions [32, 33]. On the one hand, ontologies (both for terminology and care process representation) have been proposed as an emerging and popular technology to address integration and knowledge representation issues in general healthcare practice. On the other hand, OpenEHR is a de facto standard that provides a solution based on the definition of archetypes to create re-usable clinical knowledge, adaptable computing systems and electronic health records. The OpenEHR strategy is based on the development of knowledge oriented frameworks including ontologies and formal terminology to address semantics representation and provide effective healthcare. Solutions specifically applied
Chapter 1. Introduction 15 to the telemonitoring scenario are based on the development of archetypes to model vital constant measurements (eg. blood pressure or temperature) or intervention plans [34]. Both standards, HL7 and OpenEHR, could be good solutions for the transfer of data in the telemonitoring communication link. However, the application of any of these standards is not an easy process and developing specific guidelines for their usage makes their application more complex. In summary, great efforts have been made in recent years in developing standards to deal with interoperability at different points of the e-health communication infrastructure (see Figure 1.6). Nevertheless, additional efforts are required to enable them to work together and ultimately provide a higher level of seamless integration. Furthermore, data collected in the HG should be evaluated in order to extract additional information that could even enable alarms to be triggered. Hence, a management procedure integration is required in order to provide a uniform and clear working process for acquiring, analyzing and making decisions about the patient’s monitored data. That is to say, it is necessary to integrate clinical decision support tools or rule-based systems to automate and improve patient care supervision. Figure 1.6: Standards in the Telemonitoring Scenario This integration together with data transferences from the HG to remote hospitals should be addressed by the development of knowledge-oriented frameworks. A higher level of abstraction is required in order to provide a common understanding about data exchanged by all the entities, the way of dealing with such data and an integrated manner to exchange it. As mentioned above, this can be achieved by the use of ontologies and ontology-based architectures to support its physical implementation. According to one of the most widely accepted definitions of ontologies in computer science, an ontology can be described as “an explicit and formal specification of a shared conceptualization” [35]. In practical terms, an ontology is a hierarchy of concepts with a set of properties and relations that provides a formalized representation of a common view of a determined domain. In contrast to other popular technologies such as XML schemes, ontologies provide knowledge representation and provide mechanisms to reason upon data defined in the model. By adding rules and logic it is possible to merge,
16 1.1. Introduction and Motivation extract and combine data in new ways to produce new information. Consequently, in this research the use of ontologies and their combination with the so-called autonomic computing paradigm has been investigated to address integration challenges in home based telemonitoring scenarios [36]. 1.1.3.2 Context-aware and personalized medical care According to its most frequently cited definition [37], context refers to any information that can be used to characterize the situation of an entity (person, place or computational object) and the interaction between them. Specifically, in home-based telemonitoring scenarios the patient’s location, environmental conditions or simply the way of acquiring vital constant measurements can affect measurement results, and they should thus be taken into account when evaluating acquired clinical data. Furthermore, according to each patient’s health conditions, the physician should define individual monitoring guidelines in order to supervise his/her health status evolution. All these individual factors can be termed as context and should be taken into account when monitoring and evaluating the patient’s clinical data. In fact, a context-aware system provides personalized healthcare [24]. Providing personalized healthcare services is a challenging requirement in homebased telemonitoring scenarios [25]. No two patients are the same and consequently each one requires his or her own monitoring guidelines adapted to his or her own chronic conditions. Furthermore, patients with chronic diseases often suffer the occurrence of more than one chronic condition with an index-disease, that is to say co-morbidities [38]. These conditions affect each other, increasing the number of risk factors for patients and consequently having in general a significant link with mortality and prevalence rates, functional status and quality of life. For example, an adult patient with type 2 diabetes (DM) suffering also from hypertension and dyslipidemia (DLP) has an increased risk of vascular complications [39]. Hence, co-morbidities require more intensive health care services and further necessitate the provision of individual and personalized services at the home site. Consequently, the development of knowledge models applied in this scenario should be generic and not restricted to the monitoring of patients with one chronic condition. Such models should provide the flexibility to individualize the supervision according to each case and should be sufficiently scalable to be extended if additional chronic cases are to be covered with the telemonitoring system. In this thesis, the use of rules in combination with ontology knowledge is investigated in order to address the personalization problem. It should be noted that physicians’ knowledge is a key consideration in the ontology development and in particular in the modelling context.
Chapter 1. Introduction 17 1.1.3.3 Technical management challenge While considerable efforts have been made (and continue to be made) to deal with complexity in clinical data management, technical management issues have not been given much consideration by researchers. Hence, the remote technical management of the devices that comprise the telemonitoring scenario is not covered by any of the developed standards and neither are solutions proposed by researchers. It should be noted that technical troubles and technical management concerns are of great importance. Apart from ensuring that MDs are safe for patients (for which manufacturers are responsible and for which contributions have already been presented [40]) it is essential to simply ensure that any technical problem in the MD or in the HG (e.g abnormal resources consumption or measurement levels) that could prevent or interfere with patients’ monitoring will be detected. As explained above, the X73 standard has been proposed as a solution to transfer information in an interoperable manner from MDs to the HG. Although this standard does not deal with the remote (beyond the manager) technical management of MDs, the data flow from MDs to HG includes both technical and clinical information. By using this standard for MD transference, the MD technical management issue could be solved by proposing an extension of X73 functionalities. Nevertheless, MDs have extremely limited processing power, memory and battery life [41]. Therefore, by proposing this type of solution an additional overhead would be imposed on MDs to support technical management, the result being the likely shortening of their already limited battery life. Moreover, it would be more appropriate to provide a global solution for managing all the devices involved in the telemonitoring scenario. Apart from technical management, overall control of the use of HG resources such as memory and bandwidth as well as the number of connected MDs would also be desirable. Therefore, since the HG can be seen as a communication network element, using traditional management architectures for TCP/IP networks could be an interesting solution to provide the HG with its own management capabilities but also for the remote management of MDs as long as they are connected to the HG and transfer technical information to it. Similar challenges in terms of interoperability and integration are also faced by network managers. They control the operational status of network elements and ensure, among other things, an effective utilization of network bandwidth in complex networks where heterogeneous devices from different manufacturers run together. Indeed, popular network protocols are used nowadays in e-health infrastructures such as for server and network management purposes in hospitals. As in healthcare scenarios, different standards have been proposed since the early 1990’s to address these problems. Telecommunication Management Network (TMN) recommendations from the ITU- T (representative management solutions of this model are Common Management Information Protocol, CMIP, and Common Object Request Broker Architecture, CORBA) and SNMP (Simple Network Management Protocol) [42] architecture from
18 1.2. Research questions and thesis proposal IETF (Internet Engineering Task Force) are good and popular solutions for traditional management tasks that rely on the agent-manager model. Nowadays, although new protocols such as NETCONF (Network Configuration Protocol) have been proposed to overcome certain limitations of SNMP in configuration tasks, the latter is still a de facto standard for managing TCP/IP networks and the most popular architectures supported by industry. Ontologies also play an important role in the network management field [43]. Although this technology is not as mature as the previously mentioned standards, important research and contributions have been made regarding its application in network management in the last decade. Ontologies are an interesting approach to solve this and other integration problems arising in growing telecommunications infrastructures where different information management models can be used. This new challenge should be addressed taking into account the specific demands of e-Health infrastructures today in terms of interoperability and seamless integration. Furthermore, device heterogeneity, the limited processing power and battery life of MDs, and network costs and efficiency problems in the communication network should also be considered. Hence, in this research two management techniques have been investigated to address this new challenge: ontologies and SNMP. 1.2 Research questions and thesis proposal The general approach of this thesis is to make a contribution to the field of home based telemonitoring scenarios given the relevance today of telemonitoring systems in e-health and the social benefits they provide for patients, physicians and the health system as a whole. Specifically, the research is focused on the application of knowledgeoriented frameworks based on ontologies to address the main challenges described in the introduction. As implied by the methodology presented for setting up a telemedicine system (see Figure 1.1), the main contribution lies in the technical phase. Taking into account MD interoperability, clinical knowledge and engineering concerns, this research investigates how an ontology-based architecture can be successfully used to address the main challenges presented in home-based telemonitoring scenarios to monitor patients with chronic conditions. That is to say, to integrate data provided by the different heterogeneous sources that participate together in the telemonitoring process, to provide a uniform means to automate and integrate its management procedure, to provide personalized services and care taking into account the patient’s context and, furthermore, to support technical management under the same conceptual and physical architecture and thus address the challenges and requirements presented by this type of management. It should be noted that an SNMP solution has been investigated for this technical management and compared to the ontology-based solution. Furthermore, the combination of ontologies and the so-called autonomic computing paradigm is studied in this thesis and the use of rules to provide personalized care is also proposed.
Chapter 1. Introduction 19 1.3 Hypothesis, Objectives and Goals This thesis makes a research contribution to the field of home-based telemonitoring systems within the application of ICT in the e-Health sphere. Specifically, this research investigates how a new architecture based on ontologies can be successfully used to address the main challenges presented in the technical phase (within the methodology proposed for the set-up of a telemedicine system) in home-based telemonitoring scenarios. The following underlying hypotheses are uppermost in this research approach: •The usage of telemonitoring systems to monitor patients at home with chronic conditions has a positive impact on delivering quality of care. These systems improve patients’ quality of life and empowerment, and also enable social costs to be reduced. •The development of knowledge-oriented frameworks to support data management in telemonitoring scenarios enables a further step to be taken to unify data provided by the heterogeneous sources that participate together in the telemonitoring process. They provide a clear understanding of the managed data and can also be used to describe the management procedure. Hence, these frameworks can be used to address the main challenges involved in the technical development of the system. •The incorporation of rules can be effectively used to define individual alarms within the monitoring guidelines, thus providing personalized medical care. •Technical management also represents a significant challenge in home-based telemonitoring scenarios. The development of knowledge-oriented frameworks can be successfully applied to support technical management, thus enhancing the integration of both tasks (clinical and technical). However, other solutions based on traditional network management techniques can be applied to deal with the technical management of telemonitoring devices. The following objectives have been identified to address the research approach set out in section 1.2 and taking the above-mentioned hypotheses into consideration: 1. To conduct reviews on the state of the art in general aspects of ontology design, languages and implementation. Specifically, to study the application of ontologies in the clinical sphere and to examine other solutions proposed in telemonitoring scenarios. To study the potential of ontologies for representing knowledge and addressing integration and interoperability challenges. 2. To design and develop an end-to-end telemonitoring architecture taking into account both conceptual issues (thus the domain modelling) and the transference of data between the end points (thus communication and messages exchange).
20 1.3. Hypothesis, Objectives and Goals Hence the architecture should include two layers: a conceptual layer and a data and communication layer. - To design and develop an ontology to support the conceptual layer of the proposed architecture and provide data and management integration in general home-based scenarios. In order to describe this conceptual model and exploit its features for the telemonitoring domain, the following sub-objectives have been set: - To study the combination of ontologies and the autonomic computing paradigm to automate management purposes in telemonitoring scenarios. - To propose a methodology to address the development and usage of the proposed ontology. - To study the combination of rules to provide personalized services. - To investigate the use of Web Services (WSs) [44] to support the exchange of information defined in the conceptual layer of the architecture, that is to say, to provide a practical support for the developed ontology and an effective manner to transfer data. 3. To investigate and adapt the ontology-based architecture design to provide clinical management in the home-based telemonitoring scenario and address the main challenges identified in sections 1.1.3.1 and 1.1.3.2. In order to address this objective, the following tasks should be performed: - To conduct reviews of the X73 standard to take into account MD interoperability and other existing clinical standards in this scenario. To schedule interviews with clinical personnel for modelling clinical knowledge and the requirements of monitoring chronic patients for the design of the ontology. - To adjust the ontology design and evaluate its completeness and adaptability for monitoring patients with different or multiple chronic conditions. To evaluate the usage of rules applied over the ontology model to define personalized care. - To evaluate the applications of the model to define complex care and decision tasks. 4. To address the technical management challenge in home-based telemonitoring scenarios (identified in section 1.1.3.3) studying two different solutions: an ontology-based solution and an SNMP based solution. The following sub-objectives have been established:
Chapter 2. State of the Art 27 Other standardized nomenclature in the e-Health domain has been used in this thesis. Specifically, concepts described in the ontology were related to standardized terms in medicine by using the SNOMED-CT nomenclature [54]. SNOMED-CT is nowadays a leading ontology of biomedical terminologies that covers a wide range of clinical concepts including not only diseases but also procedures and clinical findings. This is an important resource for healthcare and contribution to standardization in health information technologies. By using these codes, accuracy in EHR information is improved and its communication made easier, thus leading to improvements in patient care. 2.2.1 ISO/IEEE 11073 (X73) The X73 family of standards is a reference frame for MD interoperability. Although early drafts relating to the standard date back to the mid 1980’s, the first version created in common by the ISO (International Organization for Standardization) and CEN (European Committee for Standardization) organizations, the CEN/ISO/IEEE 11073 Health Informatics-Point-of-Care Medical Device Communication (X73-PoC), was released in 2004. This X73-PoC family of standards leveraged previous works published in the mid 1980’s to the different layers of the communication process. The latest version of the standard released in 2008 (11073-20601 Personal Health Device communication: Application profile-Optimized Exchange Protocol, X73-PHD or X73) is adapted to the new paradigm of personal health care and well-being [55]. Improvements made in this new version take into account patient mobility and new concepts such as Personal Area Network (PAN) and Body Area Network (BAN). It is worth noting that advances in the latest version were proposed and approved by the PHD Working Group (PHDWG). The standard can be explained through its abstract model and its layer structure. The overall X73PHD standard is basically divided into three main models (see Figure 2.1): 1. Domain Information Model (DIM): the DIM defined in X73 describes a hierarchical set of objects with attributes and methods which characterizes the information that can be sent from an agent to a manager (e.g. data measurements and generic device information). The DIM is the most relevant component regarding the description of technical features of MDs and the description of clinical measurements acquired by the MD. Specifically, within the DIM, the MDS (Medical Device System) class represents the identification and status of each agent, and its attributes contain most of the technical information that can be retrieved from MDs. Clinical measurements and related context information are represented by using Numeric, Enumeration and Real Time-Simple Array (RT-SA) objects. In particular, Numeric object is used to represent numerical measurements, RT-SA is for waveform measurements and Enumeration objects are
28 2.2. Standards solutions for e-Health scenarios used to report status or contextual information. The DIM also includes objects for data storage (Persistent Metric (PM)) and the Scanner class for data reporting. Objects classes and attributes within the DIM are referenced using nomenclature codes described in the ISO/IEEE 11073-10101 document. Attributes of each class are defined by using the name of the attribute, its nomenclature reference identifier (ID), its type, its qualifier and a description of the attribute. It should be noted that each attribute data type is defined using an Abstract Syntax Notation One (ASN.1). The DIM was the most relevant part of the standard used for the extension design of the ontology (for clinical and technical purposes). 2. Service Model: the Service Model provides primitives to explain how the data defined in the DIM can be exchanged between the agent and the manager. Thus, this model provides a means of interaction between agents and managers. These primitives include messages used by the manager to retrieve information (Get), modify some specific attributes (Set), execute some actions over the agent features (Action) and Event Reporting commands (messages sent by the agent to the manager). 3. Communication Model: finally, the communication model establishes a finite-state machine (FSM) for both agents and managers that controls its communication state. This FSM defines the dynamic behaviour of both entities by describing the states and substates while they are passing through a communication process. The main states defined in the FSM are: DISCONNECTED, CONNECTED, UNASSOCIATED, ASSOCIATED, CONFIGURING and OPERATING. Initially both entities are in the disconnected state until the devices are turned on and go to the connected state. Then, once the agent sends an association request to the manager and it is accepted, they go to the associated state. In this state, if the manager does not know the agent configuration, it will be asked and consequently both will be moved to the configuring state. It if does, they will go directly to the operating state. In this last state, the agent begins sending measurements to the manager. The communication model supports one or more agent communications with a single manager over point-to-point connections. From these models, the X73 PHD standard relies on a layer structure to describe its communication protocol. This architecture protocol is divided into three main levels: 1. Transport layer: the X73 protocol allows support for various transports; it is not specific to any particular one. 2. Optimized Exchange Protocol: the Optimized Exchange Protocol (reported in the ISO/IEEE 11073-20601 document) describes the data exchange protocol for
Chapter 2. State of the Art 29 the agents and managers communication. Moreover, it describes the application layer services. 3. Device specializations: these documents (11073-104zz) indicate the details relative to how a specific type of agent works (e.g., blood pressure monitor or weighing scale). Thanks to the abstract information model used in the standard to define MDs specializations, the incorporation of new MDs is easier. Some device specializations have already been developed and others are currently under development. In particular for this thesis research a total of 8 device specialization documents were reviewed, referring to the weighing scale (-10415), thermometer (-10408), blood-pressure monitor (-10407), pulse-oximeter (-10404), glucose meter (-10417), body composition analyzer (-10420), medication monitor (-10472) and peak expiratory flow monitor (-10421). Figure 2.1: X73-PHD Abstract Model
30 2.3. Ontologies 2.2.2 X73 experiences The X73 has been investigated for a wide variety of telemonitoring scenarios including bedside monitoring in hospitals, wearable implementations and home-based telemonitoring systems. Remarkable works have been reported in recent years regarding X73 research in terms of experiences of implementation of the standard in wearable devices [56, 57], contributions to new device specializations [53, 58], its application to new cases of use [59] and also transport technology (e.g Bluetooth) and optimization research [41, 60]. An interesting work can be found in [50]. This work provides a complete e-health platform based on standards aiming to solve integration and interoperability challenges in an end-to-end telemonitoring architecture. Specifically, the use of the X73 is proposed to be used at the home site, and the rest of the technologies used are oriented to transfer and integrate data acquired by using this standard. Although this is a promising standard, it has not yet been widely adopted by industry and consequently challenges at the home-site remain uncovered. 2.3 Ontologies 2.3.1 Introduction Ontologies have been successfully used in recent decades in the world of computer science and particularly in the semantic web domain for the purpose of achieving a comprehensive and readable machine common understanding [61, 62]. According to the Studer definition [35] (“an explicit and formal specification of a shared conceptualization”), an ontology is an abstract model (conceptualization) that provides a controlled vocabulary for the description of concepts, each with an explicitly defined semantics (explicit) and machine processable language (formal). Furthermore, ontologies aim to capture consensual knowledge by a group of people and they may be reused across different applications (shared) [63]. In simple words, ontologies represent concepts and basic relationships for the purpose of comprehension of a common knowledge area. Hence, to develop an ontology means to formalize a common view of a certain domain. The key of their success is mainly based on two relevant characteristics: first, ontologies provide a knowledge framework with clear semantics and syntax representation and second, it is possible to infer knowledge from them. This second characteristic constitutes an important advantage of ontologies compared to other data structure technologies such as XML schemes. Ontologies provide mechanisms to reason upon data defined in the model and to execute more complex and efficient searches. By adding rules and logic it is possible to merge, extract and combine data in new ways to produce new information. Ontologies have been used in this thesis for two purposes: clinical and technical management. On the one hand, as explained in the introduction, ontologies offer
Chapter 2. State of the Art 31 a powerful solution to address the data integration challenges presented in the telemonitoring scenario. Furthermore, they can be used to formally describe and thus integrate clinical management tasks. In the same way as for clinical management, they can be successfully used for technical management purposes. This is in line with solutions reported in recent years for the network management domain to handle multilanguage [64]. management problems. Both clinical and technical management services can be implemented under the same architecture. In general, ontology knowledge can be specified by the following components: concepts, relations, functions, axioms and instances [65]. -Concepts refer to concrete or abstract entities and are used to describe the domain. Concepts can be organized into a hierarchy of relationships, termed as taxonomy. -Relations and functions refer to interaction between concepts of the domain and attributes. -Axioms are used to model sentences that are always true. They are used to associate classes and properties with some specifications of their characteristics. Hence, they can be used for constraints purposes, verifying correctness or deducting new information. - Finally, instances refer to specific elements within the domain of a concept. It should be noted that two types of ontologies can be distinguished: lightweight ontologies and heavyweight ontologies. Lightweight ontologies are mainly taxonomies that include a set of concepts and hierarchical relationships among the concepts. They are easier to operate but some agreements are required for interoperability purposes among all the parts. Heavyweight ontologies provide greater detail and add axioms and constrains to lightweight ontologies. They are easier to deploy but difficult to develop [63, 66]. 2.3.2 Ontology Languages 2.3.2.1 Ontology Languages Review In computer science, there are plenty of formal languages that can be used to define and construct ontologies. These languages allow encoding knowledge contained in an ontology in a simple, formal and human-readable way. They are usually declarative languages and the main differences among them lie in the degree of expressiveness (the elements they include and how they can be used) and the inference engine of the language. These ontology languages can be compared in terms of the features and elements that they provide for specifying the ontology knowledge [65]. Usually, they are generalizations of frame languages and are commonly based on first-order logic
32 2.3. Ontologies (FOL) or description logic (DL). Frames are data structures for representing entities (classes or individuals) used for knowledge representation in a domain. FOL refers to a symbolized reasoning in which each statement comprises a subject and a predicative and the latter defines or modifies the properties of the subject. Finally, DL is used for formal reasoning on the concepts of an application domain. Knowledge systems based on DL consist of two components: TBox (terminological box) and ABox (assertional box). TBox contains concepts and relations between concepts while ABox contains assertions about individuals [67]. Ontologies languages can be classified in two groups [68]: 1. Traditional Ontology Languages: these languages were created before the semantic web boom. They were defined during the 1990’s and were based on firstorder logic and on its combination with frames. Some of them can be highlighted: -KIF (Knowledge Interface Format): a language based on first-order logic defined to exchange knowledge between different systems. -Ontolingua: this language was based on KIF and the combination of frame ontology forms. This is a powerful language in terms of expressiveness but due to this high degree of expressiveness, no reasoning support is provided with this language. -OCML (Operational Conceptual Modeling Language): a frame-based language that can be considered similar to Ontolingua but with some extra components. -F-Logic (Frame Logic): this language combines frames and first-order logic. Its features include, among others, concept representation, binary relations, instances, axioms and deductive rules. 2. Web-based semantic ontology languages: These languages were created within the Semantic Web context in order to exploit Web characteristics. Most of them are based on XML syntax and, according to their structure (frame, FOL or DL), they can be grouped in different sub-groups. The following are some good examples of these ontology markup languages. -XOL (Ontology Exchange Language) : initially designed for exchange of bioinformatics ontologies, this XML based-language can be used for ontologies in any domain. -SHOE (Simple HTML Ontology Extension): this was proposed as an extension of HTML used to embed knowledge in web pages. It was subsequently modified to base its structure on XML. -RDF (Resource Description Framework) [69]: this language was created by the W3C (the World Wide Web Consortium) for describing web resources. The structure of any RDF expression is a collection of triples, each consisting
Chapter 2. State of the Art 33 of a subject, a predicative and an object. A set of these triples is named as an RDF graph. All these elements are identified by a URI (Uniform Resource Identifier). -RDF Schema: this extends RDF and its combination with RDF is known as RDF(S). This RDF(S) language incorporates among others, mechanisms for describing relationships between classes (for hierarchical definitions) and properties. -DAML-OIL: semantic language that is based on RDF triples and was developed as a combination of features from both DAML (DARPA Agent Markup Language) and OIL (Ontology Inference Layer). -OWL (Ontology Web Language) [70]: OWL language is a vocabulary extension of RDF. It describes the structure of a domain in terms of classes and properties, and provides a set of axioms to assert assumptions or equivalence with respect to classes or properties. OWL language, also known as OWL 1, is explained in detail in the next subsection. -OWL 2 [71]: this language was proposed by the W3C in order to replace the OWL language. Detailed information of this language is provided in the following subsections. Apart from these groups, in [64] the combination of UML (Unified Modeling Language) with OCL (Object Constraint language) is proposed as an additional ontology language. UML is a standardized modeling language that includes a set of graphic modules to specify, visualize and modify artifacts of an object-oriented software system. This is a mature and widely used modelling language that is also very popular for defining ontologies. By using the OCL language, it is possible to specify restrictions over the UML model. Figure 2.2 depicts the position of the main languages described within the hierarchy illustrated in the Semantic Web Stack. Query and rule languages depicted in Figure 2.2 are described in the following subsections. Figure 2.2: Semantic Web Structure
34 2.3. Ontologies 2.3.2.2 OWL language While there are various languages for expressing ontologies, the standardized RDF schema and OWL have been gaining popularity in the semantic web world. In fact, OWL is the current standard for ontology definition. The OWL language is a vocabulary extension of RDF and offers an enriched expressiveness in the descriptions of classes and properties. OWL provides a set of vocabularies to define concepts, relations and axioms and brings the reasoning power of description logic to the semantic web. The OWL language specification includes the definition of three sub-languages that provide different levels of expressiveness ordered by increasing expressiveness as follows: OWL Lite, OWL DL and OWL Full. In most cases, OWL DL (based on the DL SHOIN language) is chosen by ontology developers because it provides the maximum expressiveness capacity that can be offered while total computational capacity is guaranteed. Indeed, it was chosen for this thesis research. As OWL is an extension from RDF, any OWL ontology can be seen as an RDF graph which is in turn a set of RDF triples. In general, an RDF graph forms an OWL Full ontology. As OWL DL and OWL Lite place some expressiveness restrictions in the vocabularies, any RDF document will generally be in OWL Full, unless specifically constructed to be in OWL DL or Lite. OWL is an object-oriented ontology language. An ontology can be formally described in OWL using following basic elements: 1. Classes : these represent entities or concepts about the described domain. They constitute the base for the domain description. 2. Individuals : they are instances or members of a class. Hence, a class is simply a name and collection of properties that describe a set of individuals. Classes are used to classify individuals into groups which share common characteristics. A set of individuals associated to a class is designated as class extension. 3. Properties : there are two types of properties in OWL: -Object Properties : these express relationships between individuals of two classes. -Data Properties : these are used to link individuals with datatype values. Finally, OWL provides annotations (owl:AnnotationsProperties) which can be used in OWL DL under certain conditions to define annotations on classes, properties, individuals and ontology headers. Furthermore, there are five predefined annotations in OWL, namely: owl:versionInfo,rdfs:label,rdfs:comment,rdfs:seeAlso,rdfs:isDefinedBy. An OWL ontology document begins with a namespace declaration. A namespace is a collection of element types and attribute names that helps to make the rest of the ontology much more readable. These collections of attributes and names are uniquely identified by the name of the namespace of which they are part. A standard initial
Chapter 2. State of the Art 35 component of an ontology includes a set of XML namespace declarations associated with the ontology itself, the URI of the ontology and RDF, RDFS and XML scheme datatypes (since OWL depends on the construct defined by them). After the namespace declaration, an OWL document optionally includes a set of ontology headers (used to provide information about the version and the inclusion of other ontologies) and then a set of classes, properties and individual declarations. 2.3.2.3 OWL language elements As already mentioned, the main elements of an OWL ontology concern classes, properties and individuals. This section presents more detailed information about the OWL vocabulary used to define relationships and constraints regarding the terms mentioned above. Classes (I) : Class Descriptors Class descriptors are used to precisely describe OWL classes. The following types of descriptors can be distinguished in OWL : -owl:Class(URI): a class can be simply described by its name, the URI. There are two special classes: owl:Thing and owl:NoThing. The first refers to a set of individuals. All OWL classes are sub-classes of this class. The second refers to an empty set of individuals. This latter class is a sub-class of every OWL class -Enumeration owl:OneOf : this construction enables a class to be identified by an exact list of individuals contained in this class. -Intersection, Union and Complement: the owl:intersectionOf can be seen as the AND logic operator. This statement indicates that the new class extension contains members contained in class extensions of all classes included in the list. The owl:unionOf can be seen as the OR logic operator. This statement indicates that the new class extensions contains individuals contained in one or in another class extensions of all classes included in the list. The owl:complementOf can be seen as the NOT operator. This statement indicates that the new class extensions contains individuals that do not belong to the specified class. -Property Restrictions →Value Constraints: these restrictions put constraints on the range of the property. The owl:allValuesfrom is used to specify that the values of the property are all instances of the class indicated by this clause. The owl:someValuesfrom indicates that at least one individual belongs to that class and owl:hasValue links the restriction class to a value that can be either an individual or data value.
36 2.3. Ontologies -Property Restrictions →Cardinality Constraints: these are used to specify that any instance of a class may have an exact (owl:cardinality), or a least (owl:minCardinality) or a greatest (owl:maxCardinality) number of values for a particular property. In contrast with OWL-Lite, positive integer values other than 0 and 1 are permitted in OWL DL for cardinality restrictions. Classes (II): Class Axioms Class descriptions form the building blocks for defining classes through class axioms. The simplest form of a class axiom is a class description that just states the existence of a class, using owl:Class with a class identifier. There are other class axioms such as rdfs:subClassOf to define sub-class relationships, owl:equivalentClass used to express that the class extension of two classes descriptions are the same and owl:disjointWith which is used to express that two classes have no members in common. Properties : Properties Axioms As stated before, there are two types of properties: object and data properties. Additionally in OWL, property axioms define additional characteristics of properties. The following types of properties can be distinguished: -Axioms based on RDF Schema constructs: these constructs can be used to specify the domain of a property, that is to say indicate that the subjects of such property statements must belong to the class extension of the indicated class description through rdfs:domain and the range of the property. rdfs:range is used to indicate that the values of that property must belong to the class description specified by the data range. Finally, rdfs:subPropertyOf is used to indicate that the property is a sub-property of the indicated. -Relations to other properties: on the one hand, owl:equivalentProperty is used to indicate that both properties have the same domain and range but not meaning. On the other hand, owl:inverseOf is used to indicate that the relation to the domain and range class descriptors is the inverse. -Global Cardinality restrictions: OWL provides tags to describe both functional properties (owl:FunctionalProperty) which indicate that the property can have only one unique value and for each instance x, and also inverse functional properties owl:InverseFunctionalProperty. These characteristics together with transitivity and symmetry characteristics define particular relationships between the subjects and the objects of the properties, and enable inference of particular facts. -Logical property characteristics: finally, OWL provides transitivity and symmetry characteristics. Symmetry (owl:SymmetricProperty) specifies that an
Chapter 2. State of the Art 43 a context management middleware to support health information exchange and alerts handling for patient supervision in telemonitoring scenarios is presented. An interesting ontology-based solution is reported in [96] where a context-aware framework executed on embedded wearable systems is proposed. Context-aware and personalized care are two significant challenges addressed in this work. Good examples of ontology usage in the telemonitoring domain for specific chronic patients can also be found in [85] and [88]. An ontology-based system to monitor patients suffering from a degenerative disease such Alzheimer’s is proposed in [85] and for dementia supervision in [88]. On the other hand, [99] provides a detailed methodology to develop an ontology in the patient profile domain of complex chronic health conditions. It contributes with a rich description of symptoms, standardized vocabularies and knowledge profiles. Some of the described solutions propose the combination of rules with the ontology model to provide personalized care, such as [86] or [96]. Although both are based on ontologies to achieve data integration, these approaches lack the provision of a clear methodology to describe and explain the sequence of tasks for processing acquired data, that is to say the workflow that dictates the management service (e.g telemonitoring) process. Complexity is usually an obvious handicap for the widespread adoption of these types of proposed solutions. 2.4 Rules Ontologies are used to express knowledge in a static and declarative way as a set of things that are true. Furthermore, the expressivity of the languages as RDF and OWL has limited the potential of semantics reasoners. Hence, generally, developed solutions combine knowledge presented in ontologies with dynamic knowledge presented by the use of rules [86, 100, 101]. 2.4.1 Language rules Most solutions that include rules are based on the use of SWRL (Semantic Web Rule Language) [102] in combination with OWL. Nevertheless, there are other popular languages such as Rule-ML (Rule Markup Language) language [103] or DL Safe Rules [104], and choosing between them is conditioned by the characteristics of the ontology and the practical application. -SWRL (Semantic Web Rule Language): this language is based on the combination of OWL DL and Lite with Rule-ML . The main purpose of this language is to extend the set of OWL axioms by including Horn-Like clauses (If..Then..Else) that can be combined with the OWL knowledge base. In its abstract syntax, a SWRL rule is composed of an antecedent (body) and consequent (head) pair. That is to say, a SWRL rule can be expressed as: antecedent →
44 2.4. Rules consequent. In this way, according with the conditions specified in the antecedent, the conditions specified in the consequent should be held. It should be noted, that the antecedent for each rule is a conjunction of one or several literals [102]. Prot´eg´e editor can be used to define these rules and there are tools that can be used to handle them such as the Bossam Java inference engine [105]. -Rule-ML language: this is a markup language developed to express rules in XML for deduction and inference tasks [103]. -DL Safe Rules: DL-safe rules are SWRL rules that are restricted to known individuals. They can be seen like a sub-set of SWRL used to solve decidable problems of SWRL. They are supported by the KAON2 reasoner. 2.4.2 Rules for personalized services A system based on the use of rules usually contains a set of if-then rules (which indicate what should be done according to a situation) and a rule engine used to apply them. By using rules, the behaviour of individuals can be expressed inside a domain. Hence, they can be used to generate new knowledge and can also be used to provide personalized services. A good experience of the combination of ontologies and rules can be found in [101]. Reasoning based on SWRL rules is proposed in this work to infer useful services and thus propose and recommend personalized services to each customer. These rules are described in general terms. The combination of ontologies and rules has also been applied in the healthcare domain as part of a decision support system [106, 107, 86]. For example, the work presented in [86] defines a set of predefined rules to make inferences over the ontology and determine if an alarm has been triggered according to some threshold values. These rules can be changed according to each patient’s situation, hence they can be used to provide personalized care services. The use of rules in combination with ontology instances has been studied in this thesis to provide personalized care services and personalized management tasks in general. However, in contrast to most solutions, SPARQL (SPARQL Protocol and RDF Query Language) has been proposed to express the rules [108]. Furthermore, few approaches have studied the use of SPARQL to express rules. These include [109] and [110] which provide a framework for users to exploit the rich expressiveness that this language offers (enabling a wide variety of expressing rules). In this work, suggested theory about the expressiveness SPARQL offers has been put into practice by using it to define rules to express conditions over the ontology instances. Furthermore, the inclusion of some SPARQL rules in the ontology model has been proposed in this work to express functions.
Chapter 2. State of the Art 45 2.4.3 SPARQL as a rule language SPARQL is established as the standard query language for obtaining information from RDF graphs. This query answering mechanism is very important as it provides a manner for users and applications to interact with ontologies and data [111]. Although other query languages have been proposed such as RDQL (RDF Data Query Language) or SeRQL (Sesame RDF Query Language), this language proposed by the W3C in 2008 has been adopted by most RDF based applications. Nowadays, a second version of this query language, SPARQL 1.1, is currently under development [108] [112]. The language is based on the RDF triple patterns idea and the main mechanism for computing query results in SPARQL is based on subgraph matching by using the RDF triples in both the queried RDF data and the query pattern. It should be noted that SPARQL does not deal with nested queries or recursion and that there are a lot of tools and frameworks to deal with them. Many RDF APIs and databases come with SPARQL support (such as Jena ARQ [113]). From a practical point of view, this doubtless constitutes an advantage over other languages proposed in the semantic web. There exists no standard OWL query language. Nevertheless, it is possible to use SPARQL queries successfully against the structure of the OWL ontology. Since SPARQL is a query language for RDF, it should be considered how OWL is represented in RDF. This means that OWL should be translated to an RDF graph. This conversion process is done by using entailments relations. It is thus said that an ontology Oentails S written O|=Swhen all interpretations that satisfy O also satisfy S. So far there has always been a straightforward correspondence between one triple and one OWL axiom. However, this is not a direct process and there are also different ways of defining a graph pattern matching extension for an entailment relation [114]. Related problems and challenges are nowadays faced by researchers and developers of reasoner applications. By using an OWL DL SPARQL engine (such as ARQ Jena engine), SPARQL is useful for querying the structure of the ontology. Although OWL-DL axioms do not always result in a unique deductive closure, SPARQL has been used successfully in this research to query triples entailed from subclass, range, domain, and other relations and for filtering individuals with specific features by using the ARQ Jena. This engine is responsible for the OWL entailment, providing the impression that certain triples exist and thus applying the SPARQL queries and returning a result. A SPARQL query is a quadruple Q = (V, P, DS, SM), where V is a result form, P is a graph pattern, DS is a dataset, and SM is a set of solution modifiers [109]. The simple way of using a SPARQL query is by a structure of SELECT-FROM-WHERE clauses. In this way, the result form represents a set of variables appearing in the SELECT. SPARQL queries are executed against the DS which represents a collection of RDF graphs. An RDF DS comprises one graph that is called the default graph, and zero or more named graphs identified by an IRI. These IRIs correspond to the concept of URI identifiers from RDF documents (URIs provide a common syntax for naming a resource regardless
46 2.4. Rules of the protocol used to access a resource). The DS forms the FROM part. By using the FROM and FROM NAMED clauses, the dataset used for the query will consist of the default graph and the set of (IRI, graph) pairs. Finally, the graph pattern forms the WHERE part which is constituted by a set of RDF triples. An example of a simple SPARQL query is depicted in Figure 2.4. It should be noted that the PREFIX keyword associates a prefix label with an IRI. Prefixes rdf, rdf, owl and xsd refer to RDF, RDFS, OWL, XML Schema Datatypes. Although they are not involved in the execution of the depicted query, by using SPARQL it is possible to query their native restrictions. Figure 2.4: Example of a SPARQL Query Although SPARQL is a query language with a SELECT keyword, it can be regarded as more than this due to the fact that it provides more query forms that enable its functionalities to be extended. This SELECT keyword returns all, or a subset of, the variables bound in a query pattern match. SPARQL also provides the means to check whether certain conditions currently hold in an RDF model (ASK), to derive new triples from existing triples (CONSTRUCT), and to perform DELETE or DESCRIBE operations. Although the simplest form of WHERE consists of a basic graph pattern, it is possible to construct complex patterns by using UNION,OPTIONAL and FILTER clauses. In fact, SPARQL can be used as a rule language by combining CONSTRUCT clause and FILTER restrictions [109]. On the one hand, the CONSTRUCT query form returns a single RDF graph. This graph is built based on the results of matching with the graph pattern of the query and by taking the specified graph template. On the other hand, the FILTER clause can be used to restrict solutions to those which the filter expression considers as TRUE. Only if the filter function evaluates to true is the solution to be included in the solution sequence. A SPARQL query FILTER can even be used to restrict arithmetic expressions. As it can be seen in Figure 2.5, an If-Then SWRL rule expressed over an instance could be easily converted into a SPARQL query rule. Consequently, SPARQL language can be used as a rule language because it provides great power to filter individuals with specific characteristics. SPARQL rules can be defined in order to personalize services according to specific individual behaviours. This expressiveness capacity and the tools available to deal with it were the main reasons for choosing this language to express rules in this research.
Chapter 2. State of the Art 47 Figure 2.5: SWRL rule to SPARQL query 2.5 Autonomic Computing Paradigm Advances in technology and networking have resulted in the growing dynamic and heterogeneous information services present in many aspects of our lives. As a consequence of this growing communication infrastructure, the complexity of required management tasks has been significantly increased [115]. As a solution, IBM (International Business Machines Corporation) started in 2001 an alternative paradigm for system application design and management called the autonomic computing paradigm. This paradigm was based on the idea that systems had to develop selfmanagement capabilities avoiding administrators for maintaining computer systems. The autonomic computing paradigm was inspired by the human autonomic nervous system. This human systems reacts to every change in the environment in order to maintain internal balance. Based on this system, an autonomic computing system will modify its behaviour according to changes in its environment. Consequently, the goal of this paradigm is to achieve that computing systems can manage themselves in accordance with high-level guidance from humans [36] [116]. This IBM solution is based on the division of actions that are taken when trying to provide autonomy to a process. These autonomic systems are able to self-control their internal functions and operations thanks to the autonomic element which constitutes the main core of the autonomic system. The autonomic element implements a closedcontrol loop that dictates the work flow of the system behaviour [36]. Implementing this classic control loop, also known as the MAPE process (Monitor Analyze Plan Execute), the state of the resource domain is first monitored, second analyzed, then a plan to react to that event and correct it is formed and finally it is executed. Since the automatic behaviour may be considered as a closed-control loop, automatic means that no external intervention is needed for the autonomic element to close the loop. Consequently, a typical architecture of an autonomic element would include, as can be seen in Figure 2.6, a monitoring module, an analysis module, a planning module, an execution module and a knowledge module containing the necessary description of the domain that the autonomic system requires. The control loop only handles known environmental conditions and is based on the knowledge module embedded in the
48 2.5. Autonomic Computing Paradigm element. This knowledge engine contains the mapping between the environmental states or conditions and the correct behaviour. An autonomic element will typically consist of one or more managed elements and a single autonomic manager that runs the closed control loop in order to control managed elements. By using sensor modules, managed data is acquired and then processed, and by using the effector modules, required actions are executed. As can be seen in Figure 2.6, these latter modules are also related with external users (administrators) and policies used to guide their performance. Figure 2.6: Autonomic Computing System Architecture The behaviour of an autonomic application is characterized by 3 properties: autonomic, adaptive and awareness. Autonomic means that these systems self-manage their internal behaviour according to policies that human or other elements have previously determined. This kind of system generally monitors its own detecting and reacting to anomalous findings in its performance [36]. Moreover, adaptive means that these systems check for upgrades in order to cope with temporal and spatial changes. Finally, aware indicates that their operational behaviour will be adapted in response to context or state changes. The essence of autonomic systems is selfmanagement. According to the IBM definition, this feature is supported by four primary properties: self-configuring (autonomic systems should be able to configure and reconfigure themselves under different conditions), self-optimizing (autonomic systems should be able to detect optimal behaviours and adapt themselves), self-healing (autonomic systems should be able to detect problems and also to recover from them) and self-protecting (autonomic systems should be able to detect and protect themselves against external attacks) [117]. An autonomic system implements self-management capabilities by using the closed control loop described above to collect information, make decisions, and adapt and react if necessary [115].
Chapter 2. State of the Art 49 Implementing autonomic systems implies addressing challenges at different levels. First, at a conceptual level the main challenges include appropriate definition of abstract models to describe the behaviour of the autonomic system. Then, at the software and middleware levels, implementing autonomic element architectures requires addressing challenges in terms of security, messaging and self-management property implementation. As will be explained in the next chapter, this paradigm has been used to inspire the structure of the ontology developed in this thesis and is consequently the base of the architecture proposed. 2.5.1 Using the MAPE model: a review of the state of the art Motivated by the large scale of computing and heterogeneous systems with the complex connectivity and interactions that comprise communications networks, today’s researchers and the IT-industry have proposed substantial innovations in network management. A wide range of autonomic computing-based solutions have already been developed. Most of these solutions aim to decentralize management tasks, thus offering a flexible and agile response based on self-management ideas [118, 119]. Ontologies have also been studied for autonomic computing-based solutions [120, 121]. In particular, the use of ontologies has been studied as high-level models for describing the knowledge upon which the processing engine is based [122]. Regarding this application, ontologies have been used to provide knowledge formalization in combination with the above-mentioned paradigm to organize processes in other works such as [101, 123] for different application fields. See, for example, [101] where an autonomic system has been developed for managing a home area network and providing personalized services to customers. A different approach is presented in [121] where a knowledge delivery service is proposed to deliver knowledge to nodes from an autonomic network interested in that knowledge. Autonomic systems may require knowledge from different sources and this needs to be represented in a common and formal way. Thus, ontologies have been used in autonomic applications as core knowledge used to represent manipulated data. This paradigm that has been widely used in the engineering and management domain could also provide advantages and constitute a good innovative solution for the healthcare domain. 2.6 Web Services Technologies The architecture proposed in this thesis is based on the use of web services technologies to transfer information between both end sites. According to the 3WC, a Web Service (WS) is a “software system designed to support interoperable machine- to-machine interaction over a communication network”. To achieve this goal, each web
50 2.6. Web Services Technologies service has an interface written in a machine-processable format (as a rule, the Web Service Description Language (WSDL)) where the functionalities of the web service are described. Systems may interact with the web services by exchanging SOAP (Simple Object Access Protocol) messages serialized in XML for its message format and sent over other application layer protocols, usually Hypertext Transfer Protocol (HTTP) or Simple Mail Transfer Protocol (SMTP) [44]. Although SOAP-based web services are the most popular types of WSs, as described in the following subsections there are other styles of programming a WS. 2.6.1 Web Services platform elements A SOAP-based web service platform can be described by its main elements: WSDL, SOAP and UDDI (Universal Description, Discovery and Integration). •WSDL: this is an XML based language used for defining the functionality of web services. A WSDL document contains a set of definitions, operations and messages that are described abstractly and will be used to define the interaction with the web service [124]. Specifically, a WSDL document contains types (datatype definitions used in the messages exchanged), messages (in WSDL 1.1, abstract definition that contains the information needed to perform the operation), portType (defines the abstract operations to be executed), binding (specifies the SOAP binding style transport protocol), port (defined as endpoint in WDSL 2.0, specifies an address for a connection to the Web service, typically a HTTP URL string) and service (used to aggregate related ports). •SOAP: this is a protocol that relies on XML for exchanging information in Web service implementations. It is extensible, can be used over any transport protocol and is independent of programming models. A SOAP node can be the initial SOAP sender, an ultimate SOAP receiver, or a SOAP intermediary. SOAP can be considerably slower than other middleware technologies such as CORBA. A SOAP message contains the following elements: an envelope that identifies the XML document as a SOAP message, a header, a body element that contains the information and a fault element containing errors information. •UDDI: this is an XML-based registry for storing and locating web service applications. It attends to SOAP messages and provides access for WSDL documents describing web services. 2.6.2 Styles of use Web services can be used in 3 common styles of architecture: Remote Procedure Call (RPC), Service-Oriented Architectures (SOAs) and Representational state transfer (REST).
Chapter 2. State of the Art 51 -RPC: a remote procedure call allows programs on different machines to interact using a simple call/return procedure. Hence, it allows a computer to cause a subroutine in a remote machine and then obtain a result. RPC uses the client/server model. The requesting program is the client and the server is the service-providing program where functions are to be executed. Hence, an interface with a set of named operations with designed types should be specified in the server. In this way, when the client requires, it initiates an RCP by sending a request message to the server in order to execute a procedure. Then, the server sends the response to the client. When the software uses object-oriented principles, RPC is called the remote method invocation. This method is widely accepted, used and understood. Similarly to web services, many other different technologies can be used to implement this technique (eg. CORBA). In particular, for a WS implementation the interface is described by WSDL which constitutes the basic unit of RPC web services. The workflow of a RCP request in the web service architecture is depicted in Figure 2.7. This workflow is as follows: 1) when the client program needs to invoke the WS, it first calls the client stub. The stub is a piece of code used for converting parameters passed during a RCP. The stub generates a SOAP request and interprets SOAP responses, thus it turns the local call into the proper SOAP message. Then, this request is sent over the network usually by means of HTTP. Once the request is handled in the web service, the server stub known as the skeleton interprets the SOAP request and invokes the service implementation. Then, the result will be handled again by the skeleton, wrapped in a SOAP message and sent over the network using HTTP. Figure 2.7: RCP Web service architecture
52 2.6. Web Services Technologies -SOA: web services can be used to implement an architecture based on service oriented architecture (SOA). SOA is an architectural style for building software applications in the form of interoperable services. The main idea behind SOA is to define service functionalities and register them into service repositories so as to be shared, queried and reused by a client. The most important principle of SOA is interoperability. By adopting SOAs using Web service technologies, enterprises can flexibly solve enterprise-wide and cross-enterprise integration challenges. Regarding web service technologies, a SOA is essentially a collection of services which communicate with each other based on the RPC-style with the difference that the basic unit of communication is a message rather than an operation. Services are described using WSDL and published in a UDDI registry so that they can be found and used by web service clients. This searching process is done by looking in the registry for services that match certain criteria. Each SOA entity can play one or two roles: Service provider (usually web services) and Service Customer (usually web client). -REST: this is a style of software architecture for distributed hypermedia systems such as the World Wide Web first defined in 2000 by Roy T. Fielding. REST architectures consist of clients and servers. This style is based on the idea of transferring representations of resources, a resource being any item of interest. Hence, requests made from the client and responses from the web service are used to transfer resource information. Although REST was initially described in the context of HTTP, this paradigm can be applied to other protocols or implementations. Web services can also be described using this style. The key advantages of the REST architecture are scalability of components, generality of interfaces and independent deployment of blocks [125]. Although WSDL (version 2.0) can be used to describe the web service, it is not the best choice for documenting a REST service. The alternative is WADL, the Web Application Description Language [126]. This language is lightweight and easier to understand than WSDL, although not as flexible. REST web services include the following characteristics: 1. Client-server interaction. 2. Named resources: each resource is identified through an URI (uniform resource identifier). 3. Stateless: each request made is independently and thus each client’s request contains all the information needed to understand that request. 4. Uniform interface: all resources are accessed (by using their URI) with a generic interface by using generic methods. For instance, an HTTP request and response would be performed through four operations: GET, POST, PUT and DELETE.
Chapter 2. State of the Art 59 and create (RC) by an SNMP manager. The Status field indicates if the object is current, obsolete or deprecated. Finally, the description field contains a textual description of the semantic of the object. Other clauses such as Defval (for defining default values), index (for defining conceptual tables), augment clauses (similar to index) and reference clauses are not needed in the object definition. As stated before, apart from scalar objects, tabular objects can be defined within an MIB- module. These tabular structures will be used to order a collection of objects within an MIB. Each conceptual table contains zero or more rows and each row contains one or more scalar objects. Hence, tabular objects can contain several instances of each object, which can be seen like a table in which objects are the columns and their instances are the rows. These tabular objects are formalized by using the SEQUENCE OF <EntryType>within the OBJECT-TYPE macro where <EntryType>is a SEQUENCE type defined as follows: <EntryType>::= SEQUENCE {<type1>, ... , <typeN>}. These clauses are used to describe an object which is a table and a list of objects which correspond to rows of the table. Each object in a table is identified using the table index. A table can have a single index or multiple indexes. -Notification definitions : the last part of an SMI document is used for describing the information contained within the traps and inform messages using the NOTIFICATION-TYPE macro. Each notification object will be described by an OBJECTS clause that will indicate the list of objects of the MIB included in the notification and the status, description and reference clause. MIB II is the most important standardized MIB specification (originally defined in [142]). It covers a wide range of network and resource managed objects and is the common data-base MIB for device management in Internet. An extensive set of standardized MIB structures have been defined as part of the SNMP suite. Apart from standard MIBs, SNMP allows vendors to define private extensions that can be added in a private sub-tree in order to manage specific features of their products. This MIB-tree structure can be seen in Figure 2.9. The most important addition to the standard MIB II is the RMON (Remote MONitoring) specification [143]. Within each group of RMON there may be one or more control tables and one or more data tables. A control table, which is typically read-write, contains parameters that describe the data in the data table which is typically read-only [42]. In this way, the remote station configures in the control table the information that is desired to be presented in the data table. Adding or deleting parameters in an existing row is controlled by a row of the table designated as the Control Row. This control row will indicate a value as follows: 2) is used to create a new row, 3) indicates that the row is under creation, 1) is used to validate the row and 4) is used to delete it. DataType syntax of this row is defined as EntryStatus. It should be noted that SMIv2 defines a new type of syntax defined as RowStatus to manage the creation, activation, and maintenance of rows of a table. This dataype syntax defines the
60 2.7. SNMP for technical management following substates: 1) active (the entrance is valid), 2) notinService (the row is present but not created), 3) notReady (if there is missing information), 4) createAndGo (create a new row available for use), 5) createAndWait (create a new row but not available for use) and 6) destroy (to remove the row). Figure 2.9: MIB-tree structure 2.7.1.3 SNMP messages SNMP is a simple protocol and in essence provides 4 key capabilities: 1) Get, which enables the manager to retrieve information from the agent (data stored in the MIB), 2) Set, which is used by the manager to modify some values in the agent’s MIB, 3) Trap, enables the agent to send asynchronous messages to the manager and 4) Inform, enables the manager to send alert messages to another manager (in SNMPv2 and SNMPv3). To perform these functionalities, SNMP specifies a set of PDUs (7 different ones for version 3) for the agent-manager communication. These PDUs are encapsulated in SNMP messages with the suitable header according to the version of the protocol implemented. These SNMP facilities enable access to scalar objects. However, by using one single SNMP message it is possible to group a limited number of requests.
Chapter 2. State of the Art 61 Consequently, a PDU contains a list of variable-bindings which gathers a pair of OID and scalar values. The burden of the network can be considerably reduced by using this technique. The specified PDUs are as follows: -GetRequestPdu: used by the manager to retrieve one single item. -GetNextRequestPdu: used by the manager to retrieve the next object of the specified OID. This command is used for traversing a tree-structured MIB. -GetBulkRequestPdu: this command was introduced in the SNMPv2. It is used to request large amounts of data and is used for the efficient and rapid retrieval of tables. The GetBulkRequest includes a list of L variable names (OIDs) in the variable-bindings list and the values of the non-repeaters and the max-repetitions fields. This command performs continuous GetNext operations based on the maxrepetitions value, and the non-repeaters determines the number of variables from the variable-bindings list for which a simple GetNext should be done. In simple words, this command executes a simple GetNextRequest for the first N variablebindings and then an M continuous GetRequest for the R rest variables (R=L-N). Consequently, the total number of requested variable bindings in one message is given by N + (M * R) where N = MAX [ MIN (non-repeaters, L), 0 ] and M = MAX [ max-repetitions, 0 ]. -SetRequestPdu: used by the manager to write information and thus modify an item value of the agent’s MIB. -GetResponsePdu: used by the agent to return requested variables. If it is the response to a Set command it will include an acknowledgment in the response. This PDU includes an error status field to indicate if any error occurred relating to the requested variables. SNMPv2 includes 18 error-codes such as “noSuchName” to indicate that the name of a requested object was not found or “wrongValue” to indicate that the given value is not possible for the associated object. It can also be used by the manager to provide a response to an InformRequest. -TrapPdu: used by the agent to notify information to the manager in an eventdriven manner. It can report a list of variable-bindings related with the event that has occurred. -InformRequestPdu: used by the manager (in the SNMPv2 and SNMPv3) for asynchronous notification to another manager. 2.7.1.4 Adding security to SNMP: SNMPv3 SNMPv3 was proposed as a security enhancement to SNMP [144]. Specifically, SNMMPv3 addresses three problems posed by previous versions by means of (by the
62 2.7. SNMP for technical management incorporation of the USM module, User-Based Security Model [145]), access control (by the incorporation of the VBAC module, View-Based Access Control [146]) and strong privacy through data encryption. The USM provides authentication and privacy functions at message level. It is used to authenticate entities and provides encryption services to secure communications between agents. The VACM verifies that a given user is allowed to access a particular MIB object and to perform particular tasks. The USM was designed to ensure: 1) data integrity, that is to say, it is not altered during the transmission, 2) data origin authentication, which means ensuring that the identity of the user and where the data came from are known, 3) data confidentiality, for avoiding a third entity observing exchanges between a manager-agent pair, and 4) message timeliness, that is to say, ensuring that messages are received in a timely manner and that delays, duplication or re-ordering are avoided. However, USM does not provide security against denial of service threats and traffic pattern analysis. The USM is able to protect SNMPv3 packets by using two cryptographic functions: authentication and encryption. To perform these tasks, each SNMP engine requires a privacy and an authentication key. Hence, each SNMP entity (agent and manager) will keep its keys and also the remote keys for which SNMP communication is desired. Note that these keys are not exchanged via SNMP and that they are not stored in the MIBs. The USM specifies the use of a hash function and a secret key to produce the authentication code by using Message Digest 5 (MD5) and Secure Hash Algorithm 1 (SHA-1) algorithms. For encryption, the USM specifies the cipher block chaining (CBC) mode of the Data Encryption Standard (DES) protocol. The private key is used as input to the encryption block. In order to implement the security model, and thus the USM, the structure for SNMP packets version 3 was changed and included the following fields (see Figure 2.10): msgVersion,msgID,msgMaxSize,msgFlags,msgSecurityModel,msgSecurityParameters, will contain the PDU together with the contextEngineID and the contextEngineName which are used for uniquely identifying an SNMP entity and a context within it. The USM security model uses the following security parameters: 1. msgAuthoritativeEngineID: refers to the SNMP authoritative engine ID. The authoritative engine is the agent in a manager-agent communication. 2. msgAuthoritativeEngineBoots: refers to the snmpEngineBoots of the authoritative engine, that is to say the number of times the SNMP engine has been re-booted since the snmpEngineID was last set. 3. msgAuthoritativeEngineTime: refers to the number of seconds since the snmpEngineBoots counter of the agent was last incremented. 4. msgUserName: indicates the user whose secret keys are used for the encryption and privacy functions.
Chapter 2. State of the Art 63 Figure 2.10: SNMPv3 packet structure 5. msgAuthenticationParameters: contains the HMAC (Hash-based Message Authentication Code) code of the packet (if it has been authenticated). 6. msgPrivacyParameters: if the message has been encrypted then this field contains the initial value (or salt) that has been used as input in the DES algorithm. If the security level comprises both authentication and privacy tasks (authentication (authNoPriv), both (authPriv) or none (noAuthNoPriv) can be selected), then the workflow related to the message coding will be as follows for transmission: first, the scoped PDU is encrypted by using the DES algorithm. Then, the entire message is input to the HMAC. For incoming messages the process will be as follows: first, the USM computes a message digest using the secret authentication key for the user specified in msgUserName. Once this authentication is performed, the USM checks that the message is valid within a time window. This timeliness process is done by using the snmpEngineBoots and snmpEngineTime of the agent to avoid message delay and message replay troubles. At the beginning of the communication the manager will learn these agent parameters and then, as part of the authentication process, these parameters will be evaluated against the msgAuthoritativeEngineBoots and msgAuthoritativeEngineTime. If the packet is timely, then the USM performs a decryption of the scopedPDU and returns the plain text.
64 2.7. SNMP for technical management As can be seen in Figure 2.8, both agent and manager entities implement a Security Subsystem module (for SNMPv3) used to perform authentication and encryption functions. According to the security model used (USM or none), this subsystem may encrypt the PDU, introduce the required parameters in the message header and may include an authentication code in the message header. This module will also be used to process incoming messages to check for the authentication code and perform decryption. However, only the agent entity implements the Access Control Subsystem. This mechanism determines whether a manager has access to a managed object. The VACM uses the following parameters from the SNMPv3 packet for determining message access: 1. msgFlags: used to indicate the security level of the message. 2. msgSecurityModel: security model used to perform security functions (USM). 3. scopedPDU : this field contains the contextEngineID and the contextName which correspond to the identification of the manager in request commands and the PDU which contains the list of requested variable-bindings. Each variable-binding within the PDU is individually examined by the VACM module by using 4 tables. These elements are responsible of different access mechanisms: -Context Table: a context is a name given to a collection of managed objects within a MIB. According to the contextName of the scopedPDU, access will be denied or not if such context exists. -Security To Group Table: a group is a set of zero or more securityModel and securityName tuples on whose behalf managed objects can be accessed, and is used to define an access control policy for a group of individuals operating in an SNMP entity. According to the msgSecurityModel extracted when the message is processed, access will be provided to the corresponding group. -Access Table: Is used to determine for each defined group the rights of access. Each MIB can be authorized to be read, written or used for notifying access according to each group and context name. -MIBs tree Table: this table stores the MIB view. An MIB view defines a set of managed objects within an MIB. The MIB view is defined in terms of subtrees defined through a pair of an OID subtree value together with a bit string mask value. Each OID found in the scopedPDU is checked against the MIB view table. If it is part of this MIB value then access is provided.
Chapter 3 System Architecture Theory and practice are disjointed disciplines that should go hand in hand when designing any software solution. This relationship between the two has been taken into account in designing the architecture proposed in this thesis to address integration challenges in home-based telemonitoring scenarios. From a theoretical point of view, a conceptual layer based on ontologies is proposed to unify the management procedure and integrate incoming data from all the sources involved in the telemonitoring process. From a practical point of view, a data and communication layer based on web service technologies is proposed to support in practice the benefits of the ontology and provide a real implementation of the tasks described in it. The main structure that supports the combination of these technologies is presented in this chapter. 3.1 General Description New tendencies in the development of information systems are oriented to providing them with more autonomy and thus with some type of self-management capabilities in order to avoid continuous human intervention in the management of their applications. This is a consequence of growing communication infrastructures and increasing complexity in the management tasks they require, and also of the dynamic environments where these systems are used. These problems are also faced in general e-health infrastructures and in particular in the case of home-based telemonitoring in terms of mobility and dynamic environment where various elements are eventually added, removed or moved. Hence, the application of some ideas based on the so-called autonomic computing paradigm seems to be appropriate in this scenario. The autonomic computing paradigm is one of the key elements inspiring the developed ontology and consequently in establishing the modules required for the architecture as a whole. The telemedicine architecture proposed in this thesis was designed to provide both clinical and technical services in a telemonitoring scenario aiming to cover the main challenges described in chapter 1. 65
66 3.1. General Description Figure 3.1: General Architecture (layers) This architecture, depicted in Figure 3.1, is divided into two layers: the conceptual and the data and communication layers. As shown in the figure, in the conceptual layer the communication between both end sites is driven by the ontology used in the architecture. Both end sites of the telemonitoring scenario have to deal with heterogeneous information coming from different data sources. Although the same information is not managed at both end sites, data provided by the different sources is related given that these sources take part in the same monitoring process (for technical or clinical purposes). The idea proposed and implemented was to develop an ontology to clearly describe the managed data and explicitly describe in the data within the ontology the representation of the management procedures, ie the tasks that comprise the control loop of the autonomic computing paradigm. In this way, the developed ontology represents shared knowledge in order to achieve integration at both end sites of the architecture and also in their communication link. It should be noted that the managed data described in the ontology depends on the management service supported with the architecture. Consequently, first a generic ontology for describing general management was designed and then two extensions of the ontology were proposed to support each clinical and technical application. From a physical point of view, the telemonitoring system is composed of the Telemonitoring Server, TS, placed in the health-care site, and several HGs linked to it. The TS could be any device used to manage the information provided by the different home sites. Then, the communication between these devices is established using web service technologies. Consequently, at the data and communication layer, a web service together with a remote management module are implemented in the TS and a web client together with a local management module are implemented in each HG. This architecture has been used to provide two types of services: (1) monitoring patients with different types of chronic conditions, thus clinical management services and (2) providing remote management of MDs and the HG, that is to say, technical management. It has been applied to these services following the three-stage approach
Chapter 3. System Architecture 67 depicted in Figure 3.2. The first stage deals with the ontology engineering. This phase comprises two sub-stages addressing first the specification, conceptualization and formalization of the ontology and then its implementation [87]. This is the most important stage in terms of data integration purposes. The second stage deals with the ontology application-based study. As stated in [81], there is no single correct way to model a domain. The best solution depends on the application where it is going to be used. As long as the ontology helps to provide good results for a given task, it could be said that the ontology is good for that application [80]. The main goal of the second stage was to demonstrate by defining different cases of use that the proposed ontology could be used to define any type of required profile. These first and second stages include the design, development and evaluation of the ontology. Finally, a third stage deals with the prototype development. Apart from the design of a common understandable knowledge for all the sources that participate in the telemonitoring process (ontology), the implementation of a prototype to hold the ontology and implement specified tasks was required. Hence, the last stage of the three-stage approach was practical. It consisted of the development of the modules of the data and communication layer of the architecture. Following this three stage approach, chapters 4 and 5 explain how the architecture presented in this chapter can be used to provide management services. Figure 3.2: 3 stage approach for ontology application
68 3.2. Conceptual Layer 3.2 Conceptual Layer The developed ontology has been named HOTMES (Home Ontology for inTegrated Management in homE-based Scenarios). This ontology model is adopted as a unified common information model to provide two levels of seamless integration: data source integration and business logic integration [147]. On the one hand, integration at the data source level provides a unified view of the data provided by all the entities that work together to provide the user with a common service. On the other hand, integration at the business logic level provides a unified view of the management procedure, that is to say, a unified view of how to monitor, control and evaluate the managed information. These two levels of integration are depicted in Figure 3.3. In fact, the main idea of using the ontology is to provide a generic framework to define what has been termed in this work as a management profile. This can be seen as a container where all the tasks that should be performed in the HG to provide a management service are gathered together. In the case of technical management, an instance of the management profile could be designed to technically manage all the MDs that are linked to the HG (and even its own technical features) providing personalized technical management for each specific HG. In the case of a clinical application, an instance of the management profile could be designed to remotely monitor and control clinical data from a patient. In this case, the instance would be designed according to the patient’s disease characteristics, providing personalized clinical management. Figure 3.3: Data and Management Integration Levels
Chapter 3. System Architecture 75 Object Property Domain Range Description hasMonitoringSchedule Polling Task Monitoring Schedule Indicates when the polling task should be activated and the retrieval characteristics. collects Polling Task Monitored Data Refers to the information that should be collected. isTriggeredBy EventTask Monitored Data Refers to the monitored data that activates the event task. hasTransmissionPolicy Monitoring Task Transmission Policy Indicates when the collected information should be transferred to the remote-site (if necessary). Table 3.1: Monitoring Task properties As shown in Table 3.1, each monitoring task is characterized by 3 main properties: the information being monitored, the monitoring schedule and the transmission policy. -Monitoring Schedule: this class indicates to the agent the specific time for retrieving some pieces of data and/or its periodicity. -Monitored Data: this is a generic class that refers to the information that the agent should collect. When extending the monitoring task for each application, the new classes that describe the monitored resources will be added as subclasses of the MonitoredData class. -TransmissionPolicy: this class indicates whether collected data should be transferred to a remote site (in real time or at a specific hour) or not. Note that each configured task will be associated to a unique identifier by means of the data property IdMonitoringTask. 3.2.4.2 Analysis Task An analysis task can be defined as a set of processes and rules that enable a complex problem to be broken down into smaller parts in order to gain a better understanding of the problem, as well as to manipulate data in order to extract additional information. The analysis task described in the proposed ontology explains how to reason with the monitoring data acquired by defining different analysis methods. Moreover, it explains which process is used to analyze a datum (a piece of data retrieved at a certain time) and also describes a set of functions that will be used to manipulate information. Some terms from the OWL-S ontology have been borrowed to describe the analysis task ontology (defined in chapter 2). Although OWL-S was initially proposed to describe semantic web services, its use has already been studied in other applications such as in network management [100]. Specifically, classes and terms related to the Process description have been used. It should be noted that there are standard proposals for representing business models such as BPMN (Business Process Modelling Notation)
76 3.2. Conceptual Layer and its language BPML (Business Process Modelling Language) that provide tools and generic notation for describing workflow processes [152]. Hence, these could be useful for modeling the workflow of the management procedure and thus may inspire the design of certain tasks of the management profile. Specifically, BPEL4WS (Business Process Execution Language for Web Services) was initially evaluated for the design of workflow processes in analysis tasks [153]. BPEL4WS provides a language to describe the behavior of business processes and interaction for web services. However, the OWL-S ontology was chosen in preference to BPEL4WS for the present work, as OWL-S already incorporates richer semantics and more meaningful descriptions for implementing automated tasks. Its successful application elsewhere and its attractive characteristics enhanced by other works motivated its selection [100, 154]. Considering the type of data that can be acquired in a home-based scenario, the analysis task has been subdivided into two subclasses that represent two different types of analysis: Syntactical and Mathematical. Initially, according to the proposed scenario, only numerical data (integer and decimal datatypes) and simple data strings were expected to be received and then processed in the HG. Nevertheless, in the same way that the monitoring task may be extended according to the application case, the task could also be extended if more complex data is acquired (e.g electrocardiographic signals) which then require analysis. These two main subclasses have been defined as follows: -Syntactical Analysis: This detects specific tag values when comparing string data types in the analysis task. -Mathematical Analysis: By defining an instance of the mathematical analysis task, the associated input data will be evaluated after being mathematically manipulated. The main properties relating to the analysis task are defined in Table 3.2. As can be seen in the table, the ActivationSchedule class dictates when the analysis task should be run. It can be configured as a “real-time” analysis (that is to say, the analysis task will be run after acquiring the data specified in the monitoring task it is related to) or it can be configured to be executed at a certain time of the day (including in the analysis all the data acquired during the day until the set time). The Process class describes how the acquired data (specified in the monitoring task) is to be manipulated in order to subsequently compare the acquired result with the criteria configured as dictated by the Evaluation Criterion. An instance of this latter class will be characterized by a list of conditions expressed and an operator (AND or OR) that will govern the relations among them. Each condition will be characterized by the language used to express it (SPARQL in this work) and an identifier called nameRule used to indicate the rule statement. After processing the acquired data according to the defined Process instance, these configured rules will be applied and consequently the analysis task result will turn into a positive or negative output value. It should be noted that the notation and vocabularies used for
Chapter 3. System Architecture 77 the description of the Process class have been inspired by the Process of ServiceModel subclass (within the service profile) in the OWL-S ontology. Object Property Domain Range Description analyseMonitoringTask Analysis Task Monitoring Task Indicates which monitoring tasks should be analyzed according to this analysis process. hasEvaluationCriterion Analysis Task Evaluation Criterion The analysis task makes reasoning by matching processed monitoring data information (using a set of functions) with a set of pre-defined rules (that can also be combined by using “OR” and “AND” operators). These rules will constitute the criterion to indicate whether an analysis result is true or false. hasActivationSchedule Analysis Task Activation Schedule Indicates when an analysis task should be performed (in real time or at a specific hour). hasEvaluationProcess Syntactical Analysis Syntactical Process Indicates that the analysis task is associated to the evaluation of a syntactical process result. hasEvaluationProcess Math Analysis Process Indicates that the analysis task is associated to the evaluation of a mathematical process result. Table 3.2: Analysis Task properties As can be seen in Figure 3.5, a Process class is divided into two subclasses: the atomic and composite processes. -Atomic Process: this is associated with an action that should be executed in a single step or interaction, thus for an input message it will do something and then will return an output. The main property of this class is hasFunction (d: AtomicProcess, r: Function). An Atomic Process will process input data according to a mathematical function (Function class) to provide an output value that will be evaluated according to a specified criterion. -Composite Process: this is associated with actions that are required to be performed in multi-steps. Inspired by OWL-S, the ontology defines 3 types of executing process combinations (ProcessComponent from OWL-S): Perform class, Sequence class and If-Then-Else class. The Perform construct is use to reference the execution of a process as part of the composite process. The Sequence construct is used to reference a set of processes that should be executed in sequence. Finally, the If-Then-Else construct consists of a condition (expressed in SPARQL), a then and an optional else process. Consequently, the execution of the process will be done according to the positive or negative result after the application of the condition. OWL-S defines further types of ProcessComponent (nowadays deprecated for ConstructComponent) such as Choice, Iterate, Split, etc. Thus, if
78 3.2. Conceptual Layer more complex execution processes are deemed necessary for performing an analysis task, the HOTMES ontology could be extended with such definitions. The Syntactical Process class simply indicates that the acquired string data is to be syntactically compared with configured evaluation criteria as an instance of the Evaluation Criterion class. Function Class This class indicates how information is to be mathematically processed. A total of six functions have been explicitly described in the ontology: Abs, Avg, Division, Multiplication, Round and Sum. One of the OWL limitations is its lack of ability to express methods and function definitions. Nevertheless, this limitation can be compensated for by using some SPARQL queries based on XPath arithmetic functions [155]. To deal with this problem and provide a model where all the information is explicitly represented, some SPARQL queries that express arithmetic functions have been included in the model to indicate how the information is modified with each defined function. Therefore each described function is associated to an XpathFuncion and will have one or more operators as inputs. As these functions are to be used to evaluate monitored data and also the output of other processes, the operators required will indicate the name of the resource class (monitored data or results from processes) whose instances are going to be evaluated. Then, the hasSparql-Xpathfunction property indicates for each class the associated query that dictates the mathematical performance of the function in relation to the operators associated to it. For example, Figure 3.6 corresponds to a SPARQL function associated with averages and divisions. It indicates that the output value of a monitoring datum expressed as an operator (X or Y) will be processed as the selected clause indicates. Take, for example, the average function. First, this SPARQL query indicates that the result variable of the function will contain an average of values “Select avg(?a) as ?result”. Then, restrictions are presented within the WHERE clause in order to apply the function query only to limited individuals. This restriction indicates that only one operator is involved in the process. In fact it indicates the type of individuals that are going to be processed with this function “?rX hasOperator ?datX”. Next, the restriction indicates the output value property of individuals whose class name is the same as that pointed out by the operator of the function which will be included and then processed into this mathematical function. In this way, it is clearly indicated how the software module should manipulate monitoring information included in the ontology when executing an analysis process. It should be noted that this approach has a double advantage. The firrst advantage is that more functions can be defined in the ontology without changing the code in the software module that is to execute the task in the HG. The second advantage is
Chapter 3. System Architecture 79 that by providing a clear explanation of how data is manipulated, the re-usability of the ontology for other applications is enhanced. Moreover, this latter advantage could be very valuable if complex operations are to be expressed in the ontology. It is also interesting to note that input data for an atomic process is not only directly acquired by a monitoring datum, but can also be the output value of other mathematical processes executed previously, hence providing enhanced flexibility of the model. Figure 3.6: SPARQL average and division functions 3.2.4.3 Planning Task A planning task can be defined as a detailed formulation of a sequence of tasks and activities for solving a sequential decision problem [156]. The output of the planning task will be a plan specified according to an application solution criterion. The Planning Task model described in the ontology answers four questions. 1) What strategy are we going to follow for dealing with the detected analysis outcome? 2) Who is going to execute the plan? 3) What is the schedule for the actions of the plan? 4) Under what conditions will the plan be executed? Vocabularies and schemas used to describe the planning task such as hasPreCondition, hasPostCondition and hasPlanModel object properties have been inspired by other ontologies and models that define the concept of planning [156, 157, 158]. The main properties defined for the Planning task are shown in Table 3.3. Pre-Conditions and Post-Conditions are defined as instances of the Condition class. An instance of this class is characterized by the name of the rule it refers to and its language expression. These rules expressed using SPARQL are provided to the software module together with the management profile. After performing an analysis task, the agent should execute the pre-condition and post-condition rules in order to execute the corresponding planning task if any is activated.
80 3.2. Conceptual Layer Object Property Domain Range Description hasPreCondition Planning Task Condition Indicates the rule that triggers the activation of the planning task. Normally, it will refer to a positive finding in an analysis task or a failure of another planning task. hasPostCondition Planning Task Condition If the pre-condition is activated then the post-condition should be checked in order to activate the plan. If the post-condition is not achieved, the plan is not activated. hasAssociatedTask Planning Task Analysis Task This is associated to the task that activates the plan. After performing an analysis task the agent will check if there is any planning task associated to the previous analysis task performed. hasActivationRegister Planning Task Activation Register Indicates how many times the precondition has been activated but not the post-condition of the task. If a post-condition exists then the agent should check the activation register before activating the plan. hasPlanModel Planning Task PlanModel Indicates the model of the plan, that is to say, who is going to execute it, which task must be performed and their relation. Table 3.3: Planning Task properties As a property of an instance of the PlanModel class (depicted in Figure 3.5), the plan in model should be configured to have an instance of the Plan Procedure class. This class indicates the sequence list of execution tasks that should be performed in the planning task. It should be noted that all list of classes defined in the ontology comprise a first element and the rest of the elements modeled as a new list. In this way the order of the sequence is clearly indicated according to the tasks to be performed (see ActionList class in Figure 3.5 and Table 3.4). 3.2.4.4 Execution Task An execution task can be defined as a set of actions performed by a specific agent [157]. In this model the Execution task refers to actions to be performed by the agent or the EM in order to react to a certain situation or solve a detected problem. Therefore the execution tasks will be used to comprise the planning task. Each execution task can be decomposed into small actions, thus each execution task will have a list of actions associated to it. Defined instances of actions must have a name and a description of their activity and optionally they can include some required parameters. For example, for the action of sending a mobile text message, a mobile number will be required as a parameter. Other possible actions would be to send an e-mail or to show a pop-up to the user. These will be configured as instances of the Action class.
Chapter 3. System Architecture 81 Object Property Domain Range Description hasFirstAction Action List Action Indicates the first action to be performed to solve a problem. hasRestAction Action List Action List Indicates the rest of the list of actions to complete the execution task. Table 3.4: Execution Task properties 3.3 Data and Communication Layer As explained in this chapter, the whole architecture includes the conceptual and the data and communication layers. Within the data and communication layer, two management modules and web technology modules inside the HG and the TS constitute the main parts of the telemedicine system (see Figure 3.1). This architecture is oriented to supporting any extension of the HOTMES ontology used at the conceptual layer to describe a management profile. Hence, the architecture is able to provide both types of management services (clinical and technical). Furthermore, its communication method could be easily reused in other implementations based on ontologies and no major changes would be required to include additional services based on the HOTMES ontology such as, for example, an environmental-sensor application. The development of specific tools to manipulate and map incoming data into the ontology model and to exchange these data between the HG and the TS is required. As stated at the beginning of this chapter, apart from developing the theoretical model, practical applications are required to integrate data and thus address challenges that may arise [159, 160]. When working with ontologies, this practical or physical layer is frequently disregarded in the ontology-based system Consequently, few works have given details about this practical implementation of the ontology-based system. Memory, storage resource consumption, network usage cost and also execution time for performing the tasks are strongly conditioned by the practical implementation of a system and may ultimately determine its utility. In the present case, the data and communication layer of the architecture was oriented to minimizing this consumption of resources and to providing re-usable key ideas for future ontology-based architecture developments. This proposed architecture to deal with ontologies is in line with other reported solutions based on web service technologies [86, 88]. Nevertheless, the communication method proposed in this work enables us to go one step further as it is based on the exchange of generic OWL instances, thus making the WS description of the content expressed in the ontology independent. By deploying a WS in the data and communication layer independent from the information described in the ontology used for the conceptual layer, a flexible and reusable architecture based on ontology usage is achieved for the communication between the end sites.
82 3.3. Data and Communication Layer The modules that comprise the architecture have been developed using Java technologies. Specifically, the Jena framework (version 2.8.6) has been used to process the ontology and create new instances, data acquisition and manipulation when the SPARQL rules are applied. The Jena framework was chosen because it is open source and supports the reading and writing of OWL ontologies. The Jena engine was also used to execute the SPARQL rules (ARQ engine). Also, a TDB database (version 0.87) has been used to store the ontology model and the technical management profile instance in the HG [161]. 3.3.1 TS Modules Description The components of the remote management module installed in the TS are depicted in Figure 3.7. The communication between this module and that installed at the home site is established through WS technologies. Figure 3.7: TS management module As can be seen in Figure 3.7, this management module includes 3 components: 1. Ontology Knowledge Base Module: This module contains the ontology knowledge models and the instances of the registered management profiles. The architecture has been designed to provide both clinical and technical management services, so two ontologies have been developed for these tasks as extensions of the HOTMES ontology. Both ontology extensions and registered instances of the management profile (associated to all linked HGs for technical purposes and associated to monitored patients for clinical purposes) are handled in this module.
Chapter 3. System Architecture 83 Physicians and technical managers will configure these profiles by using additional software tools stored in the knowledge base module. This information will then be transfered to the home sites when required. In the TS, the communication between the web service and the knowledge base module is established through the Converter Module. The TDB database has been chosen to store the ontology model and new instances in this knowledge base module. TDB is a persistent graph storage layer for Jena. It is a non-transactional and fast database solution. It should be noted that the first versions of the architecture made use of a MySQL database to provide persistent storage of the ontology [162, 163]. By using the Jena SDB system, it is possible to use relational databases for storage of RDF and OWL. It supports many open source and commercial databases including MySQL and PostgradeSQL and scales to graphs of 100 million triples. Finally, however, this option was changed to a TDB database because the TDB is more suitable for the ontology store (as it was designed to store triples) and offers better performance for loading and querying (as the overheads of SQL and JDBC are avoided). Native triplestores (purpose-built databases for the storage and retrieval of triples) have the advantage of providing good performance. Other triplestores such as Mulgara could also have been selected for this purpose [164]. Mulgara offers an optimized database to store subjectpredicate-object statements and can be used for storing 500M triples. Therefore, it could be used to store and manage big ontologies. This is a complete system that can be used with Jena and also provides its own query language called iTQL. In fact, depending on the profiles registered in the TS, this database could be an alternative solution to the TDB database. To scale the system and support large quantities of profiles, other databases such as Oracle could be adapted to the architecture by using the Jena SDB module. 2. Converter Module: The communication module of this architecture is mainly based on OWL instances exchanged generically by means of a developed object structure named IndividualWS. The Converter module is used to wrap and unwrap the Jena individuals into the IndividualWS structure used to exchange information with web clients. Furthermore, this module incorporates some reasoning tasks. Ontology-based reasoning is used in order to retrieve individuals, to check instances before including new information in the model, and to ensure the consistency of the model. These tasks are performed by means of the Jena framework and SPARQL queries. New ontology instances are added to the ontology when new managed data is acquired and when it is transfered from the HG or the TS module using the Converter module. Details of this implementation are given in the communication method subsection. The ontology model is initially read in both the HG and the TS from an OWL file and then stored in the TDB database. Then, the model is dump in the memory
84 3.3. Data and Communication Layer using the Jena Framework and without additional entailment reasoning. The first versions of the architecture included the Pellet reasoner (in combination with the Jena Framework) for the interaction with the ontology. However, this option was discarded because the OWL entailment and subsequent interactions with the ontology were much more resource-consuming in terms of time and memory. The ontology structure and its usage in this work do not require complex reasoning tasks. For this reason it was decided simply to use the Jena memory model and perform required reasoning tasks through the execution of SPARQL queries and rules using the ARQ Jena engine. It could be said that the implementation and the required reasoning tasks were adapted to the structure of the ontology and the required interaction. As stated in chapter 2, there is a wide range of reasoner implementations, each one based on different reasoning algorithms such as Tableaux-based (e.g Pellet), first order logic-based (e.g KAON) or rule-based reasoners (e.g Jena). Although OWL entailment rule-based OWL reasoners are generally fast, ontology processing and reasoning tasks consume significant time and memory resources (compared to other non-semantic tools used for similar purposes). Researchers therefore continue proposing new solutions in order to reduce resource consumption for the reasoning performance [165]. Semantic tools need to be optimized in terms of resource consumption as device constraints and hardware resource limitations increase when working with small devices such as smartphones. Figure 3.8: Rules-XML schema 3. Rules Module: This module is used to store rules associated to each management profile. These rules are subsequently transferred by means of an XML file. The structure of the XML file is presented in Figure 3.8. As can be seen, a list of any type of rules could be transferred to the HG. The URI of the associated ontology is indicated and then a name is assigned to each rule. This name corresponds to the DataProperty “nameRule” of the Condition class used to express rules inside
Chapter 3. System Architecture 91 By using this authentication method, passwords for user identification could be dropped on behalf of the information included in each certificate. However, as each semantic agent (and thus client module) could be used at the home site by different people, an additional security layer has been configured regarding the web service message description. As can be seen in Figure 3.13, each client request should include an HMAC code value encoded in base64. This cryptographic code is calculated through the data that is to be transferred and using a cryptographic hash function (SHA-1 in this implementation) in combination with a secret key (personal for each user that holds amanagement profile). This code provides both data integrity and authenticity to the message. That is to say, by using this method the owner of the transferred data can be identified and it can be checked whether the information has been altered during its transfer. Once the other web service gets the client message request which includes all arguments) values and the HMAC re-generate it’s HMAC based on the information transferred in the client message. To generate this HMAC, the server uses the same key that was used by the client which is associated to the user (ID information parameter). The server compares the two HMAC and if they are equal, then the server trusts the client request and provides a response to it. The structure of the message stack regarding an HTTP generic message request is depicted in Figure 3.14. The use of transport layer security has been proposed in this work to assure data confidentiality while it is transferred in the communication network. Furthermore, the use of the HMAC codes enhances data integrity and user authentication. In this way, some advantages that WS-Security provides to a SOAP-based style have been included in this REST-based architecture. Nonetheless, additional research should be carried out to deal with privacy regarding data available in the management profile and its management once it is stored in the remote site. Figure 3.14: Message stack layer
92 3.3. Data and Communication Layer 3.3.5 Workflow Procedure The workflow procedure, depicted in Figure 3.15, includes the following steps: Step 1: Download Ontology, Profile and Rules First of all, an instance of the management profile should be configured by an EM placed at a remote site (health-care site). Furthermore, a set of individual rules should be configured for each particular management purpose. Then, through a connection to the web service, the user (the patient in the telemonitoring scenario) situated in the home site will acquire the required management profile. The first time that he or she requests a management profile, the client will ask for the ontology model and the rules. For subsequent requests, the client will request first the current version (using the GET (propertyValue) method) of the profile and depending on the response will ask for an update of the profile or not. This workflow is depicted in Figure 3.15. As can be seen, the methods (mainly GET methods) involved in this step of the workflow procedure are (1) GET (ontology), (2) GET (rules), (3) GET (individual) and (4) GET (propertyValue). Note that the TLS authentication phase is not depicted in Figure 3.15, but it is initially carried out in order to allow the web client connection to the web service or not. As depicted in Figure 3.15, the associated management profile is extracted from the ontology and the Jena instances are wrapped into the IndividualWS structure. This is a simple process where individuals and their properties are chained to other individuals and encapsulated into the IndividualWS structure. Inverse properties are specially considered in order to avoid loops. At the end, a tree-structure IndividualWS scheme is acquired and transferred to the HG. Once the management profile is in the HG, it will be processed into the Converter module, unwrapped and inserted as Jena individuals in the ontology. The instance checking function is performed in the Converter module in order to ensure that the unwrapped instances are correctly built and thus satisfy the ontology model. Only named individuals and members of a named class are accepted for checking. For each IndividualWS unwrapped, the existence of the class in the ontology is first checked. Then, the ontology is queried in order to retrieve necessary conditions related to the class and verify that the individual satisfies them. Both extensions of the HOTMES ontology only contain classes with necessary but not sufficient conditions, thus they are primitive classes. Hence, it can not be said that any (random) individual that satisfies the condition of class A is a member of that class. This fact simplifies the reasoning task as each unwrapped individual belongs to a class and sufficient conditions of, for example, class A are not evaluated in order to assume that an individual satisfying these conditions is a member of class A. Checking for class subsumption is a task for a logic reasoner. No doubt the introduction of complex properties (transitivity, symmetry, etc) in the ontology or the use of necessary and sufficient conditions for class descriptions would require the inclusion of a powerful reasoner in the prototype implementation.
Chapter 3. System Architecture 93 If after the evaluation of all object and data properties included in the IndividualWS these conditions are not satisfied, the individual is removed from the ontology. Related individuals are added too. Nearly all the conditions included in both HOTMES ontology extensions are value and cardinality constraints. Once the necessary conditions are extracted, the list of object and data properties is evaluated. The domain and range of associated object properties are evaluated (not only rdfs:domain and rdfs:range but also UnionOf domains and range classes, superclass properties and the enumeration of individuals comprising domains and ranges), the same evaluation is performed for data properties and finally the class constraints are evaluated (e.g cardinality) in order to verify that the relations provided are correctly used. OWL domains and ranges are not strictly constraints to be checked. They are used as axioms in reasoning. For example, if the hasMonitoringTask property has the domain as MonitoringTask class and then this property is applied to an instance of the AnalysisTask class, that would not be an error. It would be inferred that AnalysisTask is a subclass of the MonitoringTask. However, that would not be a correct reasoning in the HOTMES ontology where MonitoringTask and AnalysisTask are declared as disjoint classes. Nearly all the classes have been declared as disjoint, consequently an individual can not be a member of two classes, and domain and range are considered as constraints in the reasoning performed. The Jena engine and 11 SPARQL queries were required to carry out this verification process. This procedure is depicted in Figure 3.16. Note that this implementation was designed to execute the tasks described in the HOTMES OWL-DL ontology. However, only two additional SPARQL queries were required to adapt this implementation to the HOTMES OWL 2 ontology. Specifically, they were required to verify qualified cardinalities and keys.
94 3.3. Data and Communication Layer Figure 3.15: Workflow Communication Procedure (Step 1)
Chapter 3. System Architecture 95 Figure 3.16: Converter Method algorithm
96 3.3. Data and Communication Layer Step 2: Running the management profile tasks Figure 3.17: Workflow Communication Procedure (Step 2) Once the management profile has been included in the ontology knowledge base module of the HG, it will be evaluated in the MAPE module and the management procedure will be performed by running the tasks specified in the profile. Under the MAPE process, first the monitoring tasks will be checked in order to know which information should be collected. These data will be transferred from different data sources (e.g MDs, sensors, HG characteristics or user feedback) to the HG by using the particular format or protocol appropriate to each one. Data provided by the different sources included in the managed scenario will be mapped into the ontology model and thus transformed into ontology instances. In this way, data integration is achieved (examples of this process are provided in chapters 4 and 5 for clinical and technical management). Then, according to the analysis task description included in the management profile, these monitored data will be analyzed. This analysis will have a positive or negative result after the execution of the corresponding SPARQL rules. This positive or negative value will lead to the activation of a planning task and consequently the execution of actions required to face the detected problem. In this step of the workflow procedure, the following methods are executed : (1) PUT (individual), (2) POST (individual), (3) PUT (propertyValue), (4) POST (propertyValue) and (5) PUT (informMessage). For example, the PUT (individual) method will be used to transfer information about a new result included in the management profile. It may be possible, by configuring the TransmissionPolicy related to a monitoring task, to specify that every acquired result should be transferred to the remote site or, by configuring in the analysis task, to transfer only the result of a positive analysis. For new individuals this method
Chapter 3. System Architecture 97 will be used. POST (individual) and POST (propertyValue) can be used to modify existing individuals or values. Finally, an Inform message could be used to report to the external manager that a new MD is being used by the patient and that it should be technically controlled. Figure 3.17 depicts the workflow of messages sent to the remote site if a new medical result is acquired by a new MD (thus activating both types of management, technical and clinical). 3.4 Discussion This chapter describes a generic ontology-based solution to integrate data and its management procedure in home-based scenarios. Hence, the approach could easily be used in other applications involving remote management tasks at home sites. Furthermore, it facilitates the integration of several management services at home sites using the same software engine. The architecture has been specifically studied to support both technical and clinical services in the telemonitoring scenario. Its layer structure and its communication method provide the approach with scalability and re-usability features. In the last decade, ontologies have become popular to represent knowledge and they have also been successfully applied to achieve data integration in scenarios such as clinical or home-smart environments where heterogeneous sources work together. While the experiences for clinical purposes [86] and for a home-smart environment [82] are good examples of ontology-based approaches to achieve data integration, they lack the provision of a clear methodology to describe and explain the sequence of tasks for processing acquired data, that is to say the workflow that dictates the management service (e.g telemonitoring) process. Our ontology-based approach was designed to represent not only data modelling but also modelling of the management procedure execution. The idea of using ontologies to provide knowledge formalization in combination with the autonomic computing paradigm to organize processes has also been proposed in other works such as [101, 122] for different application fields (personalized services in home environments, intrusion detection and data warehouse improvement, respectively). Nevertheless, in contrast to these approaches that use ontologies as a core knowledge describing the knowledge upon which the autonomic system is to work, the idea presented in this work is to provide an ontology for describing both the data to be managed but also the tasks that make up the MAPE process. In this way, data integration is achieved but a clear explanation is also provided about how to process data, providing an abstract view about the business model. In fact, this approach of modeling the management procedure execution with an ontology and the idea of using it as a general framework to design individual management profiles constitute the key differences in contrast to other ontology based solutions in home-based scenarios [82, 86, 88].
98 3.4. Discussion The HOTMES ontology was written in OWL-DL. This language offers sufficient features and expressiveness to accurately describe a management profile. As seen in this chapter, some improvements could be introduced by using new constraints available in OWL 2. However, these new constraints were not deemed necessary to express the required knowledge. Hence, OWL-DL was selected in order to make the ontology easy to understand and to take advantage of available software tools for working with ontologies. Moreover, the idea of defining management profiles in combination with SPARQL rules offers a flexible solution to personalize management tasks, which in fact is a difference compared with similar solutions presented for home-based scenarios [82, 86, 88]. Although this SPARQL language is not strictly speaking a rule language, it has been successfully applied to define rules over individual management tasks and it has also been used to define arithmetic functions to clarify the mathematical analysis process. It is therefore able to provide an explicit representation of all the actions involved in the management procedure. In addition to the theoretical approach (conceptual layer), the proposed solution has been studied from a practical view point for managing data in telemonitoring scenarios (data layer). This is of interest given that while many proposals have been presented regarding the use of ontologies in the medical field, few of them have given consideration to the technologies used to physically exchange the information described on them [86]. Some proposals such as [169] aim to contribute with an architecture for optimizing the use of resources and messages exchanged among the actors involved. This work uses the ontology to capture the knowledge supporting the management of message exchange between different actors in the telemedicine system using XML files. Other works such as [86] or [88] use web service technologies to exchange the information described in the ontology. However, the services described seem to be specific to the model of the information described. In contrast to these approaches, the architecture presented is an innovative REST-inspired architecture that allows information contained in an ontology to be exchanged in a generic manner. It is a secure and scalable architecture with a simple communication method. This architecture has been used as the baseline to provide technical and clinical services in a telemonitoring scenario. Following the three-stage approach presented in this chapter and depicted in Figure 3.2, chapter 4 describes how this solution was adapted to remotely monitor patients with chronic conditions. In essence, the HOTMES ontology was extended to this clinical purpose, as explained in section 3.2.3. The definition of management profiles for patients was then evaluated. Finally, the physical architecture was adapted to support these services. A similar process was performed to adapt the architecture to technical purposes. Chapter 5 explains, following the same methodology (see Figure 3.2), how the HOTMES ontology was extended and evaluated, and the prototype adapted. Furthermore, this architecture is compared with an SNMP solution.
Chapter 4 Clinical Management The ontology-driven solution presented in chapter 3 can be used within a telemonitoring scenario to monitor remote chronic patients at their homes. Following the 3 stage approach proposed in that chapter, the main challenges of integration and personalised medical care have been met through the ontology development and evaluation from engineering and clinical points of view, both theoretical and practical. During the first stage, extensions and adjustments in the ontology have been made in order to take into account physicians’ knowledge and MD interoperability. During the second stage, the application of the ontology has been studied to monitor patients with different and multiple morbidities using the ontology model to specify the monitored data and alarms configured by clinical staff. In the third and final stage, the prototype designed as part of the data and communication layer of the architecture to perform the tasks that enable remote patients to be supervised have been adapted to the clinical scenario conditions. 4.1 Introduction Remote supervision of patient health status together with appropriate feedback provision is made possible by periodically collecting clinical data located at patients’ homes and transferring them to the corresponding physician located in a health-care site. This telemonitoring process, and thus the data required to supervise the evolution of patient health status, is managed through indications or guidelines provided by physicians. Through these guidelines, physicians indicate how many measurements the patient should take, sometimes even specifying alarms to be triggered by acquired information in order to be alerted if an abnormal finding is detected and indicating the actions that should be taken. In fact, all the guidelines and actions can be implemented as tasks to be performed in the HG in order to provide remote control of patient disease supervision, that is to say, a management profile for patients. Consequently, this type of profile has been termed the patient profile. Hence, extending the HOTMES ontology for 99
100 4.1. Introduction this clinical purpose, a generic framework to design patient profiles can be achieved. By defining instances of the monitoring task (and creating new subclasses of the Monitored Data class) the physician can specify the vital constant measurement (e.g blood pressure) that a patient should perform and its schedule. Then, by defining instances of the analysis task, the acquired measurement can be evaluated within a range in order to detect abnormalities and, finally, the planning and execution tasks can be configured to remind the patient to take a medicament or to be aware if something abnormal occurs. As explained previously, an instance of the management profile can be designed according to the characteristics of the patient’s disease, providing personalized clinical management. This ontology extension named “HOTMES clinical” provides a generic framework to define patient profiles that can be used in any home telemonitoring scenario e.g for cases of physical diseases, psychological disorders or simply diet supervision. Thus, it is not restricted to a few chronic conditions. Furthermore, its structure describes clearly and simply the workflow of the management procedure. These factors undoubtedly enhance its re-usability and transferability. As stated in the previous chapter, our system-design approach was divided into three stages. The first stage dealt with the ontology engineering, the second stage with the ontology application-based study and the third stage with the prototype development. Figure 4.1 depicts inputs, actions and outputs required for each stage to adapt the ontology-based architecture to clinical services. The inputs required to carry out each phase are represented on the left side of the image (materials involved in each stage), the actions performed in the centre and the outcomes or results of each phase on the right. The data integration challenge was tackled through the ontology developed during the first stage of our study, the ontology engineering phase. The main objective was to extend the HOTMES ontology in order to achieve a generic model to monitor a patient with any type of chronic condition. An important task performed during this stage was identifying and defining all the information that could be relevant (and usually necessary) to be collected at the patient’s home in order to correctly supervise the patient’s health status evolution. As can be seen in Figure 4.1, both a literature review (of clinical guidelines, experiences in telemonitoring scenarios and MD data formats) and physicians’ knowledge were used in the ontology engineering stage. As an outcome of this phase, a formal conceptual schema to define individual patient profiles was achieved in which data provided by the different sources participating in the telemonitoring process could be mapped. Furthermore, its description allowed an integrated management procedure to be carried out by including in the patient profile the tasks that the HG should perform in order to monitor the data defined in the physician’s guidelines, analyze the data acquired and execute the appropriate action if an abnormal finding is detected.
Chapter 4. Clinical Management 107 with measurement data or by themselves could indicate that the patient is getting better or worse. As shown in Figure 4.5, each questionnaire will contain a list of questions (Question Health). Then, for each question the patient will provide an answer (Answer HealthQ). The relations between these classes are depicted in Table 4.1. Each question will be characterized by an identifier and a string containing the question itself (expressed in natural language) and each answer will be characterized by an identifier, the answer itself and the date when it was provided. Figure 4.5: Health Test Questionnaires Object Property Domain Range Description hasHealthQuestionsList HealthTest Questionnaire Health QuestionsList Used to link the questionnaire with the list of questions it contains. hasFirstQuestion Health QuestionsList HealthQuestion First question on the list. hasRestQuestionList Health QuestionsList Health QuestionsList Rest of questions on the list to be asked. hasHealthAnswerQ Health Question Health AnswerQ Used to relate each question with the answer provided by the patient. Table 4.1: Health Qualitative Information Properties Health Quantitative Information refers to quantitative information that is not acquired by an MD. The following subclasses of the Health Information class have been defined: cigarettes number,food quantity,liquid quantity and medication. This information can be useful for clinical data measurements and patient supervision. For instance, controlling the quantity of food intake can be very interesting for following up patients with obesity or thyroid disorders.
108 4.2. Stage 1 (clinical): Ontology Engineering -Cigarettes Number: used to ask the patient about the number of cigarettes smoked per day. -Food quantity: indicates the quantity of a certain type of food (dairy, fruits, grains-nuts-seeds, meats, sweets-fats or vegetables) consumed by the patient. Each instance of acquired food datum will be expressed by a numerical value and the units in grams (gr) or milligrams (mgr). -Liquid quantity: an instance of this class will be used to ask the patient about the quantity of liquids he or she usually drinks. It can be general or restricted to a certain type of liquid (alcohol, coffee, soft-drink or water). Each instance of acquired liquid datum will be expressed by a numerical value and the units in liters. -Medication: an instance of the medication class will be used to ask and remind the patient about the number of pills that should be taken. Measurement SNOMED-CT X73 Device Specialization Description code (11073-104zz) Temperature 246508008 Thermometer (-10408) Body temperature value. Weight 272102008 Weighing scale (-10415) Measurement of body weight Height 50373000 Weighing scale (-10415) Measurement of body height. Systolic BP 72313002 Blood Pressure Monitor (-10407) Highest value of a blood pressure measurement during the cardiac cycle. Diastolic BP 67726005 Blood Pressure Monitor (-10407) Lowest value of a blood pressure measurement during the cardiac cycle. MAP 264861000 Blood Pressure Monitor (-10407) Mean value of a blood pressure measurement. Glucose 36048009 Glucose meter (-10417) Measurement of glucose in blood. Pulse Rate 364094000 Blood Pressure Monitor (-10407) or Pulse-oximeter Number of heart-beats per unit of time (normally measured in beats per minute). SpO2 113080007 Pulse-oximeter (-10404) Measurement of the amount of oxygen in the patient’s body. HbA1 259689004 Glucose meter (-10417) Measurement of glycated hemoglobin in blood. FEV1 74274000 Peak expiratory flow monitor (-10421) Measurement of the forced expiratory volume in one second. Body Water 38348009 Body composition analyzer (-10420) Measurement of the amount of water in the patient’s body. Body Fat 248300009 Body composition analyzer (-10420) Measurement of the amount of fat in the patient’s body. Table 4.2: Vital Constants Measurements Description
Chapter 4. Clinical Management 109 Finally, a wide range of possible measurements that can be acquired in a home telemonitoring scenario have been described in the ontology in order to provide a flexible structure for configuring profiles for multiple and specific telemonitoring cases of use. A total of 11 measurements were identified and included in the ontology as subclasses of the Vital Constant Measurement class. These measurement subclasses are: temperature,weight,height,blood pressure (systolic,diastolic and MAP, modeled as 3 different subclasses), glucose,pulse rate,SpO2,HbA1,FEV1,body water and body fat. Table 4.2 gives descriptions of these terms and their corresponding SNOMED-CT code. Furthermore, each measurement has been related to the X73 device-specialization used to model the ontology regarding the measurement data. Relating concepts described in the ontology with widely accepted standards makes their descriptions clearer and their mapping easier with other knowledge models with similar contents that overlap. This strategy is in line with the recommendations of Brochhausen et. al. [90] about the need to continually work towards harmonization through ontologies to achieve future unified semantic models. Specifically, concepts described in the ontology were related to standardized terms in medicine using the SNOMED-CT nomenclature. These codes were included in the ontology as individuals of subclasses of the Measurement Code class, one for each type of measurement represented in the ontology (eg. SystolicPressureCode). These classes were defined as Enumerated classes (using the one Of construct) with one unique individual, the corresponding SNOMED-CT code. Although initially no other individuals can be declared to belong to these classes, the ontology could be extended to include other standardized codes if desired. 4.2.2.3 Vital Constant Measurement The information used to describe the clinical concepts (located under the monitoring task) has been organized in two levels: 1) the Configuration level and 2) the Data Level. The first level gathers properties used to characterize a clinical concept. An instance of these classes should be configured by the physician when defining the patient profile related with a monitoring task. The second level gathers properties used to characterize the corresponding clinical datum (a piece of data retrieved at a certain time). Hence, it describes all the data eventually retrieved from the patient’s supervision. Vital constant measurement data were modelled in the ontology as a collection of two types of information: data acquired and provided by the MD and contextual information that could influence a measurement result provided by the patient. An example of a vital constant measurement model (for Systolic pressure, highlighted in Figure 4.4) can be seen in Figure 4.6. As is depicted, the information represented is classified into two levels. The concepts associated to the first level correspond to configured information provided by the physician. All defined concepts are related to their corresponding SNOMEDCT code, in this case, the Systolic Pressure Measurement itself (SystolicPressure).
110 4.2. Stage 1 (clinical): Ontology Engineering The second level corresponds to the datum acquired at a certain moment by using a MD and the additional contextual information required to evaluate each measurement (SystolicPressureDatum). For example, in the case of blood pressure, the physicians indicated that apart from reporting the data value of the pressure measurements, patients should provide information about which arm they used to take the measurement (left or right), the patient’s position (sitting down, standing up or lying down) and if he/she had taken any stimulating substances during the hour prior to taking the measurement (such as coffee, medication, tobacco) (DataProperties: patientPosition, pressureMeasurementLocation and stimulating Substances). Each concept may be related to a storage of that data measurement(hasStorageSPData). It should be noted that the range for data properties describing context information has been defined as an enumerated datatype, thus describing a list of possible string values. Each datum acquired by an MD (DatumMD class) is characterized by the value of the datum acquired (DataProperty: outputValue), the date when it was acquired (DataProperty: dateDatum) and technical information about the MD used to acquire the measurement (DataProperties: idSystem,manufacturer,model and systemType). Table 4.3 explains the properties related to the SystolicPressure class. The same model structure was used to represent the other vital constant measurements. Figure 4.6: Systolic Pressure Model
Chapter 4. Clinical Management 111 Object Property Domain Range Description hasSystolicPressureCode Systolic Pressure Datum Systolic Pressure Code All defined instances of the systolic pressure measurement are associated to the SNOMED-CT code ”72313002”. hasSystolicPressureDatum Systolic Pressure Systolic Pressure Datum A piece of data related to the systolic pressure acquired at a certain moment and with some particular conditions. Integrates data provided by the MD (measurement value) and data provided by patients (contextual data). hasStorageSPData Systolic Pressure Systolic Pressure Datum Used to store a list of data related to the systolic pressure measurement. Equivalent property of hasSystolicPressureDatum (same domain and range but different meaning). isObtainedBy Datum MD Medical Device Indicates that the measurement has been acquired by using a specific MD. Information regarding the general characteristics of the MD is also collected (e.g type of system: blood pressure monitor). hasUnitsPressure Systolic Pressure Datum Units Pressure Each acquired datum is associated to its corresponding units. As can be seen in Figure 4.6, mmHg (millimeter of mercury) and KPa (kilopascal) units were included as possible blood pressure units. Table 4.3: Object properties related to the Systolic Pressure Measurement Apart from the relation with the SNOMED-CT nomenclature, by using annotation properties the relation between the classes described in the ontology and the attributes and nomenclature used in the X73 standard was incorporated into the ontology model. See for example Table 4.4 were these relations have been depicted for the systolic pressure measurement model. Note that these relations were used for the X73 mapping module implementation within the prototype development. Classes and properties from the ontology are represented in column one. The nomenclature code used to identify each X73 object (column two) is: Class:attribute.subattribute. Class indicates the object class inside the DIM, attribute indicates an attribute inside the class and, in the same way, subattribute indicates that the object is a subattribute. The third column indicates the value of the attribute reported by the X73 agent. This value can be a specific X73 tag or the syntax attribute expressed in terms of X73 notation which is in fact ASN.1 notation. It should be noted that O.String stands for OctetString, Int-x stands for Integer using x bits and Bits-x stands for bit string size x. Finally, the fourth column offers a text description of the presented object.
112 4.3. Stage 2 (clinical): Ontology Application-Based Study Ontology Class X73 Attribute Name X73 Attribute Value Description - Data Property (Class:attribute.subattribute)(tagdatatype) SystolicPressure metric::type MDC PRESS BLD NONINV Systolic measurement metric:: Metric-Id-List MDC PRESS BLD NONINV SYS SystolicPressureDatum numeric:: Simple-Nu FLOAT Refers to a systolic datum - outputValue - Observed-Value - DateDatum metric::Absolute- Time-Stamp DATE Date when the measurement was acquired Units Pressure metric::type MDC DIM MMHG Data units of this constant measurement datum value (MDC ATTR ID TYPE) or MDC DIM KILO PASCAL MedicalDevice Information about the MD used - idSystem MDS: System-Id O. String MD identification - manufacturer MDS:System- Model.manufacturer O. String Manufacturer of the MD - model MDS: System- Model.model O. String Model of the MD -systemType MDS:System- Type-Spec-List MDC DEV SPEC PROFILE BP Indicates the type of MD Table 4.4: Relation between Patient Profile ontology and the X73 standard 4.3 Stage 2 (clinical): Ontology Application-Based Study Hartman et. al stressed that ontology evaluation should be a continuous process starting at the design phase and continuing through the development process [171]. This policy was adopted in the present work and continuous improvements were included in the ontology after the Chronic Patient Profile specification sub-stage included in the application-based study stage. The main goal was to make the required adjustments in the ontology in order to be able to use it to supervise patients at home with any type of chronic condition. In fact, this second stage could also be seen as part of the design phase given that some classes of the ontology model were modified after this validation phase. 4.3.1 Materials and Methods 4.3.1.1 Chronic Patient Profile Specification For the purposes of this stage a physician who did not participate in the ontology engineering phase identified 11 different types of patients with one general chronic condition as possible candidates for remote control. The physician configured 11 patient profiles. These configured patient profiles (chronic patient profiles) were used to supervise patients with the following chronic conditions: 1) COPD, 2) obesity, 3) thyroid disorders, 4) ischemic heart disease (IHD), 5) asthma, 6) hypertension (HTA) or high blood pressure, 7) osteoporosis, 8) heart failure (HF), often called congestive heart failure (CHF), 9) diabetes mellitus (DM), 10) dyslipidemia (DLP) and 11) osteoarthritis. As
Chapter 4. Clinical Management 113 can be seen in Table 4.5, these specific patient profiles where configured due to the fact that they cover diseases prevalent in a high percentage of population. Mortality rates can be considerably reduced if patients are permanently monitored. The profiles were defined according to published standard clinical guidelines used for the normal supervision in healthcare centres of patients with these diseases [172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182]. This Patient Profile specification stage included two steps: 1) Profile Specification and 2) Personalization. The first step consisted of defining measurements to be monitored for each type of patient, reminders, data to be analyzed and actions to be taken. The data defined in this step was used to identify the instances of the ontology required to configure a patient profile. In order to define the profile, a Patient Profile questionnaire was designed and then completed by the physician in order to describe all the requirements for monitoring each type of patient. It aims to provide with a guide for the patient profile definition according to the information acquired for the ontology engineering phase (through meetings with clinician staff). Table 4.6 shows an example of the Patient Profile questionnaires used in this stage. It should be noted that if the physician required more information in order to define the correct profile, such information was subsequently included in the ontology.
114 4.3. Stage 2 (clinical): Ontology Application-Based Study Profile Description and Symptoms Impact on population COPD A chronic lung disease characterized by persistent airflow limitation. Dyspnea, chronic cough and sputum production are the main symptoms of COPD. - More than 10% of the European population suffers COPD, the fifth cause of mortality. - More than 75% are undiagnosed and untreated. - 90% of cases are caused by smoke inhalation. Obesity A chronic disease characterized by an increase in body fat stores that can lead to reduced life expectancy and/or increased health problems. - Is responsible for about 35% of ischemic heart diseases, 80% of cases of type 2 diabetes and 55% of hypertensive diseases. Thyroid Disorders These are common disorders of the thyroid gland including hyperthyroidism, hypothyroidism and thyroid nodules. - Around 7% of the general population suffers a thyroid disease and prevalence increases with age. - Thyroid disorders are 5 to 7 times more common in women than in men. IHD Patients with IHD have reduced heart pumping due to coronary artery disease. The risk increases with age, smoking, high cholesterol levels, diabetes, obesity and hypertension. - The first cause of death in Europe. - Nearly 50% of deaths in Europe are caused by heart diseases. - One in 8 men and one in 17 women die before the age of 65 because of heart disease. Asthma A common chronic inflammatory lung disease that inflames and narrows the airways. - About 5% of the population suffers asthma. - It is one of the most common chronic diseases of childhood (10%). HTA Common cardiac medical condition in which the systemic arterial pressure is elevated (over 140/90). HTA is a risk factor for IHD, stroke, myocardial infarction, HF, chronic kidney disease, cognitive decline and premature death. - At least one quarter of adults (and more than half of those older than 60) have high blood pressure. - With each 2 mmHg rise in systolic blood pressure, the risk of mortality from IHD or strokes is increased by 7% and 10% respectively. Osteoporosis Osteoporosis is the consequence of continued bone loss throughout adulthood, low peak bone mass, or both. -Anyone can develop osteoporosis, but it is common in older women (15% of women over 65 years old are affected). - 25-30% of fractures are due to osteoporosis. HF Heart failure is a chronic and progressive condition in which the heart muscle is unable to supply enough blood flow to meet the needs of the body. - Around 2% of adults suffer from heart failure, but in those over the age of 65, this increases to 6-10%. - Heart failure is a serious condition, and usually there is no cure. DM A metabolism disorder where levels of blood glucose are too high. There are 4 types of diabetes: type 1 diabetes, type 2 diabetes, gestational diabetes and other types due to genetic defects. - Diabetes is a leading cause of death and disability. -Type 2 diabetes is the most common type of diabetes (90% of patients). The World Health Organization (WHO) estimated that 6.4% of the world’s adult population had diabetes in 2010. Dyslipidemia Dyslipidemia is a disorder of the amount of lipoprotein (overproduction or deficiency) in the blood. It is a major, modifiable risk factor for cardiovascular disease. Middle-aged, white men are likely to be diagnosed and treated for dyslipidemia; however, the disease is most prevalent in post-menopausal women. Osteoarthritis This disease is related with abnormalities involving degradation of joints including articular cartilage and subchondral bone. - Osteoarthritis is not caused by aging and does not necessarily deteriorate. Table 4.5: Patients Profile (Chronic) Diseases Information
Chapter 4. Clinical Management 115 1. Vital Constant Measurements Select required measurements to be controlled for this patient’s supervision. Weight Pressure (D/S) HbA1c Height SpO2 MAP Pulse Rate FEV1 Body Water Temperature Glucose Body Fat 2. Subjective Information Is it relevant to ask the patient about any physiological symptoms or additional qualitative information for his/her supervision? E.g: stress level or pains? Select the required qualitative information. General Health Information Ask patient about his/her general health state regarding stress or humor Health Test Questionnaires Request patient to answer specifically the following list of questions 3. Environmental Information Could the patient environment affect the acquired measurement result? Should the patient be asked about additional environmental information? Select the categories required. Patient Location Room Humidity Room Temperature Temperature Humidity 4.Quantitative Information Is there any additional quantitative information required for his/her supervision? Select the required categories. Food Quantity Cigarettes Smoked Liquids Quantity Medication Room 5. Reminders for Patients Should patients be reminded about acquiring measurements or providing additional information? - How often? (Specify the hour when the reminder should be activated and the time between activations eg. 1 day, 15 days) - What message should appear to remind the patient to perform the specified task? 6. Clinical alarms a. Should the supervising physician be warned if an out of range measurement occurs or if a suspicious answer is provided when asking about quantitative or qualitative information?. - Can this alarm be conditioned to other monitored results (eg. an out of range measurement value or a positive answer in a health questionnaire test)? Please specify. -Is any mathematical factor related to the specified measurements useful for triggering an alarm (eg. Body Mass Index, BMI)? Please specify. b. Which actions should be performed if an alarm is triggered? Table 4.6: Patient Profile Questionnaires
116 4.3. Stage 2 (clinical): Ontology Application-Based Study During the second step, the physician was asked about the specific data values for triggering a defined clinical alarm. The data defined in this step were related to the SPARQL rules definition for the analysis task and planning task activation. The rules were used to provide personalized care and to distinguish between each patient profile with the same definition of instances for two patients with the same pathology (e.g COPD) but with different levels of restrictions in their supervision. For instance, for a COPD patient one physician can configure one single rule in order to detect serious COPD, such as “IF FEV1 is <30% AND FEV1>49% THEN activate alarm”. However, for another patient, the physician can limit the supervision further and configure rules to detect serious, mild and slight COPD for different FEV1 values. Apart from the specific values, the physician was also asked if the clinical alarm should be conditioned by the contextual information relating to the acquired measurement. This information is converted into a set of IF/THEN rules. 4.3.1.2 Multi-Chronic Patient Profile Specification The main objective of this phase was to verify that the ontology could be used to define new and more complex patient profiles. Consequently, the quality of the ontology was measured in terms of adaptability and completeness by defining patient profiles that had not specifically been considered by physicians during the design phase of the ontology. In fact, patients normally suffer more than one chronic condition (e.g an obese patient with high blood pressure) and each patient needs his or her own specific monitoring guidelines. As the purpose of the ontology was to be able to monitor patients with any type of chronic condition, it was necessary to ensure that the domain of the ontology appropriately covered these types of patients and consequently to verify how far the ontology could be used for new cases. A total of 5 patient profiles (multi-chronic patient profiles) for patients with comorbidities were designed in this phase: 1) MCD (multi-chronic diseases) 1: DM + ischemic, 2) MCD 2: obesity + DLP, 3) MCD 3: osteoporosis + HTA, 4) MCD 4: COPD+ HF, 5) MCD 5: Obesity+DLP+DM+HTA. Table 4.7 gives descriptions and characteristics of patients with these co-morbidities and the importance of controlling them. The physician designed these profiles by using the same questionnaires as those used to define the chronic patient profiles in the previous sub-stage, and the same steps were followed. These are, in fact, the steps for generating new patients profiles. It should be noted that the ontology could be easily extended to include additional information or more complex analysis processes if required. New data to be monitored could be modeled as subclasses of the Control Information class and analysis processes as subclasses of the Analysis Task. In the same way, new execution tasks or actions could easily be included in the ontology. The generic structure of the ontology in defining how to manage and evaluate monitored data by adding new subclasses enables its application domain to be extended easily.
Annex A. Patients Profiles Requirements & Specification 219 A.11 Dyslipidemia Dyslipidemia is a disorder of the amount of lipoprotein (overproduction or deficiency) in the blood. Dyslipidemias may be manifested by elevation of the total cholesterol, the “bad” low-density lipoprotein (LDL) cholesterol and the triglyceride concentrations, and a decrease in the “good” high-density lipoprotein (HDL) cholesterol concentration in the blood. Dyslipidemia further raises the risk of atherosclerosis in people with diabetes (it affects more to people with type 2). Dyslipidemia has no symptoms, so the diagnosis is made by a blood test called a lipid profile. Treatment of dyslipidemia usually involves a multimodal approach, including diet and exercise in all cases, lipidmodifying medication, and consideration of changes in ARV (antiretroviral) medication. The clinical requirements to monitor a generic patient with dysplidemia are depicted in Table A.20 and the required resources in terms of individuals, tasks and rules to specify a patient profile are gathered in Table A.21. Monitored Data Reminder Alarm Height 15d, 10h BMI >25 →A1, A2 and A3 Weight Pulse Rate 1d, 10h A pulse rate measurement value out of this range: 60<pulse rate <100 →A1, A2 and A3. Blood Pressure (Systolic) 1d, 10h Alarm 1: DP value <70 AND SP value <100 mmHg Blood Pressure (Diastolic) Alarm 2: DP value >90 and SP value >140 mmHg Blood Pressure (MAP) TAD alarm: DP >120 mmHg Each alarm detection →A1, A2 and A3 Medication 1d, 10h - No alarms defined Cigarettes Number 7d, 10h - No alarms defined Health Test Questionnaire (Dyslipidemia) 7d, 10h Dyslipidemia Alarm: This alarm is activated if the patient answers YES to question 1. The Diabetes test includes the following questions: 1) Have you got strong chest pains or distressing? 2) Do you follow any type of diet? Table A.20: Monitoring requirements for a generic dyslipidemia patient Profile TDB inic (MB) Instances Rules MT AT PT ET Dyslipidemia 1,24 100 14 9 8 6 3 Table A.21: Cost metrics and resources required for a dyslipidemia patient
220 A.12. Osteoarthritis A.12 Osteoarthritis Osteoarthritis is the most common form of arthritis. This disease is related with abnormalities involving degradation of joints including articular cartilage and subchondral bone. It causes pain, swelling and reduces motion in your joints. It can occur in any joint, but usually it affects your hands, knees, hips or spine. Osteoarthritis occurs more frequently as we age. Before 45 it occurs more frequently in men, but after 55 it occurs more frequently in women. Despite the frequency of the disease, the cause is not still completely known and there is no cure. Factors that may cause osteoarthritis include: being overweight, getting older, injuring a joint and genetics. The clinical requirements to monitor a generic patient with osteoarthritis are depicted in Table A.22 and the required resources in terms of individuals, tasks and rules to specify a patient profile are gathered in Table A.23. Monitored Data Reminder Alarm Height 30 d, 10h BMI >25 →A1, A2 and A3 Weight Blood Pressure (Systolic) 1d, 10h Alarm 1: DP value <70 AND SP value <100 mmHg Blood Pressure (Diastolic) Alarm 2: DP value >90 and SP value >140 mmHg Blood Pressure (MAP) TAD alarm: DP >120 mmHg Each alarm detection →A1, A2 and A3 Temperature 30d, 10h Alarm: T >38 →A1, A2 and A3 Medication 1d, 10h - No alarms defined Cigarettes Number 7d, 10h - No alarms defined Health Test Questionnaire (Osteoarthritis) 7d, 10h Osteoarthritis Alarm: This alarm is activated if the patient answers YES to question 1. The osteoarthritis test includes the following questions: 1) Do you have articular pains? 2) Do you have any redness or inflammation area? Table A.22: Monitoring requirements for a generic osteoarthritis patient Profile TDB inic (MB) Instances Rules MT AT PT ET Osteoarthritis 1,25 88 12 8 7 5 3 Table A.23: Cost metrics and resources required for a osteoarthritis patient