354. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/26/2017 10:43:31 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.

354.1 Files compared

# Location File Last Modified
1 OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\BMS_Source_C72993\C72993-Sources.zip\C72993\Source\Sources\Database\CreationScripts\BMS\4.Stored Procedures dbo.usp_Insert_Bed_Staff.sql Fri Nov 22 17:02:46 2013 UTC
2 OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\BMS_Source_C72993\C72993-Sources.zip\C72993\Source\Sources\Database\CreationScripts\BMS\4.Stored Procedures dbo.usp_Insert_Bed_Staff.sql Thu Oct 26 18:29:11 2017 UTC

354.2 Comparison summary

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

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

354.4 Active regular expressions

No regular expressions were active.

354.5 Comparison detail

  1   /****** Ob ject:  Sto redProcedu re [dbo].[ usp_Insert _Bed_Staff ]    Scrip t Date: 03 /22/2012 1 1:04:49 ** ****/
  2   IF  EXISTS  (SELECT *  FROM sys. objects WH ERE object _id = OBJE CT_ID(N'[d bo].[usp_I nsert_Bed_ Staff]') A ND type in  (N'P', N' PC'))
  3   DROP PROCE DURE [dbo] .[usp_Inse rt_Bed_Sta ff]
  4   GO
  5   SET ANSI_N ULLS ON
  6   GO
  7   SET QUOTED _IDENTIFIE R ON
  8   GO
  9   -- ======= ========== ========== ========== ========
  10   -- Author:                 PII
  11   -- Create  date: 29.0 5.2012
  12   -- Descrip tion: Inse rt or upda te bed sta ff.
  13   -- ======= ========== ========== ========== ========
  14   CREATE PRO CEDURE [db o].[usp_In sert_Bed_S taff]
  15           @B ED_UID UNI QUEIDENTIF IER,               
  16           @D IVISION_UI D UNIQUEID ENTIFIER, 
  17           @S TAFF NVARC HAR(250),
  18           @P ATIENT_UID  UNIQUEIDE NTIFIER,
  19           @F ACILITY_UI D UNIQUEID ENTIFIER
  20   AS
  21   BEGIN
  22   SET NOCOUN T ON
  23  
  24           IF  EXISTS (S ELECT BED_ UID FROM B ED_STAFF W HERE BED_U ID = @BED_ UID)
  25                    UPDA TE BED_STA FF
  26                             SET DI VISION_UID  = @DIVISI ON_UID,
  27                                      STAFF =  @STAFF,
  28                                      PATIENT_ UID = @PAT IENT_UID,
  29                                      FACILITY _UID = @FA CILITY_UID
  30                             WHERE  BED_UID =  @BED_UID
  31           EL SE
  32                    INSE RT INTO BE D_STAFF
  33                    (                 
  34                             BED_UI D,
  35                             DIVISI ON_UID,
  36                             STAFF,
  37                             PATIEN T_UID,
  38                             FACILI TY_UID
  39                    )
  40                    VALU ES
  41                    (
  42                             @BED_U ID,
  43                             @DIVIS ION_UID,
  44                             @STAFF ,
  45                             @PATIE NT_UID,
  46                             @FACIL ITY_UID
  47                    )
  48                             
  49   END
  50   GO