75. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 1/31/2018 9:02:23 AM Central Standard 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.

75.1 Files compared

# Location File Last Modified
1 NVCC_2.2_01162018.zip\NVCC\SQL NVCC_usp_GetNVAMeds.sql Thu Oct 19 16:37:26 2017 UTC
2 NVCC_2.2_01162018.zip\NVCC\SQL NVCC_usp_GetNVAMeds.sql Wed Jan 31 13:36:41 2018 UTC

75.2 Comparison summary

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

75.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

75.4 Active regular expressions

No regular expressions were active.

75.5 Comparison detail

  1   --USE [NWI C_PanelMgm t]
  2   --GO
  3  
  4   SET ANSI_N ULLS ON
  5   GO
  6  
  7   SET QUOTED _IDENTIFIE R ON
  8   GO
  9  
  10  
  11   ALTER PROC EDURE [App ].[NVCC_us p_GetNVAMe ds]
  12           --  Add the p arameters  for the st ored proce dure here
  13           @p id bigint  -- this is  the patie ntsid
  14   AS
  15   --======== ========== ========== ========== ========== ========== ========== ========== ===
  16   --Requesto r                                : Non Va C oordinated  Care Proj ect
  17   --Author                  : Jerr y Kohler ( Original s cript by D r. Charles  Demosthen es)
  18   --Object/S P Name                  : NVCC_u sp_GetNVAM eds
  19   --SERVER                                    SERVER        
  20   --Data Bas e                                : NWIC_Pan elMgmt
  21   --Schema                                    : app
  22   --Report                                    : N/A
  23   --Folder                                    : N/A
  24   --Report L oc             : N/A
  25   --Job                     : None
  26   --Job Loc                 : None
  27   --Note                    : 
  28   --Date Cre ated           : 02-0 5-2016
  29   --
  30   --Changed                 : 03-0 3-2016  
  31   --Changed  By                 :  Jerry Kohl er - North west Innov ation Cent er (NWIC)
  32   --Reason F or Change               : Added  NonVAMedCo mments per  TFS NVCC  project ta sk 1329.
  33   --                          Also  added Non VAMedDiscl amer, and  a conditio n that
  34   --                          the  Discontinu edDateTime  is NULL.
  35   --
  36   --Changed                 : 02-0 5-2016  
  37   --Changed  By             : Jerr y Kohler -  Northwest  Innovatio n Center ( NWIC)
  38   --Reason F or Change               : Remove d station  parameter  in order t o expand t he search
  39   --                          for  a patient' s VA meds  from a sin gle statio n to any
  40   --                          stat ion a pati ent is ass ociated wi th.
  41   --
  42   --Purpose                 : Retr ieve a pat ient's med ications n ot issued  by VA for
  43   --                          incl usion into  NVCC docu mentation
  44   --======== ========== ========== ========== ========== ========== ========== ========== ===
  45   BEGIN
  46  
  47           --  SET NOCOU NT ON adde d to preve nt extra r esult sets  from
  48           --  interferi ng with SE LECT state ments.
  49           SE T NOCOUNT  ON;
  50  
  51           SE LECT n.Sta 3n
  52              ,App.udf_S tationName  (n.Sta3n)  AS Statio nName
  53              ,n.NonVAMe dSID
  54                      ,d .LocalDrug NameWithDo se
  55              ,n.Dosage
  56              ,n.Medicat ionRoute
  57                  ,n.Sch edule
  58              ,n.NonVAMe dComments
  59              ,n.NonVAMe dDisclaime r
  60           FR OM CDWWork .NonVAMed. NonVaMed n
  61       INNER  JOIN CDWWo rk.Dim.Loc alDrug d O N n.LocalD rugSID = d .LocalDrug SID
  62           WH ERE n.Pati entSID in  (select PT Sid from [ app].[udf_ AllPatient sSIDs](@pi d))
  63         AND  n.Disconti nuedDateTi me is NULL ;
  64           
  65   END;
  66  
  67  
  68   GO
  69  
  70