Skip to main content

Medical Provider

Entities Definition

This file defines the medical provider structure within the Roll Claw domain model.

Implementation

Medical Provider Definition

File: domain/entities/medical_provider.pseudo

// Medical Provider Entity

class MedicalProvider {
// Identity
string id
string name

// Properties
string type // "shelter", "mobile clinic", "veterinary hospital", etc.
string contactInfo
string address
List<string> specialties // "spay/neuter", "vaccination", "emergency", etc.

// Methods
function canPerform(MedicalProcedureType procedureType)
function getPerformedProcedures()
function isAvailable(Date date)
function getAppointmentHistory(Cat cat)
}
  • See the Domain Model Overview for more information on how this component fits into the overall domain model.