Query Modelling Problem Ruth Kidd, Ian Townend and Meena Pillai NHS Connecting for Health.

Slides:



Advertisements
Similar presentations
Relational Database Systems Higher Information Systems Advanced Implementation in MySQL/PHP.
Advertisements

Organisation Of Data (1) Database Theory
Relational Database Systems Higher Information Systems Advanced Implementation in Filemaker Pro.
Developing Problem Tree & Solution Tree
A8 – Control Structures if, if-else, switch Control of flow in Java Any sort of complex program must have some ability to control flow.
WESS Search Tool The Safety Mishap Analysis & Retrieval Tool (SMART) allows customers to search the Naval Safety Center safety data repository. Example:
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 4: Modeling Decision Processes Decision Support Systems in the.
E | W | E | W | NHS e-Referral Service Referring Roles Issued: 3 June.
Unusual Control Structures and General Control Issues A Presentation by CJ Castellani as told in an American accent.
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
Automation Repository - QTP Tutorials Made Easy The Zero th Step TEST AUTOMATION AND QTP.
LÊ QU Ố C HUY ID: QLU OUTLINE  What is data mining ?  Major issues in data mining 2.
Records Search Demonstration. Page 2 Records Search Options  Searching Across All Records  Searchable Fields for the Simple Search Box  Records Option.
E | W | E | W | NHS e-Referral Service BMS Admin Role Issued: 3 rd.
State Term Contract & State Purchasing Agreement Website Innovative Ideas towards Improving Your Buying Experience DMS State Purchasing IT Team.
Bruce White Ruth Geer University of South Australia.
SECOND-ORDER DIFFERENTIAL EQUATIONS Series Solutions SECOND-ORDER DIFFERENTIAL EQUATIONS In this section, we will learn how to solve: Certain.
CHRIS NELSON METADATA TECHNOLOGY WORK SESSION ON STATISTICAL METADATA GENEVA 6-8 MAY 2013 Designing a Metadata Repository Metadata Technology Ltd.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 6 – Designing.
Introduction of Geoprocessing Topic 7a 4/10/2007.
Problem Solving and Control Statements. Using Exit to Terminate Repetition Statements There are many forms of the Exit statement, designed to terminate.
Retrieval Models for Question and Answer Archives Xiaobing Xue, Jiwoon Jeon, W. Bruce Croft Computer Science Department University of Massachusetts, Google,
Module 4 Designing and Implementing Views. Module Overview Introduction to Views Creating and Managing Views Performance Considerations for Views.
Recuperação de Informação B Cap. 10: User Interfaces and Visualization , , 10.9 November 29, 1999.
State Term Contract & State Purchasing Agreement Website Innovative Ideas Towards Improving Your Buying Experience DMS State Purchasing IT Team.
SERIES SOLUTIONS TO DIFFERENTIAL EQUATIONS AP Calculus BC.
CMP-MX21: Lecture 4 Selections Steve Hordley. Overview 1. The if-else selection in JAVA 2. More useful JAVA operators 4. Other selection constructs in.
Mark Brady 11/19/2012 Southwest Florida Water Management District Data Analyst Interview.
Design and Implementation of a Rationale-Based Analysis Tool (RAT) Diploma thesis from Timo Wolf Design and Realization of a Tool for Linking Source Code.
© ABB University - 1 Revision C E x t e n d e d A u t o m a t i o n S y s t e m x A Chapter 17 Graphic Displays Course T314.
D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion.
Yr 7.  Pupils use mathematics as an integral part of classroom activities. They represent their work with objects or pictures and discuss it. They recognise.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
Outcomes Focused planning NHS Health Scotland
10.1Retrieving a Database File – In the last chapter, we have created a database file and several tables for that database. – In order to view and modify.
CMPSC 16 Problem Solving with Computers I Spring 2014 Instructor: Tevfik Bultan Lecture 4: Introduction to C: Control Flow.
Step 1of 11 Admin Demonstrations Click Here to Start.
Introduction of Geoprocessing Lecture 9 3/24/2008.
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 4: Modeling Decision Processes Decision Support Systems in the.
CSCI 383 Object-Oriented Programming & Design Lecture 7 Martin van Bommel.
Chapter 5 – Decision Making. Structured Programming Sequence Selection Repetition yesno yes no.
Department of Mathematics Computer and Information Science1 CS 351: Database Management Systems Christopher I. G. Lanclos Chapter 4.
18 Week Pathway Discussion about potential IM&T issues.
CSE333 CSE333 DDS.1 A System for Creating Specialized DDS Architectures Research and Work By: Tom Puzak Nathan Viniconis Solomon Berhe Jeffrey Peck Project.
Selection Using IF THEN ELSE CASE Introducing Loops.
The TDR Targets Database Prioritizing potential drug targets in complete genomes.
1 M206 Chapter 31: An Overview of Software Development 1.Defining the problem 2.Analyzing the requirement – constructing initial structural model 3.Analyzing.
3.3 Fundamentals of data representation
Problems With Assistance Module 2 – Problem 7
QAD Browses.
VB 2010 Pertemuan 10.
MySQL Subquery Source: Dev.MySql.com
The most commonly used Boolean Search terms are AND, OR, and NOT.
Object-Oriented Analysis and Design
Unified Modeling Language
GC211Data Structure Lecture2 Sara Alhajjam.
Safety Mishap Analysis & Retrieval Tool (SMART)
How to Create Custom “Add to Cart” URLs in WooCommerce? Do you face the problem while creating custom add to cart URLs in woocommerce? today this post.
PubMed Database Interface (Basic Course Module 4 Part A)
Topic 1: Be able to combine functions and determine the resulting function. Topic 2: Be able to find the product of functions and determine the resulting.
Information Retrieval
Algorithm An algorithm is a finite set of steps required to solve a problem. An algorithm must have following properties: Input: An algorithm must have.
Chapter 4 Entity Relationship (ER) Modeling
Problem Solving and Control Statements
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Selection Statements Chapter 3.
Finding Your GP Data Ian Richardson BA CPA CGA Colin Pich CPA CGA.
Safety Mishap Analysis & Retrieval Tool (SMART)
Presentation transcript:

