Skip to content

Commit

Permalink
research_protocol_config
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Jan 26, 2024
1 parent 85b1494 commit 5db50f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edc_label/subject_label.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import Optional

from django.apps import apps as django_apps
from edc_protocol import Protocol
from edc_protocol.research_protocol_config import ResearchProtocolConfig

from .label import Label

Expand Down Expand Up @@ -35,7 +35,7 @@ def registered_subject(self):
@property
def label_context(self) -> dict:
context = {
"protocol": Protocol().protocol,
"protocol": ResearchProtocolConfig().protocol,
"subject_identifier": self.registered_subject.subject_identifier,
"gender": self.registered_subject.gender,
"dob": self.registered_subject.dob,
Expand Down

0 comments on commit 5db50f2

Please sign in to comment.