Skip to content

Commit

Permalink
✨ Add Biospecimen.specimen_status to target api plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
znatty22 committed Jun 4, 2024
1 parent 4b8c811 commit 86404cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions kf_lib_data_ingest/common/concept_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ class SAMPLE(PropertyMixin):
TUMOR_DESCRIPTOR = None
EVENT_ID = None
EVENT_AGE_DAYS = None
STATUS = None

class EVENT_AGE(QuantityMixin):
pass
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86404cb

Please sign in to comment.