ruleml-2007, october 25-26, orlando, florida essam mansour page no. knowledge centre of applied...

16
RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Knowledge Centre of Applied Computing (KCAMP) Research Group 1 AIM: An XML-Based ECA Rule for Supporting a Framework for Managing Complex Information Presented By Essam Mansour

Upload: norma-carter

Post on 05-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

1

AIM: An XML-Based ECA Rule for Supporting a Framework

for Managing Complex Information

Presented By

Essam Mansour

Page 2: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

2

Over View

Introduction AIM language AIM Specification Component The Complex Information Model in AIM AIM Query Component Summary

Page 3: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

3

My Project is the second stage of an on-going research My Project Objectives:

Generalizing and enhancing the concepts and management framework done in the first stage;

Developing a high-level language for facilitating the management of the generalized framework;

Developing intermediate models for implementing the language using the available technologies, such as XML and DBMS;

Developing a proof-of-concept system; Evaluating the work done in the second stage

Introduction

Page 4: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

Second Stage

CustomerOrder

4

First Stage

Introduction

Clinical Guidelines

Medical Patient Plan

Healthcare Record

Main Research

Focus

FormalizationAnd Modelling Language

Execution and Manipulation

Stock ExchangeRegulation

StockItems

-Modelling Language-Maintenance Support

Enriching these Functionalities

Enriching these Functionalities

Best Practice

Complex Information

Domain Information

Research FocusNot the Research Focus

Examples

GeneralizingThe Work Done

Page 5: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

5

The Complex Information is produced by incorporating the best practices into the daily management.

The medical plans and customer orders are examples for Complex Information produced by incorporating clinical guidelines and stock regulation into the disease and order management, respectively.

Managing Complex Information Integrating the Complex Information Management into

DBMSs, which are utilized to manage the domain information

Introduction

Page 6: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

6

AIM Language

AIM

AIMSL AIMQL

ECA XMLXQuery

PLAN

CI Model

Support theSpecification Process

Supportinstantiation and

maintenance processes

SupportManipulation and Information Retrieval

Supporting the SEM Framework at three plans: AIM is an XML-Based language AIM Components

Page 7: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

7

AIM Specification Component (AIMSL)

Protocol

Protocol Rule Name

Category

Schedules

Schedule

Name

Header

Header

Schedule Rules

Rule

Name

Properties

Header

Rule Body

terms Event ActionCondition

The main concepts in AIMSL model are: Protocol Schedule Rule

Generic and Customization.

Page 8: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

8

AIM Specification Component (AIMSL)

AIMSL utilizes ECA Rules to represents the best practice. In AIMSL, ECA Rules are distinguished by:

The event, condition, and action are defined using domain application terms, ex:

Rule 1: on two days after patient admission, order the blood test.

Temporal Events: Absolute time or Relative time event

on June 1, 2008

on day 2 of patient admission

Once-off or Repetitive with before or after supporton day 2 of patient admission

every 10 hours before the operation time

Page 9: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

9

AIM Specification Component (AIMSL)

Protocol Library

Name CategoryID

SchedulesHeader Protocol Rules

Protocol

Name

Global Rules

Schedule Rules

Header

Rule

Schedule

ID

ID

ID

Name Properties BodyHeader

RuleScope

RuleType

Priority Event Condition Action

absoluteTime

relativeTime

episode

ID

ON

ProceduraAction

AIMQLAction

ID

DOdescriptiondescription operand1operator operand2

Terms

term

ID

type title mappingtoDB

releasedInfo didacticInfo

institutionversion author specialist lastModification

validation linksexplanationpurpose keywords citation

description

complex element

simple element

attribute

sequence

choice

reference

edge

Page 10: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

10

The Complex Information Model in AIM

active

waiting

executing

generated

registered

inactive

terminated

completed re-registered

Complex Information Life-Cycle

in AIM

Page 11: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

11

The Complex Information Model in AIMComplex

Information Schema

in AIM

ComplexInfo

Schedule

state Schedules

CIID ProID titlevalidityPeriod

Protocol Rules Global Rules

validityPeriod

validityPeriod

validityPeriod

IDRef validityPeriod

Rule

IDRef validityPeriod

triggersstate

state

validityPeriod

value trigger

validityPeriod

startTime endTime

complex element

simple element

attribute

sequence

choice

reference

edge

Page 12: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

12

1-Now

1-3

The Complex Information Model in AIM

Element

Attribute

Text Node

edge

1-3 validity

1-2

1-3

1-2

Value

executed

2-2

Value

executed

3-3

MAS3

state

reg

Value

3-Now

3-Now

3-Now

MAS4

state

reg

Value

3-Now

3-Now

3-Now

1-2

reg

MAS1

state

Value

Schedule

1-Now

1-Now

1-Now1-Now

1-3

MAS2

state

reg

Value

1-Now

Rule MAS1: ON day 2 of the patient admission, DO order the test albumin creatine ratio (ACR).

Day 2Day 3

Rule MAS2: ON receiving the result of test ACR IF the ACR result is greater than 25 DO Add rule 3 and 4 to order ACR test at day number 6 and 38

What is CI in Day 4?

Replay CI from Day 3

to 5

Page 13: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

13

AIM Query Component (AIMQL)

Requirements Move complexity from user/application code to high level declarative

language Changes Propagation Declarativity XQuery –based language Convenient for human to read and write

XQuery Extensions: Manipulation Operations: add, remove, modify, activate,

deactivate, terminate, and Fire. Temporal Query Support for the replay functionality

Page 14: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

14

AIM Query Component (AIMQL)

Natural language: Replay the plans of category no CAT, which was working through out the past Y days.

AIMQLREPLAY Complex Information CISHOW When, How, Why OF CIWhere CI.cast(“day”) >= Yand CI.meets(NOW)and CI[@catID=CAT]

Page 15: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

15

Summary

Our Research focuses on providing a comprehensive management for the complex information

K-CAMP provides a generic approach and framework for Complex Information Management

AIM language consists of: AIM Specification Component The Complex Information Model in AIM AIM Query Component

Page 16: RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No. Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu 1 AIM: An

RuleML-2007, October 25-26, Orlando, Florida Essam Mansour Page No.

Knowledge Centre of Applied Computing (KCAMP) Research Group Dr. Bing Wu

16

Tha kn Y uo