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 Healthcare
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2024-04-01
* Contact: healthcare@stedi.com
* Generated by: https://openapi-generator.tech
*/
use crate::healthcare::models;
use serde::{Deserialize, Serialize};
/// CobResponseProvider : Information about the entity that submitted the original eligibility check request. This may be an individual practitioner, a medical group, a hospital, or another type of healthcare provider.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CobResponseProvider {
/// When a COB request fails, the response contains one or more `AAA` errors that specify the reasons for the rejection and any recommended follow-up actions.
#[serde(rename = "aaaErrors", skip_serializing_if = "Option::is_none")]
pub aaa_errors: Option<Vec<models::EligibilityCheckError>>,
/// The provider's [National Provider Identifier (NPI)](https://www.stedi.com/docs/healthcare/national-provider-identifier).
#[serde(rename = "npi", skip_serializing_if = "Option::is_none")]
pub npi: Option<String>,
/// The provider's first name. This applies to providers that are an individual.
#[serde(rename = "providerFirstName", skip_serializing_if = "Option::is_none")]
pub provider_first_name: Option<String>,
/// The provider's last name. This applies to providers that are an individual.
#[serde(rename = "providerName", skip_serializing_if = "Option::is_none")]
pub provider_name: Option<String>,
/// The provider's organization name.
#[serde(rename = "providerOrgName", skip_serializing_if = "Option::is_none")]
pub provider_org_name: Option<String>,
}
impl CobResponseProvider {
/// Information about the entity that submitted the original eligibility check request. This may be an individual practitioner, a medical group, a hospital, or another type of healthcare provider.
pub fn new() -> CobResponseProvider {
CobResponseProvider {
aaa_errors: None,
npi: None,
provider_first_name: None,
provider_name: None,
provider_org_name: None,
}
}
}