Practitioners offer services of a set length; availability says when each one takes appointments. An appointment books a patient with a practitioner for a service at a time and carries its status through to completion. Visit notes are written per appointment and only the practitioner who wrote them may read them back.
$ npx vela create my-app --schema clinic-appointmentsEvery collection, field and relation above becomes a PocketBase migration in the new project. Change any of it afterwards with vela generate migration --ai, which opens this same diagram as an editor.