/*
* Stedi Payers
*
* 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::payers::models;
use serde::{Deserialize, Serialize};
/// TransactionSupport : Whether the following transaction types are supported: 270 eligibility checks, 276/277 claim status requests, 837 claims (professional, dental, institutional), 835 ERAs (claim payments), 275 unsolicited claim attachments, and coordination of benefits checks. If the value is `ENROLLMENT_REQUIRED`, Stedi supports the transaction type, but you must [enroll with the payer](https://www.stedi.com/docs/healthcare/supported-payers#enrollment) first.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TransactionSupport {
/// Whether you can receive 835 Electronic Remittance Advice (ERA) transactions from this payer.
#[serde(rename = "claimPayment")]
pub claim_payment: models::TransactionSupportValue,
/// Whether you can send 276 claim status requests to this payer.
#[serde(rename = "claimStatus")]
pub claim_status: models::TransactionSupportValue,
/// Whether you can send 837 professional claims to this payer. This shape is deprecated since 2024-11-13: This `claimSubmission` property is deprecated and will be removed in a future release. Instead, use the `professionalClaimSubmission` property.
#[serde(rename = "claimSubmission")]
pub claim_submission: models::TransactionSupportValue,
/// Coordination of Benefits (COB) support.
#[serde(rename = "coordinationOfBenefits")]
pub coordination_of_benefits: models::TransactionSupportValue,
/// Whether you can send 837D dental claims to this payer.
#[serde(rename = "dentalClaimSubmission")]
pub dental_claim_submission: models::TransactionSupportValue,
/// Whether you can send 270 eligibility checks to this payer.
#[serde(rename = "eligibilityCheck")]
pub eligibility_check: models::TransactionSupportValue,
/// Whether you can send 837I institutional claims to this payer.
#[serde(rename = "institutionalClaimSubmission")]
pub institutional_claim_submission: models::TransactionSupportValue,
/// Whether you can send 837P professional claims to this payer.
#[serde(rename = "professionalClaimSubmission")]
pub professional_claim_submission: models::TransactionSupportValue,
/// Whether you can send unsolicited claim attachments to this payer.
#[serde(rename = "unsolicitedClaimAttachment")]
pub unsolicited_claim_attachment: models::TransactionSupportValue,
}
impl TransactionSupport {
/// Whether the following transaction types are supported: 270 eligibility checks, 276/277 claim status requests, 837 claims (professional, dental, institutional), 835 ERAs (claim payments), 275 unsolicited claim attachments, and coordination of benefits checks. If the value is `ENROLLMENT_REQUIRED`, Stedi supports the transaction type, but you must [enroll with the payer](https://www.stedi.com/docs/healthcare/supported-payers#enrollment) first.
pub fn new(claim_payment: models::TransactionSupportValue, claim_status: models::TransactionSupportValue, claim_submission: models::TransactionSupportValue, coordination_of_benefits: models::TransactionSupportValue, dental_claim_submission: models::TransactionSupportValue, eligibility_check: models::TransactionSupportValue, institutional_claim_submission: models::TransactionSupportValue, professional_claim_submission: models::TransactionSupportValue, unsolicited_claim_attachment: models::TransactionSupportValue) -> TransactionSupport {
TransactionSupport {
claim_payment,
claim_status,
claim_submission,
coordination_of_benefits,
dental_claim_submission,
eligibility_check,
institutional_claim_submission,
professional_claim_submission,
unsolicited_claim_attachment,
}
}
}