133. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/4/2017 8:04:37 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.

133.1 Files compared

# Location File Last Modified
1 rdk.zip\rdk\product\production\rdk\src\write\orders\lab orders-lab-vista-writer-itest-spec.js Mon Aug 21 12:51:00 2017 UTC
2 rdk.zip\rdk\product\production\rdk\src\write\orders\lab orders-lab-vista-writer-itest-spec.js Tue Oct 3 19:05:03 2017 UTC

133.2 Comparison summary

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

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

133.4 Active regular expressions

No regular expressions were active.

133.5 Comparison detail

  1   'use stric t';
  2  
  3   var vistaW riter = re quire('./o rders-lab- vista-writ er');
  4  
  5   var writeb ackContext  = {
  6       vistaC onfig: {
  7             host: ' IP          ',
  8             port:  PORT ,
  9             accessCode : ' PL      ',
  10             verifyCode : ' PL      !!',
  11             localIP: ' IP        ',
  12           lo calAddress : 'localho st',
  13           no Reconnect:  true
  14       },
  15       interc eptorResul ts: {
  16           pa tientIdent ifiers: {
  17                'dfn': ' 8'
  18           }
  19       },
  20       model:  {
  21           'p rovider':  '100000002 38',
  22           'l ocation':  '285',
  23           'o rderDialog ': 'LR OTH ER LAB TES TS',
  24           'd isplayGrou p': '5',
  25           'q uickOrderD ialog': '2 ',
  26           'i nputList':  [{
  27                'inputKe y': '4',
  28                'inputVa lue': '119 1'
  29           },  {
  30                'inputKe y': '126',
  31                'inputVa lue': '1'
  32           },  {
  33                'inputKe y': '127',
  34                'inputVa lue': '72'
  35           },  {
  36                'inputKe y': '180',
  37                'inputVa lue': '9'
  38           },  {
  39                'inputKe y': '28',
  40                'inputVa lue': 'SP'
  41           },  {
  42                'inputKe y': '6',
  43                'inputVa lue': 'TOD AY'
  44           },  {
  45                'inputKe y': '29',
  46                'inputVa lue': '28'
  47           }] ,
  48           'c ommentList ': [{
  49                'comment ': '~For T est: AMIKA CIN'
  50           },  {
  51                'comment ': '~Dose  is expecte d to be at  &UNKNOWN  level.'
  52           },  {
  53                'comment ': 'additi onal comme nt'
  54           }] ,
  55           'k ind': 'Lab oratory'
  56       },
  57       logger : sinon.st ub(require ('bunyan') .createLog ger({
  58           na me: 'lab-v ista-write r'
  59       }))
  60   };
  61  
  62   describe(' write-back  orders la b vista wr iter integ ration tes ts', funct ion() {
  63  
  64       //Test  w/o requi red DFN
  65       it('te sts that s ave order  returns er ror with n o vprRespo nse & no v prModel',  function(d one) {
  66           th is.timeout (5000);
  67           vi staWriter. create(wri tebackCont ext, funct ion(err, r esult) {
  68                expect(e rr).to.be. truthy();
  69                expect(w ritebackCo ntext.vprR esponse).t o.be.undef ined();
  70                expect(w ritebackCo ntext.vprM odel).to.b e.undefine d();
  71                done();
  72           }) ;
  73       });
  74  
  75       /*
  76           // This test  will creat e a new la b order in  Vista.  U ncomment t o test loc ally
  77           it ('tests th at save or der return s successf ul vprResp onse & vpr Model', fu nction(don e) {
  78                writebac kContext.i nterceptor Results.pa tientIdent ifiers.dfn  = '100615 ';  //set  missing DF N
  79                this.tim eout(20000 );
  80                vistaWri ter.create (writeback Context, f unction(er r, result)  {
  81                    expe ct(err).to .be.falsy( );
  82                    expe ct(writeba ckContext. vprRespons e).to.be.t ruthy();
  83                    var  jsonObj =  JSON.parse (writeback Context.vp rResponse) ;
  84                    if ( jsonObj.or derCheckLi st) {
  85                         writebackC ontext.vpr Response =  null;
  86                         vistaWrite r.create(w ritebackCo ntext, fun ction(err,  result) {
  87                             expect (err).to.b e.falsy();
  88                             expect (writeback Context.vp rResponse) .to.be.tru thy();
  89                             jsonOb j = JSON.p arse(write backContex t.vprRespo nse);
  90                             expect (jsonObj.o rderCheckL ist).to.be .truthy();
  91                             done() ;
  92                         });
  93                    }els e {
  94                         expect(wri tebackCont ext.vprMod el).to.be. truthy();
  95                         done();
  96                    }
  97                });
  98           }) ;
  99       */
  100  
  101   });