Produced by Araxis Merge on 10/4/2017 8:04:33 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\fhir\common\utils | jds-patientname-fromIcn.js | Mon Aug 21 12:51:00 2017 UTC |
| 2 | rdk.zip\rdk\product\production\rdk\src\fhir\common\utils | jds-patientname-fromIcn.js | Tue Oct 3 17:59:47 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 58 |
| Changed | 1 | 2 |
| 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 | var rdk = require('. ./../../co re/rdk'); | |
| 3 | var httpUt il = rdk.u tils.http; | |
| 4 | var nullch ecker = rd k.utils.nu llchecker; | |
| 5 | var _ = re quire('lod ash'); | |
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | module.exp orts.get = function( icn, req, callback) { | |
| 10 | //http:// IP /vpr/ R E D A CTED ;100013/fi nd/patient ?filter=in (pid,[" R E D A CTED ;100013"]) | |
| 11 | ||
| 12 | var jd sServer = req.app.co nfig.jdsSe rver; | |
| 13 | var jd sPath = '/ vpr/' + ic n + '/find /patient?f ilter=in(p id,["' + i cn + '"])' ; | |
| 14 | ||
| 15 | var op tions = _. extend({}, jdsServer , { | |
| 16 | ur l: jdsPath , | |
| 17 | lo gger: req. logger, | |
| 18 | js on: true | |
| 19 | }); | |
| 20 | httpUt il.get(opt ions, | |
| 21 | fu nction(err , result, data) { | |
| 22 | if (!nul lchecker.i sNullish(e rr)) { | |
| 23 | retu rn callbac k(null, un defined); | |
| 24 | } | |
| 25 | ||
| 26 | return c allback(nu ll, _.has( data, 'dat a.items[0] .displayNa me') ? dat a.data.ite ms[0].disp layName : undefined) ; | |
| 27 | } | |
| 28 | ); | |
| 29 | ||
| 30 | }; |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.