E-Appointment Scheduling Using Constraints Logic Programming

Similar documents
User Guide for Patients

IOS SAFETY APPLICATION FOR UITM

DELIVERY NOTIFICATION SYSTEM USING WEB BASED FATIN NAJIBAH BT RADUAN CA09100

Architecture Diagram. Figure 1 : Architecture Diagram

Requirements Specification

Langara College Spring archived

Langara College Spring archived

CSCI 201L Syllabus Principles of Software Development Spring 2018

Wireless Application Protocol (WAP) is a. WAP Implementation-Based Telemedicine System for Patient Monitoring

COLLECTION & HOW THE INFORMATION WILL BE USED

Detailed Design. Java Problem Repository & Education Platform JPREP

King Abdulaziz University Faculty of Computing and Information Technology Computer Science Department

IMPROVING WEB QUERY PROCESSING THROUGH AN INTELLIGENT ALGORITHM FOR HETEROGENEOUS DATABASES

Business Information System Analysis and Design Fall 2017

National College of Ireland BSc in Computing 2017/2018. Deividas Sevcenko X Multi-calendar.

The Development of Critical Undergraduate Program Selection System (CUPSS) for Admission to Malaysian Public Universities

WEB MANAGEMENT SYSTEM FOR SERIOUS GAME IN INTERNAL MEDICAL PRACTICE. Phoon Wei Yin

This tutorial also elaborates on other related methodologies like Agile, RAD and Prototyping.

Validation of a Process-driven Database Design method for an Electronic Health Recordsystem

IRMA Researcher User Guide v2 DRAFT. IRMA Researcher User Guide

Software Design Description. Ceiling Price Checker System (C-Price) For. Version 1.0 approved 11 October 2009

IT-2670: C/C++ PROGRAMMING LANGUAGE

COIT20248: Information Systems Analysis and Design Term 2, 2015 Assignment 2. Lecturer: Dr. Meena Jha Tutor: Aries Tao

jquery with Fundamentals of JavaScript Training

BOULDER IRB era InfoEd Amendments

PORTAL RESOURCES INFORMATION SYSTEM: THE DESIGN AND DEVELOPMENT OF AN ONLINE DATABASE FOR TRACKING WEB RESOURCES.

WebEx Management. GP Connect. WebEx Interactions

Remote Printing System

myohportal FAQ 07 September 2017 How do I access myohportal? How do I create an account on myohportal?

Development of Virtual Machine for Programmable Logic Controller (PLC) by Using STEPS Programming Method

Introduction to Database. Dr Simon Jones Thanks to Mariam Mohaideen

How to Create an Appointment Request Page 2 Creating a request for a patient to be seen by a clinician, or for a family visit

TUTORIAL FOR NOTETAKERS

NHG REDCap User Account Creation Guide

Info Sys 422/722 & ISyE 722. Computer Based Data Management. Fall, 2016

Acceptance Test. Smart Scheduling. Empire Unlimited. Requested by:

Booking a space on campus through Resource Booker

Data Structures and Algorithms

A Web Based Registration system for Higher Educational Institutions in Greece: the case of Energy Technology Department-TEI of Athens

Ecological Waste Management Ltd Privacy Policy

15-213/18-213/15-513, Fall 2017 C Programming Lab: Assessing Your C Programming Skills

Lesson 06. Requirement Engineering Processes

Training Guide for Practitioners. Washington State Department of Health Washington State Prescription Monitoring Program

BOSTON UNIVERSITY Metropolitan College MET CS342 Data Structures with Java Dr. V.Shtern (Fall 2011) Course Syllabus

Online Registration Management Guide

System Administrator Training Guide

Standards New Zealand

Lecturer Support Material Manual

eirb Electronic Institutional Review Board User Guide For more information contact: Research Administration (803)

System Administrator Training Guide

USER EXPERIENCE DESIGN (UXD)

User Manual Appointment System

Hitachi Smart Digital Diabetes Prevention Service (HSDDPS) and Salford Royal NDH Care Call

IRMA Human Ethics Researcher User Guide

