Educational (and maybe social in the future) application for pediatric patients to track their progress
Creating a user account is protected
- Users -> Provider & Participant (STI)
- Allergens
- Allergies (assignment of allergen to participant)
- Drugs
- Indications (belongs_to :drug)
- Dosages (belongs_to :drug)
- Prescriptions (assignment of drug, indication, and dosage to participant)
- Sites
- Divisions (belongs_to :site)
- Roles
Things that still need to be implemented or changed.
- Add
conditions
,procedures
, anddiagnoses
. - Add
cancan
support - Change to JQuery
- Client-side validations (gem 'client_side_validations' at https://github.com/bcardarella/client_side_validations/)
- Refactor roles to User
has_one
Role, versus ahas_and_belongs_to_many
relationship. I do not see a need for this complexity, considering that roles will inherit from each other. - Remove ability to edit roles. Should be fine to leave them hard-coded.
- Add
gem paperclip
tosites
to allow uploading of images.
If you have any questions, please feel free to ask on twitter.