279. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/22/2018 9:28:22 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.

279.1 Files compared

# Location File Last Modified
1 REFDOC_2.3_06072018.zip\REFDOC 2.3_06072018\NVCC\SQL vAppts.sql Thu Jun 7 16:53:38 2018 UTC
2 REFDOC_2.3_06072018.zip\REFDOC 2.3_06072018\NVCC\SQL vAppts.sql Fri Jun 22 12:54:53 2018 UTC

279.2 Comparison summary

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

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

279.4 Active regular expressions

No regular expressions were active.

279.5 Comparison detail

  1   USE [NWIC_ PanelMgmt]
  2   GO
  3  
  4   /****** Ob ject:  Vie w [App].[v Appts]     Script Dat e: 1/27/20 16 2:57:01  PM ****** /
  5   SET ANSI_N ULLS ON
  6   GO
  7  
  8   SET QUOTED _IDENTIFIE R ON
  9   GO
  10  
  11   CREATE VIE W [App].[v Appts] AS
  12   --======== ========== ========== ========== ========== ========== ========== ========== ===
  13   --Requesto r                       : Non Va  Coordinat ed Care Pr oject
  14   --Author                  : Jerr y Kohler
  15   --Object/S P Name             :  vGetAppts
  16   --SERVER                           
D NS . U R        
  17   --Data Bas e                       : NWIC_P anelMgmt
  18   --Schema                           : app
  19   --Report                           : N/A
  20   --Folder                           : N/A
  21   --Report L oc             : N/A
  22   --Job                     : None
  23   --Job Loc                 : None
  24   --Note                    : 
  25   --Date Cre ated           : 01-1 2-2016
  26   --
  27   --Last Cha nged           : 02-1 8-2016  
  28   --Last Cha nged By                 : Jerry  Kohler - N orthwest I nnovation  Center (NW IC)
  29   --Reason F or Change               : Reques t to also  provide th e name of  the statio n.
  30   --
  31   --Last Cha nged           : 01-2 7-2016  
  32   --Last Cha nged By            :  Jerry Kohl er - North west Innov ation Cent er (NWIC)
  33   --Reason F or Change          :  This view  created fr om the sto red proced ure
  34   --                          NVA. GetAppts i n order to  facilitat e asynchro nous
  35   --                          proc essing by  the applic ation.
  36   --
  37   --Purpose                 : Retr ieve a pat ient's rec ent appoin tments for  inclusion
  38   --                          into  NVCC docu mentation
  39   --======== ========== ========== ========== ========== ========== ========== ========== ===
  40  
  41   SELECT --T OP (100)
  42         ap.S ta3n
  43        ,App. udf_Statio nName (ap. Sta3n) AS  StationNam e
  44        ,loc. LocationNa me
  45        ,conv ert(varcha r, Appoint mentDateTi me, 101) +  ' ' + con vert(varch ar, Appoin tmentDateT ime, 8) AS  Appointme ntDateTime
  46        ,ap.A ppointment SID
  47        ,ap.P atientSID
  48        ,ap.A ppointment TypeSID
  49        ,desi reddate =
  50         CASE
  51            W hen desire dappointme ntdate is  null
  52            T hen conver t(varchar( 12), cast( dateadd(da y, 1, appo intmentmad edatetime)  as date),  101)
  53            E lse conver t(varchar( 12), cast( desiredapp ointmentda te as date ), 101)
  54         END
  55        ,ap.C ancelNoSho wCode
  56        ,ap.L ocationSID , ap.Purpo seOfVisit
  57        ,ap.S chedulingR equestType
  58        ,ap.C ancelDateT ime
  59        ,ap.A ppointment CancelledF lag
  60  
  61   FROM CDWWo rk.Appt.Ap pointment  AS ap
  62   JOIN CDWWo rk.dim.Loc ation AS l oc ON ap.L ocationSID  = loc.Loc ationSID
  63   WHERE ap.a ppointment datetime > = convert( DATE, date add(mm, 6,  getdate() ))
  64  
  65   GO