Download - Medical Clinics Management System
![Page 1: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/1.jpg)
1
Medical Clinics Management System
Medical Clinics Management System
Saeed Matar&
Abdullah Lubbadeh
Supervised ByDr. Sofian Samara
![Page 2: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/2.jpg)
Medical Clinics Management System
What is a Clinics Management System?
2
![Page 3: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/3.jpg)
Medical Clinics Management System
Problems with conventional system
• 1. Lack of immediate retrievals
• 2. Lack of immediate information storage
• 3. Lack of prompt updating
• 4. Error prone manual calculation
• 5. Preparation of accurate and prompt reports
3
![Page 4: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/4.jpg)
Medical Clinics Management System
Alternative Solutions
1. Improved Manual System.
2. Batch System.
3. Online System.
4
![Page 5: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/5.jpg)
Medical Clinics Management System
Our System!
5
![Page 6: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/6.jpg)
Research
• Information Gathering Perspective.
• Technical Perspective.
6
![Page 7: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/7.jpg)
7 Medical Clinics Management System
Project Architecture
![Page 8: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/8.jpg)
8 Medical Clinics Management System
How We Build the Project• Using Maven. • Maven is an Apache project.• Project management tool.
- Build tool.- Project lifecycle.- Set of standards.- Dependency management system.
• Maven has a repository system which makes dealing with frameworks and libraries much easier.
![Page 9: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/9.jpg)
9 Medical Clinics Management System
How We Build the Project• Multi-module Enterprise Project.
- Parent Project Module.- Webservices Application Module.- Model Module.- Data Access Layer Module.
![Page 10: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/10.jpg)
10 Medical Clinics Management System
How We Build the Project
Project Modules Dependency and Interaction
![Page 11: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/11.jpg)
11 Medical Clinics Management System
Webservices• What is Webservices?• The W3C defines a "Web service" as:
- "a software system designed to support interoperable machine-to-machine interaction over a network".
• We used open source project Restlet to build our Webservices server.
• A restlet webservices implemented using HTTP and the principles of REST.
• We used Restlet integrated with Spring to get benefits from the two frameworks.
![Page 12: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/12.jpg)
12 Medical Clinics Management System
WebservicesSpring Framework
• ContextLoaderListener- Is a Listener Listens for Requests.- Like http://clinics.com/login.
• SpringBeanRouter.- Routs the Requests to its proper resources.
The implementation of these functionality is Done by XML.
![Page 13: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/13.jpg)
13 Medical Clinics Management System
WebservicesRestlet Framework
• Restlet ServerResources handles the requests for each HTTP methods(GET, POST, PUT, DELETE).
@Getpublic String getMethodTest() {
//do some actionsreturn response;
}
@Postpublic String postMethodTest(Representation representation) {
String postBody = representation.getText();//do some actionsreturn response;
}
![Page 14: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/14.jpg)
14 Medical Clinics Management System
Models and JSON• Models consist of application data and business rules.• JavaScript Object Notation (JSON).• Why JSON??
- Lightweight text-data interchange format.- language independent.- Message size is smaller than XML.
• We used Jackson framework.- For marshaling and unmarshaling Models.
Object
Memory
JackSON
{"employees": [{ "firstName":"John"}, { "firstName":"Anna"}, { "firstName":"Peter"}]}
![Page 15: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/15.jpg)
Database
ER Model
Relational Model
Normalization of relations
Implementation in a DBMS
Programming of Web Services
15
![Page 16: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/16.jpg)
16 Medical Clinics Management System
Postgres Database• PostgreSQL is a much more mature free product!
They said it is Oracle free source.
• Data Access Layer (DAL) access our Database.
• We implement DAL module using Spring framework.
• We used three main parts of Spring for database:o JDBCTemplate handle queries on Database.o Transaction Manager provide an “all-or-nothing”
access specially in insert query.o RowMapper mapping the response of queries to our
models.
![Page 17: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/17.jpg)
Raw Mapper
17
Object
Memory
Raw Mapper
Result Set
DB Object
Query
![Page 18: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/18.jpg)
Medical Clinics Management System
Schema
18
![Page 19: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/19.jpg)
Medical Clinics Management System
ACCOUNTS DETAILS
19
![Page 20: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/20.jpg)
Account Details
20
![Page 21: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/21.jpg)
Medical Clinics Management System
PERSONAL INFO AND USERS DETAILS
21
![Page 22: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/22.jpg)
PERSONAL INFO AND USERS DETAILS
22
![Page 23: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/23.jpg)
Medical Clinics Management System
CLINIC ADMISSION AND ORGANIZATION
23
![Page 24: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/24.jpg)
CLINIC ADMISSION
24
![Page 25: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/25.jpg)
Clinic Organization
25
![Page 26: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/26.jpg)
Medical Clinics Management System
PATIENT BILLING and ACCOUNTING
26
![Page 27: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/27.jpg)
PATIENT BILLING
27
![Page 28: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/28.jpg)
ACCOUNTING
28
![Page 29: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/29.jpg)
Medical Clinics Management System
PATIENT HISTORY AND TREATMENT
29
![Page 30: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/30.jpg)
PATIENT HISTORY AND TREATMENT
30
![Page 31: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/31.jpg)
Our System Modules• Create New Clinic.• Update Clinic info.• Add new Patient.• Add new Visit.• Add new Appointment.• Admission/Discharge.• Inventory.• And Accounting.
31
![Page 32: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/32.jpg)
32 Medical Clinics Management System
JSF(Java Server Faces)
• JSF is standard web user interface framework for Java.
• JSF is a component oriented and event driven framework for web applications.
• JSF eases the development of GUI for web applications.
• No code of business rules inside webpages. This makes programming and design much easier.
• It supports Localization and we built our web app supports Arabic and English.
![Page 33: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/33.jpg)
33 Medical Clinics Management System
JSF(Java Server Faces)
![Page 34: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/34.jpg)
34 Medical Clinics Management System
GlassFish• GlassFish is an open-source application server project.
• GlassFish is now owned by Oracle and is maintained by both Oracle and its development community.
• So it is the world's first implementation of the Java Platform, Enterprise Edition.
• GlassFish has much better administration console.
• Supports Hot deployment.
• We used GlassFish for JSF and Restlet.
![Page 35: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/35.jpg)
35
https:// over Glassfish• HTTPS = HTTP + SSL encryption.• SSL encryption requires an SSL Certificate:
o Self Signed.o Authorized third party.
• Our Certificate:o We get fixed IP and Domain Name.o Using Java keytool we Generate an 2048 bit RSA
private key.o We Generate Certificate Request (.csr).o We Request the Authorized Certificate for free from
http://www.comodo.com/ using the previously generated Certificate Request.
o Finally we Installed the certificate into Glassfish key store.
![Page 36: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/36.jpg)
36
![Page 37: Medical Clinics Management System](https://reader035.vdocuments.us/reader035/viewer/2022062521/5681664c550346895dd9c9bb/html5/thumbnails/37.jpg)
Medical Clinics Management System
DEMO!
37