Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database schema and CRUD for Studies #7

Open
2 of 7 tasks
Tracked by #9
moozeq opened this issue Jan 13, 2023 · 0 comments
Open
2 of 7 tasks
Tracked by #9

Database schema and CRUD for Studies #7

moozeq opened this issue Jan 13, 2023 · 0 comments
Labels
5 5 SP BE Back-end S3 - Medium Issue with medium severity T1 - Feature Issue of feature type

Comments

@moozeq
Copy link
Owner

moozeq commented Jan 13, 2023

Description

Create basic back-end part for Studies which are coducted in accordance with Protocols (#6) instructions.

Prerequisites

Acceptance criteria

  • Create database schema for Study class using sequelize-typescript with fields:
    • status - study's status, allowed values: waiting, in-progress, completed, discontinued
    • name
    • description
    • startDate
    • endDate
    • protocol - Protocol for the study with drug administration instruction
    • facilities[] - Facilities which are included in the study
  • Add CRUD for Study but only accessible for authorized Users with "director" Role
  • Add association one-to-many for Studies and Facilities (Database schema and predefined Facilities #4)
  • Add association one-to-one for Studies and Protocols (Database schema, CRUD and predefined Protocols #6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 5 SP BE Back-end S3 - Medium Issue with medium severity T1 - Feature Issue of feature type
Projects
None yet
Development

No branches or pull requests

1 participant