Produced by Araxis Merge on 10/4/2017 8:04:35 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | rdk.zip\rdk\product\production\rdk\src\resources\patient-record | patient-record-immunization-dupes-spec.js | Mon Aug 21 12:51:00 2017 UTC |
| 2 | rdk.zip\rdk\product\production\rdk\src\resources\patient-record | patient-record-immunization-dupes-spec.js | Tue Oct 3 18:18:54 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 7 | 104 |
| Changed | 6 | 20 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | 'use stric t'; | |
| 2 | ||
| 3 | var Patien tImmunizat ionDupes = require(' ./patient- record-imm unization- dupes'); | |
| 4 | ||
| 5 | va r vistaSit es = | |
| 6 | { | |
| 7 | C877: { | |
| 8 | na me: 'KODAK ', | |
| 9 | divi sion: '500 ', | |
| 10 | host: ' IP ', | |
| 11 | localIP: ' IP ', | |
| 12 | loca lAddress: 'localhost ', | |
| 13 | port: PORT , | |
| 14 | prod uction: fa lse, | |
| 15 | accessCode : ' REDACTED ', | |
| 16 | verifyCode : ' REDACTED ', | |
| 17 | in foButtonOi d: '1.3.6. 1.4.1.3768 ' | |
| 18 | }, | |
| 19 | '9E7A' : { | |
| 20 | na me: 'PANOR AMA', | |
| 21 | divi sion: '500 ', | |
| 22 | host: ' IP ', | |
| 23 | localIP: ' IP ', | |
| 24 | loca lAddress: 'localhost ', | |
| 25 | port: PORT , | |
| 26 | prod uction: fa lse, | |
| 27 | accessCode : ' REDACTED ', | |
| 28 | verifyCode : ' REDACTED ', | |
| 29 | in foButtonOi d: '1.3.6. 1.4.1.3768 ' | |
| 30 | } | |
| 31 | }; | |
| 32 | ||
| 33 | var fluDOD = { | |
| 34 | 'admin isteredDat eTime': '2 0001204103 149', | |
| 35 | 'facil ityCode': 'DOD', | |
| 36 | 'name' : 'INFLUEN ZA' | |
| 37 | }; | |
| 38 | ||
| 39 | var rubell aVista = { | |
| 40 | 'admin isteredDat eTime': '2 0153120410 3114', | |
| 41 | 'facil ityCode': '500', | |
| 42 | 'name' : 'RUBELLA ' | |
| 43 | }; | |
| 44 | ||
| 45 | var mumpsS econdary = { | |
| 46 | 'admin isteredDat eTime': '2 0100404105 506', | |
| 47 | 'facil ityCode': '561', | |
| 48 | 'name' : 'MUMPS' | |
| 49 | }; | |
| 50 | ||
| 51 | describe(' Verify dup licates ar e removed' , function () { | |
| 52 | ||
| 53 | it('Co rrect immu nization r ecords are obtained with no du plication, all have valid date s', functi on() { | |
| 54 | ||
| 55 | va r input = [fluDOD, r ubellaVist a, mumpsSe condary]; | |
| 56 | va r expected Output = [ fluDOD, ru bellaVista , mumpsSec ondary]; | |
| 57 | Pa tientImmun izationDup es.removeD uplicateIm munization s(vistaSit es, input) ; | |
| 58 | ||
| 59 | ex pect(expec tedOutput. length).to .be.equal( input.leng th); | |
| 60 | }); | |
| 61 | ||
| 62 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.