Produced by Araxis Merge on 1/31/2018 9:02:23 AM Central Standard 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 | NVCC_2.2_01162018.zip\NVCC\SQL | NVCC_usp_GetPatient.sql | Thu Oct 19 16:37:26 2017 UTC |
| 2 | NVCC_2.2_01162018.zip\NVCC\SQL | NVCC_usp_GetPatient.sql | Wed Jan 31 13:36:48 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 154 |
| 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_P anelMgmt | |
| 2 | GO | |
| 3 | ||
| 4 | SET ANSI_N ULLS ON | |
| 5 | GO | |
| 6 | ||
| 7 | SET QUOTED _IDENTIFIE R ON | |
| 8 | GO | |
| 9 | ||
| 10 | ||
| 11 | CREATE PRO CEDURE App .NVCC_usp_ GetPatient | |
| 12 | @s tation int , --stat ion for pt , restrict s queries local VA s tation | |
| 13 | @s sn varchar (9) -- thi s is the p atient's S SN | |
| 14 | ||
| 15 | AS | |
| 16 | --======== ========== ========== ========== ========== ========== ========== ========== ==== | |
| 17 | --Requesto r : Non Va Coordin ated Care Project | |
| 18 | --Author : Jerr y Kohler ( Original s cript by D r. Charles Demosthen es) | |
| 19 | --Object/S P Name : NVCC _usp_GetPa tient | |
| 20 | --Server : SERVER | |
| 21 | --Data Bas e : NWIC _PanelMgmt | |
| 22 | --Schema : app | |
| 23 | --Report : N/A | |
| 24 | --Folder : N/A | |
| 25 | --Report L oc : N/A | |
| 26 | --Job : None | |
| 27 | --Job Loc : None | |
| 28 | --Note : | |
| 29 | --Date Cre ated : 01-2 0-2016 | |
| 30 | -- | |
| 31 | -- | |
| 32 | --Last Cha nged : 02-1 8-2016 | |
| 33 | --Last Cha nged By : Jerry Kohler - N orthwest I nnovation Center (NW IC) | |
| 34 | --Reason F or Change : Reques t to also provide th e name of the statio n. | |
| 35 | -- | |
| 36 | --Purpose : To r etrieve a single pat ient recor d for the NVCC app. | |
| 37 | --======== ========== ========== ========== ========== ========== ========== ========== ==== | |
| 38 | BEGIN | |
| 39 | -- SET NOCOU NT ON adde d to preve nt extra r esult sets from | |
| 40 | -- interferi ng with SE LECT state ments. | |
| 41 | SET NOC OUNT ON; | |
| 42 | ||
| 43 | SELECT Cast(patie ntsid as v archar) as strPatien tSID | |
| 44 | , Sta3n | |
| 45 | , App.udf_St ationName (Sta3n) AS StationNa me | |
| 46 | , PatientNam e | |
| 47 | , PatientLas tName | |
| 48 | , PatientFir stName | |
| 49 | , PatientSSN | |
| 50 | , StreetAddr ess1 | |
| 51 | , StreetAddr ess2 | |
| 52 | , StreetAddr ess3 | |
| 53 | , City | |
| 54 | , Zip | |
| 55 | , Zip4 | |
| 56 | , PostalCode | |
| 57 | , Province | |
| 58 | , Country | |
| 59 | , PhoneResid ence | |
| 60 | , PhoneWork | |
| 61 | , PhoneCellu lar | |
| 62 | , DateOfDeat h | |
| 63 | , BadAddress Indicator | |
| 64 | , TemporaryA ddressActi veFlag | |
| 65 | , Gender | |
| 66 | , Age | |
| 67 | , [State] | |
| 68 | , Deceased | |
| 69 | , Eligibilit y | |
| 70 | , DateOfBirt h | |
| 71 | , Ineligible Date | |
| 72 | , Eligibilit yStatus | |
| 73 | , Eligibilit yVerificat ionSource | |
| 74 | FROM C DWWork.SPa tient.SPat ient | |
| 75 | WHERE P atientSSN like @ssn and sta3n= @station; | |
| 76 | END; | |
| 77 | ||
| 78 | GO |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.