Skip to content

Commit 7514060

Browse files
authored
Merge pull request #88 from occ-data/biospec
updated biospecimen to make required properties more clear
2 parents aee1285 + 9eb0848 commit 7514060

1 file changed

Lines changed: 6 additions & 15 deletions

File tree

gdcdictionary/schemas/biospecimen.yaml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,8 @@ required:
5555
- method_of_procurement
5656
- procured_or_purchased
5757
- tissue_type
58-
allOf:
59-
- oneOf:
60-
- required:
61-
- days_to_collection
62-
- required:
63-
- days_to_collection_not_reported
64-
- oneOf:
65-
- required:
66-
- days_to_procurement
67-
- required:
68-
- days_to_procurement_not_reported
58+
- days_to_collection_not_reported
59+
- days_to_procurement_not_reported
6960

7061
properties:
7162
$ref: "_definitions.yaml#/ubiquitous_properties"
@@ -399,22 +390,22 @@ properties:
399390

400391
days_to_collection:
401392
description: >
402-
The number of days between the index date and the date the biospecimen was collected at laboratory.
393+
The number of days between the index date and the date the biospecimen was received at laboratory that will be processing the biospecimen. If this information is missing, please indicate 'TRUE' for 'days_to_collection_not_reported'. If this information is available, then answer 'FALSE' for 'days_to_collection_not_reported'.
403394
type: integer
404395

405396
days_to_collection_not_reported:
406397
description: >
407-
True/False indicator of whether the number of days between the index date and the date the biospecimen was collected at laboratory is reported.
398+
True/False indicator of whether the number of days between the index date and the date the biospecimen was collected at laboratory is reported. If 'days_to_collection' data is available, please answer 'FALSE' and fill in 'days_to_collection'. If the data are not available, answer 'TRUE'.
408399
type: boolean
409400

410401
days_to_procurement:
411402
description: >
412-
The number of days between the index date and the date the biospecimen was taken from the patient (such as the blood draw).
403+
The number of days between the index date and the date the biospecimen was taken from the patient (such as the blood draw). If this information is missing, please indicate 'TRUE' for 'days_to_procurement_not_reported'. If this information is available, then answer 'FALSE' for 'days_to_procurement_not_reported'.
413404
type: integer
414405

415406
days_to_procurement_not_reported:
416407
description: >
417-
True/False indicator of whether the number of days between the index date and the date the biospecimen was taken from the patient is reported.
408+
True/False indicator of whether the number of days between the index date and the date the biospecimen was taken from the patient is reported. If 'days_to_procurement' data is available, please answer 'FALSE' and fill in 'days_to_procurement'. If the data are not available, answer 'TRUE'.
418409
type: boolean
419410

420411
disease_type:

0 commit comments

Comments
 (0)