Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NPPESAPI.net/Core/NPPESContractResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,14 @@ private static void ChangePropertyName(Type type, JsonProperty property)
{ nameof(NPPESBasic.EnumerationDate), "enumeration_date" },
{ nameof(NPPESBasic.FirstName), "first_name" },
{ nameof(NPPESBasic.Gender), "gender" },
{ nameof(NPPESBasic.Sex), "sex" },
{ nameof(NPPESBasic.LastName), "last_name" },
{ nameof(NPPESBasic.LastUpdated), "last_updated" },
{ nameof(NPPESBasic.MiddleName), "middle_name" },
{ nameof(NPPESBasic.NamePrefix), "name_prefix" },
{ nameof(NPPESBasic.NameSuffix), "name_suffix" },
{ nameof(NPPESBasic.OrganizationName), "organization_name" },
{ nameof(NPPESBasic.ParentOrganizationLegalBusinessName), "parent_organization_legal_business_name" },
{ nameof(NPPESBasic.ReplacementNPI), "replacement_npi" }
}
},
Expand Down
12 changes: 11 additions & 1 deletion NPPESAPI.net/Models/NPPESBasic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ public class NPPESBasic
/// </summary>
public string OrganizationName { get; set; }

/// <summary>
/// Parent Organization Legal Business Name
/// </summary>
public string ParentOrganizationLegalBusinessName { get; set; }

/// <summary>
/// The registered individual's first name.
/// </summary>
Expand Down Expand Up @@ -56,7 +61,12 @@ public class NPPESBasic
/// The registered Individual's gender.
/// </summary>
public string Gender { get; set; }


/// <summary>
/// The registered Individual's sex.
/// </summary>
public string Sex { get; set; }

/// <summary>
/// The time the record was created.
/// </summary>
Expand Down