You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ga4gh/va_spec/base/core.py
+51-51Lines changed: 51 additions & 51 deletions
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,57 @@ class InformationEntity(Entity):
145
145
)
146
146
147
147
148
+
classDataSet(Entity, BaseModelForbidExtra):
149
+
"""A collection of related data items or records that are organized together in a
150
+
common format or structure, to enable their computational manipulation as a unit.
151
+
"""
152
+
153
+
type: Literal["DataSet"] =Field(
154
+
default=CoreType.DATA_SET.value,
155
+
description=f"MUST be '{CoreType.DATA_SET.value}'.",
156
+
)
157
+
datasetType: str|None=Field(
158
+
default=None,
159
+
description="A specific type of data set the DataSet instance represents (e.g. a 'clinical data set', a 'sequencing data set', a 'gene expression data set', a 'genome annotation data set')",
160
+
)
161
+
reportedIn: Document|iriReference|None=Field(
162
+
default=None, description="A document in which the the Method is reported."
163
+
)
164
+
releaseDate: date|None=Field(
165
+
default=None,
166
+
description="Indicates the date a version of a DataSet was formally released.",
167
+
)
168
+
version: str|None=Field(
169
+
default=None,
170
+
description="The version of the DataSet, as assigned by its creator.",
171
+
)
172
+
license: MappableConcept|None=Field(
173
+
default=None,
174
+
description="A specific license that dictates legal permissions for how a data set can be used (by whom, where, for what purposes, with what additional requirements, etc.)",
175
+
)
176
+
177
+
178
+
classStudyGroup(Entity, BaseModelForbidExtra):
179
+
"""A collection of individuals or specimens from the same taxonomic class, selected
180
+
for analysis in a scientific study based on their exhibiting one or more common
181
+
characteristics (e.g. species, race, age, gender, disease state, income). May be
182
+
referred to as a 'cohort' or 'population' in specific research settings.
183
+
"""
184
+
185
+
type: Literal["StudyGroup"] =Field(
186
+
default=CoreType.STUDY_GROUP.value,
187
+
description=f"Must be '{CoreType.STUDY_GROUP.value}'",
188
+
)
189
+
memberCount: int|None=Field(
190
+
default=None,
191
+
description="The total number of individual members in the StudyGroup.",
description="A feature or role shared by all members of the StudyGroup, representing a criterion for membership in the group.",
196
+
)
197
+
198
+
148
199
class_StudyResult(InformationEntity, ABC):
149
200
"""A collection of data items from a single study that pertain to a particular subject
150
201
or experimental unit in the study, along with optional provenance information
@@ -490,36 +541,6 @@ class Direction(str, Enum):
490
541
DISPUTES="disputes"
491
542
492
543
493
-
classDataSet(Entity, BaseModelForbidExtra):
494
-
"""A collection of related data items or records that are organized together in a
495
-
common format or structure, to enable their computational manipulation as a unit.
496
-
"""
497
-
498
-
type: Literal["DataSet"] =Field(
499
-
default=CoreType.DATA_SET.value,
500
-
description=f"MUST be '{CoreType.DATA_SET.value}'.",
501
-
)
502
-
datasetType: str|None=Field(
503
-
default=None,
504
-
description="A specific type of data set the DataSet instance represents (e.g. a 'clinical data set', a 'sequencing data set', a 'gene expression data set', a 'genome annotation data set')",
505
-
)
506
-
reportedIn: Document|iriReference|None=Field(
507
-
default=None, description="A document in which the the Method is reported."
508
-
)
509
-
releaseDate: date|None=Field(
510
-
default=None,
511
-
description="Indicates the date a version of a DataSet was formally released.",
512
-
)
513
-
version: str|None=Field(
514
-
default=None,
515
-
description="The version of the DataSet, as assigned by its creator.",
516
-
)
517
-
license: MappableConcept|None=Field(
518
-
default=None,
519
-
description="A specific license that dictates legal permissions for how a data set can be used (by whom, where, for what purposes, with what additional requirements, etc.)",
"""An independent, evidence-based argument that may support or refute the validity
525
546
of a specific Proposition. The strength and direction of this argument is based on
@@ -740,24 +761,3 @@ class Statement(InformationEntity, BaseModelForbidExtra):
740
761
default=None,
741
762
description="An evidence-based argument that supports or disputes the validity of the proposition that a Statement assesses or puts forth as true. The strength and direction of this argument (whether it supports or disputes the proposition, and how strongly) is based on an interpretation of one or more pieces of information as evidence (i.e. 'Evidence Items).",
742
763
)
743
-
744
-
745
-
classStudyGroup(Entity, BaseModelForbidExtra):
746
-
"""A collection of individuals or specimens from the same taxonomic class, selected
747
-
for analysis in a scientific study based on their exhibiting one or more common
748
-
characteristics (e.g. species, race, age, gender, disease state, income). May be
749
-
referred to as a 'cohort' or 'population' in specific research settings.
750
-
"""
751
-
752
-
type: Literal["StudyGroup"] =Field(
753
-
default=CoreType.STUDY_GROUP.value,
754
-
description=f"Must be '{CoreType.STUDY_GROUP.value}'",
755
-
)
756
-
memberCount: int|None=Field(
757
-
default=None,
758
-
description="The total number of individual members in the StudyGroup.",
0 commit comments