autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * Stedi Manager
 *
 * 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::manager::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct HealthCareInformation {
    /// The diagnosis code. Omit the decimal points in diagnosis codes - the decimal point is assumed.
    #[serde(rename = "diagnosisCode")]
    pub diagnosis_code: String,
    #[serde(rename = "diagnosisTypeCode")]
    pub diagnosis_type_code: models::DiagnosisTypeCode,
}

impl HealthCareInformation {
    pub fn new(diagnosis_code: String, diagnosis_type_code: models::DiagnosisTypeCode) -> HealthCareInformation {
        HealthCareInformation {
            diagnosis_code,
            diagnosis_type_code,
        }
    }
}