154. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 11/9/2017 10:44:49 AM Eastern 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.

154.1 Files compared

# Location File Last Modified
1 REFDOC-v2.1.0.zip\NVCC\SQL NVCC_usp_GetXdwFacility.sql Thu Oct 19 17:37:26 2017 UTC
2 REFDOC-v2.1.0.zip\NVCC\SQL NVCC_usp_GetXdwFacility.sql Wed Nov 8 20:45:33 2017 UTC

154.2 Comparison summary

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

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

154.4 Active regular expressions

No regular expressions were active.

154.5 Comparison detail

  1   --DROP PRO CEDURE App .NVCC_usp_ GetXdwFaci lity
  2  
  3   USE NWIC_P anelMgmt
  4   GO
  5  
  6   SET ANSI_N ULLS ON
  7   GO
  8  
  9   SET QUOTED _IDENTIFIE R ON
  10   GO
  11  
  12   CREATE PRO CEDURE App .NVCC_usp_ GetXdwFaci lity
  13           --  @LCustome rID is fro m CDWWork. LCustomer. LCustomer
  14           @L CustomerID  int
  15   AS
  16   --======== ========== ========== ========== ========== ========== ========== ========== ====
  17   --Requesto r              : Non  Va Coordin ated Care  Project
  18   --Author                  : Bria n Diggs
  19   --Object/S P Name         : NVCC _usp_GetXd wFacility
  20   --Server                  :  DNS   DNS. URL         
  21   --Data Bas e              : NWIC _PanelMgmt
  22   --Schema                  : app
  23   --Report                  : N/A
  24   --Folder                  : N/A
  25   --Report L oc             : N/A
  26   --Job                     : None
  27   --Job Loc                 : None
  28   --Note                    : 
  29   --Date Cre ated           : 2017 -02-14
  30   --
  31   --
  32   --Last Cha nged           : 
  33   --Last Cha nged By                 : 
  34   --Reason F or Change               : 
  35   --
  36   --Purpose                 : To g et the sit es for whi ch a user  has PHI/PI I access
  37   --======== ========== ========== ========== ========== ========== ========== ========== ====
  38   --Uses: Ap p.udf_Stat ionName
  39   --Uses: CD WWork.LCus tomer.AllP ermissions
  40   --Uses: CD WWork.Dim. Sta3n
  41  
  42   BEGIN
  43           SE LECT
  44                    s.St a3n AS Fac ilityID
  45                    ,App .udf_Stati onName(s.S ta3n) AS F acilityNam e
  46                    ,s.V ISNFY17 AS  VISN
  47                    ,s.D istrictNum berFY17 AS  District
  48           FR OM CDWWork .LCustomer .AllPermis sions AS a p
  49                    JOIN  CDWWork.D im.Sta3n A S s
  50                             ON ap. Sta3n = s. Sta3n
  51           WH ERE 
  52                    ap.L CustomerID  = @LCusto merID 
  53                    AND  ap.PHIPII  = 1 
  54                    AND  ap.Sta3n >  0
  55                    AND  s.Active =  'Y'
  56   END
  57   GO
  58  
  59   exec sp_Si gnAppObjec t 'NVCC_us p_GetXdwFa cility';
  60  
  61   ---- Test  Cases
  62   ---- "Norm al" user.
  63   --exec app .NVCC_usp_ GetXdwFaci lity 51773
  64   ---- 3 cha racter sit e code not  resolvabl e, no PHI/ PII permis sions
  65   --exec app .NVCC_usp_ GetXdwFaci lity 18193 8
  66   -- -- No s ites, no i nferred si te
  67   --exec app .NVCC_usp_ GetXdwFaci lity 61151 7
  68   ---- No in ferred sit e, many (a ll?) PHIPP I permissi ons on sit es
  69   --exec app .NVCC_usp_ GetXdwFaci lity 61169 4
  70   ---- No in ferred sta 3n, VISH,  Region, or  District,  PHIPII pe srmission  on 8 sites  in VISN 2 0
  71   --exec app .NVCC_usp_ GetXdwFaci lity 13128
  72   ---- User  who genera ted a Null ReferenceE xception i n User\Use rInfo
  73   --exec app .NVCC_usp_ GetXdwFaci lity 27947 9
  74   ---- blank
  75   --exec app .NVCC_usp_ GetXdwFaci lity NULL
  76   ---- Non-e xistant na me
  77   --exec app .NVCC_usp_ GetXdwFaci lity -20