Produced by Araxis Merge on 12/7/2018 11:36:04 AM Central Standard 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:\SCRUB\MHED\MHED\VAR 4.10.0\var-web-release-4.10@e10f18de1ef\veteran-appointment-requests\app\modules\new-appointment-request\views\common\type-of-care | section-view.js | Mon Oct 22 23:25:20 2018 UTC |
| 2 | C:\MHED-scrubbed\MHED\MHED\VAR 4.10.0\var-web-release-4.10@e10f18de1ef\veteran-appointment-requests\app\modules\new-appointment-request\views\common\type-of-care | section-view.js | Fri Dec 7 13:07:40 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 84 |
| 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 | define([ | |
| 2 | 'modul es/form/se ction-view ', | |
| 3 | 'json! modules/ne w-appointm ent-reques t/views/co mmon/type- of-care/da ta/type-of -care-sect ion.json', | |
| 4 | ], functio n(SectionV iew, metad ata) { | |
| 5 | 'use s trict'; | |
| 6 | ||
| 7 | ||
| 8 | /** | |
| 9 | * @cl ass TypeOf CareSectio nView | |
| 10 | * @ty pedef {Bac kbone.View <Backbone. Model>} | |
| 11 | */ | |
| 12 | return SectionVi ew.extend( { | |
| 13 | in itialize: function(o ptions) { | |
| 14 | var sect ionName = 'type-of-c are-sectio n'; | |
| 15 | this.leg end = this .getLegend FromMetada ta(section Name, meta data, fals e) || ''; | |
| 16 | this.col lection = this.getQu estionsFro mMetadata( sectionNam e, metadat a); | |
| 17 | this.set TypeOfCare QuestionMo del(option s.clinical Services); | |
| 18 | this.ini tializeQue stionEvent Listeners( ); | |
| 19 | }, | |
| 20 | se tTypeOfCar eQuestionM odel: func tion(clini calService s) { | |
| 21 | var type OfCareQues tion = thi s.collecti on.get('ty peOfCare') ; | |
| 22 | var care Types = cl inicalServ ices.map(f unction (c are) { | |
| 23 | retu rn { | |
| 24 | id: care.g et('id'), | |
| 25 | text: care .get('name '), | |
| 26 | value: car e.get('id' ), | |
| 27 | }; | |
| 28 | }); | |
| 29 | typeOfCa reQuestion .set('valu es', careT ypes); | |
| 30 | }, | |
| 31 | te mplateCont ext: funct ion() { | |
| 32 | return { legend: th is.legend} ; | |
| 33 | }, | |
| 34 | ||
| 35 | updateF DNS el: functi on(model) { | |
| 36 | var type OfCareId = model.get ('value'); | |
| 37 | var coll ection = t his.getOpt ion('clini calService s'); | |
| 38 | var type OfCareMode l = collec tion.get(t ypeOfCareI d); | |
| 39 | ||
| 40 | this.mod el.set('ty peOfCare', typeOfCar eModel); | |
| 41 | }, | |
| 42 | }); | |
| 43 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.