151. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 8/29/2017 11:27:40 AM Eastern 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.

151.1 Files compared

# Location File Last Modified
1 REFDOC-devel-20170714.zip\NVCC\SQL udf_AllPatientsSIDS.sql Fri Jul 14 21:27:02 2017 UTC
2 REFDOC-devel-20170714.zip\NVCC\SQL udf_AllPatientsSIDS.sql Tue Aug 29 12:38:03 2017 UTC

151.2 Comparison summary

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

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

151.4 Active regular expressions

No regular expressions were active.

151.5 Comparison detail

  1   USE [NWIC_ PanelMgmt]
  2   GO
  3  
  4   /****** Ob ject:  Use rDefinedFu nction [Ap p].[udf_Al lPatientsS IDs]    Sc ript Date:  3/23/2017  9:11:25 A M ******/
  5   SET ANSI_N ULLS ON
  6   GO
  7  
  8   SET QUOTED _IDENTIFIE R ON
  9   GO
  10  
  11  
  12   CREATE FUN CTION [App ].[udf_All PatientsSI Ds] (@pid  INT)
  13   RETURNS @A llPtSIDS T ABLE
  14      (
  15          PtI CN VARCHAR (50),
  16          PtS ID INT PRI MARY KEY N OT NULL,
  17          Sta 3n SMALLIN T,
  18          Pat ientIEN VA RCHAR(50)
  19          --P tIEN VARCH AR(50)
  20      )
  21   AS
  22   --======== ========== ========== ========== ========== ========== ========== ========== ===
  23   --Requesto r                                : Non Va C oordinated  Care Proj ect
  24   --Author                  : Jerr y Kohler -  Northwest  Innovatio n Center ( NWIC)
  25   --Object/S P Name                  : udf_Al lPatientsS IDs
  26   --SERVER                                    DNS   URL         
  27   --Data Bas e                                : NWIC_Pan elMgmt
  28   --Schema                                    : app
  29   --Report                                    : N/A
  30   --Folder                                    : N/A
  31   --Report L oc             : N/A
  32   --Job                     : None
  33   --Job Loc                 : None
  34   --Note                    : 
  35   --Date Cre ated           : 01-1 4-2016
  36   --Last Cha nged           : 
  37   --Last Cha nged By                 : 
  38   --Reason F or Change               : 
  39   --
  40   --Purpose                 : Retu rns a tabl e containi ng ALL pat ient SIDS  plus other
  41   --                          data base key d ata for a  single pat ient.  Thi s facilita tes
  42   --                          retr ieving all  data for  a patient,  regardles s of what
  43   --                          stat ion the pa tient rece ived care  at.  This  facilitate s
  44   --                          show ing a cont inuum of c are.
  45   --
  46   --Last Cha nged           : 03-2 3-2017
  47   --Last Cha nged By                 : Jerry  Kohler - N WIC
  48   --Reason F or Change               : Change  function  to look at  App.AllCD WPatients  instead of
  49   --                        : RDWW ork.SPatie nt.SPatien t because  AllCDWPati ents is mu ch
  50   --                        : smal ler and si gnificantl y improves  performan ce.
  51   --======== ========== ========== ========== ========== ========== ========== ========== ===
  52   BEGIN
  53      INSERT  @AllPtSIDS
  54         Sele ct x.Patie ntICN
  55                ,x.Patie ntSID
  56                ,x.Sta3n
  57                ,x.Patie ntIEN
  58           Fr om App.All CDWPatient s AS x
  59          Whe re x.Patie ntICN = (S elect y.Pa tientICN
  60                                     From App. AllCDWPati ents y
  61                                    Where y.Pa tientSID =  @pid);
  62      RETURN
  63  
  64   END
  65  
  66  
  67   GO