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/include_access_model/datamodel/include_access_model_pydantic.py
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -260,7 +260,7 @@ class Study(Record):
260
260
clinical_data_source_type: list[EnumClinicalDataSourceType] =Field(default=..., title="Clinical Data Source Type", description="""Source(s) of data collected from study participants""", json_schema_extra= { "linkml_meta": {'domain_of': ['Study']} })
261
261
data_category: list[EnumDataCategory] =Field(default=..., title="Data Category", description="""General category of data in this Record (e.g. Clinical, Genomics, etc)""", json_schema_extra= { "linkml_meta": {'domain_of': ['Study']} })
262
262
website: Optional[str] =Field(default=None, title="Website", description="""Website for the Record.""", json_schema_extra= { "linkml_meta": {'domain_of': ['Study', 'VirtualBiorepository', 'Publication']} })
263
-
publication: Optional[list[Publication]] =Field(default=[], title="Publication", description="""Publications associated with this Record.""", json_schema_extra= { "linkml_meta": {'domain_of': ['Study']} })
263
+
publication: Optional[list[str]] =Field(default=[], title="Publication", description="""Publications associated with this Record.""", json_schema_extra= { "linkml_meta": {'domain_of': ['Study']} })
264
264
expected_number_of_participants: int=Field(default=..., title="Expected Number of Participants", description="""Total expected number of participants to be recruited.""", json_schema_extra= { "linkml_meta": {'domain_of': ['Study']} })
265
265
actual_number_of_participants: int=Field(default=..., title="Actual Number of Participants", description="""Total participants included at this time.""", json_schema_extra= { "linkml_meta": {'domain_of': ['Study']} })
266
266
acknowledgments: Optional[str] =Field(default=None, title="Acknowledgments", description="""Funding statement and acknowledgments for this study""", json_schema_extra= { "linkml_meta": {'domain_of': ['Study']} })
@@ -317,7 +317,7 @@ class Investigator(Record):
317
317
external_id: Optional[list[str]] =Field(default=[], title="External Identifiers", description="""Other identifiers for this entity, eg, from the submitting study or in systems like dbGaP""", json_schema_extra= { "linkml_meta": {'domain_of': ['Record']} })
318
318
319
319
320
-
classPublication(ConfiguredBaseModel):
320
+
classPublication(Record):
321
321
"""
322
322
Information about a specific publication.
323
323
"""
@@ -326,6 +326,9 @@ class Publication(ConfiguredBaseModel):
326
326
327
327
bibliographic_reference: Optional[str] =Field(default=None, title="Bibiliographic Reference", description="""Text use to reference this Record.""", json_schema_extra= { "linkml_meta": {'domain_of': ['DOI', 'Publication']} })
328
328
website: Optional[str] =Field(default=None, title="Website", description="""Website for the Record.""", json_schema_extra= { "linkml_meta": {'domain_of': ['Study', 'VirtualBiorepository', 'Publication']} })
329
+
uuid: str=Field(default=..., title="UUID", description="""Internally assigned UUID for data management and QC purposes""", json_schema_extra= { "linkml_meta": {'domain_of': ['Record']} })
330
+
id: str=Field(default=..., title="ID", description="""INLCUDE Global ID for this record""", json_schema_extra= { "linkml_meta": {'domain_of': ['Record']} })
331
+
external_id: Optional[list[str]] =Field(default=[], title="External Identifiers", description="""Other identifiers for this entity, eg, from the submitting study or in systems like dbGaP""", json_schema_extra= { "linkml_meta": {'domain_of': ['Record']} })
0 commit comments