Skip to content

Commit

Permalink
refactor, add consent definition to Schedule to replace consent_model…
Browse files Browse the repository at this point in the history
… attr, instantiate SubjectSchedule with subject_identifier
  • Loading branch information
erikvw committed Jan 17, 2024
1 parent 8a9d639 commit c663944
Show file tree
Hide file tree
Showing 30 changed files with 913 additions and 360 deletions.
6 changes: 3 additions & 3 deletions edc_visit_schedule/baseline.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

from typing import TYPE_CHECKING, Any

from .site_visit_schedules import SiteVisitScheduleError, site_visit_schedules
from .exceptions import SiteVisitScheduleError, VisitScheduleBaselineError
from .site_visit_schedules import site_visit_schedules

if TYPE_CHECKING:
from decimal import Decimal
Expand All @@ -11,8 +12,7 @@
from .visit_schedule import VisitSchedule


class VisitScheduleBaselineError(Exception):
pass
__all__ = ["Baseline"]


class Baseline:
Expand Down
16 changes: 16 additions & 0 deletions edc_visit_schedule/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,19 @@ class ScheduledVisitWindowError(Exception):

class UnScheduledVisitWindowError(Exception):
pass


class SiteVisitScheduleError(Exception):
pass


class RegistryNotLoaded(Exception):
pass


class AlreadyRegisteredVisitSchedule(Exception):
pass


class VisitScheduleBaselineError(Exception):
pass
Loading

0 comments on commit c663944

Please sign in to comment.