File tree Expand file tree Collapse file tree
src/eligibility_signposting_api/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929StartDate = NewType ("StartDate" , date )
3030EndDate = NewType ("EndDate" , date )
3131CohortLabel = NewType ("CohortLabel" , str )
32+ CohortGroup = NewType ("CohortGroup" , str )
33+ Description = NewType ("Description" , str )
3234RuleStop = NewType ("RuleStop" , bool )
3335
3436
@@ -84,6 +86,9 @@ class RuleAttributeLevel(StrEnum):
8486
8587class IterationCohort (BaseModel ):
8688 cohort_label : CohortLabel | None = Field (None , alias = "CohortLabel" )
89+ cohort_group : CohortGroup | None = Field (None , alias = "CohortGroup" )
90+ positive_description : Description | None = Field (None , alias = "PositiveDescription" )
91+ negative_description : Description | None = Field (None , alias = "NegativeDescription" )
8792 priority : int | None = Field (None , alias = "Priority" )
8893
8994 model_config = {"populate_by_name" : True , "extra" : "ignore" }
You can’t perform that action at this time.
0 commit comments