doesangue-core icon indicating copy to clipboard operation
doesangue-core copied to clipboard

Hospitals and Check-up management

Open JoseCage opened this issue 6 years ago • 1 comments

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 avatar Feb 27 '18 20:02 JoseCage

Checkup table/Model attributes:

Checkups

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

  • Todo: add other fields

JoseCage avatar Mar 06 '18 17:03 JoseCage