Produced by Araxis Merge on 8/27/2018 1:12:12 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 | PPMS Build 8 Sprint 1.zip\PPMS Build 8 Sprint 1\CIF B8S1\VA.PPMS.IWS\VA.PPMS.IWS\VA.PPMS.ProviderData | Provider.cs | Tue Aug 14 18:51:18 2018 UTC |
| 2 | PPMS Build 8 Sprint 1.zip\PPMS Build 8 Sprint 1\CIF B8S1\VA.PPMS.IWS\VA.PPMS.IWS\VA.PPMS.ProviderData | Provider.cs | Wed Aug 15 18:50:43 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 212 |
| 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 | using Syst em.Linq; | |
| 2 | using Syst em.Runtime .Serializa tion; | |
| 3 | using Syst em.Xml.Ser ialization ; | |
| 4 | ||
| 5 | namespace VA.PPMS.Pr oviderData | |
| 6 | { | |
| 7 | public partial c lass Provi ders | |
| 8 | { | |
| 9 | [X mlNamespac eDeclarati ons] | |
| 10 | pu blic XmlSe rializerNa mespaces X mlns | |
| 11 | { | |
| 12 | get | |
| 13 | { | |
| 14 | var ns = new X mlSerializ erNamespac es(); | |
| 15 | ns.Add("p" , "https:/ /ppms. DNS /exchange/ ccn/1.0"); | |
| 16 | ||
| 17 | retu rn ns; | |
| 18 | } | |
| 19 | set { /* needed fo r xml seri alization */ } | |
| 20 | } | |
| 21 | ||
| 22 | pu blic strin g InitialP roviderId | |
| 23 | { | |
| 24 | get | |
| 25 | { | |
| 26 | if ( Provider ! = null && Provider.C ount > 0) return Pro vider[0].P roviderId; | |
| 27 | retu rn string. Empty; | |
| 28 | } | |
| 29 | } | |
| 30 | ||
| 31 | [D ataMember] | |
| 32 | pu blic strin g Transact ionId { ge t; set; } | |
| 33 | ||
| 34 | [D ataMember] | |
| 35 | pu blic strin g NetworkI d { get; s et; } | |
| 36 | ||
| 37 | [D ataMember] | |
| 38 | pu blic bool IsVaNetwor k { get; s et; } | |
| 39 | } | |
| 40 | ||
| 41 | [Known Type(typeo f(Individu al))] | |
| 42 | [Known Type(typeo f(Organiza tion))] | |
| 43 | public partial c lass Provi der | |
| 44 | { | |
| 45 | pu blic bool IsOrganiza tion => Ty pe != null && Type.I tem is Org anization; | |
| 46 | ||
| 47 | pu blic Npi F irstNpi | |
| 48 | { | |
| 49 | get | |
| 50 | { | |
| 51 | // b ase type o n first NP I type | |
| 52 | if ( Npis != nu ll && Npis .Item.Any( )) | |
| 53 | { | |
| 54 | return Npi s.Item[0]; | |
| 55 | } | |
| 56 | ||
| 57 | retu rn null; | |
| 58 | } | |
| 59 | } | |
| 60 | ||
| 61 | pu blic strin g FirstNpi Number | |
| 62 | { | |
| 63 | get | |
| 64 | { | |
| 65 | var npi = Firs tNpi; | |
| 66 | retu rn npi?.Nu mber; | |
| 67 | } | |
| 68 | } | |
| 69 | ||
| 70 | pu blic strin g Provider NameDispla y | |
| 71 | { | |
| 72 | get | |
| 73 | { | |
| 74 | if ( !IsOrganiz ation) | |
| 75 | { | |
| 76 | return Ind ividualNam e; | |
| 77 | } | |
| 78 | ||
| 79 | if ( Type.Item is Organiz ation obj) return ob j.Provider Name; | |
| 80 | retu rn string. Empty; | |
| 81 | } | |
| 82 | } | |
| 83 | ||
| 84 | pu blic strin g Individu alName | |
| 85 | { | |
| 86 | get | |
| 87 | { | |
| 88 | if ( Type.Item is Individ ual obj) r eturn $"{o bj.LastNam e}, {obj.F irstName}" ; | |
| 89 | retu rn null; | |
| 90 | } | |
| 91 | } | |
| 92 | ||
| 93 | pu blic bool IsModifica tion => !s tring.IsNu llOrEmpty( Correlatio nId); | |
| 94 | } | |
| 95 | ||
| 96 | public partial c lass Addre ss | |
| 97 | { | |
| 98 | pu blic strin g Composit eId | |
| 99 | { | |
| 100 | get | |
| 101 | { | |
| 102 | var addressLin e = $"{Add ress1} {Ad dress2} {A ddress3}". Trim(); | |
| 103 | retu rn $"{addr essLine}, {City}, {S tate}, {Po stalCode}" ; | |
| 104 | } | |
| 105 | } | |
| 106 | } | |
| 107 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.