Produced by Araxis Merge on 6/22/2018 9:28:20 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 | NVCC_usp_GetNVAMeds.sql | Thu Jun 7 16:53:36 2018 UTC |
| 2 | REFDOC_2.3_06072018.zip\REFDOC 2.3_06072018\NVCC\SQL | NVCC_usp_GetNVAMeds.sql | Fri Jun 22 12:38:13 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 138 |
| 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 [NWI C_PanelMgm t] | |
| 2 | --GO | |
| 3 | ||
| 4 | SET ANSI_N ULLS ON | |
| 5 | GO | |
| 6 | ||
| 7 | SET QUOTED _IDENTIFIE R ON | |
| 8 | GO | |
| 9 | ||
| 10 | ||
| 11 | ALTER PROC EDURE [App ].[NVCC_us p_GetNVAMe ds] | |
| 12 | -- Add the p arameters for the st ored proce dure here | |
| 13 | @p id bigint -- this is the patie ntsid | |
| 14 | AS | |
| 15 | --======== ========== ========== ========== ========== ========== ========== ========== === | |
| 16 | --Requesto r : Non Va C oordinated Care Proj ect | |
| 17 | --Author : Jerr y Kohler ( Original s cript by D r. Charles Demosthen es) | |
| 18 | --Object/S P Name : NVCC_u sp_GetNVAM eds | |
| 19 | --SERVER :
|
|
| 20 | --Data Bas e : NWIC_Pan elMgmt | |
| 21 | --Schema : app | |
| 22 | --Report : N/A | |
| 23 | --Folder : N/A | |
| 24 | --Report L oc : N/A | |
| 25 | --Job : None | |
| 26 | --Job Loc : None | |
| 27 | --Note : | |
| 28 | --Date Cre ated : 02-0 5-2016 | |
| 29 | -- | |
| 30 | --Changed : 03-0 3-2016 | |
| 31 | --Changed By : Jerry Kohl er - North west Innov ation Cent er (NWIC) | |
| 32 | --Reason F or Change : Added NonVAMedCo mments per TFS NVCC project ta sk 1329. | |
| 33 | -- Also added Non VAMedDiscl amer, and a conditio n that | |
| 34 | -- the Discontinu edDateTime is NULL. | |
| 35 | -- | |
| 36 | --Changed : 02-0 5-2016 | |
| 37 | --Changed By : Jerr y Kohler - Northwest Innovatio n Center ( NWIC) | |
| 38 | --Reason F or Change : Remove d station parameter in order t o expand t he search | |
| 39 | -- for a patient' s VA meds from a sin gle statio n to any | |
| 40 | -- stat ion a pati ent is ass ociated wi th. | |
| 41 | -- | |
| 42 | --Purpose : Retr ieve a pat ient's med ications n ot issued by VA for | |
| 43 | -- incl usion into NVCC docu mentation | |
| 44 | --======== ========== ========== ========== ========== ========== ========== ========== === | |
| 45 | BEGIN | |
| 46 | ||
| 47 | -- SET NOCOU NT ON adde d to preve nt extra r esult sets from | |
| 48 | -- interferi ng with SE LECT state ments. | |
| 49 | SE T NOCOUNT ON; | |
| 50 | ||
| 51 | SE LECT n.Sta 3n | |
| 52 | ,App.udf_S tationName (n.Sta3n) AS Statio nName | |
| 53 | ,n.NonVAMe dSID | |
| 54 | ,d .LocalDrug NameWithDo se | |
| 55 | ,n.Dosage | |
| 56 | ,n.Medicat ionRoute | |
| 57 | ,n.Sch edule | |
| 58 | ,n.NonVAMe dComments | |
| 59 | ,n.NonVAMe dDisclaime r | |
| 60 | FR OM CDWWork .NonVAMed. NonVaMed n | |
| 61 | INNER JOIN CDWWo rk.Dim.Loc alDrug d O N n.LocalD rugSID = d .LocalDrug SID | |
| 62 | WH ERE n.Pati entSID in (select PT Sid from [ app].[udf_ AllPatient sSIDs](@pi d)) | |
| 63 | AND n.Disconti nuedDateTi me is NULL ; | |
| 64 | ||
| 65 | END; | |
| 66 | ||
| 67 | ||
| 68 | GO | |
| 69 | ||
| 70 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.