109. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 1/31/2018 9:02:24 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.

109.1 Files compared

# Location File Last Modified
1 NVCC_2.2_01162018.zip\NVCC\SQL vProbs.sql Thu Oct 19 16:37:26 2017 UTC
2 NVCC_2.2_01162018.zip\NVCC\SQL vProbs.sql Wed Jan 31 13:45:59 2018 UTC

109.2 Comparison summary

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

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

109.4 Active regular expressions

No regular expressions were active.

109.5 Comparison detail

  1   USE [NWIC_ PanelMgmt]
  2   GO
  3  
  4   SET ANSI_N ULLS ON
  5   GO
  6  
  7   SET QUOTED _IDENTIFIE R ON
  8   GO
  9  
  10   CREATE VIE W [app].[v Probs]
  11  
  12   AS
  13   --======== ========== ========== ========== ========== ========== ========== ========== ===
  14   --Requesto r                                : Non Va C oordinated  Care Proj ect
  15   --Author                  : Jerr y Kohler -  Northwest  Innovatio n Center ( NWIC)
  16   --Object/S P Name                  : NVCC_u sp_GetProb s
  17   --SERVER                                    SERVER        
  18   --Data Bas e                                : NWIC_Pan elMgmt
  19   --Schema                                    : app
  20   --Report                                    : N/A
  21   --Folder                                    : N/A
  22   --Report L oc             : N/A
  23   --Job                     : None
  24   --Job Loc                 : None
  25   --Note                    : 
  26   --Date Cre ated           : 02-1 8-2016 
  27   --
  28   --Last Cha nged           : 02-1 8-2016  
  29   --Last Cha nged By                 : Jerry  Kohler - N orthwest I nnovation  Center (NW IC)
  30   --Reason F or Change               : Reques t to also  provide th e station  and statio n
  31   --                          name .
  32   --
  33   --Purpose                 : Retr ieve a pat ient's act ive proble m lists fo r provider
  34   --                          revi ew while c ompiling N VCC docume ntation.
  35   --======== ========== ========== ========== ========== ========== ========== ========== ===
  36      WITH PT Probs (Sta 3n, Statio nName, Pro blemListSI D, Patient SID, ICD9S ID, ICD10S ID) AS
  37        (
  38         SELE CT p.Sta3n
  39                ,App.udf _StationNa me (p.Sta3 n) AS Stat ionName
  40                ,p.Probl emListSID
  41                ,p.Patie ntSID
  42                ,p.ICD9S ID
  43                ,p.ICD10 SID
  44         FROM  CDWWork.O utpat.Prob lemList p 
  45         WHER E p.Active Flag = 'A'
  46           AN D probleml istconditi on <> 'H'
  47        )
  48      
  49      SELECT  DISTINCT p .Sta3n
  50                      ,p .StationNa me
  51                      ,i .ICD9Code  AS ICDCode
  52                      ,' ICD9' AS I CDVersion
  53                      ,l eft(i.ICD9 DiagnosisT ext,50) AS  Problem
  54      FROM PT Probs p
  55      left ou ter join P anelMgmt.v ICD9 i on  p.ICD9SID  = i.ICD9SI D
  56      WHERE p .ICD9SID < > 0
  57  
  58      UNION A LL
  59      
  60      SELECT  DISTINCT p .Sta3n
  61                      ,p .StationNa me
  62                      ,k .ICD10Code  AS ICDCod e
  63                      ,' ICD10'      AS ICDVer sion
  64                      ,l eft(k.ICD1 0Diagnosis Text,50) A S Problem
  65      FROM PT Probs p
  66      left ou ter join P anelMgmt.v ICD10 k on  p.ICD10SI D = k.ICD1 0SID
  67      WHERE p .ICD10SID  <> 0;
  68  
  69  
  70   GO