clinician.rb

Path: app/models/clinician.rb
Last Update: Thu Dec 07 09:37:40 +1030 2006

Clinician

A clinician may have ClinicalSessions to see Clients. Each ClinicalSession is for only 1 Client.

Clinicians are controlled through the ClinicianController

Rules

  • A clinician belongs to a Discipline
  • A clinician must have a first_name
  • A clinician must have a last_name
  • A clinician may have many ClinicalSessions
  • A clinician must have a valid email address (as the feature may be used as a contact point in future versions)
  • Clinician names may only consist of letters, numbers and spaces
  • A phone number may only consist of numbers, brackets and spaces

[Validate]