This repository was archived by the owner on Jan 29, 2022. It is now read-only.
File tree 4 files changed +14
-11
lines changed
4 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -532,14 +532,16 @@ definitions:
532
532
age_range :
533
533
type : object
534
534
properties :
535
- minimum_age :
535
+ min_age :
536
536
type : string
537
537
description : Minimum participant age (e.g. "12 Years", "1 Month",
538
- " 15 Days" ). If unknown, it's "Unknown". If no limit, it's undefined.
539
- maximum_age :
538
+ " 15 Days" ). If unknown, it's `undefined`. If no limit, it's "any".
539
+ If not applicable, it's "N/A".
540
+ max_age :
540
541
type : string
541
542
description : Maximum participant age (e.g. "12 Years", "1 Month",
542
- " 15 Days" ). If unknown, it's "Unknown". If no limit, it's undefined.
543
+ " 15 Days" ). If unknown, it's `undefined`. If no limit, it's "any".
544
+ If not applicable, it's "N/A".
543
545
has_published_results :
544
546
type : boolean
545
547
description : Trial has its results published (true/false)
Original file line number Diff line number Diff line change @@ -282,8 +282,8 @@ exports.seed = (knex) => {
282
282
target_sample_size : 2000 ,
283
283
gender : 'both' ,
284
284
age_range : {
285
- minimum_age : '18 Years' ,
286
- maximum_age : '60 Years' ,
285
+ min_age : '18 Years' ,
286
+ max_age : '60 Years' ,
287
287
} ,
288
288
has_published_results : true ,
289
289
publications : [
@@ -356,7 +356,7 @@ exports.seed = (knex) => {
356
356
study_phase : [ 'Not applicable' ] ,
357
357
target_sample_size : 250 ,
358
358
age_range : {
359
- minimum_age : '18 Years' ,
359
+ min_age : '18 Years' ,
360
360
} ,
361
361
locations : [
362
362
{
@@ -544,6 +544,7 @@ exports.seed = (knex) => {
544
544
. then ( ( ) => knex ( 'persons' ) . del ( ) )
545
545
. then ( ( ) => knex ( 'trials_organisations' ) . del ( ) )
546
546
. then ( ( ) => knex ( 'organisations' ) . del ( ) )
547
+ . then ( ( ) => knex ( 'trial_deduplication_logs' ) . del ( ) )
547
548
. then ( ( ) => knex ( 'records' ) . del ( ) )
548
549
. then ( ( ) => knex ( 'trials_publications' ) . del ( ) )
549
550
. then ( ( ) => knex ( 'publications' ) . del ( ) )
Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ const trialAttributes = {
152
152
target_sample_size : 1000 ,
153
153
gender : 'both' ,
154
154
age_range : {
155
- minimum_age : '18 Years' ,
156
- maximum_age : '60 Years' ,
155
+ min_age : '18 Years' ,
156
+ max_age : '60 Years' ,
157
157
} ,
158
158
has_published_results : true ,
159
159
public_title : 'public_title' ,
Original file line number Diff line number Diff line change @@ -444,10 +444,10 @@ const trialMapping = {
444
444
} ,
445
445
age_range : {
446
446
properties : {
447
- minimum_age : {
447
+ min_age : {
448
448
type : 'string' ,
449
449
} ,
450
- maximum_age : {
450
+ max_age : {
451
451
type : 'string' ,
452
452
} ,
453
453
} ,
You can’t perform that action at this time.
0 commit comments