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 EligibilityAdditionalInformation {
    /// The code category. Always set to `44` - Nature of Injury.  Payers may sometimes return other non-compliant values.
    #[serde(rename = "codeCategory", skip_serializing_if = "Option::is_none")]
    pub code_category: Option<models::InjuryCodeCategory>,
    /// The name of the `codeListQualifierCode`. For example `Mutually Defined` when the code is set to `ZZ`.
    #[serde(rename = "codeListQualifier", skip_serializing_if = "Option::is_none")]
    pub code_list_qualifier: Option<String>,
    /// Identifies a specific industry code list. Can be `GR` - National Council on Compensation Insurance (NCCI) Nature of Injury Code, `NI` - Nature of Injury Code, or `ZZ` - Mutually Defined.   When this is set to `ZZ`, the `industryCode` property will be set to a place of service code.  Payers may sometimes return other non-compliant values.
    #[serde(rename = "codeListQualifierCode", skip_serializing_if = "Option::is_none")]
    pub code_list_qualifier_code: Option<models::CodeListQualifierCode>,
    /// The name of the `industryCode`. For example `Pharmacy` when the code is `01`.
    #[serde(rename = "industry", skip_serializing_if = "Option::is_none")]
    pub industry: Option<String>,
    /// The specific industry code. When `codeListQualifierCode` is set to `ZZ` - Mutually Defined, this property will be set to a place of service code. Visit the [Place of Service Code Set](https://www.cms.gov/medicare/coding-billing/place-of-service-codes/code-sets) for a complete list of these codes and their descriptions.
    #[serde(rename = "industryCode", skip_serializing_if = "Option::is_none")]
    pub industry_code: Option<String>,
    /// Description of injured body parts.
    #[serde(rename = "injuredBodyPartName", skip_serializing_if = "Option::is_none")]
    pub injured_body_part_name: Option<String>,
}

impl EligibilityAdditionalInformation {
    pub fn new() -> EligibilityAdditionalInformation {
        EligibilityAdditionalInformation {
            code_category: None,
            code_list_qualifier: None,
            code_list_qualifier_code: None,
            industry: None,
            industry_code: None,
            injured_body_part_name: None,
        }
    }
}