Skip to content

jasonshere/MAPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAPS(Medical APpointment System)


This system is for doctor, patient and clerk to manage medical appointment online,this system contains 3 parts, which are web interface, API endpoints and voice assistant:

  • web
  • services
  • maps_assis

[Details]

For patients: The system keep track of the patient list and allow new patients to register on the website. After registering, a patient is allowed to book an appointment with any available doctor. Each patient will have a list of medical records.

For doctors: The system allows the doctor to specify their availability on a weekly basis on their personal calendar. And also save these appointments separately.

For medical clerks: The system can show a list of doctors' appointments that had already been made for that week. The medical clerk may add or remove any appointments.


Usage

You can sign in the system as a doctor, patient or clerk

1. The feature for doctor role

  • Sign in system
  • Set and delete the available weekly appointment
  • Pull up the medical record for the patient
  • Make notes for patient during appointment
  • Make diagnoses for patient during appointment

2. The feature for patient role

  • Sign in system
  • Register a new account online
  • Edit the patient own account information
  • Check the doctor's available appointments
  • Check the patient own appointments
  • Make an appointment on doctor's available time
  • Cancel the appointment

3. The feature for clerk role

  • Sign in system
  • Register a new doctor account online
  • Set a new appointment for doctor
  • Cancel an appointment for doctor
  • Statistics for all appointments of all doctors

4. Config the system

For web interface

@config.ini
[MAIN]
; dev / pro
ENVIRONMENT = dev

[DEVELOPMENT]
PROTOCOL = http
SERVICE_ADDRESS = localhost:8081/api/v1.0
; API auth
APIKEY = Jason
APIPASS = secret
; debug
DEBUG = true
; timeZone
TIMEZONE = Australia/Melbourne
;port
PORT = 8080

[PRODUCTION]
PROTOCOL = http
SERVICE_ADDRESS = localhost:8081/api/v1.0
; API auth
APIKEY = Jason
APIPASS = secret
; debug
DEBUG = true
; timeZone
TIMEZONE = Australia/Melbourne
; PORT
PORT = 8080

For Services

@config.ini
[MAIN]
; dev / pro
ENVIRONMENT = pro

[DEVELOPMENT]
; local
USER   = root
PASS   = root123123
HOST   = 127.0.0.1
DBNAME = maps
PREFIX = maps_
; API auth
APIKEY = Jason
APIPASS = secret
; debug
DEBUG = true
; session
SESSION_TYPE = filesystem
; timeZone
TIMEZONE = Australia/Melbourne

[PRODUCTION]
; GCP
USER   = root
PASS   = oTY8dQGPEdflBbPQ
HOST   = 35.189.59.241
DBNAME = maps
PREFIX = maps_
; API auth
APIKEY = Jason
APIPASS = secret
; debug
DEBUG = false
; session
SESSION_TYPE = filesystem
; timeZone
TIMEZONE = Australia/Melbourne

For assistant

@asssiatnt_conf.py
class AssistantConf:
    # grpc host
    GRPC_HOST = '192.168.0.10'

    # grpc port
    GRPC_PORT = '50051'

    # doctor's email
    DOCTOR_EMAIL = 'doctor_1@maps.com'

    #office number
    OFFICE_NUMBER = '110'

5. Start up the system

For web interface

# pi @ raspberrypi : source venv/bin/activate
# pi @ raspberrypi : python3 run.py

For services

# pi @ raspberrypi : source venv/bin/activate
# pi @ raspberrypi : python3 run.py

For assistant and gRPC

@ Server
# pi @ raspberrypi : workon cv
# pi @ raspberrypi : X
# pi @ raspberrypi : python3 maps_server.py
@ Client
# pi @ raspberrypi : source google_env/bin/activate
# pi @ raspberrypi : python3 assistant.py

More details and documentations on folder "\doc" , please check!

Thank you!

Author [@Jason] 2018.10.05

About

The Assignment2 for IoT at RMIT

Resources

Stars

Watchers

Forks

Packages

No packages published