System Administrator Training Guide

WesternREM (WREM) Applicant

Networked Restaurant Reservation

Online Employment Application Guide

Aviva Life Protection Solutions Tracking guide

Vision Extended Care Fax Solution

Course Design Document: IS202 Data Management. Version 4.5

Events at Towson University: Editor s Guide

Implementation of Digital Signage for Digital Communication Media Awan Setiawan, Iwan Abadi, Sheilfiyanti Abdul Rahman

Developing a Mobile Information Service

Training Guide for Arkansas Practitioners and Pharmacists. Arkansas Department of Health Prescription Monitoring Program

Computer Information Systems

FULL NHS JOBS 2 GUIDENCE NOTES

Introduction to System Analysis and Design

FAST TRACK. On-Line Application Instructions

GUIDELINES for using HRDC Online System

KOMAR UNIVERSITY OF SCIENCE AND TECHNOLOGY (KUST)

Selection of UML Models for Test Case Generation: A Discussion on Techniques to Generate Test Cases

SYSTEM DESIGN. 1 Introduction: 1.1 Overview: 1.2 Scope:

Notify Me Application

PARTICIPANT (STUDENT) DOCUMENTATION Introduction

1.1. Pre-requisites System Requirements The E-TRAC Home Page Notifications...1-6

GEMP WEBSITE NAVIGATION

Matthew Harris Senior Project Project Plan getnote The Mobile Application

1. Introduction. 2. Project Submission and Deliverables

Initial Login and Setup Instructions. Verifying your Family Information

Queen Square Neurophysiology Referral Portal

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Online Patient Record in an Emergency Room Based on WEB 2.0 Technologies

An Automatic Tool for Checking Consistency between Data Flow Diagrams (DFDs)

G. PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Pasupula, Nandikotkur Road, Kurnool

New Permit Request Guide

ONLINE ACADEMIC APPOINTMENT SCHEDULING SYSTEM TEH BIN SHUN

Function Call Stack and Activation Records

ITM DEVELOPMENT (ITMD)

3. Blackboard and Client/Server Systems

Middle East Technical University. Department of Computer Engineering

Chapter 5 System modeling

User Guide. Version 3.0. Revision Date: 11-Feb Esoterix, Inc., All Rights Reserved

The research and design of user interface in parallel computer system

San José State University Computer Science Department CS49J, Section 3, Programming in Java, Fall 2015

MonarchPress Software Design. Green Team

Alkan University College Student Information Management System

VERSION GROUPWISE WEBACCESS USER'S GUIDE

ScienceDirect. STA Data Model for Effective Business Process Modelling

Visitor and Faculty Recruitment. Visitor pages. First page is just flat html code

Transcription:

