Changes between Version 13 and Version 14 of DAPS
- Timestamp:
- 07/21/16 08:58:49 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DAPS
v13 v14 1 = DAPS (Demographics Authentication Processing System)1 = DAPS 2 2 3 3 Tags: [[Lcbru Software Category]] 4 4 5 DAPS (Digital Audit of Patients Submission)takes a sub-set of patient details and validates them against UHL PMI and the Spine [[Demographics Batch Service]]5 DAPS takes a sub-set of patient details and validates them against UHL PMI and the Spine [[Demographics Batch Service]] 6 6 7 To submit a file for processing with DAPS (Data Analysis and Partitioning with Spine), copy a CSV file with the correct columnsinto the folder {{{\\uhldwh\BRICCS_DBS_IN}}}.7 To submit a file for processing with DAPS, copy a CSV file with the correct columns (see below) into the folder {{{\\uhldwh\BRICCS_DBS_IN}}}. 8 8 9 When processing is complete DAPS (Death date, Address and Phone number Supplementation) will place 3files for each submitted CSV in the folder {{{V:\Study specific recruitment projects\IT returned files\}}}9 When processing is complete DAPS place 4 files for each submitted CSV in the folder {{{V:\Study specific recruitment projects\IT returned files\}}} 10 10 11 11 I think that the files returned from the spine are in the folder {{{\\uhlieaae01\DBSClient\Data\OUTBOX\DBS\RWE\Processed-Auto}}}. Maybe we could process them from there! … … 18 18 ||FORENAMES|| || 19 19 ||SURNAME|| || 20 ||DOB|| 21 ||SEX|| 20 ||DOB||YYYY-MM-DD|| 21 ||SEX||Female or Male|| 22 22 ||POSTCODE|| || 23 23 ||NHS_NUMBER|| || … … 114 114 115 115 116 == Specific Runs117 118 === Graphic 2 Extract of S Numbers119 120 {{{#!sql121 WITH demo AS (122 SELECT123 [SYSTEM_NUMBER_CURRENT]124 ,[FORENAMES]125 ,[SURNAME]126 ,[POSTCODE]127 ,[GENDER]128 ,[DATE OF BIRTH]129 ,[BATCH_ID]130 ,[MATCH_DEMOGRAPHIC_LEVEL]131 FROM [DWPATMATCH].[dbo].[DBS_TRACING]132 )133 134 SELECT135 male.FORENAMES136 ,male.SURNAME137 ,male.[DATE OF BIRTH]138 ,ISNULL(postcode.POSTCODE, '') [PostCode]139 ,ISNULL(male.SYSTEM_NUMBER_CURRENT, '') [Male_S_Number]140 ,ISNULL(female.SYSTEM_NUMBER_CURRENT, '') [Female_S_Number]141 ,ISNULL(postcode.SYSTEM_NUMBER_CURRENT, '') [Postcode_S_Number]142 ,COALESCE(male.SYSTEM_NUMBER_CURRENT, female.SYSTEM_NUMBER_CURRENT, postcode.SYSTEM_NUMBER_CURRENT, '') [S Number]143 ,CASE WHEN (male.SYSTEM_NUMBER_CURRENT <> female.SYSTEM_NUMBER_CURRENT)144 OR (male.SYSTEM_NUMBER_CURRENT <> postcode.SYSTEM_NUMBER_CURRENT)145 OR (female.SYSTEM_NUMBER_CURRENT <> postcode.SYSTEM_NUMBER_CURRENT)146 THEN 'Yes' ELSE '' END Mismatch147 FROM demo male148 LEFT JOIN demo female ON female.SURNAME = male.SURNAME149 and female.FORENAMES = male.FORENAMES150 and female.[DATE OF BIRTH] = male.[DATE OF BIRTH]151 and female.BATCH_ID = 10930 and female.GENDER = 'f'152 LEFT JOIN demo postcode ON postcode.SURNAME = male.SURNAME153 and postcode.FORENAMES = male.FORENAMES154 and postcode.[DATE OF BIRTH] = male.[DATE OF BIRTH]155 and postcode.BATCH_ID = 10929156 WHERE male.BATCH_ID = 10930 and male.GENDER = 'm'157 158 }}}159 160 116 [[BackLinks]]