Skip to content

Instantly share code, notes, and snippets.

@sahilrajput03
Last active July 16, 2025 13:58
Show Gist options
  • Save sahilrajput03/91d297f77ee06c73819cde94625b3d62 to your computer and use it in GitHub Desktop.
Save sahilrajput03/91d297f77ee06c73819cde94625b3d62 to your computer and use it in GitHub Desktop.
// Source - https://claude.ai/share/e4b0686c-cabf-4408-a9e7-3cf04cf1f9ba
services
{
_id: ObjectId,
name: "CBT",
slug: "cbt",
description: "Cognitive Behavioral Therapy",
category: "Mental Health",
isActive: true,
createdAt: ISODate,
updatedAt: ISODate
}
doctors
{
_id: ObjectId,
email: "[email protected]",
name: "Dr. John Smith",
// ... other doctor fields
services: [
{
serviceId: ObjectId, // Reference to services collection
pricing: 150, // Optional: service-specific pricing
duration: 60, // Optional: session duration in minutes
isOffered: true
}
],
createdAt: ISODate,
updatedAt: ISODate
}
patients
{
_id: ObjectId,
email: "[email protected]",
name: "Jane Doe",
// ... other patient fields
createdAt: ISODate,
updatedAt: ISODate
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment