- ๐ Hi, Iโm @selfcommit
- You can follow at selfcommit.com
selfcommit / hospipal Goto Github PK
View Code? Open in Web Editor NEWA Simple DataBase System for a Simple Hospital (Graduate Work Requirement for CS631)
A Simple DataBase System for a Simple Hospital (Graduate Work Requirement for CS631)
Is an entity for Allergy needed? Are you just using Illness for that?
Shouldn't Patient and Prescription have a many to many relationship?
Shouldn't "year_to_date" in Medication be an IntegerField type?
Is Corporation missing a field for "percentage ownership of each clinic"?
Is Nurse missing a field for "Grade"?
Shouldn't Nurse and Skill have a many to many relationship?
How are you going to join Surgeon, Skill, Surgery_Type, and Surgery? Nothing in the spec says a Skill is unique to an individual Surgeon i.e. some surgeons may have the same skill. As such I'm not sure if the current setup will satisfy the DB spec's necessary ER requirements for joining an individual Surgeon with the other entities . I may be wrong.
Is Patient missing a field for "Risk" (for the cholesterol program)?
There a number of unnecessary fields in multiple tables - I think this is already known so I won't point them out individually.
Hi Dan,
I tried to create a branch off of Master for my dev repo but received the following message:
remote: Permission to selfcommit/HospiPal.git denied to ad479.
fatal: unable to access 'https://github.com/selfcommit/HospiPal.git/': The reque
sted URL returned error: 403
Do you want to give me credentials to commit?
Best regards.
Bobby
Hi Dan - here's a list of logical requirements given the current data model. You've probably identified a number of these but I thought I'd just dump the whole list I came up with in my review. Most of this is verbiage copied from the DB spec. As you probably know, some of these can be implemented by way of constraints and triggers in the data model. Others will have to be implemented through the app.
A nurse attends to several in-patients, but must have at least 5
No more than 20 patients are allotted to a physician
Every physician serves as a primary care physician for at least 7 patients
It is the policy of the clinic that all types of surgery have at least 2 nurses
Need to have a constraint for "salary_amount" ($25,000-$300,000 and can be missing)
If a physician leaves the clinic, temporarily assign the physician's patients to the clinic's chief of staff
In order to qualify as a patient, a patient must have at least one illness
Some inpatients may not have any nurse attending to them
If a nurse leaves the clinic, temporarily remove the association of all in-patients previously attended by that nurse in order to allow these patients to be transferred to another nurse at a later time
No 2 physicians can prescribe the same medication to the same patient
If a physician leaves the clinic, all prescriptions prescribed by that physician should also be removed because this information is also retained in the archives
In order for a patient to take a medicine the medicine must be prescribed to that patient
Cholesterol Program
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.