Produced by Araxis Merge on 10/26/2017 10:43:14 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\BMS_Build_C72898\BMS_Source-BuildC72898.zip\C72898\Source\Sources\Database\CreationScripts\BMS\4.Stored Procedures | dbo.usp_Get_Discharge_Event.sql | Wed Oct 23 12:51:10 2013 UTC |
| 2 | OSCIF_BMS_v2_iter 2_September_2017.zip\BMS_Cand\BMS_Build_C72898\BMS_Source-BuildC72898.zip\C72898\Source\Sources\Database\CreationScripts\BMS\4.Stored Procedures | dbo.usp_Get_Discharge_Event.sql | Thu Oct 26 15:43:47 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 80 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | /****** Ob ject: Sto redProcedu re [dbo].[ usp_Get_Di scharge_Ev ent] Sc ript Date: 03/22/201 2 11:04:49 ******/ | |
| 2 | IF EXISTS (SELECT * FROM sys. objects WH ERE object _id = OBJE CT_ID(N'[d bo].[usp_G et_Dischar ge_Event]' ) AND type in (N'P', N'PC')) | |
| 3 | DROP PROCE DURE [dbo] .[usp_Get_ Discharge_ Event] | |
| 4 | GO | |
| 5 | SET ANSI_N ULLS ON | |
| 6 | GO | |
| 7 | SET QUOTED _IDENTIFIE R ON | |
| 8 | GO | |
| 9 | -- ======= ========== ========== ========== ======== | |
| 10 | -- Author: SILVIC AP | |
| 11 | -- Create date: 24.1 0.2012 | |
| 12 | -- Descrip tion: Get discharge event by I D. | |
| 13 | -- ======= ========== ========== ========== ======== | |
| 14 | CREATE PRO CEDURE [db o].[usp_Ge t_Discharg e_Event] | |
| 15 | @I D INT = NULL, | |
| 16 | @D OMAIN_ID
|
|
| 17 | AS | |
| 18 | BEGIN | |
| 19 | SET NOCOUN T ON | |
| 20 | ||
| 21 | SE LECT | |
| 22 | [DE] .[ID], | |
| 23 | [DE] .[ENTERED_ DATE], | |
| 24 | [DE] .[DOMAIN_I D], | |
| 25 | [DE] .[IEN], | |
| 26 | [DE] .[PATIENT_ UID], | |
| 27 | [DE] .[WARD_UID ], | |
| 28 | [DE] .[BED_UID] , | |
| 29 | [DE] .[VISTA_SI TE_UID], | |
| 30 | [DE] .[DISCHARG ED_DATE], | |
| 31 | [DE] .[ENTERED_ BY_UID], | |
| 32 | [TOM ].[CODE] A S [TYPE_OF _MOVEMENT_ CODE], | |
| 33 | [TOM ].[CODE_SY STEM] AS [ TYPE_OF_MO VEMENT_COD E_SYSTEM], | |
| 34 | [TOM ].[CODE_SY STEM_NAME] AS [TYPE_ OF_MOVEMEN T_CODE_SYS TEM_NAME], | |
| 35 | [TOM ].[DISPLAY _NAME] AS [TYPE_OF_M OVEMENT_DI SPLAY_NAME ], | |
| 36 | [DE] .[ADMISSIO N_ID] | |
| 37 | FR OM DISCHAR GE_EVN DE | |
| 38 | LEFT JOIN CONC EPT AS TOM ON DE.TYP E_OF_MOVEM ENT_ID = T OM.ID | |
| 39 | WH ERE [DE].[ ID] = @ID AND [DE].[ DOMAIN_ID] = @DOMAIN _ID | |
| 40 | END | |
| 41 | GO |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.