Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/woldreamz/draycore-med
https://github.com/woldreamz/draycore-med
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/woldreamz/draycore-med
- Owner: Woldreamz
- Created: 2024-11-27T23:05:59.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-10T10:47:00.000Z (26 days ago)
- Last Synced: 2024-12-10T11:36:46.171Z (26 days ago)
- Language: TypeScript
- Size: 2.68 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MedEquip Pro V1.0
## Database Entities and Normalization (PostgreSQL Dialect)
1. Equipment
* equipmentId - SERIAL (Primary Key)
* name - VARCHAR
* description - TEXT
* category - VARCHAR
* adminId - INT (Foreign Key referencing Admin)2. Image
* imageId - SERIAL (Primary Key)
* equipmentId - INT (Foreign Key referencing Equipment)
* imageUrl - VARCHAR3. Tag
* tagId - SERIAL (Primary Key)
* equipmentId - INT (Foreign Key referencing Equipment)
* tag - VARCHAR4. UseCase
* useCaseId - SERIAL (Primary Key)
* equipmentId - INT (Foreign Key referencing Equipment)
* useCase - TEXT5. Specification
* specificationId - SERIAL (Primary Key)
* equipmentId - INT (Foreign Key referencing Equipment)
* ageRange - VARCHAR
* heightRange - VARCHAR
* weightRange - VARCHAR
* gender - VARCHAR
* diseaseType - VARCHAR
* diseaseSeverity - ENUM('Male', 'Female')6. Admin
* adminId - SERIAL (Primary Key)
* name - VARCHAR
* email - VARCHAR1. Equipment
The core entity representing medical equipment.Attribute Data Type Description
* equipmentId SERIAL (PK) Auto-incremented unique ID for each equipment
* name VARCHAR Name of the equipment
* description TEXT Detailed description of the equipment
* category VARCHAR Category the equipment belongs to (e.g., surgical tools)
* adminId INT (FK) Foreign key referencing the Admin who created the equipment2. Image
Stores multiple images for each piece of equipment.Attribute Data Type Description
* imageId SERIAL (PK) Auto-incremented unique ID for each image
* equipmentId INT (FK) Foreign key referencing the equipment
* imageUrl VARCHAR URL or file path to the equipment image3. Tag
Stores multiple tags or keywords for each piece of equipment.Attribute Data Type Description
* tagId SERIAL (PK) Auto-incremented unique ID for each tag
* equipmentId INT (FK) Foreign key referencing the equipment
* tag VARCHAR Tag or keyword (e.g., "surgical", "diagnostic")4. UseCase
Stores multiple use cases for each piece of equipment.Attribute Data Type Description
* useCaseId SERIAL (PK) Auto-incremented unique ID for each use case
* equipmentId INT (FK) Foreign key referencing the equipment
* useCase TEXT Description of how the equipment is used5. Specification
Captures various specifications of the equipment.Attribute Data Type Description
* specificationId SERIAL (PK) Auto-incremented unique ID for each specification
* equipmentId INT (FK) Foreign key referencing the equipment
* ageRange VARCHAR Suitable age range (e.g., "0-5 years")
* heightRange VARCHAR Suitable height range (e.g., "150-180 cm")
* weightRange VARCHAR Suitable weight range (e.g., "50-80 kg")
* gender VARCHAR Gender (e.g., male, female)
* diseaseType VARCHAR Specific diseases the equipment is suitable for
* diseaseSeverity VARCHAR Severity levels (e.g., mild, moderate, severe)6. Admin
Represents admin users who manage the equipment.Attribute Data Type Description
* adminId SERIAL (PK) Auto-incremented unique ID for each admin
* name VARCHAR Name of the admin
* email VARCHAR Email address of the adminERD (Relational Database Model)
Equipment has a one-to-many relationship with Image, Tag, UseCase, and Specification.
Admin has a one-to-many relationship with Equipment.