Produced by Araxis Merge on 6/22/2018 9:28:21 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | REFDOC_2.3_06072018.zip\REFDOC 2.3_06072018\NVCC\SQL | udf_AllPatientsSIDS.sql | Thu Jun 7 16:53:38 2018 UTC |
| 2 | REFDOC_2.3_06072018.zip\REFDOC 2.3_06072018\NVCC\SQL | udf_AllPatientsSIDS.sql | Fri Jun 22 12:52:35 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 132 |
| 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 | 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 :
|
|
| 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 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.