/*
* 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 ToothInformation {
/// An [American Dental Association CDT Code](https://www.ada.org/publications/cdt) for the procedures performed on a specific tooth. You can only use this object to report individual teeth. You can't use it to report areas of the oral cavity, such as quadrants or sextants. Areas of the oral cavity are reported in the `claimInformation.serviceLines[].dentalService.oralCavityDesignation` property. You can only include multiples of this object when `claimInformation.serviceLines[].dentalService.procedureCount` is equal to 1. When applicable, you can include this object up to 32 times within a single service line.
#[serde(rename = "toothCode")]
pub tooth_code: String,
/// Code identifying the area of the tooth that was treated. Can be set to `B` - Buccal, `D`- Distal, `F`- Facial, `I`- Incisal, `L` - Lingual, `M` - Mesial, or `O` Occlusal.
#[serde(rename = "toothSurfaceCodes", skip_serializing_if = "Option::is_none")]
pub tooth_surface_codes: Option<Vec<models::ToothSurfaceCode>>,
}
impl ToothInformation {
pub fn new(tooth_code: String) -> ToothInformation {
ToothInformation {
tooth_code,
tooth_surface_codes: None,
}
}
}