13. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/12/2019 4:22:12 PM Central 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.

13.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\CC CC SEOC 1.7\seocui-release1.7@bb33f84589b\cc_seoc_ui\src\utils decodeString.spec.js Tue Jan 29 13:55:38 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\Community Care Care Coordination SEOC 1.7-redacted\CC CC SEOC 1.7\seocui-release1.7@bb33f84589b\cc_seoc_ui\src\utils decodeString.spec.js Tue Mar 12 21:18:26 2019 UTC

13.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 21 288
Changed 20 60
Inserted 0 0
Removed 0 0

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

13.4 Active regular expressions

No regular expressions were active.

13.5 Comparison detail

  1   import dec odeString,  { decodeB illingCode s, decodeU sers } fro m './decod eString';
  2  
  3   describe(' decodeStri ng functio ns', () =>  {
  4     describe ('decodeSt ring', ()  => {
  5       it('sh ould retur n an empty  string if  no string  is given' , () => {
  6         cons t actual =  decodeStr ing();
  7         cons t expected  = '';
  8  
  9         expe ct(actual) .toEqual(e xpected);
  10       });
  11  
  12       it('sh ould corre ctly decod e a given  string', ( ) => {
  13         cons t actual =  decodeStr ing('Test  String &#x 7e;!& #x40;&#x23 ;$&#x 25;^& *()_+&#x60 ;-={} |[]:" ;\'<&gt ;?,./');
  14         cons t expected  = 'Test S tring ~!@# $%^&*()_+` -={}|[]:"; \'<>?,./';
  15  
  16         expe ct(actual) .toEqual(e xpected);
  17       });
  18     });
  19  
  20     describe ('decodeBi llingCodes ', () => {
  21       it('sh ould retur n an empty  array if  no billing Codes are  given', ()  => {
  22         cons t actual =  decodeBil lingCodes( );
  23         cons t expected  = [];
  24  
  25         expe ct(actual) .toEqual(e xpected);
  26       });
  27  
  28       it('sh ould corre ctly decod e the list  of billin gCodes', ( ) => {
  29         cons t billingC odes = [
  30           {
  31              billingCod e: '12345' ,
  32              codeType:  'CPT',
  33              descriptio n: 'code d escription ',
  34              precertReq uired: fal se
  35           },
  36           {
  37              billingCod e: 'H&#x7e ;&#x21;&#x 40;&#x23;' ,
  38              codeType:  'DRG',
  39              descriptio n: 'code d escription ',
  40              precertReq uired: fal se
  41           },
  42           {
  43              billingCod e: '23456' ,
  44              codeType:  'HCPCS',
  45              descriptio n: '&#x7e; &#x21;&#x4 0;&#x23; c ode descri ption',
  46              precertReq uired: fal se
  47           },
  48           {
  49              billingCod e: 'E&#x7e ;&#x21;&#x 40;&#x23;' ,
  50              codeType:  'CPT',
  51              descriptio n: '&#x7e; &#x21;&#x4 0;&#x23; d escription ',
  52              precertReq uired: fal se
  53           }
  54         ];
  55  
  56         cons t actual =  decodeBil lingCodes( billingCod es);
  57         cons t expected  = [
  58           {
  59              billingCod e: '12345' ,
  60              codeType:  'CPT',
  61              descriptio n: 'code d escription ',
  62              precertReq uired: fal se
  63           },
  64           {
  65              billingCod e: 'H~!@#' ,
  66              codeType:  'DRG',
  67              descriptio n: 'code d escription ',
  68              precertReq uired: fal se
  69           },
  70           {
  71              billingCod e: '23456' ,
  72              codeType:  'HCPCS',
  73              descriptio n: '~!@# c ode descri ption',
  74              precertReq uired: fal se
  75           },
  76           {
  77              billingCod e: 'E~!@#' ,
  78              codeType:  'CPT',
  79              descriptio n: '~!@# d escription ',
  80              precertReq uired: fal se
  81           }
  82         ];
  83  
  84         expe ct(actual) .toEqual(e xpected);
  85       });
  86     });
  87  
  88     describe ('decodeUs ers', () = > {
  89       it('sh ould retur n an empty  array if  no users a re given',  () => {
  90         cons t actual =  decodeUse rs();
  91         cons t expected  = [];
  92  
  93         expe ct(actual) .toEqual(e xpected);
  94       });
  95  
  96       it('sh ould corre ctly decod e the list  of users' , () => {
  97         cons t users =  [
  98           {
  99               userName:  ' REDACTED ',
  100              role: 'Vie wer',
  101               vaNetworkI d: ' REDACTED ',
  102               domain: ' RE D ACT E D '
  103           },
  104           {
  105              userName:  ' REDACTED ',
  106              role: 'Aut hor',
  107               vaNetworkI d: ' REDACTE D',
  108               domain: ' RE D ACT E D '
  109           },
  110           {
  111               userName:  ' REDACTED ',
  112              role: 'Pub lisher',
  113              vaNetworkI d: ' REDACTE D',
  114               domain: ' RE D ACT E D '
  115           },
  116           {
  117               userName:  ' REDACTED ',
  118              role: 'Adm inistrator ',
  119               vaNetworkI d: ' REDACTE D
',
  120              domain: ' REDACTED '
  121           },
  122           {
  123              userName:  ' REDACTED ',
  124              role: 'Adm inistrator ',
  125              vaNetworkI d: ' REDACTED ',
  126              domain: ' REDACTED '
  127           },
  128           {}
  129         ];
  130  
  131         cons t actual =  decodeUse rs(users);
  132         cons t expected  = [
  133           {
  134               userName:  ' REDACTED ',
  135              role: 'VIE WER',
  136               vaNetworkI d: ' REDACTED ',
  137               domain: ' RE D ACT E D '
  138           },
  139           {
  140               userName:  ' REDACTED ,
  141              role: 'AUT HOR',
  142               vaNetworkI d: ' R E DAC T E D',
  143               domain: ' RE D ACT E D '
  144           },
  145           {
  146               userName:  ' REDACTED ',
  147              role: 'PUB LISHER',
  148               vaNetworkI d: ' R E DAC T E D',
  149               domain: ' RE D ACT E D
  150           },
  151           {
  152               userName:  ' REDACTED ',
  153              role: 'ADM INISTRATOR ',
  154               vaNetworkI d: ' R E DAC T E D
',
  155               domain: ' RE D ACT E D '
  156           },
  157           {
  158               userName:  ' R E DACTED ',
  159              role: 'ADM INISTRATOR ',
  160               vaNetworkI d: ' R E DAC T E D
',
  161               domain: ' RE D ACT E D '
  162           },
  163           {
  164              userName:  '',
  165              role: '',
  166              vaNetworkI d: '',
  167              domain: ''
  168           }
  169         ];
  170  
  171         expe ct(actual) .toEqual(e xpected);
  172       });
  173     });
  174   });