mirror of
https://github.com/beak-insights/felicity-lims.git
synced 2025-02-24 00:42:59 +08:00
21 lines
585 B
Python
21 lines
585 B
Python
from felicity.apps.abstract.repository import BaseRepository
|
|
from felicity.apps.patient.entities import (
|
|
Identification,
|
|
Patient,
|
|
PatientIdentification,
|
|
)
|
|
|
|
|
|
class PatientRepository(BaseRepository[Patient]):
|
|
def __init__(self) -> None:
|
|
super().__init__(Patient)
|
|
|
|
|
|
class IdentificationRepository(BaseRepository[Identification]):
|
|
def __init__(self) -> None:
|
|
super().__init__(Identification)
|
|
|
|
|
|
class PatientIdentificationRepository(BaseRepository[PatientIdentification]):
|
|
def __init__(self) -> None:
|
|
super().__init__(PatientIdentification)
|