744. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/26/2017 10:44:46 PM 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.

744.1 Files compared

# Location File Last Modified
1 OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\Source\Sources\Database\CreationScripts\BMS\4.Stored Procedures dbo.usp_Filter_Movement_Without_Bed.sql Wed Oct 18 19:07:02 2017 UTC
2 OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\Source\Sources\Database\CreationScripts\BMS\4.Stored Procedures dbo.usp_Filter_Movement_Without_Bed.sql Thu Oct 26 19:45:38 2017 UTC

744.2 Comparison summary

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

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

744.4 Active regular expressions

No regular expressions were active.

744.5 Comparison detail

  1   IF  EXISTS  (SELECT *  FROM sys. objects WH ERE object _id = OBJE CT_ID(N'[d bo].[usp_F ilter_Move ments_With out_Bed]')  AND type  in (N'P',  N'PC'))
  2   DROP PROCE DURE [dbo] .[usp_Filt er_Movemen ts_Without _Bed]
  3   GO
  4   SET ANSI_N ULLS ON
  5   GO
  6   SET QUOTED _IDENTIFIE R ON
  7   GO
  8   -- ======= ========== ========== ========== ========
  9   -- Author                  :        PII
  10   -- Created  date :        01/15/ 2013
  11   -- Descrip tion  :        Gets a dmissions  and moveme nts withou t bed.
  12   -- ======= ========== ========== ========== ========
  13   CREATE PRO CEDURE [db o].[usp_Fi lter_Movem ents_Witho ut_Bed] 
  14           @S TART_DATE  DATETIME,
  15           @E ND_DATE DA TETIME,
  16           @V ISTA_SITE_ UID UNIQUE IDENTIFIER
  17   AS
  18   BEGIN
  19           SE T NOCOUNT  ON;
  20  
  21           SE LECT ID, I EN, WARD_U ID, BED_UI D
  22           FR OM
  23                    (SEL ECT ID, IE N, INITIAL _WARD_UID  AS WARD_UI D, INITIAL _BED_UID A S BED_UID
  24                    FROM  ADMISSION _EVN
  25                             WHERE  VISTA_SITE _UID = @VI STA_SITE_U ID AND ADM ISSION_DAT E BETWEEN  @START_DAT E AND @END _DATE AND  INITIAL_BE D_UID IS N ULL
  26                    UNIO N ALL
  27                    SELE CT ID, IEN , WARD_UID , BED_UID
  28                    FROM  MOVEMENT_ EVN
  29                             WHERE  VISTA_SITE _UID = @VI STA_SITE_U ID AND MOV EMENT_DATE  BETWEEN @ START_DATE  AND @END_ DATE AND B ED_UID IS  NULL) A 
  30           OR DER BY CAS T(IEN AS B IGINT)
  31           
  32   END
  33   GO