Skip to content

Commit

Permalink
Merge branch 'release/0.3.7' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Mar 8, 2024
2 parents 614159f + 129dcb6 commit 2a4e31e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion edc_pharmacy/tests/consents.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from edc_protocol.research_protocol_config import ResearchProtocolConfig

consent_v1 = ConsentDefinition(
"edc_pharmacy.subjectconsent",
"edc_pharmacy.subjectconsentv1",
version="1",
start=ResearchProtocolConfig().study_open_datetime,
end=ResearchProtocolConfig().study_close_datetime,
Expand Down
5 changes: 5 additions & 0 deletions edc_pharmacy/tests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ class SubjectConsent(
dob = models.DateField(default=date(1995, 1, 1))


class SubjectConsentV1(SubjectConsent):
class Meta:
proxy = True


class SubjectScreening(ScreeningModelMixin, BaseUuidModel):
consent_definition = consent_v1
objects = SubjectIdentifierManager()
Expand Down

0 comments on commit 2a4e31e

Please sign in to comment.