1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* Stedi Enrollment
*
* The Stedi Enrollment Service manages provider enrollments with healthcare payers. It tracks enrollment status, provider details, and supports batch enrollment processing to ensure providers have the necessary credentials before processing healthcare transactions.
*
* The version of the OpenAPI document: 2024-09-01
* Contact: healthcare@stedi.com
* Generated by: https://openapi-generator.tech
*/
use crate::enrollment::models;
use serde::{Deserialize, Serialize};
/// AllEnrolledProviderFields : Complete provider information including both read-only and mutable fields.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AllEnrolledProviderFields {
/// The Stedi-assigned identifier for the provider. The [Create Provider](https://www.stedi.com/docs/api-reference/healthcare/post-enrollment-create-provider) endpoint returns this as the `id` property.
#[serde(rename = "id")]
pub id: String,
/// The provider's name, such as `Example Dental Associates, LLC`.
#[serde(rename = "name")]
pub name: String,
/// The provider's National Provider Identifier (NPI). This is a 10-digit number assigned by the Centers for Medicare & Medicaid Services (CMS) to healthcare providers in the United States. It is used to identify providers in healthcare transactions.
#[serde(rename = "npi")]
pub npi: String,
/// The provider's tax identification number (SSN or EIN). This is used to identify the provider for tax and administrative purposes.
#[serde(rename = "taxId")]
pub tax_id: String,
/// The type of tax identification number. This indicates whether the tax ID is a Social Security Number (SSN) or Employer Identification Number (EIN).
#[serde(rename = "taxIdType")]
pub tax_id_type: String,
}
impl AllEnrolledProviderFields {
/// Complete provider information including both read-only and mutable fields.
pub fn new(id: String, name: String, npi: String, tax_id: String, tax_id_type: String) -> AllEnrolledProviderFields {
AllEnrolledProviderFields {
id,
name,
npi,
tax_id,
tax_id_type,
}
}
}