Table of Contents

Interface IPatientRepository

Namespace
Core.CliniCore.Repositories
Assembly
Core.CliniCore.dll

Repository interface for patient profile operations. Extends generic repository with patient-specific queries.

public interface IPatientRepository : IRepository<PatientProfile>
Inherited Members

Methods

GetByPhysician(Guid)

Gets all patients assigned to a specific physician

IEnumerable<PatientProfile> GetByPhysician(Guid physicianId)

Parameters

physicianId Guid

Returns

IEnumerable<PatientProfile>

GetByUsername(string)

Gets a patient by their username

PatientProfile? GetByUsername(string username)

Parameters

username string

Returns

PatientProfile

GetUnassigned()

Gets all patients not assigned to any physician

IEnumerable<PatientProfile> GetUnassigned()

Returns

IEnumerable<PatientProfile>