105. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/12/2018 10:18:35 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

105.1 Files compared

# Location File Last Modified
1 MSSRe Build 4.zip\DatabaseScripts\DatabasePatches\MSSR Increment 2\Database Scripts\MSSR Data Entry.zip\Insert MSSR_Data_Master_Insert.sql Thu Jun 5 15:19:36 2014 UTC
2 MSSRe Build 4.zip\DatabaseScripts\DatabasePatches\MSSR Increment 2\Database Scripts\MSSR Data Entry.zip\Insert MSSR_Data_Master_Insert.sql Wed Apr 11 19:58:28 2018 UTC

105.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 186
Changed 1 2
Inserted 0 0
Removed 0 0

105.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

105.4 Active regular expressions

No regular expressions were active.

105.5 Comparison detail

  1   --Set scri ptPathStri ng to the  directory  where the  insert scr ipts are l ocated
  2   ---------- ---------- ---------- ---------- ---------- ---------- ---------- ------
  3   ---------- ---------- ---------- ---------- ---------- ---------- ---------- ------
  4   :setvar sc riptPathSt ring "C:\U sers\ PI I
\Desktop\N ew folder\ MSSR Data  Entry\Inse rt"
  5   ---------- ---------- ---------- ---------- ---------- ---------- ---------- ------
  6   ---------- ---------- ---------- ---------- ---------- ---------- ---------- ------
  7  
  8  
  9   declare @r eseedID      int;
  10   --Check if  PART-O it em exists  and handle  appropria tely
  11   IF EXISTS  (SELECT *  FROM [dbo] .[STD_SURV EY_TYPE] W HERE [dbo] .[STD_SURV EY_TYPE].[ CODE] = 'M SAT')
  12   BEGIN
  13      PRINT C HAR(13) +  'Survey MS AT already  exists in  STD_SURVE Y_TYPE Tab le' 
  14   END
  15   ELSE
  16   BEGIN
  17           PR INT CHAR(1 3) + 'Inse rting MSAT  into STD_ SURVEY_TYP E table' 
  18           SE T IDENTITY _INSERT [d bo].[STD_S URVEY_TYPE ] ON
  19           BE GIN TRY
  20                    :r $ (scriptPat hString)\" MSSR_Data_ Entry_Ques tions_Inse rt.sql"
  21           EN D TRY
  22           BE GIN CATCH
  23                    PRIN T CHAR(13)  + 'An err or occurre d while in serting MS AT informa tion... '  + ERROR_ME SSAGE()
  24           EN D CATCH
  25           SE T IDENTITY _INSERT [d bo].[STD_S URVEY_TYPE ] OFF
  26           SE T @reseedI D = (SELEC T MAX([dbo ].[STD_SUR VEY_TYPE]. [ID]) from  [dbo].[ST D_SURVEY_T YPE])
  27           DB CC CHECKID ENT ('[dbo ].[STD_SUR VEY_TYPE]'  , RESEED,  @reseedID )
  28   END
  29   GO
  30  
  31   --Create t ables to s tore medic ations
  32   IF (NOT EX ISTS (SELE CT * 
  33                     FRO M INFORMAT ION_SCHEMA .TABLES 
  34                     WHE RE TABLE_S CHEMA = 'M SSR' 
  35                     AND   TABLE_NA ME = 'MSSR _DISPENSIN G_PHARMACY '))
  36   BEGIN
  37       :r $(s criptPathS tring)\"MS SR_Dispens ing_Pharma rcy_Create .sql"
  38   END
  39  
  40   IF (NOT EX ISTS (SELE CT * 
  41                     FRO M INFORMAT ION_SCHEMA .TABLES 
  42                     WHE RE TABLE_S CHEMA = 'M SSR' 
  43                     AND   TABLE_NA ME = 'MSSR _MEDICATIO N'))
  44   BEGIN
  45       :r $(s criptPathS tring)\"MS SR_Medicat ion_Create .sql"
  46   END
  47  
  48   IF (NOT EX ISTS (SELE CT * 
  49                     FRO M INFORMAT ION_SCHEMA .TABLES 
  50                     WHE RE TABLE_S CHEMA = 'M SSR' 
  51                     AND   TABLE_NA ME = 'MSSR _MEDICATIO N_REASON_S TOPPED'))
  52   BEGIN
  53       :r $(s criptPathS tring)\"MS SR_Medicat ion_Reason _Stopped_C reate.sql"
  54   END
  55  
  56   IF (NOT EX ISTS (SELE CT * 
  57                     FRO M INFORMAT ION_SCHEMA .TABLES 
  58                     WHE RE TABLE_S CHEMA = 'M SSR' 
  59                     AND   TABLE_NA ME = 'MSSR _MEDICATIO N_USED_STA TUS'))
  60   BEGIN
  61       :r $(s criptPathS tring)\"MS SR_Medicat ion_Used_S tatus_Crea te.sql"
  62   END
  63  
  64   IF (NOT EX ISTS (SELE CT * 
  65                     FRO M INFORMAT ION_SCHEMA .TABLES 
  66                     WHE RE TABLE_S CHEMA = 'M SSR' 
  67                     AND   TABLE_NA ME = 'MSSR _PATIENT_M EDICATION' ))
  68   BEGIN
  69       :r $(s criptPathS tring)\"MS SR_Patient _Medicatio n_Create.s ql"
  70   END
  71  
  72   IF (NOT EX ISTS (SELE CT * 
  73                     FRO M INFORMAT ION_SCHEMA .TABLES 
  74                     WHE RE TABLE_S CHEMA = 'M SSR' 
  75                     AND   TABLE_NA ME = 'MSSR _HEALTH_FA CTORS'))
  76   BEGIN
  77       :r $(s criptPathS tring)\"MS SR_Health_ Factors_Cr eate.sql"
  78   END
  79  
  80  
  81   :r $(scrip tPathStrin g)\"MSSR_I nsert_Addi tional_Pag es.sql"
  82  
  83   /*Drop exi sting pati ent status  tables if  they exis t*/
  84   :r $(scrip tPathStrin g)\"MSSR_D rop_Patien t_Data.sql "
  85  
  86   /*Recreate  patient s tatus tabl es*/
  87   :r $(scrip tPathStrin g)\"MSSR_P ATIENT_DEM S_Create.s ql"
  88   :r $(scrip tPathStrin g)\"MSSR_C URRENT_STA TUS_Create .sql"
  89   :r $(scrip tPathStrin g)\"MSSR_H F_Condense d_Create.s ql"
  90   :r $(scrip tPathStrin g)\"MSSR_U PDATED_DAT E_Create.s ql"
  91  
  92  
  93  
  94