Produced by Araxis Merge on 4/8/2019 1:00:39 PM 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 | C:\AraxisMergeCompare\Pri_un\crp-fitheart-release-2.0\app\src\modules\trackers-fhir | glucose_fhir_service.js | Wed Mar 20 17:30:00 2019 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\MHED P3 Healthshare 2.0-redacted\crp-fitheart-release-2.0\app\src\modules\trackers-fhir | glucose_fhir_service.js | Mon Apr 8 16:47:15 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 124 |
| Changed | 1 | 4 |
| 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 | define(['a ngular', ' app', 'Tra ckersFHIRS ervice'], function ( angular, a pp) { | |
| 2 | 'use s trict'; | |
| 3 | ||
| 4 | app.se rvice('Glu coseFHIRSe rvice', fu nction (Tr ackersFHIR Service) { | |
| 5 | va r emptyGlu coseResour ce = { | |
| 6 | meta: { | |
| 7 | tag: [ | |
| 8 | { | |
| 9 | 'system': 'https://w iki.mobile health. DOMAIN . EXT /display/P GDMS/Clien t+Provenan ce+Mapping ', | |
| 10 | 'code' : ' REDACTED ', | |
| 11 | 'displ ay': 'VA F itHeart' | |
| 12 | } | |
| 13 | ], | |
| 14 | }, | |
| 15 | code: {c oding: [{s ystem: 'ht tp://loinc .org',code : '2345-7' ,display: 'Glucose [ Mass/volum e] in Seru m or Plasm a'}]}, | |
| 16 | valueQua ntity: { | |
| 17 | valu e: undefin ed, | |
| 18 | unit : "mg/dl" | |
| 19 | }, | |
| 20 | valueStr ing: undef ined, | |
| 21 | componen t: [ | |
| 22 | { | |
| 23 | code: {cod ing: [{sys tem:"http: //snomed.i nfo/sct",c ode:"16254 9003",disp lay: "Eati ng routine (observab le entity) "}] | |
| 24 | }, | |
| 25 | valueStrin g: undefin ed | |
| 26 | } | |
| 27 | ||
| 28 | ], | |
| 29 | comments : undefine d, | |
| 30 | numericV alue: true | |
| 31 | }; | |
| 32 | ||
| 33 | re turn angul ar.extend( {}, angula r.copy(Tra ckersFHIRS ervice), { | |
| 34 | code: 'h ttp://loin c.org|2345 -7', | |
| 35 | supports Latest: tr ue, | |
| 36 | ||
| 37 | buildRes ource: fun ction (ngM odel) { | |
| 38 | Trac kersFHIRSe rvice.buil dResource( ngModel); | |
| 39 | ||
| 40 | if ( ngModel.nu mericValue ) { | |
| 41 | ngModel.va lueString = undefine d; | |
| 42 | } el se { | |
| 43 | ngModel.va lueQuantit y = undefi ned; | |
| 44 | } | |
| 45 | ngMo del.numeri cValue = u ndefined; | |
| 46 | retu rn ngModel ; | |
| 47 | }, | |
| 48 | ||
| 49 | createEm pty: funct ion() { | |
| 50 | var emptyResou rce = angu lar.copy(e mptyGlucos eResource) ; | |
| 51 | retu rn angular .extend({} , Trackers FHIRServic e.createEm pty(), emp tyResource ) | |
| 52 | }, | |
| 53 | ||
| 54 | transfor mItem: fun ction(ngMo del) { | |
| 55 | Trac kersFHIRSe rvice.tran sformItem( ngModel); | |
| 56 | if ( !ngModel.v alueString ) { | |
| 57 | ngModel.nu mericValue = true; | |
| 58 | } el se { | |
| 59 | ngModel.nu mericValue = false; | |
| 60 | } | |
| 61 | } | |
| 62 | }) ; | |
| 63 | }); | |
| 64 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.