Changes between Version 6 and Version 7 of BRICCS CRLN Recruitment Report


Ignore:
Timestamp:
11/03/15 10:58:33 (9 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BRICCS CRLN Recruitment Report

    v6 v7  
    2626{{{
    2727#!sql
    28 SELECT
    29           REPLACE(REPLACE(REPLACE([BPtNumber], 'b', 'B'), 'p', 'P'), 'T', 't') [ParticipantId]
    30       ,i2b2ClinDataIntegration.dbo.InitCap(REPLACE(REPLACE([RecruitingSite], 'briccs_', ''), '_recruitment', '')) [RecruitingSite]
    31       ,[InterviewDate] [EnrolmentDate]
    32 FROM [i2b2_app03_b1_data].[dbo].[ParticipantRecruitment]
    33 WHERE   InterviewDate >= '01-October-201?' AND   InterviewDate < '01-October-201? + 1'
     28EXEC CrlnRecruitmentReport {Start year - starting from 1st October}
    3429}}}
    3530