Skip to content

Commit

Permalink
Bump to edc==0.5.40, ensure CRF show_order unique
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanWillitts committed Nov 16, 2023
1 parent 0fe0a23 commit fa6728b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
3 changes: 2 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ unreleased
- updates to Death Report form (#706)
- add 'blurred_vision' question to Death Report (#706)
- increase trial specific form validation
- fix 'Already captured requisition forms showing as new/required' (#710)
- fix Server error on clicking 'Add' Subject Visit in Subject admin (#531)
- update forms reference doc
- bump to edc 0.5.39
- bump to edc 0.5.40
- bump to edc-microbiology 0.3.1
- bump to edc-csf 0.3.1
- bump to effect-form-validators 0.1.36
Expand Down
38 changes: 19 additions & 19 deletions effect_visit_schedule/visit_schedules/crfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
crfs_prn = FormsCollection(
Crf(show_order=50, model="effect_subject.studymedicationfollowup"),
Crf(show_order=70, model="effect_subject.vitalsigns"),
Crf(show_order=100, model="effect_subject.bloodresultsfbc"),
Crf(show_order=240, model="effect_subject.bloodresultschem"),
Crf(show_order=300, model="effect_subject.chestxray"),
Crf(show_order=310, model="effect_subject.lpcsf"),
Crf(show_order=320, model="effect_subject.tbdiagnostics"),
Crf(show_order=200, model="effect_subject.bloodresultsfbc"),
Crf(show_order=210, model="effect_subject.bloodresultschem"),
Crf(show_order=230, model="effect_subject.chestxray"),
Crf(show_order=240, model="effect_subject.lpcsf"),
Crf(show_order=250, model="effect_subject.tbdiagnostics"),
Crf(show_order=340, model="effect_subject.bloodculture"),
Crf(show_order=360, model="effect_subject.histopathology"),
Crf(show_order=400, model="effect_subject.healtheconomicsevent"),
Crf(show_order=401, model="effect_subject.healtheconomicsevent"),
Crf(show_order=500, model="effect_subject.clinicalnote"),
name="prn",
)
Expand All @@ -31,20 +31,20 @@
Crf(show_order=80, model="effect_subject.mentalstatus"),
Crf(show_order=90, model="effect_subject.signsandsymptoms"),
Crf(show_order=100, model="effect_subject.diagnoses"),
Crf(show_order=400, model="effect_subject.healtheconomicsevent"),
Crf(show_order=401, model="effect_subject.healtheconomicsevent"),
Crf(show_order=500, model="effect_subject.clinicalnote"),
name="unscheduled",
)

crfs_unscheduled_lt_d14 = FormsCollection(
*[crf for crf in crfs_unscheduled],
Crf(show_order=600, model="effect_subject.adherencestagetwo"),
Crf(show_order=602, model="effect_subject.adherencestagetwo"),
name="unscheduled_lt_d14",
)

crfs_unscheduled_gte_d14 = FormsCollection(
*[crf for crf in crfs_unscheduled],
Crf(show_order=600, model="effect_subject.adherencestagefour"),
Crf(show_order=604, model="effect_subject.adherencestagefour"),
name="unscheduled_gte_d14",
)

Expand All @@ -54,20 +54,20 @@
)

crfs_d01 = FormsCollection(
Crf(show_order=50, model="effect_subject.arvhistory"),
Crf(show_order=40, model="effect_subject.arvhistory"),
Crf(show_order=60, model="effect_subject.participanthistory"),
Crf(show_order=70, model="effect_subject.vitalsigns"),
Crf(show_order=80, model="effect_subject.mentalstatus"),
Crf(show_order=90, model="effect_subject.signsandsymptoms"),
Crf(show_order=100, model="effect_subject.studymedicationbaseline"),
Crf(show_order=99, model="effect_subject.studymedicationbaseline"),
Crf(show_order=200, model="effect_subject.bloodresultsfbc"),
Crf(show_order=210, model="effect_subject.bloodresultschem"),
Crf(show_order=230, model="effect_subject.chestxray", required=False),
Crf(show_order=240, model="effect_subject.lpcsf", required=False),
Crf(show_order=250, model="effect_subject.tbdiagnostics", required=False),
Crf(show_order=400, model="effect_subject.healtheconomics"),
Crf(show_order=500, model="effect_subject.clinicalnote"),
Crf(show_order=600, model="effect_subject.adherencestageone"),
Crf(show_order=601, model="effect_subject.adherencestageone"),
name=DAY01,
)

Expand All @@ -81,7 +81,7 @@
Crf(show_order=230, model="effect_subject.chestxray", required=False),
Crf(show_order=240, model="effect_subject.lpcsf", required=False),
Crf(show_order=250, model="effect_subject.tbdiagnostics", required=False),
Crf(show_order=600, model="effect_subject.adherencestagetwo"),
Crf(show_order=602, model="effect_subject.adherencestagetwo"),
name=DAY03,
)

Expand All @@ -93,7 +93,7 @@
Crf(show_order=230, model="effect_subject.chestxray", required=False),
Crf(show_order=240, model="effect_subject.lpcsf", required=False),
Crf(show_order=250, model="effect_subject.tbdiagnostics", required=False),
Crf(show_order=600, model="effect_subject.adherencestagetwo"),
Crf(show_order=602, model="effect_subject.adherencestagetwo"),
name=DAY09,
)

