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};

/// InstitutionalOtherPayerRenderingProvider : Information regarding the other payer's rendering provider. The rendering provider is the provider who performed the service or non-surgical procedure.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InstitutionalOtherPayerRenderingProvider {
    /// The provider's identifier. The `qualifier` can be set to `OB` - State License Number, `1G` - Provider UPIN Number, `G2` - Provider Commercial Number, or `LU` - Location Number. Note that UPIN numbers are deprecated and should not be used in new claims.
    #[serde(rename = "otherPayerRenderingProviderIdentifier")]
    pub other_payer_rendering_provider_identifier: Vec<models::InstitutionalReferenceIdentification>,
}

impl InstitutionalOtherPayerRenderingProvider {
    /// Information regarding the other payer's rendering provider. The rendering provider is the provider who performed the service or non-surgical procedure.
    pub fn new(other_payer_rendering_provider_identifier: Vec<models::InstitutionalReferenceIdentification>) -> InstitutionalOtherPayerRenderingProvider {
        InstitutionalOtherPayerRenderingProvider {
            other_payer_rendering_provider_identifier,
        }
    }
}