Skip to content

Commit

Permalink
Merge pull request #562 from kids-first/cbtn-collections
Browse files Browse the repository at this point in the history
💬 Add familial collection labels
  • Loading branch information
fiendish authored Dec 17, 2020
2 parents 01f5eb2 + dad0f0e commit b48f88c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions dataservice/api/biospecimen/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,16 @@
)

ANALYTE_TYPE_ENUM = {"DNA", "RNA", "Other", "Virtual"}
SAMPLE_PROCUREMENT_ENUM = {"Autopsy", "Biopsy", "Subtotal Resections",
"Gross Total Resections", "Blood Draw",
"Bone Marrow Aspiration", "Other"}
SAMPLE_PROCUREMENT_ENUM = {
"Autopsy", "Biopsy", "Subtotal Resections",
"Gross Total Resections", "Blood Draw",
"Bone Marrow Aspiration", "Other",
# Added for CBTN
"Surgical Resections", "Blood Collection - Proband",
"Saliva Collection - Proband",
"Blood Collection - Maternal", "Saliva Collection - Maternal",
"Blood Collection - Paternal", "Saliva Collection - Paternal",
}
# Codes from http://purl.obolibrary.org/obo/duo.owl
DUO_ID_BIOSPECIMEN_ENUM = {
"DUO:0000021", "DUO:0000006", "DUO:0000019", "DUO:0000026", "DUO:0000020",
Expand Down

0 comments on commit b48f88c

Please sign in to comment.