870. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/3/2017 11:16:02 AM 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.

870.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\integrationtests\utils\patient-record-retirement\retirementruleengine outpatient-rule-itest-spec.js Mon Jul 10 17:46:22 2017 UTC
2 ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\integrationtests\utils\patient-record-retirement\retirementruleengine outpatient-rule-itest-spec.js Tue Oct 3 13:13:30 2017 UTC

870.2 Comparison summary

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

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

870.4 Active regular expressions

No regular expressions were active.

870.5 Comparison detail

  1   /*global d escribe, i t, beforeE ach, after Each, expe ct, runs,  waitsFor * /
  2   /*jslint n ode: true  */
  3   'use stric t';
  4  
  5   var _ = re quire('und erscore');
  6  
  7   require('. ./../../.. /../env-se tup');
  8   var Retire mentRulesE ngine = re quire(glob al.VX_RETI REMENTRULE S + '/rule s-engine') ;
  9   var wConfi g = requir e(global.V X_ROOT + ' worker-con fig');
  10  
  11   var patien tIdentifie rs = [{
  12       'type' : 'pid',
  13       'value ': 'AAAA;1 '
  14   }, {
  15       'type' : 'pid',
  16       'value ': 'BBBB;1 '
  17   }, {
  18       'type' : 'pid',
  19       'value ': 'DOD;11 11111'
  20   }];
  21  
  22   var thirty DaysAgo =  30 * 24 *  60 * 60 *  1000;
  23  
  24   var patien tIds = [{
  25       value:  '9E7A;3',
  26       type:  'PID',
  27       inpati ent: true,
  28       discha rgeDate: ' Wed Sep 24  2014 14:5 8:49 GMT-0 600 (MDT)'
  29   }, {
  30       value:  '10107V39 5912',
  31       type:  'icn',
  32       lastAc cessed: 'W ed Sep 24  2014 14:58 :49 GMT-06 00 (MDT)'
  33   }, {
  34       value:  '30239423 4V323425',
  35       type:  'ICN',
  36       lastAc cessed: tr ue,
  37       discha rgeDate: ' Wed Sep 24  2014 14:5 8:49 GMT-0 600 (MDT)'
  38   }, {
  39       value:  'DOD;0000 000003',
  40       type:  'PID',
  41       inpati ent: true
  42   }, ];
  43  
  44   var outpat ientsJob =  {
  45       'type' : 'outpati ent',
  46       'patie ntIdentifi er': patie ntIdentifi ers[2],
  47       'rootJ obId': '1' ,
  48       'jobId ': '5'
  49   };
  50  
  51   var log =  require(gl obal.VX_DU MMIES + 'd ummy-logge r');
  52   var config  = {
  53       record Retirement : {
  54           vi staSites:  {
  55                'AAAA':  {},
  56                'BBBB':  {}
  57           },
  58           jd s: _.defau lts(wConfi g.jds, {
  59                protocol : 'http',
  60                  host: ' IP          ',
  61                  port:  PORT
  62           }) ,
  63           ru les: {
  64                'inpatie nt': {
  65                    'def ault': 600 00
  66                }
  67           }
  68       }
  69   };
  70   var enviro nment = {
  71       metric s: log
  72   };
  73  
  74   var engine  = new Ret irementRul esEngine(l og, config , environm ent);
  75   var jpid;
  76  
  77   describe(' outpatient ', functio n() {
  78  
  79       //it(' lets all i dentifiers  through w hen unsync ed', funct ion() {
  80       //     var finish ed = false ;
  81       //     runs(funct ion() {
  82       //         engine .processRe tirementRu les(patien tIds, func tion(error , ids) {
  83       //             ex pect(val(i ds, 'lengt h')).toBe( 4);
  84       //             fi nished = t rue;
  85       //         });
  86       //     });
  87       //
  88       //     waitsFor(f unction()  {
  89       //         return  finished;
  90       //     });
  91       //});
  92   });