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
/*
* 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};
/// CobProvider : Information about the entity requesting the coverage.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CobProvider {
/// The provider's first name. This property is required if the provider is an individual.
#[serde(rename = "firstName", skip_serializing_if = "Option::is_none")]
pub first_name: Option<String>,
/// The provider's last name. This property is required if the provider is an individual.
#[serde(rename = "lastName", skip_serializing_if = "Option::is_none")]
pub last_name: Option<String>,
/// The provider's [National Provider Identifier (NPI)](https://www.stedi.com/docs/healthcare/national-provider-identifier).
#[serde(rename = "npi")]
pub npi: String,
/// The provider's business name.
#[serde(rename = "organizationName", skip_serializing_if = "Option::is_none")]
pub organization_name: Option<String>,
}
impl CobProvider {
/// Information about the entity requesting the coverage.
pub fn new(npi: String) -> CobProvider {
CobProvider {
first_name: None,
last_name: None,
npi,
organization_name: None,
}
}
}