autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * 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};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ProviderInformation {
    /// A code that communicates the provider's role in the type of benefits information in the response. Visit [Eligibility code lists](https://www.stedi.com/docs/healthcare/eligibility-code-lists#provider-codes) for a complete list.  Payers may sometimes return other non-compliant values.
    #[serde(rename = "providerCode", skip_serializing_if = "Option::is_none")]
    pub provider_code: Option<models::ResponseProviderCode>,
    /// The provider's taxonomy code.
    #[serde(rename = "referenceIdentification", skip_serializing_if = "Option::is_none")]
    pub reference_identification: Option<String>,
}

impl ProviderInformation {
    pub fn new() -> ProviderInformation {
        ProviderInformation {
            provider_code: None,
            reference_identification: None,
        }
    }
}