Changeset 188
- Timestamp:
- Feb 10, 2010, 4:21:55 PM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r187 r188 353 353 lipidAssayRef.save() 354 354 355 humanStudy.addToAssays(lipidAssayRef); 356 humanStudy.save() 357 355 358 } 356 359 -
trunk/grails-app/controllers/SandboxController.groovy
r187 r188 38 38 39 39 // Demonstration of querying mechanism 40 println clinicalDataLayerService.getFeaturesQuantitative(1)41 clinicalDataLayerService.getDataQuantitative('LDL',1,['A1_B','A3_B'] as String[])40 println "Features available for first assay of PPSH study: " + clinicalDataLayerService.getFeaturesQuantitative(Study.findByCode("PPSH").assays*.id[0]) 41 println "LDL feature value for two subjects: " + clinicalDataLayerService.getDataQuantitative('LDL',1,['A1_B','A3_B'] as String[]) 42 42 43 43 // Specify which variables we want to be available in the controller (implicit return statement) -
trunk/grails-app/domain/dbnp/studycapturing/Study.groovy
r186 r188 23 23 24 24 static hasMany = [ editors: nimble.User, 25 readers: nimble.User, 26 subjects: Subject, 27 groups: SubjectGroup, 28 events: Event, 29 samplingEvents: SamplingEvent, 25 readers: nimble.User, 26 subjects: Subject, 27 groups: SubjectGroup, 28 events: Event, 29 samplingEvents: SamplingEvent, 30 assays: Assay, 30 31 persons: StudyPerson, 31 32 publications: Publication
Note: See TracChangeset
for help on using the changeset viewer.