63. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 2/8/2019 1:12:22 PM Eastern 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.

63.1 Files compared

# Location File Last Modified
1 CIF B10S2.zip\CIF B10S2\VA.PPMS.IWS\VA.PPMS.IWS\VA.PPMS.ProviderData Provider.cs Thu Jan 3 20:21:52 2019 UTC
2 CIF B10S2.zip\CIF B10S2\VA.PPMS.IWS\VA.PPMS.IWS\VA.PPMS.ProviderData Provider.cs Fri Feb 8 15:00:24 2019 UTC

63.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 220
Changed 1 2
Inserted 0 0
Removed 0 0

63.3 Comparison options

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

63.4 Active regular expressions

No regular expressions were active.

63.5 Comparison detail

  1   using Syst em;
  2   using Syst em.Linq;
  3   using Syst em.Runtime .Serializa tion;
  4   using Syst em.Xml.Ser ialization ;
  5  
  6   namespace  VA.PPMS.Pr oviderData
  7   {
  8       public  partial c lass Provi ders
  9       {
  10           [X mlNamespac eDeclarati ons]
  11           pu blic XmlSe rializerNa mespaces X mlns
  12           {
  13                get
  14                {
  15                    var  ns = new X mlSerializ erNamespac es();
  16                      ns.Add("p" , "https:/ / DNS . URL /exchange/ ccn/1.0");
  17  
  18                    retu rn ns;
  19                }
  20                set { /*  needed fo r xml seri alization  */ }
  21           }
  22  
  23           pu blic strin g InitialP roviderId
  24           {
  25                get
  26                {
  27                    if ( Provider ! = null &&  Provider.C ount > 0)  return Pro vider[0].P roviderId;
  28                    retu rn string. Empty;
  29                }
  30           }
  31  
  32           [D ataMember]
  33           pu blic strin g Transact ionId { ge t; set; }
  34  
  35           [D ataMember]
  36           pu blic strin g NetworkI d { get; s et; }
  37  
  38           [D ataMember]
  39           pu blic bool  IsVaNetwor k { get; s et; }
  40  
  41           [D ataMember]
  42           pu blic Guid?  OwnerId {  get; set;  }
  43       }
  44  
  45       [Known Type(typeo f(Individu al))]
  46       [Known Type(typeo f(Organiza tion))]
  47       public  partial c lass Provi der
  48       {
  49           pu blic bool  IsOrganiza tion => Ty pe != null  && Type.I tem is Org anization;
  50  
  51           pu blic Npi F irstNpi
  52           {
  53                get
  54                {
  55                    // b ase type o n first NP I type
  56                    if ( Npis != nu ll && Npis .Item.Any( ))
  57                    {
  58                         return Npi s.Item[0];
  59                    }
  60  
  61                    retu rn null;
  62                }
  63           }
  64  
  65           pu blic strin g FirstNpi Number
  66           {
  67                get
  68                {
  69                    var  npi = Firs tNpi;
  70                    retu rn npi?.Nu mber;
  71                }
  72           }
  73  
  74           pu blic strin g Provider NameDispla y
  75           {
  76                get
  77                {
  78                    if ( !IsOrganiz ation)
  79                    {
  80                         return Ind ividualNam e;
  81                    }
  82  
  83                    if ( Type.Item  is Organiz ation obj)  return ob j.Provider Name;
  84                    retu rn string. Empty;
  85                }
  86           }
  87  
  88           pu blic strin g Individu alName
  89           {
  90                get
  91                {
  92                    if ( Type != nu ll && Type .Item is I ndividual  obj) retur n $"{obj.L astName},  {obj.First Name}";
  93                    retu rn null;
  94                }
  95           }
  96  
  97           pu blic bool  IsModifica tion => !s tring.IsNu llOrEmpty( Correlatio nId);
  98       }
  99  
  100       public  partial c lass Addre ss
  101       {
  102           pu blic strin g Composit eId
  103           {
  104                get
  105                {
  106                    var  addressLin e = $"{Add ress1} {Ad dress2} {A ddress3}". Trim();
  107                    retu rn $"{addr essLine},  {City}, {S tate}, {Po stalCode}" ;
  108                }
  109           }
  110       }
  111   }