How would you model patient records, appointments, prescriptions, and diagnostic reports in MongoDB for a healthcare app?

I would use 4 collections:

  • patients
  • appointments
  • prescriptions
  • reports

For reports, I would use the attribute pattern.
For appointments, I would TTL indexes.

For more details, please follow up with more detailed questions. Followups on all your threads would also be appreciated. Specially on the ones you got answers like:

2 Likes