E-Appointment Scheduling Using Constraints Logic Programming N. Ahmad 1, R. Abdul Hamid 2, S.N. Abdul Samad 3, M.N. Mohamad Kahar 4, A. Mat Safri 5 1-5 Faculty of Computer Systems & Software Engineering, University Malaysia Pahang, Locked Bag 12, 25000 Kuantan, Pahang, Malaysia. Abstract: E-Appointment Scheduling is a system for students to make an appointment with lecturers in Faculty of Computer Systems & Software Engineering (FCSSE); and Student Medical Center to do the medical check up. The schedules are based on the timetable and university activities. Constraints Logic Programming (CLP) has been implemented to solve the scheduling problems by giving recommendation to the users in part of determining any available slots from the lecturers and doctors timetable. By using this system, we can avoid wasting time and cost because this application will set an appointment by auto-generated. In addition, this system can be an alternative to the lecturers and doctors to make decisions whether to approve or reject the appointments. Keywords: E-Appointment Scheduling, CLP, PHP, Apache Web Server, software. INTRODUCTION E-Appointment Scheduling is a system for students to make an appointment with lecturers in Faculty of Computer Systems & Software Engineering (FCSSE) and Student Medical Center to do medical check up. It is an online application for FCSSE s student whenever applying to make appointment with lecturers or doctor. All applications have to be sent to the lecturers or doctor for approval. This system will give more interactive for student to make an appointment through an online system. By using this system it can avoid wasting time and cost because this application will set an appointment by auto-generated. In realistic world, the need for the system arises as a result of problem faced by users in the current manual and online way to make an appointment. Therefore, this system is hopefully to solve problem for scheduling. E- Appointment Scheduling performs the related task associated with students or lecturers and doctor such as: a- Student needs to see lecturers or doctor first before make the appointment. b- Student needs to fill the form before meet with the doctor. c- Consume more time to key in he data into the current system. d- Increase error while entering data into current system. e- The scheduling not effective for doctor and lecturers. The current schedule is in manual and lecturer must keep the schedule in file so it may become lost. The objectives of this system: (i) to develop a prototype of the e-appointment Scheduling in order to facilitate making an appointment between students and lecturers at Faculty of Computer Systems & Software Engineering and the doctor at Student Medical Center; (ii) to generate report for all appointments for the lecturers and doctor. The system is implemented on Microsoft Windows operating systems and develop using PHP tool. PHP: Hypertext Preprocessor [1] is a tool that enabled us to create dynamic web pages. There are lot of advantages of using PHP includes easy learning curve, database integration, extensibility, object oriented programming, scalability and rich features [2,3,4]. It has been compiled with functions to interact with MySQL database system. The system is debugged in the local host server using Apache Server as the platform. UMP Appointment RELATED WORK The current appointment in UMP is used by students, lecturers and doctor to carry out appointment. In this report explain the important of appointment at UMP meeting and how the system organizes the appointment. This system developed for e-meeting with C# and use for meeting management [5]. E-Appointment for National Health Services (NHS) Information technology impacts economy. It additionally has started changing the modern way of life, e. g., look at work on the so-called semantic web [6]. An online appointments system is helping to reduce National Health Services (NHS) waiting times. A hospital referral from a Government Policy (GP) is usually followed by a long wait, but under new government regulations this could become a thing of the past as part of the NHS Plan, all NHS trusts must have an online booking system in place by 2005 [7]. Although automated messages have been shown to improve appointment attendance, these studies have not focused on the messages themselves.

Improving the design of appointment messages may further increase the potential of automated systems for improving appointment adherence [8]. Scheduling Scheduling is a problem that is grounded in many different levels of computer science and computer hardware engineering. Various scheduling and sequencing problems have been addressed since the 1950's by researchers in computer science, operations research and discrete mathematics [9]. In a businesscomputing context, scheduling implies the automatic execution of background tasks (batch jobs) at pre-set points in time (e.g. every day at 8pm, midday on Wednesday). 3 types of scheduling are distinguished: native, basic and advanced scheduling [10]. Constraint Logic Programming Constraint Logic Programming (CLP) is a merger of two declarative paradigms: constraint solving and logic programming. Although a relatively new field, CLP has progressed in several quite different directions. In particular, the early fundamental concepts have been adapted to better serve in different areas of applications. In this survey of CLP, a primary goal is to give a systematic description of the major trends in terms of common fundamental concepts. The three main parts cover the theory [8]. TECHNIQUES USES IN E-APPOINTMENT SCHEDULING Technique that use in e-appointment Scheduling is Constraint Logic Programming. In this technique, using logic programming can write as logic programs that suitable with scheduling has been developed in this system. It solves some problems that are more natural or simple to write as logic programs, while some are more natural to write as constraint programs [8]. The constraint programming approach is to search for a state of the schedule in which a large number of constraints are satisfied at the same time. A problem is typically stated as a state of the schedule containing a number of unknown variables. The constraint program searches for values for all the variables. Constraints for lecturers and doctor for are defining as below: a) 5 constraints for lecturers based on higher priority: i. Emergency leave ii. Meeting iii. Fix time table iv. Appointment with student v. Fix time office hour b) 5 constraints for doctor based on higher priority : i. Emergency call ii. Emergency leave iii. Outside work iv. Appointment with student v. Fix time office hour Algorithm that use in e-appointment Scheduling is using Indigo algorithm as a guide line that can be used for scheduling in e-appointment Scheduling. This algorithm needs lecturer and doctor list all the activities as constraints for system setup of the schedule. The algorithm is based on Fig. 1. procedure Indigo(H: constraint hierarchy) all_constraints <- list of constraints in H, strongest first; all_variables <- empty; active_constraints <- empty; for each v in all_variables do initialize v.bounds to unbounded; endfor /*This coding represents to list all the constraints for schedule and rate the constraints from high to low constraints.*/ for current_constraint in all_constraints do tigh_variables <- empty; queue <- empty; queue <- queue + current_constraint; while queue not empty do cn <- queue.front; /*This coding represents for swap the current constraints with new inputs that entered and also for specify the priority of the constraints.*/ tighten_bounds(cn,queue,tight_variables, active_constraints); check_constraint(cn,active_constraints); queue.dequeue; endwhile endfor end Indigo /*This coding represents for validate the constraints and update the list of constraints priority.*/ Fig. 1. Algorithm in Constraints Logic programming METHOODOLOGY Methodology in this system development is a standard process followed in an organization to conduct all the steps necessary analyze, design, implement, and maintain information system [11]. The development of the project usually follows a life cycle. To develope an E- Appointment Scheduling, System Development Life Cycle (SDLC) has been selected as the guide to develop the project. SDLC is an overall process of developing information systems through a multi step process from investigation of initial requirement through analysis, design, implementation and maintenance. In SDLC it is possible to complete some in one phase in parallel with some different activities from another phase and sometimes the life cycle is iterative so that the SDLC was choose because of the systematic flow and the circular process in the SDLC which is in the end of every phase will use as a reference for next phase. In this project, the six phases in the SDLC will be use for solving the entire problem. The six major phase that use are project identification, planning, analysis, design, development and implementation.

