forked from botswana-harvard/edc-pharmacy
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/0.3.1' into main
- Loading branch information
Showing
4 changed files
with
48 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from edc_consent.consent_definition import ConsentDefinition | ||
from edc_consent.site_consents import site_consents | ||
from edc_constants.constants import FEMALE, MALE | ||
from edc_protocol import Protocol | ||
|
||
consent_v1 = ConsentDefinition( | ||
"edc_pharmacy.subjectconsent", | ||
version="1", | ||
start=Protocol().study_open_datetime, | ||
end=Protocol().study_close_datetime, | ||
age_min=18, | ||
age_is_adult=18, | ||
age_max=64, | ||
gender=[MALE, FEMALE], | ||
) | ||
site_consents.register(consent_v1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters