Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Mar 8, 2024
1 parent 5c6e2dd commit 37ed785
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion export_app/consents.py
Expand Up @@ -4,7 +4,7 @@
from edc_protocol.research_protocol_config import ResearchProtocolConfig

consent_v1 = ConsentDefinition(
"export_app.subjectconsent",
"export_app.subjectconsentv1",
version="1",
start=ResearchProtocolConfig().study_open_datetime,
end=ResearchProtocolConfig().study_close_datetime,
Expand Down
5 changes: 5 additions & 0 deletions export_app/models.py
Expand Up @@ -64,6 +64,11 @@ class SubjectConsent(
marriage_certificate = models.CharField(max_length=25, null=True)


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


class SubjectVisit(SiteModelMixin, VisitModelMixin, BaseUuidModel):
survival_status = models.CharField(max_length=25, null=True)

Expand Down

0 comments on commit 37ed785

Please sign in to comment.