Fig. 2. System Development Life Cycle (SDLC). System Design The system design considers from input and output screen to reports, databases and computer processes. We also must provide the physical specifics of the system that have designed, either as a model or as detail documentation, to guide those who will build the new system. Before the development of the e-appointment Scheduling even started, a design of the system is done to provide better and clear understanding about the process flow of the system. Unified Modeling Language (UML) is a tools developed to helps understanding the system. Use Case: Use case is one of the steps to show what the user can do it in this system. For this system have two use cases that are create for every interaction between users. The use cases below are design to applicant, lecturer and doctor. For use cases between applicant and lecturer, it appears what applicant and lecturer can do it. The applicant can login, fill application form and receive approval application, view applicant info and check schedule. Lecturer can receive the application form, make approval application, and view applicant info, check schedule, edit schedule info and setup schedule. Fig. 3 shows uses case for student and lecturer. The uses case between applicant and doctor also same with use case between student and lecturer as shown in Fig. 4. Fig. 4. Use case e-appointment Scheduling (Doctor). General Sequence Diagram: Applicants login the system and make appointment either with lecturer or doctor and submit the application form. System generates application for approval from lecturers or doctor. Fig.5 shows the general flow of the e-appointment scheduling operated. Fig. 5. General Sequence Diagram. Data Dictionary In e-appointment Scheduling used four tables for database it is are: Table 1: Lecturer s table STUDENT_ID VARCHAR(10) PK NAME VARCHAR(30) LOCATION VARCHAR(30) AGENDA VARCHAR(50) Fig. 3. Use case Specific e-appointment (Lecturer). Table 2: Search lecturer s table LECT_ID VARCHAR(10) PK NAMEL VARCHAR(30)

