sdp final documentation df10a1ict

Upload: ahamed-nishadh

Post on 06-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    1/173

    ASIA PACIFIC INSTITUTE OF INFORMATION

    TECHNOLOGY

    APIIT Diploma Part II

    INCOURSE ASSIGNMENT

    MEDICAL OFFICE MANAGEMENT SYSTEM

    by A4 TECH SOLUTIONS

    DESIGN DOCUMENTATION

    Prepared By

    A.N.Ahamed Nishadh (CB004081)

    S.D.Ilangakoon (CB004041)

    A.C.Tiffaniya Fernando (CB004165)

    Module Code & Title

    AAPP007-3-2 Software Development Project

    Cohort

    DF10A1ICT

    Date of Submission

    29th July 2011

    Instructor

    Ms. Nadeera Ahangama

    Submitted in partial fulfillment for the degree of

    Bachelor of Science (Hons) in Computing

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    2/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    i

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    3/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    ii

    WORKLOAD MATRIX

    TASK

    AHAM

    ED

    NISHA

    DH

    DESHAN

    ILANGAK

    OON

    TIFFAN

    IYA

    FERNANDO

    1 GANTT Chart 0% 100% 0%

    2 SYSTEM REQUIREMENT SPECIFICATION

    Functional Requirements 100% 0% 0%

    Non Functional Requirements 0% 0% 100%

    Hardware Requirements N/A N/A N/A

    Software Requirements N/A N/A N/A

    3 Introduction 0% 100% 0%

    4 DATA FLOW DIAGRAMContext Level 34% 33% 33%

    Level 0 34% 33% 33%

    LEVEL 1

    Doctors Module 0% 100% 0%

    Patients Module 75% 25% 0%

    Charge Module 75% 0% 25%

    Transaction Module 0% 0% 100%

    LEVEL 2

    Patients Module 50% 50% 0%

    Charge Module 50% 0% 50%

    5 DATA DICTIONARIESDATA FLOW

    Doctors Module 0% 0% 100%

    Patients Module 0% 0% 100%

    Charge Module 0% 100% 0%

    Transaction Module 0% 100% 0%

    DATA STORE

    Doctors Module 0% 0% 100%

    Patients Module 0% 0% 100%

    Charge Module 0% 100% 0%

    Transaction Module 0% 100% 0%

    EXTERNAL ENTITY

    Doctors Module 0% 0% 100%

    Patients Module 0% 0% 100%

    Charge Module 0% 100% 0%

    Transaction Module 0% 100% 0%

    PROCESSES

    Doctors Module 0% 0% 100%

    Patients Module 0% 0% 100%

    Charge Module 0% 100% 0%

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    4/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    iii

    Transaction Module 0% 100% 0%

    6 Entity Relationship Diagram 100% 0% 0%

    7 Hierarchy Chart 100% 0% 0%

    8 Pseudo code 50% 50% 0%

    9 SCREEN DESIGNS

    Doctors Module 60% 20% 20%

    Patients Module 60% 20% 20%

    Charge Module 60% 20% 20%

    Transaction Module 60% 20% 20%

    10 REPORT DESIGNS

    Doctors Module 60% 20% 20%

    Patients Module 60% 20% 20%

    Charge Module 60% 20% 20%

    Transaction Module 60% 20% 20%

    11 Test Plan 0 50% 50%

    12 Limitations & Assumptions N/A N/A N/A

    13 Weekly Reports 0% 100% 0%

    14 Document Compiling 100% 0% 0%

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    5/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    iv

    PROJECT GNATT CHART

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    6/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    v

    ACKNOWLEDGEMENTS

    Firstly we would like to thank our lecturer Ms.Nadeera Ahangama for all the help

    and guidance given to us while doing this assignment. Especially for bearing with us

    during lectures and always willing to help us out at difficult times.

    Also there are many individuals who have helped us in numerous ways directly and

    indirectly so that we were able to complete this assignment.

    APIIT Lanka for providing us with resources and the Tech Team at APIIT Lanka for

    their assistance at required times.

    And last but not least our friends, parents and the well-wishers without whose moral

    support and encouragement, we would not have been able to do a good job.

    Finally, if there are any shortcomings in this project, then we request to excuse us for

    all those and accept this documentation.

    Ahamed NishadhDeshan Ilangakoon

    Tiffaniya Fernando

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    7/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    vi

    TABLE OF CONTENTS

    1.0 INTRODUCTION TO THE PROJECT ....................................... ..................... 1

    2.0 INTRODUCTION TO A4 TECH SOLUTIONS .............................................. 2

    3.0 HIERARCHY CHART .................................................................................... 3

    4.0 SYSTEM SPECIFICATIONS .......................................................................... 4

    4.1 FUNCTIONAL SPECIFICATIONS ............................................................ 4

    4.2 NON FUNCTIONAL SPECIFICATIONS ....................................... ......... 9

    4.3 HARDWARE SPECIFICATIONS .............................................................10

    5.0 PSEUDO CODE ............................................................................................ 11

    5.1 LOGIN FORM ...........................................................................................11

    5.2 MAIN MENU ............................................................................................11

    5.3 ADD NEW PATIENT ................................................................................12

    5.4 - DELETE / UPDATE PATIENT SEARCH FORM ......................................13

    5.5 DELETE / UPDATE PATIENT FORM .....................................................13

    5.6 SEARCH PATIENT FORM .......................................................................14

    5.7 PATIENT SEARCH RESULTS FORM .....................................................14

    5.8 ADD NEW DOCTOR FORM ....................................................................15

    5.9 DELETE / UPDATE DOCTOR SEARCH FORM .....................................15

    5.10 DELETE / UPDATE DOCTOR FORM ..................... ...............................16

    5.11 SEARCH DOCTOR FORM .....................................................................16

    5.12 SEARCH DOCTOR RESULTS FORM....................................................17

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    8/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    vii

    5.13 ADD NEW COMPANY FORM ...............................................................17

    5.14 DELETE / UPDATE COMPANY SEARCH FORM ................................18

    5.15 DELETE / UPDATE COMPANY FORM ................................................18

    5.16 SEARCH COMPANY FORM ..................................................................18

    5.17 SEARCH COMPANY RESULTS FORM ................................................18

    5.18 ADD / MODIFY / DELETE UNIT FORM ...............................................19

    5.19 UNIT SEARCH FORM ............................................................................19

    5.20 UNIT SEARCH RESULTS FORM ..........................................................20

    5.21 ADD / MODIFY / DELETE DEPARTMENT FORM ..............................20

    5.22 ADD NEW TREATMENT FORM ...........................................................20

    5.23 SEARCH TREATMENT FORM ..............................................................21

    5.24 TREATMENT SEARCH RESULTS FORM ............................................21

    5.25 UPDATE TREATMENT DETAILS FORMS .............................. .............21

    5.26 ADD SERVICE FORM ............................................................................22

    5.27 SEARCH TRANSACTIONS FORM ..................... ...................................22

    5.28 BILL DETAILS FORM............................................................................22

    5.29 INVOICE UPDATE SEARCH FORM .....................................................23

    5.30 INVOICE UPDATE FORM .....................................................................23

    6.0 DATA FLOW DIAGRAMS .......................................................................... 24

    6.1 CONTEXT DIAGRAM ..................... .................................................. .......24

    6.2 LEVEL 0 ....................................................................................................25

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    9/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    viii

    6.3 LEVEL 1 DOCTOR PROCESS...............................................................26

    6.3 LEVEL 1 PATIENT PROCESS ..............................................................27

    6.3.1 LEVEL 2 PATIENT PROCESS ........................................................28

    6.3.2 LEVEL 2 CORPORATE PROCESS .................................................29

    6.3.3 LEVEL 2 MEDICAL HISTORY PROCESS ..................... ................30

    6.4 LEVEL 1 CHARGE RATE PROCESS....................................................31

    6.4.1 LEVEL 2 UNIT MAINTAINENCE PROCESS ................................32

    6.4.2 LEVEL 2 UNIT CHARGE RATE PROCESS .............................. .....33

    6.5 LEVEL 1 TRANSACTION PROCESS ...................................................34

    7.0 DATA DICTIONARIES ................................................................................ 35

    7.1 DATA STORES .........................................................................................35

    7.2 DATA FLOWS ..........................................................................................39

    7.3 EXTERNAL ENTITIES .............................................................................63

    7.4 - PROCESSES ..............................................................................................65

    8.0 ENTITY RELATIONSHIP DIAGRAM ......................................................... 76

    9.0 SCREEN DESIGNS ...................................................................................... 77

    9.1 LOGIN FORM ...........................................................................................77

    9.2 MAIN MENU ............................................................................................78

    9.3 ADD NEW PATIENT ................................................................................79

    9.4 - DELETE / UPDATE PATIENT SEARCH FORM ......................................80

    9.5 DELETE / UPDATE PATIENT FORM .....................................................81

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    10/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    ix

    9.6 SEARCH PATIENT FORM .......................................................................82

    9.7 PATIENT SEARCH RESULTS FORM .....................................................83

    9.8 ADD NEW DOCTOR FORM ....................................................................84

    9.0 DELETE / UPDATE DOCTOR SEARCH FORM .....................................85

    9.10 DELETE / UPDATE DOCTOR FORM ..................... ...............................86

    9.11 SEARCH DOCTOR FORM .....................................................................87

    9.12 SEARCH DOCTOR RESULTS FORM....................................................88

    9.13 ADD NEW COMPANY FORM ...............................................................89

    9.14 DELETE / UPDATE COMPANY SEARCH FORM ................................90

    9.15 DELETE / UPDATE COMPANY FORM ................................................91

    9.16 SEARCH COMPANY FORM ..................................................................92

    9.17 SEARCH COMPANY RESULTS FORM ................................................93

    9.18 ADD / MODIFY / DELETE UNIT FORM ...............................................94

    9.19 UNIT SEARCH FORM ............................................................................95

    9.20 UNIT SEARCH RESULTS FORM ..........................................................96

    9.21 ADD / MODIFY / DELETE DEPARTMENT FORM ..............................97

    9.22 ADD NEW TREATMENT FORM ...........................................................98

    9.23 SEARCH TREATMENT FORM ..............................................................99

    9.24 TREATMENT SEARCH RESULTS FORM ................ ....................... ... 100

    9.25 UPDATE TREATMENT DETAILS FORMS .............................. ........... 101

    9.26 ADD SERVICE FORM .......................................................................... 102

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    11/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    x

    9.27 SEARCH TRANSACTIONS FORM ..................... ................................. 103

    9.28 BILL DETAILS FORM.......................................................... ................ 104

    9.29 INVOICE UPDATE SEARCH FORM .............................. ..................... 105

    9.30 INVOICE UPDATE FORM ....................................... ............................ 106

    10.0 REPORT DESIGNS................................................................................... 107

    10.1 INVOICE ............................................................................................... 107

    10.2 TRANSACTION AGING REPORT ..................... .................................. 108

    10.3 DOCTOR REPORT ................................... ......................................... ... 109

    10.4 PATIENT REPORT ............................................................................... 110

    11.0 TEST LOG ................................................................................................. 111

    11.1 LOGIN FORM ....................................................................................... 111

    11.2 MAIN MENU ..................... .................................................. ................. 112

    11.3 ADD NEW PATIENT ............................................................................ 113

    11.4 - DELETE / UPDATE PATIENT SEARCH FORM .............................. .... 116

    11.5 DELETE / UPDATE PATIENT FORM ....................................... .......... 117

    11.6 SEARCH PATIENT FORM ................................................................... 119

    11.7 PATIENT SEARCH RESULTS FORM ................................... .............. 121

    11.8 ADD NEW DOCTOR FORM .............................. .................................. 122

    11.9 DELETE / UPDATE DOCTOR SEARCH FORM ................................. 124

    11.10 DELETE / UPDATE DOCTOR FORM ..................... ........................... 125

    11.11 SEARCH DOCTOR FORM ..................... ......................................... ... 126

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    12/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    xi

    11.12 SEARCH DOCTOR RESULTS FORM ..................... ........................... 127

    11.13 ADD NEW COMPANY FORM ..................... ...................................... 128

    11.14 DELETE / UPDATE COMPANY SEARCH FORM ................ ............ 129

    11.15 DELETE / UPDATE COMPANY FORM ............................................ 130

    11.16 SEARCH COMPANY FORM .............................. ................................ 131

    11.17 SEARCH COMPANY RESULTS FORM ....................................... ..... 132

    11.18 ADD / MODIFY / DELETE UNIT FORM ..................... ...................... 133

    11.19 UNIT SEARCH FORM ........................................................................ 135

    11.20 UNIT SEARCH RESULTS FORM ................................................ ...... 136

    11.21 ADD / MODIFY / DELETE DEPARTMENT FORM ................ .......... 137

    11.22 ADD NEW TREATMENT FORM ..................... .................................. 138

    11.23 SEARCH TREATMENT FORM ..................... ................................ ..... 139

    11.24 TREATMENT SEARCH RESULTS FORM ........................................ 140

    11.25 UPDATE TREATMENT DETAILS FORMS .............................. ......... 141

    11.26 ADD SERVICE FORM ........................................................................ 142

    11.27 SEARCH TRANSACTIONS FORM .............................. ...................... 143

    11.28 BILL DETAILS FORM........................................................................ 144

    11.29 INVOICE UPDATE SEARCH FORM ....................................... .......... 145

    11.30 INVOICE UPDATE FORM ..................... ......................................... ... 146

    12.0 LIMITATIONS AND ASSUMPTIONS ..................................................... 147

    13.0 WEEKLY REPORTS ................................................................................ 148

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    13/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    xii

    13.1 WEEK 1 ................................................................................................. 148

    13.2 WEEK 2 ................................................................................................. 151

    13.3 WEEK 3 ................................................................................................. 153

    13.4 WEEK 4 ................................................................................................. 156

    13.5 WEEK 5 ................................................................................................. 159

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    14/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    1

    1.0 INTRODUCTION TO THE PROJECT

    This assignment that we, A4 Tech Solutions have been given to make is a Medical

    Office Management System. This system is being made for a leading hospital in

    Colombo. The project was handed over to us after the hospital management decided

    to automate the hospital to improve the efficiency of the hospital and to automate the

    processes that are happening in the hospital.

    The hospital has different sections. Each different section manages different jobs.

    Process of all these jobs will be automated.

    All patients records, their medical histories, their financial transaction histories,doctors records and their histories are all saved in this system and can be retrieved

    when needed for any purpose.

    Creating of all invoices and receipts are all automated in this system. The user just

    needs to save what has been done and the system will do the rest and also save the

    details onto a database for future reference.

    Reports can also be generated so that managerial decisions can be made if needed

    using the reports.

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    15/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    2

    2.0 INTRODUCTION TO A4 TECH SOLUTIONS

    A4 Tech Solutions (Pvt) Ltd is a premier software development company based in

    Sri Lanka. We have been in the industry for the past several years and have had

    tremendous success in terms of customized software development for organizations.

    Our main goal is to give out a final product to the customer which is not in any way

    compromised in terms of quality. After sales support and upgrade options are also

    part of our company where we provide support to our clients after the software has

    been developed and implemented and also we undertake upgrade options where

    needed.

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    16/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    3

    3.0 HIERARCHY CHART

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    17/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    4

    4.0 SYSTEM SPECIFICATIONS

    4.1 FUNCTIONAL SPECIFICATIONS

    The system that we will be making is a Medical Office Management System. This

    system will have the following functions available in the system for the user to use.

    The system will provide 4 main functions which are

    1. Maintenance of records pertaining to doctors2. Maintenance of records of patients and their medical history3. Maintenance of records related to fees and charges of doctors and treatment

    provided

    4. Calculation of bills and maintenance of records related to transactions doneby the medical office.

    Under the maintenance of doctors the following functions are available.

    y The user being able to add or delete a record related to a doctor. When a newdoctor arrives in the office, a new record will be added and when the doctor

    leaves, the record will be removed from the system.

    y Modify details of the doctor. When the doctor changes his details that affectthe system, the user is able to update the existing record of the doctor with

    the new details.

    y With related to doctors the user of the system will be able to query the systemfor doctors under various criteria such as Doctor ID, doctors name, the

    doctors specialty and then list them out for the user to take a decision on

    which doctor to assign the patient to.

    y Also the system will provide the user with the option of listing doctors onpre-made search criteria as in what type of doctor they are or to show all the

    doctors in the system and arrange them in particular order.

    y Also the user will be able to list down all the patients treated by the specificdoctor so as to see the performance of the doctor.

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    18/173

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    19/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    6

    Under the maintenance of records related to patients and their medical history

    the following functions will be available.

    The patients will be assigned to 2 different kinds of accounts which the medical

    office will be handling.

    1. Corporate Accounts2. Individual Accounts

    The corporate accounts are where corporates organizations can have specialized

    accounts maintained in the medical office for their employees. The corporate account

    is for corporate organizations that provide their employees with specialized medical

    assistance as part of their remuneration package. Special discounts or facilities aregiven to patients under a corporate account as agreed by the medical office and the

    corporate organization.

    Under corporate accounts maintenance the user is able to do the following functions.

    y Add and delete records of corporate accounts when new accounts are addedand when the term of contact expires and is not renewed.

    yModify the details of the corporate accounts such as a change of contractspecifications or adding new or removing patients from the corporate account

    when requested by the corporate organization.

    y Query the system to show details on a selected corporate account and listdown their details or the patients under that particular account.

    y Create reports of the corporate account or of specific patients under thecorporate account depending on the requirements.

    The individual accounts are for normal patients who just walk in to the medicaloffice to receive treatment. Under individual account maintenance, the user will be

    able to do the following tasks.

    y Add and delete records of individual accounts.y Modify details of the patient when required.

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    20/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    7

    y Query the system for the details of the patient using various different criteriaand display the details to the user.

    y List all patients registered in the system and then filter them with differentcriteria such as all patients or patients receiving treatment, who have a certain

    type of sickness etc.

    y The user will also be able to view the medical history of patients and alsoadd, delete or modify the medical history of the patient.

    y The user will also be able to create reports of a specific patient depending onthe requirements.

    Under the maintenance of fees and charges of doctors and treatments, the user

    is able to do the following functions.

    The fees and charges module have 4 different sub modules which are

    1. The unit maintenance module.2. The unit charge rate module3. The doctor charge rate module

    The unit maintenance module the user is able to maintain the record of the units in

    the medical office by doing the following functions

    y Add, delete or modify records of units when required.The unit charge rate module is where the user is able to do the following functions.

    y Add, delete or update details of charging rates for units in the medical office.y Query the system for charge details regarding specific units in the medical

    office.

    y List and show all unit and their details under specific search criteria.y Generate reports on units when required.

    The doctor charge rate module will enable to user to do the following functions

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    21/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    8

    y Add, delete or update details of charging rates of doctors. Doctors can chargeon specific types of treatments or on a general basis depending on their

    services.

    y List the doctors who charge specific rates for easy search for patients.y Create reports on specific doctors on their charges etc.

    Under the transactions maintenance module the user is able to carry on the

    following functions.

    y Create an account in the finance department for the patient which ever type ofaccount the patient holds.

    y Calculate the bills related to that patient depending on the services used bythe patient at the medical office.

    y Record the transactions and store them for future reference.y Print the receipt of the patient after the payment has been made.y Create reports on financial aspects of the medical office related to treatments

    and payments made.

    More functions can or may be added to the system as the system designing is started

    and they will be documented in the final document.

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    22/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    9

    4.2 NON FUNCTIONAL SPECIFICATIONS

    Performance Requirements

    The system should be time consuming; it should take less time to completeeach task.

    The system should be user friendly. The system must calculate the charges according to the mentioned calculation

    methods.

    Security Requirements

    The systems administrator may only change all access permission for thesystem data.

    Other than the administrator the users of particular process should onlybe able to login to the system, using a user name and password.

    Reliability Requirements

    The system should have a long time reliability of maintenance, once thesystem is completed, it should be usable for a long time without any

    crashes.

    Usability Requirements

    The information should be available whenever its needed. System should be attractive so that the user wont get bored to work with

    it.

    The system should contain less error, and the system should be able tominimize the errors as much as possible, and fast.

    The maintenance cost should be less for the system. Systems data should be saved in a proper place without any corruption.

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    23/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    10

    4.3 HARDWARE SPECIFICATIONS

    dfgdfg

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    24/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    11

    5.0 PSEUDO CODE

    5.1 LOGIN FORM

    BEGIN

    READ username, passwordIF username and password IS correct THEN

    Authorize Access

    SHOW Main Menu Form

    ELSE

    DISPLAY Invalid CredentialsEND IF

    END

    5.2 MAIN MENU

    BEGINIF Add New Patient Button = CLICKED THEN

    SHOW Add New Patient Form

    END IF

    IF Delete/Update Patient Button = CLICKED THEN

    SHOW Deleted/Update Patient Search Form

    END IF

    IF Search Patient Button = CLICKED THEN

    SHOW Search Patient Form

    END IF

    IF Add New Doctor Button = CLICKED THEN

    SHOW Add New Doctor Form

    END IFIF Delete/Update Customer Button = CLICKED THEN

    SHOW Deleted/Update Customer Search FormEND IF

    IF Search Customer Button = CLICKED THENSHOW Search Customer Form

    END IFIF Add New Company Button = CLICKED THEN

    SHOW Add New Company FormEND IF

    IF Delete/Update Company Button = CLICKED THEN

    SHOW Deleted/Update Company Search Form

    END IF

    IF Search Company Button = CLICKED THEN

    SHOW Search Company Form

    END IF

    IF Add/Modify/Delete Unit Button = CLICKED THEN

    SHOW Add/Modify/Delete Unit Form

    END IF

    IF Search Unit Button = CLICKED THEN

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    25/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    12

    SHOW Search Unit FormEND IF

    IF Add Treatment Button = CLICKED THENSHOW Add Treatment Form

    END IF

    IF Update Treatment Button = CLICKED THEN

    SHOW Search Treatment FormEND IF

    IF Add/Modify/Delete Department Button = CLICKED THEN

    SHOW Add/Modify/Delete Department Form

    END IF

    IF Calculate Invoice Button = CLICKED THEN

    SHOW Search Transactions Form

    END IF

    IF Update Invoice Button = CLICKED THEN

    SHOW Invoice Update Form

    END IFEND

    5.3 ADD NEW PATIENT

    BEGIN

    READ First Name, Last Name

    READ Date of Birth

    IF Date of Birth IS invalid THEN

    DISPLAY Enter Valid Values

    END IF

    READ NICIF NIC IS invalid THEN

    DISPLAY Enter Valid ValuesEND IF

    READ Address

    READ Mobile, Residence

    IF Mobile OR Residence IS invalid THEN

    DISPLAY Enter Valid Values

    END IF

    READ Email, Blood Group, Height, Weight, Diseases, Emergency Contact

    Name

    READ Emergency Contact AddressREAD Emergency Contact Mobile

    IF Emergency Contact Mobile IS invalid THEN

    DISPLAY Enter Valid ValuesEND IFREAD Emergency Contact Residence

    IF Emergency Contact Residence IS invalid THENDISPLAY Enter Valid Values

    END IF

    READ Account Type

    IF Account Type = Corporate THEN

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    26/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    13

    ENABLE Company NameREAD Company Name

    END IF

    IF Save Button = CLICKED THEN

    STORE First Name, Last Name, Date of Birth, NIC, Address, Mobile,Residence, Email, Blood Group, Height, Weight, Diseases,

    Emergency Contact Name, Emergency Contact Address, EmergencyContact Mobile, Emergency Contact Residence IN Patient Details

    Table

    END IF

    END

    5.4 - DELETE / UPDATE PATIENT SEARCH FORM

    BEGINREAD Patient ID

    IF View Button = CLICKED THEN

    SHOW Delete / Update Patient Form

    END IFEND

    5.5 DELETE / UPDATE PATIENT FORM

    BEGIN

    READ First Name, Last Name

    READ Date of BirthIF Date of Birth IS invalid THEN

    DISPLAY Enter Valid Values

    END IF

    READ NIC

    IF NIC IS invalid THEN

    DISPLAY Enter Valid Values

    END IF

    READ Address

    READ Mobile, Residence

    IF Mobile OR Residence IS invalid THEN

    DISPLAY Enter Valid Values

    END IFREAD Email, Blood Group, Height, Weight, Diseases, Emergency Contact

    Name

    READ Emergency Contact AddressREAD Emergency Contact Mobile

    IF Emergency Contact Mobile IS invalid THENDISPLAY Enter Valid Values

    END IFREAD Emergency Contact Residence

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    27/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    14

    IF Emergency Contact Residence IS invalid THENDISPLAY Enter Valid Values

    END IFREAD Account Type

    IF Account Type = Corporate THEN

    ENABLE Company Name

    READ Company NameEND IF

    IF Save Button = CLICKED THEN

    UPDATE First Name, Last Name, Date of Birth, NIC, Address,

    Mobile, Residence, Email, Blood Group, Height, Weight, Diseases,

    Emergency Contact Name, Emergency Contact Address, Emergency

    Contact Mobile, Emergency Contact Residence IN Patient Details

    Table

    END IF

    IF Delete Button = CLICKED THENDELETE record

    END IFEND

    5.6 SEARCH PATIENT FORM

    BEGIN

    READ Patient ID OR Patient Name OR Corporate Name OR Company IDIF Patient ID Search Button = CLICKED THEN

    SHOW Patient Search Results Form

    END IF

    IF Patient Name Search Button = CLICKED THENSHOW Patient Search Results Form

    END IF

    IF Corporate Name Search Button = CLICKED THEN

    SHOW Patient Search Results Form

    END IF

    IF Company ID Search Button = CLICKED THEN

    SHOW Patient Search Results Form

    END IF

    END

    5.7 PATIENT SEARCH RESULTS FORM

    BEGIN

    Search Type Label = Type of Search FROM Search Patient Form

    Search Term Label = Search Keyword FROM Search Patient Form

    IF Search Type = Patient ID THEN

    SHOW Patient Details FROM Patient Details Table ORDER BY

    Patient ID

    END IF

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    28/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    15

    IF Search Type = Patient Name THENSHOW Patient Details FROM Patient Details Table ORDER BY

    Patient NameEND IF

    IF Search Type = Corporate Name THEN

    SHOW Patient Details FROM Patient Details Table ORDER BY

    Corporate NameEND IF

    IF Search Type = Corporate ID THEN

    SHOW Patient Details FROM Patient Details Table ORDER BY

    Corporate ID

    END IF

    END

    5.8 ADD NEWDOCTOR FORM

    BEGIN

    READ First Name, Last NameREAD Date of Birth

    IF Date of Birth IS invalid THENDISPLAY Enter Valid Values

    END IFREAD NIC

    IF NIC IS invalid THENDISPLAY Enter Valid Values

    END IFREAD Address

    READ Mobile, Residence

    IF Mobile OR Residence IS invalid THEN

    DISPLAY Enter Valid ValuesEND IF

    READ Email

    READ Account Type, Department, Specialty, Fees

    IF Save Button = CLICKED THEN

    STORE First Name, Last Name, Date of Birth, NIC, Address, Mobile,

    Residence, Email, Account Type, Department, Specialty, Fees IN

    Doctor Details Table

    END IF

    END

    5.9 DELETE / UPDATE DOCTOR SEARCH FORM

    BEGIN

    READ Doctor ID

    IF View Button = CLICKED THEN

    SHOW Delete / Update Doctor Form

    END IF

    END

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    29/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    16

    5.10 DELETE / UPDATE DOCTOR FORM

    BEGINREAD First Name, Last Name

    READ Date of BirthIF Date of Birth IS invalid THEN

    DISPLAY Enter Valid Values

    END IF

    READ NIC

    IF NIC IS invalid THEN

    DISPLAY Enter Valid Values

    END IF

    READ Address

    READ Mobile, Residence

    IF Mobile OR Residence IS invalid THEN

    DISPLAY Enter Valid Values

    END IFREAD Email

    READ Account Type, Department, Specialty, FeesIF Save Button = CLICKED THEN

    UPDATE First Name, Last Name, Date of Birth, NIC, Address,Mobile, Residence, Email, Account Type, Department, Specialty,

    Fees IN Doctor Details TableEND IF

    IF Delete Button = CLICKED THENDELETE record

    END IF

    END

    5.11 SEARCH DOCTOR FORM

    BEGINREAD Doctor ID OR Doctor Name OR Specialty OR Type

    IF Doctor ID Search Button = CLICKED THENSHOW Doctor Search Results Form

    END IFIF Doctor Name Search Button = CLICKED THEN

    SHOW Doctor Search Results Form

    END IFIF Specialty Search Button = CLICKED THEN

    SHOW Doctor Search Results Form

    END IF

    IF Type Search Button = CLICKED THEN

    SHOW Doctor Search Results Form

    END IF

    END

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    30/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    17

    5.12 SEARCH DOCTOR RESULTS FORM

    BEGIN

    Search Type Label = Type of Search FROM Search Doctor FormSearch Term Label = Search Keyword FROM Search Doctor Form

    IF Search Type = Doctor ID THEN

    SHOW Doctor Details FROM Doctor Details Table ORDER BY

    Doctor ID

    END IF

    IF Search Type = Doctor Name THEN

    SHOW Doctor Details FROM Doctor Details Table ORDER BY

    Doctor Name

    END IF

    IF Search Type = Specialty THEN

    SHOW Doctor Details FROM Doctor Details Table ORDER BY

    SpecialtyEND IF

    IF Search Type = Type THENSHOW Doctor Details FROM Doctor Details Table ORDER BY

    Doctor TypeEND IF

    END

    5.13 ADD NEWCOMPANY FORM

    BEGIN

    READ Name

    READ Abbreviation

    IF Abbreviation IS invalid THEN

    DISPLAY Enter Valid ValuesEND IF

    READ Address, EmailREAD Account Type, Department, Specialty, Fees

    READ Authorized NameREAD Authorized Contact Number

    IF Authorized Contact Number IS invalid THENDISPLAY Enter Valid Values

    END IF

    IF Save Button = CLICKED THENSTORE Name, Abbreviation, Address, Email, Authorized Name,

    Authorized Contact IN Company Details Table

    END IF

    END

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    31/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    18

    5.14 DELETE / UPDATE COMPANY SEARCH FORM

    BEGINREAD Company ID

    IF View Button = CLICKED THENSHOW Delete / Update Company Form

    END IFEND

    5.15 DELETE / UPDATE COMPANY FORM

    BEGINREAD Name

    READ AbbreviationIF Abbreviation IS invalid THEN

    DISPLAY Enter Valid ValuesEND IF

    READ Address, EmailREAD Account Type, Department, Specialty, Fees

    READ Authorized Name

    READ Authorized Contact Number

    IF Authorized Contact Number IS invalid THEN

    DISPLAY Enter Valid Values

    END IF

    IF Save Button = CLICKED THEN

    UPDATE Name, Abbreviation, Address, Email, Authorized Name,

    Authorized Contact IN Company Details Table

    END IF

    END

    5.16 SEARCH COMPANY FORM

    BEGIN

    READ Company Name OR Abbreviation

    IF Company Name Search Button = CLICKED THENSHOW Company Search Results Form

    END IFIF Abbreviation Search Button = CLICKED THEN

    SHOW Company Search Results FormEND IF

    END

    5.17 SEARCH COMPANY RESULTS FORM

    BEGIN

    Search Type Label = Type of Search FROM Search Doctor FormSearch Term Label = Search Keyword FROM Search Doctor Form

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    32/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    19

    IF Search Type = Company Name THENSHOW Company Details FROM Company Details Table ORDER

    BY Company NameEND IF

    IF Search Type = Abbreviation THEN

    SHOW Company Details FROM Company Details Table ORDER

    BY AbbreviationEND IF

    END

    5.18 ADD / MODIFY / DELETE UNIT FORM

    BEGIN

    LOAD Unit Details FROM Unit Details Table

    IF Next Button = CLICKED THEN

    LOAD Next Record

    END IFIF Previous Button = CLICKED THEN

    LOAD Previous RecordEND IF

    IF Last Button = CLICKED THENLOAD Last Record

    END IFIF First Button = CLICKED THEN

    LOAD First RecordEND IF

    IF Add Button = CLICKED THEN

    READ Unit Name, Type, Department, ChargeSTORE Unit Name, Type, Department, Charge IN Unit Details Table

    END If

    IF Update Button = CLICKED THEN

    READ Unit Name, Type, Department, Charge

    UPDATE Unit Name, Type, Department, Charge IN Unit Details

    Table

    END IF

    IF Delete Button = CLICKED THEN

    DELETE Record FROM Unit Details Table

    END IFIF Clear Button = CLICKED THEN

    Clear Text BoxesEND IF

    END

    5.19 UNIT SEARCH FORM

    BEGIN

    READ Unit Name

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    33/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    20

    IF Search Button = CLICKED THENSHOW Unit Search Results Form

    END IFEND

    5.20 UNIT SEARCH RESULTS FORMBEGIN

    Search Term Label = Search Keyword FROM Unit Search Form

    LOAD Unit Details FROM Unit Details Table ORDER BY Unit Name

    END

    5.21 ADD / MODIFY / DELETE DEPARTMENT FORM

    BEGIN

    LOAD Department Details FROM Department Details Table

    IF Next Button = CLICKED THEN

    LOAD Next RecordEND IF

    IF Previous Button = CLICKED THENLOAD Previous Record

    END IF

    IF Last Button = CLICKED THEN

    LOAD Last Record

    END IF

    IF First Button = CLICKED THEN

    LOAD First Record

    END IF

    IF Add Button = CLICKED THEN

    READ Name, Location

    STORE Name, Location IN Department Details TableEND If

    IF Update Button = CLICKED THENREAD Name, Location

    UPDATE Name, Location IN Department Details TableEND IF

    IF Delete Button = CLICKED THENDELETE Record FROM Department Details Table

    END IF

    IF Clear Button = CLICKED THENClear Text Boxes

    END IF

    END

    5.22 ADD NEW TREATMENT FORM

    BEGIN

    READ Patient ID

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    34/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    21

    IF Patient ID Search Button = CLICKED THENSHOW Search Patients Form

    END IFREAD Doctor ID

    IF Doctor ID Search Button = CLICKED THEN

    SHOW Search Doctor Form

    END IFREAD Sickness

    READ Treatment Start Date

    IF Treatment Start Date IS Invalid THEN

    DISPLAY Enter Valid Values

    END IF

    READ Remarks

    IF Save Button = CLICKED THEN

    STORE Patient ID, Doctor ID, Sickness, Treatment Start Date,

    Remarks IN Treatment Details TableEND IF

    IF Clear Button = CLICKED THEN

    Clear Text BoxesEND IF

    END

    5.23 SEARCH TREATMENT FORM

    BEGIN

    READ Patient ID

    IF View Button = CLICKED THEN

    SHOW Treatment Search Results FormEND IF

    END

    5.24 TREATMENT SEARCH RESULTS FORM

    BEGINLOAD Treatment Details FROM Treatment Details Table ORDER BY

    Patient ID

    READ Treatment ID

    IF Update Button = CLICKED THENSHOW Update Treatment Details Form

    ELSE IF

    END

    5.25 UPDATE TREATMENT DETAILS FORMS

    BEGIN

    READ Treatment End Date, Remarks

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    35/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    22

    IF Treatment End Date IS Invalid THENDISPLAY Invalid Entry

    END IFIF Add Service Button = CLICKED THEN

    SHOW Add Service Form

    END IF

    IF Update Button = CLICKED THENUPDATE Treatment End Date, Remarks IN Treatment Details Table

    END IF

    If Delete Button = CLICKED THEN

    Delete Record

    END IF

    END

    5.26 ADD SERVICE FORM

    BEGIN

    LOAD Unit Details FROM Unit Details TableREAD Unit ID, No. of Time used

    IF Save Button = CLICKED THENSTORE Unit ID, No. of Times Used IN Treatment Unit Details Table

    END IFEND

    5.27 SEARCH TRANSACTIONS FORM

    BEGIN

    READ Patient ID

    IF Search Button = CLICKED THEN

    SHOW Bill Details Form

    ELSE IF

    END

    5.28 BILL DETAILS FORM

    BEGIN

    LOAD Unpaid Treatment Details FROM Treatment Details TableREAD Payment Method

    SHOW Bill TotalIF Create Bill Button = CLICKED THEN

    STORE Payment Method, Invoice StatusSHOW Bill Report

    END IFEND

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    36/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    23

    5.29 INVOICE UPDATE SEARCH FORM

    BEGINREAD Invoice ID

    IF Search Button = CLICKED THENSHOW Invoice Update Form

    ELSE IFEND

    5.30 INVOICE UPDATE FORM

    BEGIN

    READ Invoice StatusIF Update Button = CLICKED THEN

    UPDATE Invoice Status IN Invoice Details TableEND IF

    END

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    37/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    24

    6.0 DATA FLOW DIAGRAMS

    6.1 CONTEXT DIAGRAM

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    38/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    25

    6.2 LEVEL 0

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    39/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    26

    6.3 LEVEL 1 DOCTOR PROCESS

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    40/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    27

    6.3 LEVEL 1 PATIENT PROCESS

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    41/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    28

    6.3.1 LEVEL 2 PATIENT PROCESS

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    42/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    29

    6.3.2 LEVEL 2 CORPORATE PROCESS

    CORPORATE

    BUSINESS

    ADMIN

    New Compan

    Updated Company

    Comp

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    43/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    30

    6.3.3 LEVEL 2 MEDICAL HISTORY PROCESS

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    44/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    31

    6.4 LEVEL 1 CHARGE RATE PROCESS

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    45/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    32

    6.4.1 LEVEL 2 UNIT MAINTAINENCE PROCESS

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    46/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    33

    6.4.2 LEVEL 2 UNIT CHARGE RATE PROCESS

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    47/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    34

    6.5 LEVEL 1 TRANSACTION PROCESS

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    48/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    35

    7.0 DATA DICTIONARIES

    7.1 DATA STORES

    Name Doctor File

    Description Contains all the details related to the doctors present in thesystem. The doctor file also keeps records of the functionalities

    and specializations of each doctor. It helps the processes to

    search and helps patients find appropriate doctors at ease.

    Input Data

    Flowsy Add New Doctory Processed Doctor Detailsy Nullify Doctory Doctor Search Parameters

    Output Data

    Flowsy List of Doctorsy Doctor Details

    Data Structure Doctor File =

    Doctor ID+Doctor First Name+Doctor Last Name+

    Doctor Age+Doctor NIC+

    Doctor Speciality+Doctor Account Type+

    Doctor Status+Department ID+

    Doctor Address+

    Doctor Mobile+

    Doctor Residence+

    Doctor Email+Doctor Fees

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    49/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    36

    Name Patient File

    Description Contains information regarding a patient and all the treatment

    details that a patient received. Also the details as to if he is a private patient or a corporate patient. It helps the system to

    maintain records of who it has treated and in what manner da patient was treated. Also helps in the calculation of bills and

    keeping track of which patients have outstanding payments.

    Input Data

    Flowsy New Patient Detailsy Updated Patient Detailsy Remove Patient Detailsy Request Patient Detailsy Patient Surnamey Company Name / Codey

    Treatment Detailsy Patient IDy Patient ID

    Output Data

    Flowsy Patient Listy Patient Detailsy Corporation Patient Listy Patient Medical Historyy Patient Details and Treatment Details

    Data Structure Patient FilesPatient ID +

    Patient First Name +Patient Last name +

    Patient Age +Patient NIC +

    Patient Account Type +

    Patient Status +

    Patient Address +

    Patient Mobile No +

    Patient Residence No +

    Patient Email +

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    50/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    37

    Name Unit FileDescription Contains information regarding the units and the individual

    charge rates per unit. This information is vital for bill

    calculations that will be later given to the patient.

    Input Data

    Flowsy New Unit Detailsy Delete Unity Update unit Detailsy New Rate Informationy Edited Rate Detailsy Remove Unit Ratey Unit Idy Unit Rate Search Parametersy Unit ID

    Output Data

    Flowsy List of Services and Chargesy Charge Rate Detailsy Unit Charge Details

    Data Structure Unit File =Unit Name+

    Unit Type+

    Department ID+

    Unit Charges Per Use

    Name Account FileDescription This data store contains the information regarding the payments

    that have been made and the details of bills that the patient has

    failed to pay for. This is used by the administration mainly to

    keep track of patient accounts and in maintaining reports of

    aging accounts.

    Input Data

    Flowsy Add New Accounty Report Parametersy Patient IDy Patient IDy Payment Details

    Output DataFlowsy

    Receiptsy Patient Account Detailsy Transaction Details

    Data Structure Account File =

    Account ID+

    Patient ID

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    51/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    38

    Name Corporate File

    Description Contains the details of the corporations primarily. This

    information is used mainly to cross refer when searching as to

    which corporation which patient belongs to.

    Input Data

    Flowsy New Company Detailsy Updated Company Detailsy Remove company Detailsy Company Name / Abbreviationy Company Name / Code

    Output Data

    Flows

    y Company Detailsy Company Details

    Data Structure Corporate File

    Corporate ID+

    Corporate Name+

    Corporate Abbreviation+

    Corporate Address+

    Corporate Authorized Name+Corporate Authorized Contact+

    Corporate Account Status

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    52/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    39

    7.2 DATA FLOWS

    Name New Doctor Details

    Description Provides the process information regarding a new doctor to be

    added into the system.

    Origin/Source Doctor External Entity

    Destination 1.1 New Doctor ProcessData Structure New Doctor Details =

    Doctor ID+

    Doctor First Name+

    Doctor Last Name+

    Doctor Age+

    Doctor NIC+Doctor Speciality+

    Doctor Account Type+Doctor Status+

    Department ID+Doctor Address+

    Doctor Mobile+Doctor Residence+

    Doctor Email+

    Doctor Fees

    Name Add New Doctor

    Description Gives the system information regarding a new doctor so that it can

    be written into the system.

    Origin/Source 1.1 New Doctor Process

    Destination Doctor File Data Store

    Data Structure New Doctor =

    Doctor ID+Doctor First Name+

    Doctor Last Name+Doctor Age+

    Doctor NIC+Doctor Speciality+

    Doctor Account Type+

    Doctor Status+

    Department ID+

    Doctor Address+

    Doctor Mobile+

    Doctor Residence+Doctor Email+

    Doctor Fees

    Name Modified Doctor Details

    Description Gives the process information regarding a existing doctor to write

    into the system.

    Origin/Source Doctor External Entity

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    53/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    40

    Destination 1.2 Update Doctor Process

    Data Structure Modified Doctor Details=

    (Doctor First Name)+

    (Doctor Last Name)+

    (Doctor Age)+

    (Doctor NIC)+

    (Doctor Speciality)+(Doctor Account Type)+

    (Doctor Status)+

    (Department ID)+

    (Doctor Address)+

    (Doctor Mobile)+(Doctor Residence)+

    (Doctor Email)+(Doctor Fees)

    Name Processed Doctor Details

    Description Sends information from the process to the system so that the newinformation can be written regarding an existing doctor.

    Origin/Source 1.2 Update Doctor Process

    Destination Doctor File Data Store

    Data Structure Processed Doctor Details =(Doctor First Name)+

    (Doctor Last Name)+(Doctor Age)+

    (Doctor NIC)+

    (Doctor Speciality)+

    (Doctor Account Type)+

    (Doctor Status)+

    (Department ID)+

    (Doctor Address)+

    (Doctor Mobile)+

    (Doctor Residence)+

    (Doctor Email)+

    (Doctor Fees)

    Name Doctor ID

    Description Gives the process the doctor ID so that it can search the systemand delete the relevant records.

    Origin/Source Admin External EntityDestination 1.3 Delete Doctor Process

    Data Structure Doctor ID = Doctor ID

    Name Nullify Doctor

    Description Sends the system information regarding which doctor is required

    to be removed from the system.

    Origin/Source 1.3 Delete Doctor Process

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    54/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    41

    Destination Doctor File External Entity

    Data Structure Nullify Doctor= Doctor ID

    Name Doctor ID / Surname / Speciality

    Description Provides the search parameters for the process to look up a

    specific doctor.Origin/Source Admin External Entity

    Destination 1.4 Enquiry Process

    Data Structure Doctor ID / Surname / Speciality=

    [ Doctor ID / Surname / Speciality ]

    Name Surname / Speciality

    Description Provides the search parameters for the process to look up a doctor

    that is needed by the patient.

    Origin/Source Patient External Entity

    Destination 1.4 Enquiry Process

    Data Structure Surname / Speciality =[ Surname / Speciality]

    Name Doctor Details

    Description Provides the Patient the details of the doctor(s) that were available

    under the criteria that were provided.

    Origin/Source 1.4 Enquiry Process

    Destination Patient External Entity

    Data Structure Doctor Details =Doctor First Name+

    Doctor Last Name+

    Doctor Speciality+

    Doctor Status+

    Department ID+

    Doctor Fees

    Name Doctor Details

    Description Provides the Administration with a list of the doctor(s) that were

    searched for under the criteria that was given.

    Origin/Source 1.4 Enquiry Process

    Destination Admin External Entity

    Data Structure Doctor Details =Doctor First Name+

    Doctor Last Name+

    Doctor Speciality+

    Doctor Status+

    Department ID+Doctor Fees

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    55/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    42

    Name Doctor Search Parameters

    Description The process gives the system the search parameters that are

    required to retrieve the specific records pertaining to the doctor(s).

    Origin/Source 1.4 Enquiry Process

    Destination Doctor Data Store

    Data Structure Doctor Search Parameters =

    [ Doctor ID / Surname / Speciality ]

    Name Doctor Details

    Description Returns the details of the Doctor(s) that were requested by the

    process to be given to the user.

    Origin/Source Doctor File Data Store

    Destination 1.4 Enquiry Process

    Data Structure Doctor Details =

    Doctor First Name+Doctor Last Name+

    Doctor Speciality+Doctor Status+

    Department ID+

    Doctor Fees

    Name Report Type

    Description Tells the process what sort of report the user wishes to view and

    designs the report accordingly.

    Origin/Source Admin External Entity

    Destination 1.5 Report Process

    Data Structure Report Type=

    [Referral / Service Provider / All ]

    Name Referral Doctor List

    Description Gives the Administration a report of the Referral doctors available

    in the system.

    Origin/Source 1.5 Report Process

    Destination Admin External Entity

    Data Structure Referral Doctor =

    Doctor ID+Doctor First Name+

    Doctor Last Name+Doctor Age+

    Doctor NIC+

    Doctor Speciality+Doctor Account Type+

    Doctor Status+

    Department ID+

    Doctor Address+

    Doctor Mobile+

    Doctor Residence+

    Doctor Email+

    Doctor Fees

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    56/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    43

    Name Service Provider Doctor List

    Description Gives the Administration a report of the Service Provider doctors

    available in the system.

    Origin/Source 1.5 Report Process

    Destination Admin External EntityData Structure Service Provider Doctor List =

    Doctor ID+

    Doctor First Name+

    Doctor Last Name+Doctor Age+

    Doctor NIC+Doctor Speciality+

    Doctor Account Type+Doctor Status+

    Department ID+Doctor Address+

    Doctor Mobile+Doctor Residence+Doctor Email+

    Doctor Fees

    Name All Doctor List

    Description Gives the Administration a report of all the Doctors available in

    the system.

    Origin/Source 1.5 Report Process

    Destination Admin External Entity

    Data Structure All Doctor list =

    Doctor ID+

    Doctor First Name+

    Doctor Last Name+

    Doctor Age+

    Doctor NIC+

    Doctor Speciality+

    Doctor Account Type+

    Doctor Status+Department ID+

    Doctor Address+Doctor Mobile+

    Doctor Residence+Doctor Email+

    Doctor Fees

    Name List of Doctors

    Description Retrieves a list of all the doctors available in the system.

    Origin/Source Doctor File Data Store

    Destination 1.5 Report Process

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    57/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    44

    Data Structure List of Doctors=

    Doctor ID+

    Doctor First Name+

    Doctor Last Name+

    Doctor Age+

    Doctor NIC+

    Doctor Speciality+Doctor Account Type+

    Doctor Status+

    Department ID+Doctor Address+

    Doctor Mobile+Doctor Residence+

    Doctor Email+Doctor Fees

    Name New Patient Details

    Description Contains the details of a new patient to be added to the system.

    Origin/Source Patient External Entity

    Destination 2.1.1 Add New Patient Details Process

    Data Structure New Patient Details =Patient ID +

    Patient First Name +

    Patient Last name +

    Patient Age +

    Patient NIC +

    Patient Account Type +

    Patient Status +

    Patient Address +Patient Mobile No +

    Patient Residence No +

    Patient Email +

    Name New Patient Details

    Description Carries data from the New patient details process to enter into the

    system.

    Origin/Source 2.1.1 Add New Patient Details Process

    Destination Patient File Data Store

    Data Structure New Patient Details =

    Patient ID +Patient First Name +

    Patient Last name +Patient Age +

    Patient NIC +Patient Account Type +

    Patient Status +Patient Address +

    Patient Mobile No +

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    58/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    45

    Patient Residence No +

    Patient Email +

    Name Updated Patient Details

    Description Send Updated information regarding a particular patient to be

    modified in the System.Origin/Source Patient External Entity

    Destination 2.1.2 Update Patient Details Process

    Data Structure New Patient Details =

    (Patient First Name) +

    (Patient Last name) +

    (Patient Age) +

    (Patient NIC ) +

    (Patient Account Type) +

    (Patient Status) +(Patient Address) +

    (Patient Mobile No) +(Patient Residence No) +

    (Patient Email) +

    Name Updated Patient Details

    Description Carries the Update information from the process to be written into

    the data store.

    Origin/Source 2.1.2 Update Patient Details Process

    Destination Patient File Data Store

    Data Structure Updated Patient Details =

    (Patient First Name) +

    (Patient Last name) +(Patient Age) +

    (Patient NIC ) +

    (Patient Account Type) +(Patient Status) +

    (Patient Address) +(Patient Mobile No) +

    (Patient Residence No) +

    (Patient Email) +

    Name Patient ID

    Description Carries the Patients ID so that a particular entry can be deletedfrom the system.

    Origin/Source Admin External Entity

    Destination 2.1.3 Delete Patient Details

    Data Structure Patient ID =

    Patient ID

    Name Remove Patient Details

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    59/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    46

    Description Deletes the information of a particular patient from the system.

    Origin/Source 2.1.3 Delete Patient Details Process

    Destination Patient File Data Store

    Data Structure Remove Patient Details =Patient ID

    Name Patient ID / Patient Name

    Description Carries either the Patients name or the ID so that a search can be

    carried out on that particular patient.

    Origin/Source Admin External Entity

    Destination 2.1.4 Patient Enquiry Process

    Data Structure Patient ID / Patient Name =

    [Patient ID / Patient Name ]

    Name Patient Details

    Description Gives the Administration detailed information regarding a

    searched patient.

    Origin/Source 2.1.4 Patient Enquiry Process

    Destination Admin External Entity

    Data Structure Patient Details =

    (Patient First Name) +(Patient Last name) +

    (Patient Age) +(Patient NIC ) +

    (Patient Account Type) +(Patient Status) +

    (Patient Address) +

    (Patient Mobile No) +(Patient Residence No) +

    (Patient Email) +

    Name Request Patient Details

    Description Sends details of the requested information regarding a particular

    patient to the system to be retrieved.

    Origin/Source 2.1.4 Patient Enquiry Process

    Destination Patient File Data Store

    Data Structure Request Patient Details =[Patient ID / Patient Name ]

    Name Patient Details

    Description Brings the details of the searched patient as specified by the user.

    Origin/Source Patient file Data Store

    Destination 2.1.4 Patient Enquiry Process

    Data Structure Patient Details =(Patient First Name) +

    (Patient Last name) +

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    60/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    47

    (Patient Age) +

    (Patient NIC ) +

    (Patient Account Type) +

    (Patient Status) +

    (Patient Address) +

    (Patient Mobile No) +

    (Patient Residence No) +(Patient Email) +

    Name Patient Surname

    Description Takes the patients surname as the search criteria for the processto search.

    Origin/Source Admin External Entity

    Destination 2.1.5 List Patent Process

    Data Structure Patient Surname =Patient Surname

    Name Patients List

    Description A list of the patients information will be presented to the

    Administration.

    Origin/Source 2.1.5 List Patent Process

    Destination Admin External Entity

    Data Structure Patients List =

    (Patient First Name) +

    (Patient Last name)

    Name Patient SurnameDescription Provides the surname of the patient as search parameters to thesystem so that the details can be extracted from the system.

    Origin/Source 2.1.5 List Patient Process

    Destination Patient File Data Store

    Data Structure Patient Surname =

    Patient Surname

    Name Patients List

    Description Takes a list containing all the information of a searched patient to

    be given to the user.

    Origin/Source Patient File Data StoreDestination 2.1.5 List Patient Process

    Data Structure Patients List =

    (Patient First Name) +

    (Patient Last name)

    Name New Company Details

    Description Takes details of the new company to add to the system.

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    61/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    48

    Origin/Source Corporate Business External Entity

    Destination 2.2.1 Add New Corporate Details Process

    Data Structure New Company Details =

    Corporate ID+

    Corporate Name+

    Corporate Abbreviation+

    Corporate Address+Corporate Authorized Name+

    Corporate Authorized Contact+

    Corporate Account Status

    Name New Company Details

    Description Takes the details of the new company and adds it to the system.

    Origin/Source 2.2.1 add New Corporate Details Process

    Destination Corporate File Data Store

    Data Structure New Company Details =

    Corporate ID+

    Corporate Name+

    Corporate Abbreviation+

    Corporate Address+

    Corporate Authorized Name+Corporate Authorized Contact+

    Corporate Account Status

    Name Updated Company Details

    Description Takes the updated information regarding a company to be edited

    in the system.

    Origin/Source Corporate Business External EntityDestination 2.2.2 Update Corporate Details Process

    Data Structure Updated Company Details =

    (Corporate Name)+

    (Corporate Abbreviation)+

    (Corporate Address)+

    (Corporate Authorized Name)+

    (Corporate Authorized Contact)+(Corporate Account Status)

    Name Updated Corporate Details

    Description Updates the system with the new information regarding anexisting corporate business.

    Origin/Source 2.2.2 Update Corporate Details Process

    Destination Corporate File Data Store

    Data Structure Updated Corporate Details =

    (Corporate Name)+(Corporate Abbreviation)+

    (Corporate Address)+(Corporate Authorized Name)+

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    62/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    49

    (Corporate Authorized Contact)+

    (Corporate Account Status)

    Name Company ID

    Description Provides the process with the company ID of the company which

    is to be deleted.Origin/Source Admin External Entity

    Destination 2.2.3 Delete Corporate Details Process

    Data Structure Company ID =

    Corporate ID

    Name Remove Company Details

    Description Deletes the information of a particular company from the system.

    Origin/Source 2.2.3 Delete Corporate Details Process

    Destination Corporate File Data Store

    Data Structure Remove Company Details =

    Corporate ID

    Name Company Name / Abbreviation

    Description Gives the process the companies name or abbreviation of the

    company which the user wants to search.

    Origin/Source Admin External Entity

    Destination 2.2.4 Corporate Enquiry Process

    Data Structure Company Name / Abbreviation =

    [Name / Abbreviation]

    Name Company Details

    Description Provides the user with the details of company that was searched.

    Origin/Source 2.2.4 Corporate Enquiry Process

    Destination Admin External Entity

    Data Structure Company Details =

    Corporate ID+Corporate Name+

    Corporate Abbreviation+Corporate Address+

    Corporate Authorized Name+Corporate Authorized Contact+

    Corporate Account Status

    Name Company Name / Abbreviation

    Description Provides the system with the company name or abbreviation so

    that the required information can be extracted from the system.

    Origin/Source 2.2.4 Corporate Enquiry Process

    Destination Corporate File Data Store

    Data Structure Company Name / Abbreviation =

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    63/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    50

    [Name / Abbreviation]

    Name Company Details

    Description Returns the details of the company that was searched to the

    process to be given to the user.

    Origin/Source Corporate File Data StoreDestination 2.2.4 Corporate Enquiry Process

    Data Structure Company Details =

    Corporate ID+

    Corporate Name+

    Corporate Abbreviation+

    Corporate Address+

    Corporate Authorized Name+

    Corporate Authorized Contact+

    Corporate Account Status

    Name Company Name / Code

    Description Takes the company name or the code as given by the user to theprocess to be searched in the system.

    Origin/Source Admin External Entity

    Destination 2.2.5 List Corporate Patients Process

    Data Structure Company Name / Code =

    [Name / Code]

    Name Corporate Patient List

    Description Provides the user with the detailed list of all the patients that are

    registered under a particular corporation.Origin/Source 2.2.5 List Corporate Patients Process

    Destination Admin External Entity

    Data Structure Corporate Patient List =

    Corporate ID+

    Corporate Name+

    Corporate Authorized Name+

    Corporate Patient ID +

    Corporate Patient First Name +

    Corporate Patient Last name +Corporate Account Type +

    Corporate Status

    Name Company Details

    Description Provides the process with the company details extracted from thesystem to meet the user specifications.

    Origin/Source Corporate File Data Store

    Destination 2.2.5 List Corporate Patients Process

    Data Structure Company Details =

    Corporate ID+

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    64/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    51

    Corporate Name+

    Corporate Abbreviation+

    Corporate Address+

    Corporate Authorized Name+

    Corporate Authorized Contact+

    Corporate Account Status

    Name Company Name / Code

    Description Provides the system with the corporate name so that the details ofthe corporation can be extracted from the system.

    Origin/Source 2.2.5 List Corporate Patient Process

    Destination Corporate File Data Store

    Data Structure Company Name / Code =

    [Name / Code]

    Name Company Name / Code

    Description Provides the system with the corporate name so that the details of

    the corporation can be extracted from the patient file.

    Origin/Source 2.2.5 List Corporate Patient Process

    Destination Patient File Data Store

    Data Structure Company Name / Code =

    [Name / Code]

    Name Corporate Patient List

    Description Provides the process with the details of patients associated with a

    particular company.

    Origin/Source Patient File Data StoreDestination 2.2.5 List corporate Patient Process

    Data Structure Corporate Patient List =

    Corporate ID+

    Corporate Name+

    Corporate Authorized Name+

    Corporate Patient ID +

    Corporate Patient First Name +

    Corporate Patient Last name +

    Corporate Account Type +Corporate Status

    Name Treatment Details

    Description Gives the details of the treatment provided to a patent to the

    system.

    Origin/Source Admin External Entity

    Destination 2.3.1 Add Medical History

    Data Structure Treatment Details =

    Patient ID+

    Doctor ID+

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    65/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    52

    Sickness+

    Treatment Start Date+

    Treatment End Date+

    Treatment Remarks+

    Treatment Status

    Name Treatment Details

    Description Updates the patient file with the treatment details that were

    provided.

    Origin/Source 2.3.1 Add Medical History

    Destination Patient File Data Store

    Data Structure Treatment Details =

    Patient ID+

    Doctor ID+

    Sickness+Treatment Start Date+

    Treatment End Date+Treatment Remarks+

    Treatment Status

    Name Patient ID

    Description Provides the Patients ID to the system so that the details of his

    medical history can be retrieved from the system.

    Origin/Source Admin External Entity

    Destination 2.3.2 View Medical History Process

    Data Structure Patient ID =

    Patient ID

    Name Patient Medical History

    Description Provides the user of the system with the information regarding thepatients medical history.

    Origin/Source 2.3.2 View Medial History Process

    Destination Admin External Entity

    Data Structure Patient Medical History =

    Patient ID+

    Patient NameSickness+

    Treatment Start Date+

    Treatment End Date+Treatment Remarks+Treatment Status

    Name Patient ID

    Description Provides the system with patient ID as search parameters so that

    the information regarding the patients medical history can be

    accessed.

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    66/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    53

    Origin/Source 2.3.2 View Medical History Process

    Destination Patient File Data Store

    Data Structure Patient ID =

    Patient ID

    Name Patient Medical HistoryDescription Provides the process with the medical history of a particular

    patient so that it can be provided to the user.

    Origin/Source Patient File Data Store

    Destination 2.3.2 View Medical History

    Data Structure Patient Medical History =

    Patient ID+

    Patient Name

    Sickness+

    Treatment Start Date+

    Treatment End Date+

    Treatment Remarks+

    Treatment Status

    Name New Unit Details

    Description Gives the process the details of a new unit to be added to thesystem.

    Origin/Source Admin External Entity

    Destination 3.1.1 Add New Unit Process

    Data Structure New Unit Details =

    Unit ID +

    Unit Name +

    Unit type +Department ID +

    Unit charge per Unit

    Name New Unit Details

    Description Provides the details of the new unit to the system files so that it

    can be added.

    Origin/Source 3.1.1 Add New Unit Details Process

    Destination Unit File Data Store

    Data Structure New Unit Details =

    Unit ID+

    Unit Name +Unit type +Department ID +

    Unit charge per Unit

    Name Updated Unit Details

    Description Provides the process with new details of an existing unit so that it

    can be changed in the system.

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    67/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    54

    Origin/Source Admin External Entity

    Destination 3.1.2 Update Unit Details Process

    Data Structure Updated Unit Details =

    (Unit Name) +

    (Unit type) +

    (Department ID) +

    (Unit charge per Unit)

    Name Updated Unit Details

    Description Provides the system with the new information regarding an

    existing so that it can update its files.

    Origin/Source 3.1.2 Update Unit Details Process

    Destination Unit File Data Store

    Data Structure Updated Unit Details =

    (Unit Name) +

    (Unit type) +

    (Department ID) +

    (Unit charge per Unit)

    Name Unit ID

    Description Sends the Unit ID so that the system can search the system for the

    Unit and delete it from the system.

    Origin/Source Admin External Entity

    Destination 3.1.3 Delete Unit Process

    Data Structure Unit ID =

    Unit ID

    Name Delete UnitDescription Sends the Delete instructions to the system so that the appropriate

    record can be removed from the system.

    Origin/Source 3.1.3 Delete Unit Process

    Destination Unit File Data Store

    Data Structure Delete Unit =

    Unit ID

    Name New Rate Information

    Description Sends the details of new rates to the process so that it can be

    added into the system.

    Origin/Source Admin External Entity

    Destination 3.2.1 Add New Rates Process

    Data Structure New Rate Information =

    Unit ID +

    Unit Name +

    Unit Type +

    Department ID +Unit charge per Unit

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    68/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    55

    Name New Rate Information

    Description Adds the new rate information to the system so that it can be

    added to the data store.

    Origin/Source 3.2.1 Add New Rate Process

    Destination Unit File Data StoreData Structure New Rate Information =

    Unit ID +

    Unit Name +

    Unit Type +Department ID +

    Unit charge per Unit

    Name Revised Rate Details

    Description Provides the process with new rate information so that the system

    can be updated.

    Origin/Source Admin External EntityDestination 3.2.2 Edit Rate Detail Process

    Data Structure Revised Rate details =

    Unit Name +Unit Type +

    Department ID +Unit charge per Unit

    Name Edited Rate Details

    Description Edits the information in the system with the new information.

    Origin/Source 3.2.2 Edit Rate Details Process

    Destination Unit File Data StoreData Structure Edited Rate Details =

    Unit Name +

    Unit Type +

    Department ID +

    Unit charge per Unit

    Name Unit ID

    Description Gives the ID of the unit of which the details regarding the rates

    are to be removed.

    Origin/Source Admin External Entity

    Destination 3.2.3 Delete Charge Rates Process

    Data Structure Unit ID =

    Unit ID

    Name Remove Unit Rates

    Description Removes the rates of a particular Unit from the system.

    Origin/Source 3.2.3 Delete Charge Rates Process

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    69/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    56

    Destination Unit File Data Store

    Data Structure Remove Unit Rates =

    Unit ID

    Name Unit ID

    Description Provides the Unit ID as search parameters for the process tosearch for charge details.

    Origin/Source Admin External Entity

    Destination 3.2.4 Search Process

    Data Structure Unit ID =

    Unit ID

    Name Charge Rate Information

    Description Returns the details of the charge rates of a particular unit to the

    user.

    Origin/Source 3.2.4 Search Process

    Destination Admin External EntityData Structure Charge Rate Information =

    Unit ID +

    Unit Name +

    Unit Type +

    Department ID +Unit charge per Unit

    Name Unit Rate Search Parameters

    Description Sends the search parameters to the system so that the requiredinformation can be retrieved.

    Origin/Source 3.2.4 Search Process

    Destination Unit File Data Store

    Data Structure Unit Rate Search Parameters =

    Unit ID

    Name Charge Rate Details

    Description Provides the process with the searched information so that It can

    be presented to the user.

    Origin/Source Unit File Data Store

    Destination 3.2.4 Search Process

    Data Structure Charge Rate Details =Unit ID +

    (Unit Name) +

    (Unit Type) +

    (Department ID) +

    (Unit charge per Unit)

    Name Unit ID

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    70/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    57

    Description Sends the unit ID so that the system can be searched for details

    required and prepare a report.

    Origin/Source Admin External Entity

    Destination 3.2.5 Report Process

    Data Structure Unit ID =

    Unit ID

    Name Services and Charges Report

    Description Presents to the user a detailed report of the services and charges of

    a particular Unit.

    Origin/Source 3.2.5 Report Process

    Destination Admin External Entity

    Data Structure Services and Charges Report =

    Unit ID +

    Unit Name +

    Unit Type +

    Department ID +

    Unit charge per Unit

    Name Unit ID

    Description Gives the system the Unit ID as the search parameters so that therequired information can be extracted from the system.

    Origin/Source 3.2.5 Report Process

    Destination Unit File Data Store

    Data Structure Unit ID =

    Unit ID

    Name List of Services and Charges

    Description Sends the searched units services and charges details to theprocess so that it can be presented to the user.

    Origin/Source Unit File Data Store

    Destination 3.2.5 Report Process

    Data Structure List of Services and Charges =

    Unit ID +

    Unit Name +

    Unit Type +

    Department ID +

    Unit charge per Unit

    Name New Account Details

    Description Provides the system with the information regarding a new account

    relating to a patient or corporation to be opened.

    Origin/Source Admin External Entity

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    71/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    58

    Destination 4.1 Add New Account Details Process

    Data Structure New Account Details =

    Account ID+

    Patient ID

    Name Add New AccountDescription Gives the system the information regarding a new account so it

    can be written into the data store.

    Origin/Source 4.1 Add New Account Details Process

    Destination Account File Data Store

    Data Structure Add New Account =

    Account ID+

    Patient ID

    Name Report Parameters

    Description Provides the system with what the user would consider as an aged

    report.Origin/Source Admin External Entity

    Destination 4.2 Create Aging Report Process

    Data Structure Report Parameters =

    Invoice Status

    Name Transaction Aging Report

    Description Gives the user an aging report with the accounts and details of allaccounts outstanding by the date specified.

    Origin/Source 4.2 Create Aging Report Process

    Destination Admin External Entity

    Data Structure Transaction Aging Report =

    Account ID+

    Invoice Status+

    Invoice Total+

    Invoice Total Payable

    Name Report Parameters

    Description Gives the system the parameters for the search it has to run to pull

    up aged reports.

    Origin/Source 4.2 Create Aging Report Process

    Destination Account File Data Store

    Data Structure Report Parameters =

    Invoice Status

    Name Transaction Details

    Description Gives the process the transaction details for all outstandingtransactions that are outside the parameters specified.

    Origin/Source Account File Data Store

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    72/173

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    73/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    60

    charge rates can be obtained.

    Origin/Source 4.3 Calculate Bill Process

    Destination Unit File Data Store

    Data Structure Unit ID =Unit ID

    Name Unit Charges Details

    Description Returns the unit charges for a particular searched unit to the

    process.

    Origin/Source Unit File Data Store

    Destination 4.3 Calculate Bill Process

    Data Structure Unit Charges Details =

    Unit Name+

    Unit Type

    Name Patient Details and Treatment Details.

    Description Returns the treatment and patient details of the searched patient.Origin/Source Patient File Data Store

    Destination 4.3 Calculate Bill Process

    Data Structure Patient Details and Treatment Details. =

    Patient First Name+Patient Last Name+

    Patient Status+Sickness+

    Treatment Remarks+Treatment Status

    Name Patient Account Details

    Description Gives the process the account details of the patient that was

    searched for by the process.

    Origin/Source Account File Data Store

    Destination 4.3 Calculate Bill Process

    Data Structure Patient Account Details =

    Patient ID +

    Patient First Name +

    Patient Last Name+

    Invoice Total+

    Invoice Discount+

    Invoice Total Payable+Invoice Methods

    Invoice Status

    Name Invoice

    Description Gives the patient the invoice which contains the bill details for the

    treatment provided.

    Origin/Source 4.4 Send Patient invoice Process

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    74/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    61

    Destination Patient External Entity

    Data Structure Invoice =

    Invoice ID+

    Treatment ID

    Invoice Status+

    Invoice Total+

    Invoice Total Payable

    Name Payment Details

    Description Patient gives the payment details so that the system can updateitself on the payments and receipts.

    Origin/Source Patient External Entity

    Destination 4.5 Process Payment Process

    Data Structure Payment Details=

    Invoice ID+

    Account ID +

    Invoice Method

    Name Payment Details

    Description Payment details are sent to the system so that in can update itsrecords pertaining to the payments of patients.

    Origin/Source 4.5 Process Payment Process

    Destination Account File Data Store

    Data Structure Payment Details=Invoice ID+

    Account ID +Invoice Method

    Name Patient ID

    Description The administration provides the patient ID so that the system can

    check if the patient has made the payment or not and generate a

    receipt if payment has been made.

    Origin/Source Admin External Entity

    Destination 4.6 Printing Receipt Process

    Data Structure Patient ID =

    Patient ID

    Name Patient ID

    Description Gives the system the patient ID so that the relevant information

    can be retrieved from the system.

    Origin/Source 4.6 Printing Receipt Process

    Destination Account File Data Store

    Data Structure Patient ID =Patient ID

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    75/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    62

    Name Receipt

    Description Gives the payment Details back to the process so that a receipt can

    be printed.

    Origin/Source Account File Data Store

    Destination 4.6 Printing Receipt Process

    Data Structure Receipt =

    Invoice ID+Treatment ID

    Invoice Status+

    Invoice Total+

    Invoice Total Payable

    Name Final Receipt

    Description Prints and gives the Patient the final receipt saying that payment

    had been successfully made.

    Origin/Source 4.6 Printing Receipt Process

    Destination Patient External Entity

    Data Structure Final Receipt =

    Invoice ID+

    Treatment ID

    Invoice Status+

    Invoice Total+

    Invoice Total Payable

  • 8/3/2019 SDP Final Documentation DF10A1ICT

    76/173

    DF10A1ICT AAPP007-3-2 System Analysis and Design

    63

    7.3 EXTERNAL ENTITIES

    Name Patient

    Description This is a very important external entity as a hospitals primary

    purpose is to tend to patients. The patients do not associate agreat deal with the system except to provide personnel

    information and a few other tasks like providing paymentdetails. The Patient is also able to run searches for doctors. The

    receipt is also given to the patient from the system.

    Input Data

    Flowsy Invoicey Final Receipty Doctor Details

    Output Data

    Flowsy New Patient Detailsy Updated Patient Detailsy Payment Detailsy Doctor Surname / speciality

    Name Doctor

    Description This entity also has few inputs to the system and no output from

    the system to the entity. The doctor only provides and will not

    receive anything else in return.

    Input Data

    Flows

    N/A

    Output Data

    Flowsy New Doctor Detailsy Modified Doctor Details

    Name Corporate Business

    Description This is external entity like the Doctor entity provides onlyinformation pertaining to it and do