diff --git a/kf_lib_data_ingest/common/concept_schema.py b/kf_lib_data_ingest/common/concept_schema.py index 821c85e1..f3ea5186 100644 --- a/kf_lib_data_ingest/common/concept_schema.py +++ b/kf_lib_data_ingest/common/concept_schema.py @@ -168,6 +168,7 @@ class SAMPLE(PropertyMixin): TUMOR_DESCRIPTOR = None EVENT_ID = None EVENT_AGE_DAYS = None + STATUS = None class EVENT_AGE(QuantityMixin): pass diff --git a/kf_lib_data_ingest/target_api_plugins/kids_first_dataservice.py b/kf_lib_data_ingest/target_api_plugins/kids_first_dataservice.py index 93757f90..2b4e775f 100644 --- a/kf_lib_data_ingest/target_api_plugins/kids_first_dataservice.py +++ b/kf_lib_data_ingest/target_api_plugins/kids_first_dataservice.py @@ -668,6 +668,9 @@ def build_entity(cls, record, get_target_id_from_record): record.get(CONCEPT.SAMPLE.VOLUME_UL) or record.get(CONCEPT.BIOSPECIMEN.VOLUME_UL) ), + "specimen_status": ( + record.get(CONCEPT.BIOSPECIMEN.STATUS) + ), "visible": record.get(CONCEPT.BIOSPECIMEN.VISIBLE), "visibility_comment": record.get( CONCEPT.BIOSPECIMEN.VISIBILITY_COMMENT