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

Hospitals and Check-up management #58

Open
13 tasks
JoseCage opened this issue Feb 27, 2018 · 1 comment
Open
13 tasks

Hospitals and Check-up management #58

JoseCage opened this issue Feb 27, 2018 · 1 comment
Assignees
Labels
api 📦 feature request ⚡ A new feature sugestion/request
Milestone

Comments

@JoseCage
Copy link
Member

JoseCage commented Feb 27, 2018

Add new feature for blood banks and hospitals and donors health checkup.

Rest-API

  • Hospitals
  • Routes
    • v1/hospitals
    • v1/hospitals/{ID}
  • Features
    • Register a new hospital
    • Update hospital information
    • Checkups
      • Routes
        • GET: /v1/hospitals/ID}/checkups (Get all checkups done in a specific hospital/blood bank)
        • POST:/v1/hospitals/{ID}/checkups (Register a new donors check-up)
        • GET: /v1/hospitals/{ID}/checkups/{donor} (Get all checkup logs by a specific donor)
        • GET: /v1/hospitals/{ID}/checkups/{donor} (Get the checkup details by a specific donor)

GraphQL:

  • Query's

    • HospitalsQuery
    • HospitalProfileQuery
    • CheckupQuery
  • Type's

    • HospitalsType
    • CheckupType
  • Mutation's

    • RegisterHospitalMutation
    • UpdateHospitalMutation
    • NewCheckupMutation
    • VerifyHospitalMutation
@JoseCage JoseCage added api 📦 feature request ⚡ A new feature sugestion/request labels Feb 27, 2018
@JoseCage JoseCage added this to the v1.0.0 milestone Feb 27, 2018
@JoseCage JoseCage self-assigned this Feb 27, 2018
@JoseCage
Copy link
Member Author

JoseCage commented Mar 6, 2018

Checkup table/Model attributes:

Checkups

  • id (uuid)
  • hospital_id (uuid)
  • donor_id (uuid)
  • checkupDate (datetime)

  • Todo: add other fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api 📦 feature request ⚡ A new feature sugestion/request
Projects
Status: IDEAS
Development

No branches or pull requests

1 participant