This pull request creates the basic structure for a hospital object in the database. We will need to track hospitals as part of our enterprise system and as such require that to be part of our db schema
Implementation
Migration that creates the hospital table with attributes: id, hospital_name
Hospital model file
Hospital pydantic schema
Hospital services file that includes functions to create a hospital in the db
Testing
backend test for testing the hospitals model was added
Problems Faced
Notes
This is basic preliminary work, more work will be required for hospitals when we revise the user roles and create provider, product, and PACS.
Some things not included that will need to be included later:
Hospitals router that receives API requests
Router tests
Relationships between hospital and user, hospital and PACS
Functionality that allows for creation of hospitals on frontend
Overview
This pull request creates the basic structure for a hospital object in the database. We will need to track hospitals as part of our enterprise system and as such require that to be part of our db schema
Implementation
Testing
Problems Faced
Notes
This is basic preliminary work, more work will be required for hospitals when we revise the user roles and create provider, product, and PACS. Some things not included that will need to be included later:
Closes #115