Table 3: Doctor s table STUDENT_ID VARCHAR(10) PK NAME VARCHAR(30) LOCATION VARCHAR(30) PROBLEM VARCHAR(50) Table 4: Schedule table NO INT auto_increment (PK) Results for Student Module RESULTS AND DISCUSSION This module, follow the objective and can run on browser. Student can view availability of lecturers and doctor before make an appointment. If student choose to make an appointment with lecturer, student must search that lecturer by lecturer name, date and time. System will view the available slot that student want, if not system will suggest other slot to make an appointment. Then make the appointment through memo and the request has been triggered to that lecturer. It also same with the doctor module but the appointment only triggered to doctor. At student page, for the first time login into the system all student allow to use their student id as and username and password. Fig. 7. Make an Appointment Interface above will appear to make an appointment with lecturer or doctor, which student want date and time that generate from the previous interface. Student must insert location and agenda for the appointment; and click button send or cancel or exit to cancel the appointment. Results for Lecturer Module After students make an appointment, database is updated. The lecturer can view the request. Every appointment that received by lecturers is based on available slots. Lecturer can reject or edit the time and date to make other appointment when have emergency. Edit schedule can make up of lecturer to update the available schedule. If lecturer wants to check the record can click button report and can view the record. Fig. 8. List of the Approved Appointment This interface appears to show the approved appointment that make by system automatically. Lecturer can view the information about the application at this phase and also can view the detail of the applicant by click image view at column detail. Fig. 6. Search Lecturer Schedule Then, the system will show for search lecturer s schedule or doctor s schedule with insert the constraint by student to do the appointment. System will search the available slot that student need or give other suggestion available slot if the constraints not match. Students just click the result to do the appointment. Fig. 9. Lecturer Setup Schedule

Lecturer can setup the schedule at the available time for the appointment. Lecturer can change the date and time for the appointment that student booked as shown in Fig. 10. System automatically update the appointment and sends it to the student through the memo. Doctor can setup the schedule at the available time for the appointment. Doctor can change the date and time for the appointment that student booked as shown in Fig.13. Hence, system automatically update the appointment and sends it to the student through the memo. Fig. 10. Lecturer Change Date and Time Results for Doctor Module After students make an appointment, database is updated and doctor can view the request. Every appointment that received by doctor are approved because the system only approve the appointment at available slot but doctor can reject or edit the time and date to make other an appointment when have emergency. Edit schedule can make up of doctor to update the available schedule. If doctor wants to check the record can click button report and can view the record. Fig. 11. List of the Approved Appointment Fig 12 shows the approved appointment that make by system automatically. Doctor can view the information of application and the detail of the applicant by click image view at column details. Fig. 12. Doctor Setup Schedule Fig. 13. Doctor Change Date and Time CONCLUSIONS In this system, Constraint Logic Programming (Indigo algorithm) has been used as a guide line for the scheduling in e- appointment. The algorithm automatically list all need the activities of lecturers and doctors as the constraints for system setup in the schedule. By using this system, student can make an appointment with lecturers and doctor in Student Medical Center easily. Student can get suggestion for available slot to make an appointment. Lecturer and doctor department can update their schedule also can give feedback to reject the appointment if have emergency. This system can be an alternative to the lecturers and doctors to make decisions whether to approve or reject the appointments. REFERENCES [1] F. Benhamou and A. Colmerauer, What is Constraint (Logic) Programming, Sept 1993. [2] http://vsbabu.csoft.net - 2001 [3] http://www.newbienetwork.net - 2002 [4] http://zend.com/zend/tut/calendr-ver7f.php - 2001 [5] N.M. Nik Ismail, E-Meeting With C#, PSM from BCN for guideline, Version: 2004. [6] B. Lee, Story Boarding for Web-Based Information System 1. Reed Elsevier Business Publishing Ltd. National Health Service online appointment system, Karl Cushing, 2001. [7] C.Dudman, Government Activity, COPYRIGHT2001 Reed Elsevier Business Publishing Ltd., 2001. [8]Leirer, Morrow, Parinute & Doksum, Appointment system, 1980. [9]P.F.Dutot, G Mouni e, D.Trystram, Operating Systems Internals and Design Principles (fifth international edition). Prentice Hall, 2004. [10] N. Kaushik and S. Figueira,2005. Scheduling in e- business. Dollar Universe United State of America. [11] J.A Hoffer, J.F. George, J.S Valancich, Modern System Analysis & Design. Third Edition. United State of America: Prentice Hall, 2002.