Expand All @@ -110,7 +110,7 @@
Crf(show_order=240, model="effect_subject.lpcsf", required=False),
Crf(show_order=250, model="effect_subject.tbdiagnostics", required=False),
Crf(show_order=500, model="effect_subject.clinicalnote"),
Crf(show_order=600, model="effect_subject.adherencestagethree"),
Crf(show_order=603, model="effect_subject.adherencestagethree"),
name=DAY14,
)

Expand All @@ -122,7 +122,7 @@
Crf(show_order=230, model="effect_subject.chestxray", required=False),
Crf(show_order=240, model="effect_subject.lpcsf", required=False),
Crf(show_order=250, model="effect_subject.tbdiagnostics", required=False),
Crf(show_order=600, model="effect_subject.adherencestagefour"),
Crf(show_order=604, model="effect_subject.adherencestagefour"),
name=WEEK04,
)

Expand All @@ -135,7 +135,7 @@
Crf(show_order=230, model="effect_subject.chestxray", required=False),
Crf(show_order=240, model="effect_subject.lpcsf", required=False),
Crf(show_order=250, model="effect_subject.tbdiagnostics", required=False),
Crf(show_order=600, model="effect_subject.adherencestagefour"),
Crf(show_order=604, model="effect_subject.adherencestagefour"),
name=WEEK10,
)

Expand All @@ -147,7 +147,7 @@
Crf(show_order=230, model="effect_subject.chestxray", required=False),
Crf(show_order=240, model="effect_subject.lpcsf", required=False),
Crf(show_order=250, model="effect_subject.tbdiagnostics", required=False),
Crf(show_order=600, model="effect_subject.adherencestagefour"),
Crf(show_order=604, model="effect_subject.adherencestagefour"),
name=WEEK16,
)

Expand All @@ -161,6 +161,6 @@
Crf(show_order=250, model="effect_subject.tbdiagnostics", required=False),
Crf(show_order=400, model="effect_subject.healtheconomics"),
# TODO: Termination Form CRF
Crf(show_order=600, model="effect_subject.adherencestagefour"),
Crf(show_order=604, model="effect_subject.adherencestagefour"),
name=WEEK24,
)
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ zip_safe = False
include_package_data = True
packages = find:
install_requires =
edc==0.5.39
edc==0.5.40
edc-microbiology==0.3.1
edc-csf==0.3.1
beautifulsoup4
Expand Down

0 comments on commit fa6728b

Please sign in to comment.