Skip to content

Commit

Permalink
Resolve missing attribute for Institution Address. Fix #48
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoEVCosta committed Jul 11, 2019
1 parent 4dcf632 commit 57f80a4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions SQL/LATEST_dump.sql

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/brapi/structures/v1.3/studies.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports={
"startDate": {_table:"Trial",_attribute:"startDate"}, //Should be in study not trial?
"studyDbId": {_table:"Study",_attribute:"id",_parse:"str"},
"studyName": "name",
// "studyType": {}, //deprecated
"studyType": {}, //deprecated
"studyTypeDbId": "studyTypeId",
"studyTypeName": {_table:"StudyType",_attribute:"name"}, //name or description????
"trialDbId": {_table:"Trial",_attribute:"id",_parse:"str"},
Expand Down
4 changes: 2 additions & 2 deletions components/brapi/structures/v1.3/studies_studyID.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ module.exports={
"countryCode": {_table:"Country",_attribute:"code"},
"countryName": {_table:"Country",_attribute:"name"},
"documentationURL": "https://brapi.org", //not implemented
"instituteAddress": "", //{_table:"LocationAdditionalInfo"}, //Will create new column in institution
"instituteAdress": "", //Deprecated
"instituteAddress": "streetName",
"instituteAdress": "streetName", //Deprecated
"instituteName": {_table:"Institution",_attribute:"name"},
"latitude": {_table:"Location",_attribute:"longitude",_parse:"int"},
"locationDbId": {_table:"Location",_attribute:"id",_parse:"str"},
Expand Down

0 comments on commit 57f80a4

Please sign in to comment.