Skip to content

Commit

Permalink
add note about endpoints in field names
Browse files Browse the repository at this point in the history
  • Loading branch information
druth314 authored Mar 29, 2022
1 parent 08f301f commit 60ac9ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/Schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ The **Subject** entity is the outer most record in the Subjects endpoint. Within
### Mapping
(subject_S)=
#### Subject

All GDC, PDC, and IDC field names use a 'dot' notation to specify the paths. The first word denotes the endpoints that the field is taken from, such as "file(s)" or "case(s)". The rest of the field name is as seen in GDC and PDC documentation for those endpoints. Since we extract all IDC data from one pivot table which is written oriented around files, we use "files" as the endpoint for all fields from IDC.

| Common Data Format (present in CDA) | GDC field name | PDC field name | IDC field name |
| ----------------------------------- | ---------------------------------------------------------------------- | ---------------------------------- | -------------------------------- |
| id | case.submitter\_id | cases.case\_submitter\_id | files.PatientID |
Expand Down Expand Up @@ -265,6 +268,9 @@ The **File** entity is the outer most record in the Files endpoint. Within the *

(subject_F)=
#### Subject

All GDC, PDC, and IDC field names use a 'dot' notation to specify the paths. The first word denotes the endpoints that the field is taken from, such as "file(s)" or "case(s)". The rest of the field name is as seen in GDC and PDC documentation for those endpoints. Since we extract all IDC data from one pivot table which is written oriented around files, we use "files" as the endpoint for all fields from IDC.

| Common Data Format (present in CDA) | GDC field name | PDC field name | IDC field name |
| ----------------------------------- | ---------------------------------------------------------------------- | ---------------------------------- | -------------------------------- |
| id | file.case.submitter\_id | files.cases.case\_submitter\_id | files.PatientID |
Expand Down

0 comments on commit 60ac9ca

Please sign in to comment.