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
39
40
41
42
43
44
/*
* 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 SubscriberTraceNumber {
/// The identifier of the organization that assigned the trace number.
#[serde(rename = "originatingCompanyIdentifier", skip_serializing_if = "Option::is_none")]
pub originating_company_identifier: Option<String>,
/// The unique trace number assigned to the transaction.
#[serde(rename = "referenceIdentification", skip_serializing_if = "Option::is_none")]
pub reference_identification: Option<String>,
/// Identifies a subdivision within the organization that assigned the trace number.
#[serde(rename = "secondaryReferenceIdentification", skip_serializing_if = "Option::is_none")]
pub secondary_reference_identification: Option<String>,
/// The full name of the `traceTypeCode`. For example `Current Transaction Trace Numbers`.
#[serde(rename = "traceType", skip_serializing_if = "Option::is_none")]
pub trace_type: Option<String>,
/// The code that identifies the type of trace number. Can be `1` - Current Transaction Trace Numbers (refers to trace numbers assigned by the payer) or `2` - Referenced Trace Numbers (refers to numbers sent in the original eligibility check request).
#[serde(rename = "traceTypeCode", skip_serializing_if = "Option::is_none")]
pub trace_type_code: Option<String>,
}
impl SubscriberTraceNumber {
pub fn new() -> SubscriberTraceNumber {
SubscriberTraceNumber {
originating_company_identifier: None,
reference_identification: None,
secondary_reference_identification: None,
trace_type: None,
trace_type_code: None,
}
}
}