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

868.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\production\vx-sync\tests\integrationtests\utils\patient-record-retirement\retirementruleengine inpatient-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 inpatient-rule-itest-spec.js Tue Oct 3 13:13:05 2017 UTC

868.2 Comparison summary

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

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

868.4 Active regular expressions

No regular expressions were active.

868.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       inpati ent: true,
  33       discha rgeDate: ' Wed Sep 24  2014 14:5 8:49 GMT-0 600 (MDT)'
  34   }, {
  35       value:  '30239423 4V323425',
  36       type:  'ICN',
  37       inpati ent: true,
  38       discha rgeDate: ' Wed Sep 24  2014 14:5 8:49 GMT-0 600 (MDT)'
  39   }, {
  40       value:  'DOD;0000 000003',
  41       type:  'PID',
  42       inpati ent: true
  43   }, ];
  44  
  45   var inpati entsJob =  {
  46       'type' : 'inpatie nt',
  47       'patie ntIdentifi er': patie ntIdentifi ers[2],
  48       'rootJ obId': '1' ,
  49       'jobId ': '5'
  50   };
  51  
  52   var log =  require(gl obal.VX_DU MMIES + 'd ummy-logge r');
  53   var config  = {
  54       vistaS ites: {
  55           'A AAA': {},
  56           'B BBB': {}
  57       },
  58       jds: _ .defaults( wConfig.jd s, {
  59           pr otocol: 'h ttp',
  60             host: ' IP          ',
  61             port:  PORT
  62       }),
  63       record Retirement : {
  64           ru les: {
  65                inpatien t: {
  66                    defa ult: 60000
  67                }
  68           }
  69       }
  70   };
  71   var enviro nment = {
  72       metric s: log
  73   };
  74  
  75   var engine  = new Ret irementRul esEngine(l og, config , environm ent);
  76   var jpid;
  77  
  78   describe(' inpatient' , function () {
  79  
  80  
  81       //it(' lets all i dentifiers  through w hen unsync ed', funct ion() {
  82       //     var finish ed = false ;
  83       //     runs(funct ion() {
  84       //         engine .processRe tirementRu les(patien tIds, func tion(error , ids) {
  85       //             ex pect(val(i ds, 'lengt h')).toBe( 4);
  86       //             fi nished = t rue;
  87       //         });
  88       //     });
  89       //
  90       //     waitsFor(f unction()  {
  91       //         return  finished;
  92       //     });
  93       //});
  94  
  95   });