1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* 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};
/// InstitutionalReceiver : The entity responsible for the payment of the claim, such as an insurance company or government agency.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InstitutionalReceiver {
/// The business name of the payer receiving the claim, such as Aetna or Cigna.
#[serde(rename = "organizationName")]
pub organization_name: String,
/// Set to `PAPER` when you want Stedi to print this claim and mail it to the payer. Omit otherwise. Visit [Submit paper claims](https://www.stedi.com/docs/healthcare/submit-paper-claims) for details.
#[serde(rename = "receiverId", skip_serializing_if = "Option::is_none")]
pub receiver_id: Option<String>,
/// The receiver's Electronic Transmitter Identification Number (ETIN), as assigned by the payer. This may be the same as the payer's TIN, but it can also be another unique identifier. We **strongly recommend** including this property in your request.
#[serde(rename = "taxId", skip_serializing_if = "Option::is_none")]
pub tax_id: Option<String>,
}
impl InstitutionalReceiver {
/// The entity responsible for the payment of the claim, such as an insurance company or government agency.
pub fn new(organization_name: String) -> InstitutionalReceiver {
InstitutionalReceiver {
organization_name,
receiver_id: None,
tax_id: None,
}
}
}