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 | fitness_activity_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 | fitness_activity_fhir_service.js | Mon Apr 8 16:46:45 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 166 |
| 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('Fit nessActivi tyFHIRServ ice', func tion (Trac kersFHIRSe rvice, Hom ePageConst ants) { | |
| 5 | va r emptyAct ivityResou rce = { | |
| 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 : '55409-7 ',display: 'Exercise Tracking Panel'}] | |
| 16 | }, | |
| 17 | extensio n: [ | |
| 18 | { | |
| 19 | 'url': 'ph ysical-act ivity-cate gory', | |
| 20 | 'valueStri ng': 'acti vity' | |
| 21 | }, | |
| 22 | { | |
| 23 | 'url': 'st eps', | |
| 24 | 'valueStri ng': '' | |
| 25 | } | |
| 26 | ], | |
| 27 | componen t: [ | |
| 28 | ||
| 29 | { | |
| 30 | code: {cod ing: [{sys tem: 'http ://loinc.o rg',code: '55411-3', display: ' Exercise D uration'}] }, | |
| 31 | valueQuant ity: {unit : "minutes "}, | |
| 32 | }, | |
| 33 | { | |
| 34 | code: {cod ing: [{sys tem: 'http ://loinc.o rg',code: '55412-1', display: ' Exercise D istance'}] }, | |
| 35 | valueQuant ity: {unit : "miles"} , | |
| 36 | }, | |
| 37 | { | |
| 38 | code: {cod ing: [{sys tem: 'http ://snomed. info/sct', code: '740 08-4',disp lay: 'Exer cise Inten sity'}]}, | |
| 39 | valueStrin g: "Easy", | |
| 40 | }, | |
| 41 | { | |
| 42 | code: {cod ing: [{sys tem: 'http ://loinc.o rg',code: '73985-4', display: ' Exercise A ctivity'}] }, | |
| 43 | valueStrin g: "Cyclin g", | |
| 44 | } | |
| 45 | ||
| 46 | ] | |
| 47 | }; | |
| 48 | ||
| 49 | ||
| 50 | re turn angul ar.extend( {}, angula r.copy(Tra ckersFHIRS ervice), { | |
| 51 | code: 'h ttp://loin c.org|5540 9-7', | |
| 52 | supports Latest: tr ue, | |
| 53 | ||
| 54 | ||
| 55 | buildRes ource: fun ction (ngM odel) { | |
| 56 | Trac kersFHIRSe rvice.buil dResource( ngModel); | |
| 57 | ||
| 58 | ||
| 59 | ||
| 60 | ngMo del.compon ent = ngMo del.compon ent.map(fu nction (it em) { | |
| 61 | ||
| 62 | // convert string nu mbers back to regula r int | |
| 63 | if (item.h asOwnPrope rty('value Quantity') ) { | |
| 64 | item.v alueQuanti ty.value = parseInt( item.value Quantity.v alue); | |
| 65 | } | |
| 66 | return ite m; | |
| 67 | }); | |
| 68 | ||
| 69 | retu rn ngModel ; | |
| 70 | }, | |
| 71 | ||
| 72 | createEm pty: funct ion () { | |
| 73 | var emptyResou rce = angu lar.copy(e mptyActivi tyResource ); | |
| 74 | ||
| 75 | retu rn angular .extend({} , Trackers FHIRServic e.createEm pty(), emp tyResource ); | |
| 76 | }, | |
| 77 | ||
| 78 | transfor mItem: fun ction (ite m) { | |
| 79 | Trac kersFHIRSe rvice.tran sformItem( item); | |
| 80 | ||
| 81 | ||
| 82 | } | |
| 83 | }) ; | |
| 84 | }); | |
| 85 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.