diff --git a/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_chol_model_mixin.py b/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_chol_model_mixin.py index 5259880..09e6ac0 100644 --- a/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_chol_model_mixin.py +++ b/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_chol_model_mixin.py @@ -42,7 +42,8 @@ class ClinicalReviewCholModelMixin(models.Model): chol_dx = models.CharField( verbose_name=format_html( - "As of today, was the patient {} diagnosed with high cholesterol?", "newly" + "As of today, was the patient {text} diagnosed with high cholesterol?", + text="newly", ), max_length=15, choices=YES_NO_NA, diff --git a/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_dm_model_mixin.py b/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_dm_model_mixin.py index d8c8ed9..bbcf362 100644 --- a/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_dm_model_mixin.py +++ b/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_dm_model_mixin.py @@ -15,8 +15,8 @@ class ClinicalReviewDmModelMixin(models.Model): choices=YES_NO_NA, default=NOT_APPLICABLE, help_text=format_html( - "{}", - mark_safe( + "{html}", + html=mark_safe( "Note: Select `not applicable` if diagnosis previously reported.
" "`Since last seen` includes today.
" "If `yes', complete the initial review CRF
" @@ -42,7 +42,8 @@ class ClinicalReviewDmModelMixin(models.Model): dm_dx = models.CharField( verbose_name=format_html( - "As of today, was the patient {} diagnosed with diabetes?", "newly" + "As of today, was the patient {text} diagnosed with diabetes?", + text="newly", ), max_length=15, choices=YES_NO_NA, diff --git a/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_hiv_model_mixin.py b/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_hiv_model_mixin.py index 5ca33cf..d1d588b 100644 --- a/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_hiv_model_mixin.py +++ b/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_hiv_model_mixin.py @@ -15,8 +15,8 @@ class ClinicalReviewHivModelMixin(models.Model): choices=YES_NO_NA, default=NOT_APPLICABLE, help_text=format_html( - "{}", - mark_safe( + "{html}", + html=mark_safe( "Note: Select `not applicable` if diagnosis previously reported.
" "`Since last seen` includes today.
" "If `yes', complete the initial review CRF
" @@ -42,7 +42,8 @@ class ClinicalReviewHivModelMixin(models.Model): hiv_dx = models.CharField( verbose_name=format_html( - "As of today, was the patient {} diagnosed with HIV infection?", "newly" + "As of today, was the patient {text} diagnosed with HIV infection?", + text="newly", ), max_length=15, choices=YES_NO_NA, diff --git a/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_htn_model_mixin.py b/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_htn_model_mixin.py index d3e7f5d..8262c5c 100644 --- a/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_htn_model_mixin.py +++ b/edc_dx_review/model_mixins/clinical_review_followup/clinical_review_followup_htn_model_mixin.py @@ -15,8 +15,8 @@ class ClinicalReviewHtnModelMixin(models.Model): choices=YES_NO_NA, default=NOT_APPLICABLE, help_text=format_html( - "{}", - mark_safe( + "{html}", + html=mark_safe( "Note: Select `not applicable` if diagnosis previously reported.
" "`Since last seen` includes today.
" "If `yes', complete the initial review CRF
" @@ -42,8 +42,8 @@ class ClinicalReviewHtnModelMixin(models.Model): htn_dx = models.CharField( verbose_name=format_html( - "{}", - mark_safe( + "{html}", + html=mark_safe( "As of today, was the patient newly diagnosed with hypertension?" ), # nosec B308, B703 ),