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
/*
* 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};
/// Meta : Metadata that helps Stedi track and debug the response.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Meta {
/// Whether this is a test or production ERA.
#[serde(rename = "applicationMode", skip_serializing_if = "Option::is_none")]
pub application_mode: Option<String>,
/// An identifier for the most recent sender of the ERA. This is usually not the original sender, so this value is unlikely to be a payer ID. When Stedi processes and delivers ERAs through the clearinghouse, this value is always `STEDI`.
#[serde(rename = "senderId", skip_serializing_if = "Option::is_none")]
pub sender_id: Option<String>,
/// Not currently used.
#[serde(rename = "traceId", skip_serializing_if = "Option::is_none")]
pub trace_id: Option<String>,
/// The Stedi transaction identifier.
#[serde(rename = "transactionId", skip_serializing_if = "Option::is_none")]
pub transaction_id: Option<String>,
}
impl Meta {
/// Metadata that helps Stedi track and debug the response.
pub fn new() -> Meta {
Meta {
application_mode: None,
sender_id: None,
trace_id: None,
transaction_id: None,
}
}
}