Query Modelling Problem Ruth Kidd, Ian Townend and Meena Pillai NHS Connecting for Health

Business Requirements Background Two users involved: General Practitioner (GP) and Patient (P) 1.P is referred to a urologist for recurrent urinary infection by the GP. 2.GP searches for urologist service using simple keywords and operator: 3.(urologist AND West London). 3.The search criteria is saved for future use.

The Modelling Problem Review Referral Detailed Information 1. DetailedReferralQuery This is a query which the GP may use to obtain all the details about a particular referral. Return Referral Details and Change referral Detailed Information 2. DetailedReferralResponse The Response to the query containing all the referral detailed information. However the business requirement includes wanting to change the response which may lead to selecting another service.

Problem The query mechanism provided within HL7 allows for the representation of a wide range of queries which can also vary in their complexity. The problem faced is in designing a a single query message which is able to deal a range of expressions which may vary greatly in their complexity. Take for example the following expressions: –(A AND B) OR (C AND D) –(A AND B) OR (C AND (D OR E)) The first expression can be expressed easily, the second may be expression but it would involved linking multiple LogicalExpressions together. It is not possible to create a single message which is able to express both the above as well as more complex queries. It is the nested logical statements which pose a problem as the query mechanism does not allow for recursion (i.e. a RelationalExpression cannot have a component which is a RelationalExpression).

Possible Solutions for Expression (A AND B) OR (C AND (D OR E)) Solution 1 – Use of query to represent the Keyword / Operator relationship –The limitation to this design is that as it does not incorporate recursion; the levels of nesting need to known prior to design and cannot be created dynamically. Solution 2 - Use of Acts to represent the recursive Keyword / Operator relationship. –This solution is a non-standard way to represent queries. –It is included to show how the required functionality can be achieved within the HL7 RIM. –It is also included to demonstrate the functionality which could be added to the Query Mechanism to allow for complex queries to be expressed. Solution 3 – Use of query which has been amended to include choice box and recursion – This method demonstrates how the problem can be solved by combining solutions 1 and 2.

Problem 1 - Solution 1 Use a query to model the keyword/operator relationship. (A AND B) OR (C AND D) This model allows us to easily represent the above expression A B C D

Problem 2 - Solution 1 Use a query to model the keyword/operator relationship. (A AND B) OR (C AND (D OR E)) This model does not allow us to represent the final section of this query. It is not possible to express the nested statement A B C D

1 2 3 Problem 1 - Solution 2 Use a query to model the keyword/operator relationship. (A AND B) OR (C AND D) This model allows us to easily represent the above expression. a b c d

a b c d e Problem 2 - Solution 2 Use a query to model the keyword/operator relationship. (A AND B) OR (C AND (D OR E)) This model allows us to easily represent the above expression.

Problems 1 and 2 - Solution 3 Amend Query Mechanism to cater for recursion and choice. (A AND B) OR (C AND D) - (A AND B) OR (C AND (D OR E)) In a similar way to Solution 2, this method allows for the representation of both statements.

Questions