namespace EdiFabric.Templates.Hipaa5010 { using System; using System.Collections.Generic; using EdiFabric.Core.Annotations.Edi; using EdiFabric.Core.Annotations.Validation; using EdiFabric.Core.Model.Edi; using EdiFabric.Core.Model.Edi.X12; using EdiFabric.Core.Model.Edi.ErrorContexts; /// /// Sales Tax Amount /// [Serializable()] [Segment("AMT", typeof(X12_ID_522_7))] public class AMT_SalesTaxAmount : IAMT { /// /// Amount Qualifier Code /// [Required] [DataElement("522", typeof(X12_ID_522_7))] [Pos(1)] public string AmountQualifierCode_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string TotalClaimChargeAmount_02 { get; set; } /// /// Credit/Debit Flag Code /// [DataElement("478", typeof(X12_ID_478))] [Pos(3)] public string CreditDebitFlagCode_03 { get; set; } } /// /// Postage Claimed Amount /// [Serializable()] [Segment("AMT", typeof(X12_ID_522_10))] public class AMT_PostageClaimedAmount : IAMT { /// /// Amount Qualifier Code /// [Required] [DataElement("522", typeof(X12_ID_522_10))] [Pos(1)] public string AmountQualifierCode_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string TotalClaimChargeAmount_02 { get; set; } /// /// Credit/Debit Flag Code /// [DataElement("478", typeof(X12_ID_478))] [Pos(3)] public string CreditDebitFlagCode_03 { get; set; } } /// /// Coordination of Benefits (COB) Payer Paid Amount /// [Serializable()] [Segment("AMT", typeof(X12_ID_522_4))] public class AMT_CoordinationofBenefits : IAMT { /// /// Amount Qualifier Code /// [Required] [DataElement("522", typeof(X12_ID_522_4))] [Pos(1)] public string AmountQualifierCode_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string TotalClaimChargeAmount_02 { get; set; } /// /// Credit/Debit Flag Code /// [DataElement("478", typeof(X12_ID_478))] [Pos(3)] public string CreditDebitFlagCode_03 { get; set; } } /// /// Coordination of Benefits (COB) Total Non-covered Amount /// [Serializable()] [Segment("AMT", typeof(X12_ID_522_6))] public class AMT_CoordinationofBenefits_2 : IAMT { /// /// Amount Qualifier Code /// [Required] [DataElement("522", typeof(X12_ID_522_6))] [Pos(1)] public string AmountQualifierCode_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string TotalClaimChargeAmount_02 { get; set; } /// /// Credit/Debit Flag Code /// [DataElement("478", typeof(X12_ID_478))] [Pos(3)] public string CreditDebitFlagCode_03 { get; set; } } /// /// Remaining Patient Liability /// [Serializable()] [Segment("AMT", typeof(X12_ID_522_5))] public class AMT_RemainingPatientLiability : IAMT { /// /// Amount Qualifier Code /// [Required] [DataElement("522", typeof(X12_ID_522_5))] [Pos(1)] public string AmountQualifierCode_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string TotalClaimChargeAmount_02 { get; set; } /// /// Credit/Debit Flag Code /// [DataElement("478", typeof(X12_ID_478))] [Pos(3)] public string CreditDebitFlagCode_03 { get; set; } } /// /// Ambulance Certification /// [Serializable()] [Segment("CRC", typeof(X12_ID_1136_8), typeof(X12_ID_1073_4))] public class CRC_AmbulanceCertification : ICRC { /// /// Code Category /// [Required] [DataElement("1136", typeof(X12_ID_1136_8))] [Pos(1)] public string CodeCategory_01 { get; set; } /// /// Yes/No Condition or Response Code /// [Required] [DataElement("1073", typeof(X12_ID_1073_4))] [Pos(2)] public string CertificationConditionIndicator_02 { get; set; } /// /// Condition Indicator /// [Required] [DataElement("1321", typeof(X12_ID_1321_7))] [Pos(3)] public string ConditionCode_03 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321_7))] [Pos(4)] public string ConditionCode_04 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321_7))] [Pos(5)] public string ConditionCode_05 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321_7))] [Pos(6)] public string ConditionCode_06 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321_7))] [Pos(7)] public string ConditionCode_07 { get; set; } } /// /// Hospice Employee Indicator /// [Serializable()] [Segment("CRC", typeof(X12_ID_1136_4), typeof(X12_ID_1073_4))] public class CRC_HospiceEmployeeIndicator : ICRC { /// /// Code Category /// [Required] [DataElement("1136", typeof(X12_ID_1136_4))] [Pos(1)] public string CodeCategory_01 { get; set; } /// /// Yes/No Condition or Response Code /// [Required] [DataElement("1073", typeof(X12_ID_1073_4))] [Pos(2)] public string CertificationConditionIndicator_02 { get; set; } /// /// Condition Indicator /// [Required] [DataElement("1321", typeof(X12_ID_1321_5))] [Pos(3)] public string ConditionCode_03 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(4)] public string ConditionCode_04 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(5)] public string ConditionCode_05 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(6)] public string ConditionCode_06 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(7)] public string ConditionCode_07 { get; set; } } /// /// Condition Indicator/Durable Medical Equipment /// [Serializable()] [Segment("CRC", typeof(X12_ID_1136_5), typeof(X12_ID_1073_4))] public class CRC_ConditionIndicator : ICRC { /// /// Code Category /// [Required] [DataElement("1136", typeof(X12_ID_1136_5))] [Pos(1)] public string CodeCategory_01 { get; set; } /// /// Yes/No Condition or Response Code /// [Required] [DataElement("1073", typeof(X12_ID_1073_4))] [Pos(2)] public string CertificationConditionIndicator_02 { get; set; } /// /// Condition Indicator /// [Required] [DataElement("1321", typeof(X12_ID_1321_6))] [Pos(3)] public string ConditionCode_03 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321_6))] [Pos(4)] public string ConditionCode_04 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(5)] public string ConditionCode_05 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(6)] public string ConditionCode_06 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(7)] public string ConditionCode_07 { get; set; } } /// /// Patient Condition Information: Vision /// [Serializable()] [Segment("CRC", typeof(X12_ID_1136), typeof(X12_ID_1073_4))] public class CRC_PatientConditionInformation : ICRC { /// /// Code Category /// [Required] [DataElement("1136", typeof(X12_ID_1136))] [Pos(1)] public string CodeCategory_01 { get; set; } /// /// Yes/No Condition or Response Code /// [Required] [DataElement("1073", typeof(X12_ID_1073_4))] [Pos(2)] public string CertificationConditionIndicator_02 { get; set; } /// /// Condition Indicator /// [Required] [DataElement("1321", typeof(X12_ID_1321_2))] [Pos(3)] public string ConditionCode_03 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321_2))] [Pos(4)] public string ConditionCode_04 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321_2))] [Pos(5)] public string ConditionCode_05 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321_2))] [Pos(6)] public string ConditionCode_06 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321_2))] [Pos(7)] public string ConditionCode_07 { get; set; } } /// /// Homebound Indicator /// [Serializable()] [Segment("CRC", typeof(X12_ID_1136_2), typeof(X12_ID_1073))] public class CRC_HomeboundIndicator : ICRC { /// /// Code Category /// [Required] [DataElement("1136", typeof(X12_ID_1136_2))] [Pos(1)] public string CodeCategory_01 { get; set; } /// /// Yes/No Condition or Response Code /// [Required] [DataElement("1073", typeof(X12_ID_1073))] [Pos(2)] public string CertificationConditionIndicator_02 { get; set; } /// /// Condition Indicator /// [Required] [DataElement("1321", typeof(X12_ID_1321_3))] [Pos(3)] public string ConditionCode_03 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(4)] public string ConditionCode_04 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(5)] public string ConditionCode_05 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(6)] public string ConditionCode_06 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(7)] public string ConditionCode_07 { get; set; } } /// /// EPSDT Referral /// [Serializable()] [Segment("CRC", typeof(X12_ID_1136_3), typeof(X12_ID_1073_4))] public class CRC_EPSDTReferral : ICRC { /// /// Code Category /// [Required] [DataElement("1136", typeof(X12_ID_1136_3))] [Pos(1)] public string CodeCategory_01 { get; set; } /// /// Yes/No Condition or Response Code /// [Required] [DataElement("1073", typeof(X12_ID_1073_4))] [Pos(2)] public string CertificationConditionIndicator_02 { get; set; } /// /// Condition Indicator /// [Required] [DataElement("1321", typeof(X12_ID_1321_4))] [Pos(3)] public string ConditionCode_03 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321_4))] [Pos(4)] public string ConditionCode_04 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321_4))] [Pos(5)] public string ConditionCode_05 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(6)] public string ConditionCode_06 { get; set; } /// /// Condition Indicator /// [DataElement("1321", typeof(X12_ID_1321))] [Pos(7)] public string ConditionCode_07 { get; set; } } /// /// Claim Level Service Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_4), typeof(X12_ID_1250_2))] public class DTP_ClaimLevelServiceDate : IDTP { /// /// Date Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_4))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_2))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Claim Service Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Hearing and Vision Prescription Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_48), typeof(X12_ID_1250_6))] public class DTP_HearingandVisionPrescriptionDate : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_48))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// DATE - Certification Revision/Recertification Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_21), typeof(X12_ID_1250_6))] public class DTP_CertificationRevision : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_21))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Begin Therapy Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_22), typeof(X12_ID_1250_6))] public class DTP_BeginTherapyDate : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_22))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Last Certification Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_23), typeof(X12_ID_1250_6))] public class DTP_LastCertificationDate : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_23))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Last Seen Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_36), typeof(X12_ID_1250_6))] public class DTP_LastSeenDate : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_36))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Test Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_24), typeof(X12_ID_1250_6))] public class DTP_TestDate : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_24))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Shipped Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_25), typeof(X12_ID_1250_6))] public class DTP_ShippedDate : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_25))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Last X-ray Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_46), typeof(X12_ID_1250_6))] public class DTP_LastXrayDate : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_46))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Initial Treatment Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_32), typeof(X12_ID_1250_6))] public class DTP_InitialTreatmentDate : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_32))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Onset of Current Illness or Symptom /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_20), typeof(X12_ID_1250_6))] public class DTP_OnsetofCurrentIllnessorSymptom : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_20))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Acute Manifestation /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_40), typeof(X12_ID_1250_6))] public class DTP_AcuteManifestation : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_40))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Accident Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_19), typeof(X12_ID_1250_6))] public class DTP_AccidentDate_2 : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_19))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Last Menstrual Period /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_16), typeof(X12_ID_1250_6))] public class DTP_LastMenstrualPeriod : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_16))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Disability Dates /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_3), typeof(X12_ID_1250_2))] public class DTP_DisabilityDates : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_3))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_2))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Last Worked /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_5), typeof(X12_ID_1250_6))] public class DTP_LastWorked : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_5))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Authorized Return to Work /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_6), typeof(X12_ID_1250_6))] public class DTP_AuthorizedReturntoWork : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_6))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Admission /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_7), typeof(X12_ID_1250_6))] public class DTP_AdmissionDate_4 : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_7))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Discharge /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_8), typeof(X12_ID_1250_6))] public class DTP_Discharge : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_8))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Assumed and Relinquished Care Dates /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_9), typeof(X12_ID_1250_6))] public class DTP_AssumedandRelinquishedCareDates : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_9))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Property and Casualty Date of First Contact /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_10), typeof(X12_ID_1250_6))] public class DTP_PropertyandCasualtyDateofFirstContact : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_10))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Date - Repricer Received Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_11), typeof(X12_ID_1250_6))] public class DTP_RepricerReceivedDate : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_11))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Dependent Health Care Diagnosis Code /// [Serializable()] [Segment("HI", typeof(X12_ID_1270_6), typeof(X12_ID_1270_11))] public class HI_DependentHealthCareDiagnosisCode : IHI { /// /// Health Care Code Information /// [Required] [Pos(1)] public C022_HealthCareCodeInformation_8 HealthCareCodeInformation_01 { get; set; } /// /// Health Care Code Information /// [Pos(2)] public C022_HealthCareCodeInformation_4 HealthCareCodeInformation_02 { get; set; } /// /// Health Care Code Information /// [Pos(3)] public C022_HealthCareCodeInformation_4 HealthCareCodeInformation_03 { get; set; } /// /// Health Care Code Information /// [Pos(4)] public C022_HealthCareCodeInformation_4 HealthCareCodeInformation_04 { get; set; } /// /// Health Care Code Information /// [Pos(5)] public C022_HealthCareCodeInformation_4 HealthCareCodeInformation_05 { get; set; } /// /// Health Care Code Information /// [Pos(6)] public C022_HealthCareCodeInformation_4 HealthCareCodeInformation_06 { get; set; } /// /// Health Care Code Information /// [Pos(7)] public C022_HealthCareCodeInformation_4 HealthCareCodeInformation_07 { get; set; } /// /// Health Care Code Information /// [Pos(8)] public C022_HealthCareCodeInformation_4 HealthCareCodeInformation_08 { get; set; } /// /// Health Care Code Information /// [Pos(9)] public C022_HealthCareCodeInformation HealthCareCodeInformation_09 { get; set; } /// /// Health Care Code Information /// [Pos(10)] public C022_HealthCareCodeInformation HealthCareCodeInformation_10 { get; set; } /// /// Health Care Code Information /// [Pos(11)] public C022_HealthCareCodeInformation HealthCareCodeInformation_11 { get; set; } /// /// Health Care Code Information /// [Pos(12)] public C022_HealthCareCodeInformation HealthCareCodeInformation_12 { get; set; } } /// /// Anesthesia Related Procedure /// [Serializable()] [Segment("HI", typeof(X12_ID_1270_20), typeof(X12_ID_1270_23))] public class HI_AnesthesiaRelatedProcedure : IHI { /// /// Health Care Code Information /// [Required] [Pos(1)] public C022_HealthCareCodeInformation_12 HealthCareCodeInformation_01 { get; set; } /// /// Health Care Code Information /// [Pos(2)] public C022_HealthCareCodeInformation_15 HealthCareCodeInformation_02 { get; set; } /// /// Health Care Code Information /// [Pos(3)] public C022_HealthCareCodeInformation HealthCareCodeInformation_03 { get; set; } /// /// Health Care Code Information /// [Pos(4)] public C022_HealthCareCodeInformation HealthCareCodeInformation_04 { get; set; } /// /// Health Care Code Information /// [Pos(5)] public C022_HealthCareCodeInformation HealthCareCodeInformation_05 { get; set; } /// /// Health Care Code Information /// [Pos(6)] public C022_HealthCareCodeInformation HealthCareCodeInformation_06 { get; set; } /// /// Health Care Code Information /// [Pos(7)] public C022_HealthCareCodeInformation HealthCareCodeInformation_07 { get; set; } /// /// Health Care Code Information /// [Pos(8)] public C022_HealthCareCodeInformation HealthCareCodeInformation_08 { get; set; } /// /// Health Care Code Information /// [Pos(9)] public C022_HealthCareCodeInformation HealthCareCodeInformation_09 { get; set; } /// /// Health Care Code Information /// [Pos(10)] public C022_HealthCareCodeInformation HealthCareCodeInformation_10 { get; set; } /// /// Health Care Code Information /// [Pos(11)] public C022_HealthCareCodeInformation HealthCareCodeInformation_11 { get; set; } /// /// Health Care Code Information /// [Pos(12)] public C022_HealthCareCodeInformation HealthCareCodeInformation_12 { get; set; } } /// /// Condition Information /// [Serializable()] [Segment("HI", typeof(X12_ID_1270_4), typeof(X12_ID_1270_4))] public class HI_ConditionInformation : IHI { /// /// Health Care Code Information /// [Required] [Pos(1)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_01 { get; set; } /// /// Health Care Code Information /// [Pos(2)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_02 { get; set; } /// /// Health Care Code Information /// [Pos(3)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_03 { get; set; } /// /// Health Care Code Information /// [Pos(4)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_04 { get; set; } /// /// Health Care Code Information /// [Pos(5)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_05 { get; set; } /// /// Health Care Code Information /// [Pos(6)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_06 { get; set; } /// /// Health Care Code Information /// [Pos(7)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_07 { get; set; } /// /// Health Care Code Information /// [Pos(8)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_08 { get; set; } /// /// Health Care Code Information /// [Pos(9)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_09 { get; set; } /// /// Health Care Code Information /// [Pos(10)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_10 { get; set; } /// /// Health Care Code Information /// [Pos(11)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_11 { get; set; } /// /// Health Care Code Information /// [Pos(12)] public C022_HealthCareCodeInformation_13 HealthCareCodeInformation_12 { get; set; } } /// /// Line Note /// [Serializable()] [Segment("NTE", typeof(X12_ID_363_2))] public class NTE_LineNote : INTE { /// /// Note Reference Code /// [Required] [DataElement("363", typeof(X12_ID_363_2))] [Pos(1)] public string NoteReferenceCode_01 { get; set; } /// /// Description /// [Required] [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(2)] public string BillingNoteText_02 { get; set; } } /// /// Third Party Organization Notes /// [Serializable()] [Segment("NTE", typeof(X12_ID_363_3))] public class NTE_ThirdPartyOrganizationNotes : INTE { /// /// Note Reference Code /// [Required] [DataElement("363", typeof(X12_ID_363_3))] [Pos(1)] public string NoteReferenceCode_01 { get; set; } /// /// Description /// [Required] [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(2)] public string BillingNoteText_02 { get; set; } } /// /// Claim Supplemental Information /// [Serializable()] [Segment("PWK", typeof(X12_ID_755), typeof(X12_ID_756_5))] public class PWK_ClaimSupplementalInformation_2 : IPWK { /// /// Report Type Code /// [Required] [DataElement("755", typeof(X12_ID_755))] [Pos(1)] public string AttachmentReportTypeCode_01 { get; set; } /// /// Report Transmission Code /// [Required] [DataElement("756", typeof(X12_ID_756_5))] [Pos(2)] public string ReportTransmissionCode_02 { get; set; } /// /// Report Copies Needed /// [StringLength(1, 2)] [DataElement("757", typeof(X12_N0))] [Pos(3)] public string ReportCopiesNeeded_03 { get; set; } /// /// Entity Identifier Code /// [DataElement("98", typeof(X12_ID_98_19))] [Pos(4)] public string EntityIdentifierCode_04 { get; set; } /// /// Identification Code Qualifier /// [Paired(6)] [DataElement("66", typeof(X12_ID_66_16))] [Pos(5)] public string IdentificationCodeQualifier_05 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(6)] public string AttachmentControlNumber_06 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(7)] public string AttachmentDescription_07 { get; set; } /// /// Actions Indicated /// [Pos(8)] public C002_ActionsIndicated_2 ActionsIndicated_08 { get; set; } /// /// Request Category Code /// [DataElement("1525", typeof(X12_ID_1525))] [Pos(9)] public string RequestCategoryCode_09 { get; set; } } /// /// Durable Medical Equipment Certificate of Medical Necessity Indicator /// [Serializable()] [Segment("PWK", typeof(X12_ID_755_2), typeof(X12_ID_756))] public class PWK_DurableMedicalEquipmentCertificateofMedicalNecessityIndicator : IPWK { /// /// Report Type Code /// [Required] [DataElement("755", typeof(X12_ID_755_2))] [Pos(1)] public string AttachmentReportTypeCode_01 { get; set; } /// /// Report Transmission Code /// [Required] [DataElement("756", typeof(X12_ID_756))] [Pos(2)] public string ReportTransmissionCode_02 { get; set; } /// /// Report Copies Needed /// [StringLength(1, 2)] [DataElement("757", typeof(X12_N0))] [Pos(3)] public string ReportCopiesNeeded_03 { get; set; } /// /// Entity Identifier Code /// [DataElement("98", typeof(X12_ID_98_19))] [Pos(4)] public string EntityIdentifierCode_04 { get; set; } /// /// Identification Code Qualifier /// [Paired(6)] [DataElement("66", typeof(X12_ID_66_12))] [Pos(5)] public string IdentificationCodeQualifier_05 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(6)] public string AttachmentControlNumber_06 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(7)] public string AttachmentDescription_07 { get; set; } /// /// Actions Indicated /// [Pos(8)] public C002_ActionsIndicated_2 ActionsIndicated_08 { get; set; } /// /// Request Category Code /// [DataElement("1525", typeof(X12_ID_1525))] [Pos(9)] public string RequestCategoryCode_09 { get; set; } } /// /// Ambulance Patient Count /// [Serializable()] [Segment("QTY", typeof(X12_ID_673_11))] public class QTY_AmbulancePatientCount : IQTY { /// /// Quantity Qualifier /// [Required] [DataElement("673", typeof(X12_ID_673_11))] [Pos(1)] public string QuantityQualifier_01 { get; set; } /// /// Quantity /// [RequiredAny(4)] [Exclusion(4)] [Required] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(2)] public string AmbulancePatientCount_02 { get; set; } /// /// Composite Unit of Measure /// [Pos(3)] public C001_CompositeUnitofMeasure CompositeUnitofMeasure_03 { get; set; } /// /// Free-form Information /// [StringLength(1, 30)] [DataElement("61", typeof(X12_AN))] [Pos(4)] public string FreeformInformation_04 { get; set; } } /// /// Obstetric Anesthesia Additional Units /// [Serializable()] [Segment("QTY", typeof(X12_ID_673_4))] public class QTY_ObstetricAnesthesiaAdditionalUnits : IQTY { /// /// Quantity Qualifier /// [Required] [DataElement("673", typeof(X12_ID_673_4))] [Pos(1)] public string QuantityQualifier_01 { get; set; } /// /// Quantity /// [RequiredAny(4)] [Exclusion(4)] [Required] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(2)] public string AmbulancePatientCount_02 { get; set; } /// /// Composite Unit of Measure /// [Pos(3)] public C001_CompositeUnitofMeasure CompositeUnitofMeasure_03 { get; set; } /// /// Free-form Information /// [StringLength(1, 30)] [DataElement("61", typeof(X12_AN))] [Pos(4)] public string FreeformInformation_04 { get; set; } } /// /// Other Payer Secondary Identifier /// [Serializable()] [Segment("REF", typeof(X12_ID_128_75))] public class REF_OtherPayerSecondaryIdentifier : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_75))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Other Payer Prior Authorization Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_6))] public class REF_OtherPayerPriorAuthorizationNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_6))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Other Payer Referral Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_3))] public class REF_OtherPayerReferralNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_3))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Other Payer Claim Adjustment Indicator /// [Serializable()] [Segment("REF", typeof(X12_ID_128_26))] public class REF_OtherPayerClaimAdjustmentIndicator : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_26))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Other Payer Claim Control Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_8))] public class REF_OtherPayerClaimControlNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_8))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Repriced Line Item Reference Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_32))] public class REF_RepricedLineItemReferenceNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_32))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Adjusted Repriced Line Item Reference Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_33))] public class REF_AdjustedRepricedLineItemReferenceNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_33))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Line Item Control Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_28))] public class REF_LineItemControlNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_28))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Mammography Certification Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_11))] public class REF_MammographyCertificationNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_11))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Clinical Laboratory Improvement Amendment (CLIA) Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_16))] public class REF_ClinicalLaboratoryImprovementAmendment : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_16))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Referring Clinical Laboratory Improvement Amendment (CLIA) Facility Identification /// [Serializable()] [Segment("REF", typeof(X12_ID_128_41))] public class REF_ReferringClinicalLaboratoryImprovementAmendment : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_41))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Immunization Batch Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_42))] public class REF_ImmunizationBatchNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_42))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Pay-To Plan Secondary Identification /// [Serializable()] [Segment("REF", typeof(X12_ID_128_51))] public class REF_Pay : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_51))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Billing Provider Tax Identification /// [Serializable()] [Segment("REF", typeof(X12_ID_128_22))] public class REF_BillingProviderTaxIdentification_2 : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_22))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Other Subscriber Secondary Identification /// [Serializable()] [Segment("REF", typeof(X12_ID_128_60))] public class REF_OtherSubscriberSecondaryIdentification : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_60))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Property and Casualty Claim Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_69))] public class REF_PropertyandCasualtyClaimNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_69))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Billing Provider Secondary Identification /// [Serializable()] [Segment("REF", typeof(X12_ID_128_2))] public class REF_BillingProviderSecondaryIdentification : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_2))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Service Authorization Exception Code /// [Serializable()] [Segment("REF", typeof(X12_ID_128_7), typeof(X12_ID_127))] public class REF_ServiceAuthorizationExceptionCode : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_7))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [DataElement("127", typeof(X12_ID_127))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Mandatory Medicare (Section 4081) Crossover Indicator /// [Serializable()] [Segment("REF", typeof(X12_ID_128_9), typeof(X12_ID_127_2))] public class REF_MandatoryMedicare : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_9))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [DataElement("127", typeof(X12_ID_127_2))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Repriced Claim Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_10))] public class REF_RepricedClaimNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_10))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Adjusted Repriced Claim Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_12))] public class REF_AdjustedRepricedClaimNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_12))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Investigational Device Exemption Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_13))] public class REF_InvestigationalDeviceExemptionNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_13))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Claim Identification Number For Clearinghouses and Other Transmission Intermediaries /// [Serializable()] [Segment("REF", typeof(X12_ID_128_14))] public class REF_ClaimIdentificationNumberForClearinghousesandOtherTransmissionIntermediaries : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_14))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Medical Record Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_17))] public class REF_MedicalRecordNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_17))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Demonstration Project Identifier /// [Serializable()] [Segment("REF", typeof(X12_ID_128_19))] public class REF_DemonstrationProjectIdentifier : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_19))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Care Plan Oversight /// [Serializable()] [Segment("REF", typeof(X12_ID_128_29))] public class REF_CarePlanOversight : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_29))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Property and Casualty Patient Identifier /// [Serializable()] [Segment("REF", typeof(X12_ID_128_31))] public class REF_PropertyandCasualtyPatientIdentifier : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_31))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier_7 ReferenceIdentifier_04 { get; set; } } /// /// Billing Provider Tax Identification /// [Serializable()] [Segment("REF", typeof(X12_ID_128_21))] public class REF_BillingProviderTaxIdentification : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_21))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Billing Provider UPIN/License Information /// [Serializable()] [Segment("REF", typeof(X12_ID_128_50))] public class REF_BillingProviderUPIN : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_50))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Information Receiver Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_21), typeof(X12_ID_1065_2))] public class NM1_InformationReceiverName_4 : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_21))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_2))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Information Receiver Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Information Receiver First Name /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Information Receiver Middle Name /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [Required] [DataElement("66", typeof(X12_ID_66_2))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Information Receiver Primary Identifier /// [Required] [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Billing Provider Contact Information /// [Serializable()] [Segment("PER", typeof(X12_ID_366_4))] public class PER_BillingProviderContactInformation : IPER { /// /// Contact Function Code /// [Required] [DataElement("366", typeof(X12_ID_366_4))] [Pos(1)] public string ContactFunctionCode_01 { get; set; } /// /// Name /// [StringLength(1, 60)] [DataElement("93", typeof(X12_AN))] [Pos(2)] public string ResponseContactName_02 { get; set; } /// /// Communication Number Qualifier /// [Paired(4)] [Required] [DataElement("365", typeof(X12_ID_365_18))] [Pos(3)] public string CommunicationNumberQualifier_03 { get; set; } /// /// Communication Number /// [Required] [StringLength(1, 256)] [DataElement("364", typeof(X12_AN))] [Pos(4)] public string ResponseContactCommunicationNumber_04 { get; set; } /// /// Communication Number Qualifier /// [Paired(6)] [DataElement("365", typeof(X12_ID_365_4))] [Pos(5)] public string CommunicationNumberQualifier_05 { get; set; } /// /// Communication Number /// [StringLength(1, 256)] [DataElement("364", typeof(X12_AN))] [Pos(6)] public string ResponseContactCommunicationNumber_06 { get; set; } /// /// Communication Number Qualifier /// [Paired(8)] [DataElement("365", typeof(X12_ID_365_4))] [Pos(7)] public string CommunicationNumberQualifier_07 { get; set; } /// /// Communication Number /// [StringLength(1, 256)] [DataElement("364", typeof(X12_AN))] [Pos(8)] public string ResponseContactCommunicationNumber_08 { get; set; } /// /// Contact Inquiry Reference /// [StringLength(1, 20)] [DataElement("443", typeof(X12_AN))] [Pos(9)] public string ContactInquiryReference_09 { get; set; } } /// /// Receiver Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_25), typeof(X12_ID_1065_3))] public class NM1_ReceiverName : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_25))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_3))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [Required] [DataElement("66", typeof(X12_ID_66_2))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [Required] [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Billing Provider Hierarchical Level /// [Serializable()] [Segment("HL", typeof(X12_ID_735_8))] public class HL_BillingProviderHierarchicalLevel : IHL { /// /// Hierarchical ID Number /// [Required] [StringLength(1, 12)] [DataElement("628", typeof(X12_AN))] [Pos(1)] public string HierarchicalIDNumber_01 { get; set; } /// /// Hierarchical Parent ID Number /// [StringLength(1, 12)] [DataElement("734", typeof(X12_AN))] [Pos(2)] public string HierarchicalParentIDNumber_02 { get; set; } /// /// Hierarchical Level Code /// [Required] [DataElement("735", typeof(X12_ID_735_8))] [Pos(3)] public string HierarchicalLevelCode_03 { get; set; } /// /// Hierarchical Child Code /// [Required] [DataElement("736", typeof(X12_ID_736_3))] [Pos(4)] public string HierarchicalChildCode_04 { get; set; } } /// /// Billing Provider Specialty Information /// [Serializable()] [Segment("PRV", typeof(X12_ID_1221_10), typeof(X12_ID_128_35))] public class PRV_BillingProviderSpecialtyInformation : IPRV { /// /// Provider Code /// [Required] [DataElement("1221", typeof(X12_ID_1221_10))] [Pos(1)] public string ProviderCode_01 { get; set; } /// /// Reference Identification Qualifier /// [Paired(3)] [Required] [DataElement("128", typeof(X12_ID_128_35))] [Pos(2)] public string ReferenceIdentificationQualifier_02 { get; set; } /// /// Reference Identification /// [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(3)] public string ProviderTaxonomyCode_03 { get; set; } /// /// State or Province Code /// [StringLength(2, 2)] [DataElement("156", typeof(X12_AN))] [Pos(4)] public string StateorProvinceCode_04 { get; set; } /// /// Provider Specialty Information /// [Pos(5)] public C035_ProviderSpecialtyInformation ProviderSpecialtyInformation_05 { get; set; } /// /// Provider Organization Code /// [DataElement("1223", typeof(X12_ID_1223))] [Pos(6)] public string ProviderOrganizationCode_06 { get; set; } } /// /// Foreign Currency Information /// [Serializable()] [Segment("CUR", typeof(X12_ID_98_31))] public class CUR_ForeignCurrencyInformation_3 : ICUR { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_31))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Currency Code /// [Required] [StringLength(3, 3)] [DataElement("100", typeof(X12_AN))] [Pos(2)] public string CurrencyCode_02 { get; set; } /// /// Exchange Rate /// [StringLength(4, 10)] [DataElement("280", typeof(X12_R))] [Pos(3)] public string ExchangeRate_03 { get; set; } /// /// Entity Identifier Code /// [DataElement("98", typeof(X12_ID_98_19))] [Pos(4)] public string EntityIdentifierCode_04 { get; set; } /// /// Currency Code /// [StringLength(3, 3)] [DataElement("100", typeof(X12_AN))] [Pos(5)] public string CurrencyCode_05 { get; set; } /// /// Currency Market/Exchange Code /// [DataElement("669", typeof(X12_ID_669))] [Pos(6)] public string CurrencyMarketExchangeCode_06 { get; set; } /// /// Date/Time Qualifier /// [DataElement("374", typeof(X12_ID_374_51))] [Pos(7)] public string DateTimeQualifier_07 { get; set; } /// /// Date /// [Conditional(7)] [StringLength(8, 8)] [DataElement("373", typeof(X12_DT))] [Pos(8)] public string Date_08 { get; set; } /// /// Time /// [Conditional(7)] [StringLength(4, 8)] [DataElement("337", typeof(X12_TM))] [Pos(9)] public string Time_09 { get; set; } /// /// Date/Time Qualifier /// [ConditionalAny(11, 12)] [DataElement("374", typeof(X12_ID_374_51))] [Pos(10)] public string DateTimeQualifier_10 { get; set; } /// /// Date /// [Conditional(10)] [StringLength(8, 8)] [DataElement("373", typeof(X12_DT))] [Pos(11)] public string Date_11 { get; set; } /// /// Time /// [Conditional(10)] [StringLength(4, 8)] [DataElement("337", typeof(X12_TM))] [Pos(12)] public string Time_12 { get; set; } /// /// Date/Time Qualifier /// [ConditionalAny(14, 15)] [DataElement("374", typeof(X12_ID_374_51))] [Pos(13)] public string DateTimeQualifier_13 { get; set; } /// /// Date /// [Conditional(13)] [StringLength(8, 8)] [DataElement("373", typeof(X12_DT))] [Pos(14)] public string Date_14 { get; set; } /// /// Time /// [Conditional(13)] [StringLength(4, 8)] [DataElement("337", typeof(X12_TM))] [Pos(15)] public string Time_15 { get; set; } /// /// Date/Time Qualifier /// [ConditionalAny(17, 18)] [DataElement("374", typeof(X12_ID_374_51))] [Pos(16)] public string DateTimeQualifier_16 { get; set; } /// /// Date /// [Conditional(16)] [StringLength(8, 8)] [DataElement("373", typeof(X12_DT))] [Pos(17)] public string Date_17 { get; set; } /// /// Time /// [Conditional(16)] [StringLength(4, 8)] [DataElement("337", typeof(X12_TM))] [Pos(18)] public string Time_18 { get; set; } /// /// Date/Time Qualifier /// [ConditionalAny(20, 21)] [DataElement("374", typeof(X12_ID_374_51))] [Pos(19)] public string DateTimeQualifier_19 { get; set; } /// /// Date /// [Conditional(19)] [StringLength(8, 8)] [DataElement("373", typeof(X12_DT))] [Pos(20)] public string Date_20 { get; set; } /// /// Time /// [Conditional(19)] [StringLength(4, 8)] [DataElement("337", typeof(X12_TM))] [Pos(21)] public string Time_21 { get; set; } } /// /// Subscriber Hierarchical Level /// [Serializable()] [Segment("HL", typeof(X12_ID_735_2))] public class HL_SubscriberHierarchicalLevel : IHL { /// /// Hierarchical ID Number /// [Required] [StringLength(1, 12)] [DataElement("628", typeof(X12_AN))] [Pos(1)] public string HierarchicalIDNumber_01 { get; set; } /// /// Hierarchical Parent ID Number /// [Required] [StringLength(1, 12)] [DataElement("734", typeof(X12_AN))] [Pos(2)] public string HierarchicalParentIDNumber_02 { get; set; } /// /// Hierarchical Level Code /// [Required] [DataElement("735", typeof(X12_ID_735_2))] [Pos(3)] public string HierarchicalLevelCode_03 { get; set; } /// /// Hierarchical Child Code /// [Required] [DataElement("736", typeof(X12_ID_736))] [Pos(4)] public string HierarchicalChildCode_04 { get; set; } } /// /// Subscriber Information /// [Serializable()] [Segment("SBR", typeof(X12_ID_1138_2), typeof(X12_ID_1069_6))] public class SBR_SubscriberInformation : ISBR { /// /// Payer Responsibility Sequence Number Code /// [Required] [DataElement("1138", typeof(X12_ID_1138_2))] [Pos(1)] public string PayerResponsibilitySequenceNumberCode_01 { get; set; } /// /// Individual Relationship Code /// [DataElement("1069", typeof(X12_ID_1069_6))] [Pos(2)] public string IndividualRelationshipCode_02 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(3)] public string InsuredGrouporPolicyNumber_03 { get; set; } /// /// Name /// [StringLength(1, 60)] [DataElement("93", typeof(X12_AN))] [Pos(4)] public string OtherInsuredGroupName_04 { get; set; } /// /// Insurance Type Code /// [DataElement("1336", typeof(X12_ID_1336_3))] [Pos(5)] public string InsuranceTypeCode_05 { get; set; } /// /// Coordination of Benefits Code /// [DataElement("1143", typeof(X12_ID_1143_2))] [Pos(6)] public string CoordinationofBenefitsCode_06 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073_2))] [Pos(7)] public string YesNoConditionorResponseCode_07 { get; set; } /// /// Employment Status Code /// [DataElement("584", typeof(X12_ID_584_2))] [Pos(8)] public string EmploymentStatusCode_08 { get; set; } /// /// Claim Filing Indicator Code /// [DataElement("1032", typeof(X12_ID_1032_3))] [Pos(9)] public string ClaimFilingIndicatorCode_09 { get; set; } } /// /// Patient Information /// [Serializable()] [Segment("PAT", typeof(X12_ID_1069_5), typeof(X12_ID_1384))] public class PAT_PatientInformation_3 : IPAT { /// /// Individual Relationship Code /// [DataElement("1069", typeof(X12_ID_1069_5))] [Pos(1)] public string IndividualRelationshipCode_01 { get; set; } /// /// Patient Location Code /// [DataElement("1384", typeof(X12_ID_1384))] [Pos(2)] public string PatientLocationCode_02 { get; set; } /// /// Employment Status Code /// [DataElement("584", typeof(X12_ID_584_2))] [Pos(3)] public string EmploymentStatusCode_03 { get; set; } /// /// Student Status Code /// [DataElement("1220", typeof(X12_ID_1220))] [Pos(4)] public string StudentStatusCode_04 { get; set; } /// /// Date Time Period Format Qualifier /// [Paired(6)] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(5)] public string DateTimePeriodFormatQualifier_05 { get; set; } /// /// Date Time Period /// [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(6)] public string PatientDeathDate_06 { get; set; } /// /// Unit or Basis for Measurement Code /// [Paired(8)] [DataElement("355", typeof(X12_ID_355_16))] [Pos(7)] public string UnitorBasisforMeasurementCode_07 { get; set; } /// /// Weight /// [StringLength(1, 10)] [DataElement("81", typeof(X12_R))] [Pos(8)] public string PatientWeight_08 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073))] [Pos(9)] public string PregnancyIndicator_09 { get; set; } } /// /// Dependent Level /// [Serializable()] [Segment("HL", typeof(X12_ID_735_4))] public class HL_DependentLevel : IHL { /// /// Hierarchical ID Number /// [Required] [StringLength(1, 12)] [DataElement("628", typeof(X12_AN))] [Pos(1)] public string HierarchicalIDNumber_01 { get; set; } /// /// Hierarchical Parent ID Number /// [Required] [StringLength(1, 12)] [DataElement("734", typeof(X12_AN))] [Pos(2)] public string HierarchicalParentIDNumber_02 { get; set; } /// /// Hierarchical Level Code /// [Required] [DataElement("735", typeof(X12_ID_735_4))] [Pos(3)] public string HierarchicalLevelCode_03 { get; set; } /// /// Hierarchical Child Code /// [Required] [DataElement("736", typeof(X12_ID_736_2))] [Pos(4)] public string HierarchicalChildCode_04 { get; set; } } /// /// Patient Information /// [Serializable()] [Segment("PAT", typeof(X12_ID_1069_2), typeof(X12_ID_1384))] public class PAT_PatientInformation : IPAT { /// /// Individual Relationship Code /// [Required] [DataElement("1069", typeof(X12_ID_1069_2))] [Pos(1)] public string IndividualRelationshipCode_01 { get; set; } /// /// Patient Location Code /// [DataElement("1384", typeof(X12_ID_1384))] [Pos(2)] public string PatientLocationCode_02 { get; set; } /// /// Employment Status Code /// [DataElement("584", typeof(X12_ID_584_2))] [Pos(3)] public string EmploymentStatusCode_03 { get; set; } /// /// Student Status Code /// [DataElement("1220", typeof(X12_ID_1220))] [Pos(4)] public string StudentStatusCode_04 { get; set; } /// /// Date Time Period Format Qualifier /// [Paired(6)] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(5)] public string DateTimePeriodFormatQualifier_05 { get; set; } /// /// Date Time Period /// [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(6)] public string PatientDeathDate_06 { get; set; } /// /// Unit or Basis for Measurement Code /// [Paired(8)] [DataElement("355", typeof(X12_ID_355_16))] [Pos(7)] public string UnitorBasisforMeasurementCode_07 { get; set; } /// /// Weight /// [StringLength(1, 10)] [DataElement("81", typeof(X12_R))] [Pos(8)] public string PatientWeight_08 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073))] [Pos(9)] public string PregnancyIndicator_09 { get; set; } } /// /// Billing Provider Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_31), typeof(X12_ID_1065_2))] public class NM1_BillingProviderName_2 : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_31))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_2))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_7))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Additional Patient Information Contact Address /// [Serializable()] [Segment("N3")] public class N3_AdditionalPatientInformationContactAddress : IN3 { /// /// Address Information /// [Required] [StringLength(1, 55)] [DataElement("166", typeof(X12_AN))] [Pos(1)] public string ResponseContactAddressLine_01 { get; set; } /// /// Address Information /// [StringLength(1, 55)] [DataElement("166", typeof(X12_AN))] [Pos(2)] public string ResponseContactAddressLine_02 { get; set; } } /// /// Additional Patient Information Contact City, State, ZIP Code /// [Serializable()] [Segment("N4")] public class N4_AdditionalPatientInformationContactCity : IN4 { /// /// City Name /// [Required] [StringLength(2, 30)] [DataElement("19", typeof(X12_AN))] [Pos(1)] public string AdditionalPatientInformationContactCityName_01 { get; set; } /// /// State or Province Code /// [Exclusion(7)] [StringLength(2, 2)] [DataElement("156", typeof(X12_AN))] [Pos(2)] public string AdditionalPatientInformationContactStateCode_02 { get; set; } /// /// Postal Code /// [StringLength(3, 15)] [DataElement("116", typeof(X12_AN))] [Pos(3)] public string AdditionalPatientInformationContactPostalZoneorZIPCode_03 { get; set; } /// /// Country Code /// [StringLength(2, 3)] [DataElement("26", typeof(X12_AN))] [Pos(4)] public string CountryCode_04 { get; set; } /// /// Location Qualifier /// [DataElement("309", typeof(X12_ID_309_2))] [Pos(5)] public string LocationQualifier_05 { get; set; } /// /// Location Identifier /// [Conditional(5)] [StringLength(1, 30)] [DataElement("310", typeof(X12_AN))] [Pos(6)] public string LocationIdentifier_06 { get; set; } /// /// Country Subdivision Code /// [Conditional(4)] [StringLength(1, 3)] [DataElement("1715", typeof(X12_AN))] [Pos(7)] public string CountrySubdivisionCode_07 { get; set; } } /// /// Pay-to Address Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_36), typeof(X12_ID_1065_2))] public class NM1_Pay : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_36))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_2))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_12))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Pay-To Plan Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_23), typeof(X12_ID_1065_3))] public class NM1_Pay_3 : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_23))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_3))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [Required] [DataElement("66", typeof(X12_ID_66_20))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [Required] [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Subscriber Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_26), typeof(X12_ID_1065_2))] public class NM1_SubscriberName_5 : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_26))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_2))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_8))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Patient Demographic Information /// [Serializable()] [Segment("DMG", typeof(X12_ID_1250_6))] public class DMG_PatientDemographicInformation : IDMG { /// /// Date Time Period Format Qualifier /// [Paired(2)] [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(1)] public string DateTimePeriodFormatQualifier_01 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(2)] public string DependentBirthDate_02 { get; set; } /// /// Gender Code /// [Required] [DataElement("1068", typeof(X12_ID_1068_2))] [Pos(3)] public string DependentGenderCode_03 { get; set; } /// /// Marital Status Code /// [DataElement("1067", typeof(X12_ID_1067))] [Pos(4)] public string MaritalStatusCode_04 { get; set; } /// /// Composite Race or Ethnicity Information /// [ListCount(10)] [Pos(5)] public List CompositeRaceorEthnicityInformation_05 { get; set; } /// /// Citizenship Status Code /// [DataElement("1066", typeof(X12_ID_1066))] [Pos(6)] public string CitizenshipStatusCode_06 { get; set; } /// /// Country Code /// [StringLength(2, 3)] [DataElement("26", typeof(X12_AN))] [Pos(7)] public string CountryCode_07 { get; set; } /// /// Basis of Verification Code /// [DataElement("659", typeof(X12_ID_659))] [Pos(8)] public string BasisofVerificationCode_08 { get; set; } /// /// Quantity /// [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(9)] public string Quantity_09 { get; set; } /// /// Code List Qualifier Code /// [Paired(11)] [DataElement("1270", typeof(X12_ID_1270_28))] [Pos(10)] public string CodeListQualifierCode_10 { get; set; } /// /// Industry Code /// [Conditional(5)] [StringLength(1, 30)] [DataElement("1271", typeof(X12_AN))] [Pos(11)] public string IndustryCode_11 { get; set; } } /// /// Property and Casualty Patient Contact Information /// [Serializable()] [Segment("PER", typeof(X12_ID_366_4))] public class PER_PropertyandCasualtyPatientContactInformation : IPER { /// /// Contact Function Code /// [Required] [DataElement("366", typeof(X12_ID_366_4))] [Pos(1)] public string ContactFunctionCode_01 { get; set; } /// /// Name /// [StringLength(1, 60)] [DataElement("93", typeof(X12_AN))] [Pos(2)] public string ResponseContactName_02 { get; set; } /// /// Communication Number Qualifier /// [Paired(4)] [Required] [DataElement("365", typeof(X12_ID_365_8))] [Pos(3)] public string CommunicationNumberQualifier_03 { get; set; } /// /// Communication Number /// [Required] [StringLength(1, 256)] [DataElement("364", typeof(X12_AN))] [Pos(4)] public string ResponseContactCommunicationNumber_04 { get; set; } /// /// Communication Number Qualifier /// [Paired(6)] [DataElement("365", typeof(X12_ID_365_7))] [Pos(5)] public string CommunicationNumberQualifier_05 { get; set; } /// /// Communication Number /// [StringLength(1, 256)] [DataElement("364", typeof(X12_AN))] [Pos(6)] public string ResponseContactCommunicationNumber_06 { get; set; } /// /// Communication Number Qualifier /// [Paired(8)] [DataElement("365", typeof(X12_ID_365_12))] [Pos(7)] public string CommunicationNumberQualifier_07 { get; set; } /// /// Communication Number /// [StringLength(1, 256)] [DataElement("364", typeof(X12_AN))] [Pos(8)] public string ResponseContactCommunicationNumber_08 { get; set; } /// /// Contact Inquiry Reference /// [StringLength(1, 20)] [DataElement("443", typeof(X12_AN))] [Pos(9)] public string ContactInquiryReference_09 { get; set; } } /// /// Other Payer Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_29), typeof(X12_ID_1065_3))] public class NM1_OtherPayerName : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_29))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_3))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [Required] [DataElement("66", typeof(X12_ID_66_20))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [Required] [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Patient Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_13), typeof(X12_ID_1065))] public class NM1_PatientName_3 : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_13))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_12))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Claim Information /// [Serializable()] [Segment("CLM")] public class CLM_ClaimInformation_2 : ICLM { /// /// Claim Submitter's Identifier /// [Required] [StringLength(1, 38)] [DataElement("1028", typeof(X12_AN))] [Pos(1)] public string PatientControlNumber_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string TotalClaimChargeAmount_02 { get; set; } /// /// Claim Filing Indicator Code /// [DataElement("1032", typeof(X12_ID_1032))] [Pos(3)] public string ClaimFilingIndicatorCode_03 { get; set; } /// /// Non-Institutional Claim Type Code /// [DataElement("1343", typeof(X12_ID_1343))] [Pos(4)] public string NonInstitutionalClaimTypeCode_04 { get; set; } /// /// Health Care Service Location Information /// [Required] [Pos(5)] public C023_HealthCareServiceLocationInformation_2 HealthCareServiceLocationInformation_05 { get; set; } /// /// Yes/No Condition or Response Code /// [Required] [DataElement("1073", typeof(X12_ID_1073_4))] [Pos(6)] public string ProviderorSupplierSignatureIndicator_06 { get; set; } /// /// Provider Accept Assignment Code /// [Required] [DataElement("1359", typeof(X12_ID_1359_2))] [Pos(7)] public string AssignmentorPlanParticipationCode_07 { get; set; } /// /// Yes/No Condition or Response Code /// [Required] [DataElement("1073", typeof(X12_ID_1073_5))] [Pos(8)] public string BenefitsAssignmentCertificationIndicator_08 { get; set; } /// /// Release of Information Code /// [Required] [DataElement("1363", typeof(X12_ID_1363_2))] [Pos(9)] public string ReleaseofInformationCode_09 { get; set; } /// /// Patient Signature Source Code /// [DataElement("1351", typeof(X12_ID_1351))] [Pos(10)] public string PatientSignatureSourceCode_10 { get; set; } /// /// Related Causes Information /// [Pos(11)] public C024_RelatedCausesInformation_3 RelatedCausesInformation_11 { get; set; } /// /// Special Program Code /// [DataElement("1366", typeof(X12_ID_1366_3))] [Pos(12)] public string SpecialProgramCode_12 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073_2))] [Pos(13)] public string YesNoConditionorResponseCode_13 { get; set; } /// /// Level of Service Code /// [DataElement("1338", typeof(X12_ID_1338))] [Pos(14)] public string LevelofServiceCode_14 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073_2))] [Pos(15)] public string YesNoConditionorResponseCode_15 { get; set; } /// /// Provider Agreement Code /// [DataElement("1360", typeof(X12_ID_1360))] [Pos(16)] public string ProviderAgreementCode_16 { get; set; } /// /// Claim Status Code /// [DataElement("1029", typeof(X12_ID_1029_2))] [Pos(17)] public string ClaimStatusCode_17 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073_2))] [Pos(18)] public string YesNoConditionorResponseCode_18 { get; set; } /// /// Claim Submission Reason Code /// [DataElement("1383", typeof(X12_ID_1383))] [Pos(19)] public string ClaimSubmissionReasonCode_19 { get; set; } /// /// Delay Reason Code /// [DataElement("1514", typeof(X12_ID_1514_2))] [Pos(20)] public string DelayReasonCode_20 { get; set; } } /// /// Claim Supplemental Information /// [Serializable()] [Segment("PWK", typeof(X12_ID_755_5), typeof(X12_ID_756_5))] public class PWK_ClaimSupplementalInformation_3 : IPWK { /// /// Report Type Code /// [Required] [DataElement("755", typeof(X12_ID_755_5))] [Pos(1)] public string AttachmentReportTypeCode_01 { get; set; } /// /// Report Transmission Code /// [Required] [DataElement("756", typeof(X12_ID_756_5))] [Pos(2)] public string ReportTransmissionCode_02 { get; set; } /// /// Report Copies Needed /// [StringLength(1, 2)] [DataElement("757", typeof(X12_N0))] [Pos(3)] public string ReportCopiesNeeded_03 { get; set; } /// /// Entity Identifier Code /// [DataElement("98", typeof(X12_ID_98_19))] [Pos(4)] public string EntityIdentifierCode_04 { get; set; } /// /// Identification Code Qualifier /// [Paired(6)] [DataElement("66", typeof(X12_ID_66_16))] [Pos(5)] public string IdentificationCodeQualifier_05 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(6)] public string AttachmentControlNumber_06 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(7)] public string AttachmentDescription_07 { get; set; } /// /// Actions Indicated /// [Pos(8)] public C002_ActionsIndicated_2 ActionsIndicated_08 { get; set; } /// /// Request Category Code /// [DataElement("1525", typeof(X12_ID_1525))] [Pos(9)] public string RequestCategoryCode_09 { get; set; } } /// /// Contract Information /// [Serializable()] [Segment("CN1", typeof(X12_ID_1166_2))] public class CN1_ContractInformation_2 : ICN1 { /// /// Contract Type Code /// [Required] [DataElement("1166", typeof(X12_ID_1166_2))] [Pos(1)] public string ContractTypeCode_01 { get; set; } /// /// Monetary Amount /// [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string ContractAmount_02 { get; set; } /// /// Percent, Decimal Format /// [StringLength(1, 6)] [DataElement("332", typeof(X12_R))] [Pos(3)] public string ContractPercentage_03 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(4)] public string ContractCode_04 { get; set; } /// /// Terms Discount Percent /// [StringLength(1, 6)] [DataElement("338", typeof(X12_R))] [Pos(5)] public string TermsDiscountPercentage_05 { get; set; } /// /// Version Identifier /// [StringLength(1, 30)] [DataElement("799", typeof(X12_AN))] [Pos(6)] public string ContractVersionIdentifier_06 { get; set; } } /// /// Patient Amount Paid /// [Serializable()] [Segment("AMT", typeof(X12_ID_522_16))] public class AMT_PatientAmountPaid : IAMT { /// /// Amount Qualifier Code /// [Required] [DataElement("522", typeof(X12_ID_522_16))] [Pos(1)] public string AmountQualifierCode_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string TotalClaimChargeAmount_02 { get; set; } /// /// Credit/Debit Flag Code /// [DataElement("478", typeof(X12_ID_478))] [Pos(3)] public string CreditDebitFlagCode_03 { get; set; } } /// /// File Information /// [Serializable()] [Segment("K3")] public class K3_FileInformation : IK3 { /// /// Fixed Format Information /// [Required] [StringLength(1, 80)] [DataElement("449", typeof(X12_AN))] [Pos(1)] public string FixedFormatInformation_01 { get; set; } /// /// Record Format Code /// [DataElement("1333", typeof(X12_ID_1333))] [Pos(2)] public string RecordFormatCode_02 { get; set; } /// /// Composite Unit of Measure /// [Pos(3)] public C001_CompositeUnitofMeasure CompositeUnitofMeasure_03 { get; set; } } /// /// Claim Note /// [Serializable()] [Segment("NTE", typeof(X12_ID_363_5))] public class NTE_ClaimNote_2 : INTE { /// /// Note Reference Code /// [Required] [DataElement("363", typeof(X12_ID_363_5))] [Pos(1)] public string NoteReferenceCode_01 { get; set; } /// /// Description /// [Required] [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(2)] public string BillingNoteText_02 { get; set; } } /// /// Ambulance Transport Information /// [Serializable()] [Segment("CR1", typeof(X12_ID_355_7))] public class CR1_AmbulanceTransportInformation : ICR1 { /// /// Unit or Basis for Measurement Code /// [Paired(2)] [DataElement("355", typeof(X12_ID_355_7))] [Pos(1)] public string UnitorBasisforMeasurementCode_01 { get; set; } /// /// Weight /// [StringLength(1, 10)] [DataElement("81", typeof(X12_R))] [Pos(2)] public string PatientWeight_02 { get; set; } /// /// Ambulance Transport Code /// [DataElement("1316", typeof(X12_ID_1316))] [Pos(3)] public string AmbulanceTransportCode_03 { get; set; } /// /// Ambulance Transport Reason Code /// [Required] [DataElement("1317", typeof(X12_ID_1317_2))] [Pos(4)] public string AmbulanceTransportReasonCode_04 { get; set; } /// /// Unit or Basis for Measurement Code /// [Paired(6)] [Required] [DataElement("355", typeof(X12_ID_355_9))] [Pos(5)] public string UnitorBasisforMeasurementCode_05 { get; set; } /// /// Quantity /// [Required] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(6)] public string TransportDistance_06 { get; set; } /// /// Address Information /// [StringLength(1, 55)] [DataElement("166", typeof(X12_AN))] [Pos(7)] public string AddressInformation_07 { get; set; } /// /// Address Information /// [StringLength(1, 55)] [DataElement("166", typeof(X12_AN))] [Pos(8)] public string AddressInformation_08 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(9)] public string RoundTripPurposeDescription_09 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(10)] public string StretcherPurposeDescription_10 { get; set; } } /// /// Spinal Manipulation Service Information /// [Serializable()] [Segment("CR2")] public class CR2_SpinalManipulationServiceInformation : ICR2 { /// /// Count /// [Paired(2)] [StringLength(1, 9)] [DataElement("609", typeof(X12_N0))] [Pos(1)] public string Count_01 { get; set; } /// /// Quantity /// [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(2)] public string Quantity_02 { get; set; } /// /// Subluxation Level Code /// [DataElement("1367", typeof(X12_ID_1367))] [Pos(3)] public string SubluxationLevelCode_03 { get; set; } /// /// Subluxation Level Code /// [Conditional(3)] [DataElement("1367", typeof(X12_ID_1367))] [Pos(4)] public string SubluxationLevelCode_04 { get; set; } /// /// Unit or Basis for Measurement Code /// [Paired(6)] [DataElement("355", typeof(X12_ID_355))] [Pos(5)] public string UnitorBasisforMeasurementCode_05 { get; set; } /// /// Quantity /// [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(6)] public string Quantity_06 { get; set; } /// /// Quantity /// [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(7)] public string Quantity_07 { get; set; } /// /// Nature of Condition Code /// [Required] [DataElement("1342", typeof(X12_ID_1342))] [Pos(8)] public string PatientConditionCode_08 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073_2))] [Pos(9)] public string YesNoConditionorResponseCode_09 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(10)] public string PatientConditionDescription_10 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(11)] public string PatientConditionDescription_11 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073_2))] [Pos(12)] public string YesNoConditionorResponseCode_12 { get; set; } } /// /// Claim Pricing/Repricing Information /// [Serializable()] [Segment("HCP", typeof(X12_ID_1473_2))] public class HCP_ClaimPricing : IHCP { /// /// Pricing Methodology /// [RequiredAny(13)] [Required] [DataElement("1473", typeof(X12_ID_1473_2))] [Pos(1)] public string PricingMethodology_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string RepricedAllowedAmount_02 { get; set; } /// /// Monetary Amount /// [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(3)] public string RepricedSavingAmount_03 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(4)] public string RepricingOrganizationIdentifier_04 { get; set; } /// /// Rate /// [StringLength(1, 9)] [DataElement("118", typeof(X12_R))] [Pos(5)] public string RepricingPerDiemorFlatRateAmount_05 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(6)] public string RepricedApprovedAmbulatoryPatientGroupCode_06 { get; set; } /// /// Monetary Amount /// [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(7)] public string MonetaryAmount_07 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(8)] public string ProductServiceID_08 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(10)] [DataElement("235", typeof(X12_ID_235))] [Pos(9)] public string ProductServiceIDQualifier_09 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(10)] public string ProductServiceID_10 { get; set; } /// /// Unit or Basis for Measurement Code /// [Paired(12)] [DataElement("355", typeof(X12_ID_355))] [Pos(11)] public string UnitorBasisforMeasurementCode_11 { get; set; } /// /// Quantity /// [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(12)] public string Quantity_12 { get; set; } /// /// Reject Reason Code /// [DataElement("901", typeof(X12_ID_901_15))] [Pos(13)] public string RejectReasonCode_13 { get; set; } /// /// Policy Compliance Code /// [DataElement("1526", typeof(X12_ID_1526))] [Pos(14)] public string PolicyComplianceCode_14 { get; set; } /// /// Exception Code /// [DataElement("1527", typeof(X12_ID_1527))] [Pos(15)] public string ExceptionCode_15 { get; set; } } /// /// Referring Provider Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_54), typeof(X12_ID_1065))] public class NM1_ReferringProviderName : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_54))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_7))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Ordering Provider Secondary Identification /// [Serializable()] [Segment("REF", typeof(X12_ID_128_18))] public class REF_OrderingProviderSecondaryIdentification : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_18))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier_3 ReferenceIdentifier_04 { get; set; } } /// /// Rendering Provider Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_2), typeof(X12_ID_1065_2))] public class NM1_RenderingProviderName : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_2))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_2))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_7))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Rendering Provider Specialty Information /// [Serializable()] [Segment("PRV", typeof(X12_ID_1221_5), typeof(X12_ID_128_35))] public class PRV_RenderingProviderSpecialtyInformation : IPRV { /// /// Provider Code /// [Required] [DataElement("1221", typeof(X12_ID_1221_5))] [Pos(1)] public string ProviderCode_01 { get; set; } /// /// Reference Identification Qualifier /// [Paired(3)] [Required] [DataElement("128", typeof(X12_ID_128_35))] [Pos(2)] public string ReferenceIdentificationQualifier_02 { get; set; } /// /// Reference Identification /// [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(3)] public string ProviderTaxonomyCode_03 { get; set; } /// /// State or Province Code /// [StringLength(2, 2)] [DataElement("156", typeof(X12_AN))] [Pos(4)] public string StateorProvinceCode_04 { get; set; } /// /// Provider Specialty Information /// [Pos(5)] public C035_ProviderSpecialtyInformation ProviderSpecialtyInformation_05 { get; set; } /// /// Provider Organization Code /// [DataElement("1223", typeof(X12_ID_1223))] [Pos(6)] public string ProviderOrganizationCode_06 { get; set; } } /// /// Assistant Surgeon Secondary Identification /// [Serializable()] [Segment("REF", typeof(X12_ID_128_23))] public class REF_AssistantSurgeonSecondaryIdentification : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_23))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier_3 ReferenceIdentifier_04 { get; set; } } /// /// Service Facility Location /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_5), typeof(X12_ID_1065_3))] public class NM1_ServiceFacilityLocation : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_5))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_3))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_7))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Other Payer Service Facility Location Secondary Identification /// [Serializable()] [Segment("REF", typeof(X12_ID_128_25))] public class REF_OtherPayerServiceFacilityLocationSecondaryIdentification : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_25))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Supervising Provider Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_9), typeof(X12_ID_1065))] public class NM1_SupervisingProviderName : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_9))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_7))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Ambulance Pick-up Location /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_11), typeof(X12_ID_1065_3))] public class NM1_AmbulancePick : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_11))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_3))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_12))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Ambulance Drop-off Location /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_7), typeof(X12_ID_1065_3))] public class NM1_AmbulanceDrop : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_7))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_3))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_12))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Other Subscriber Information /// [Serializable()] [Segment("SBR", typeof(X12_ID_1138_2), typeof(X12_ID_1069_4))] public class SBR_OtherSubscriberInformation : ISBR { /// /// Payer Responsibility Sequence Number Code /// [Required] [DataElement("1138", typeof(X12_ID_1138_2))] [Pos(1)] public string PayerResponsibilitySequenceNumberCode_01 { get; set; } /// /// Individual Relationship Code /// [Required] [DataElement("1069", typeof(X12_ID_1069_4))] [Pos(2)] public string IndividualRelationshipCode_02 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(3)] public string InsuredGrouporPolicyNumber_03 { get; set; } /// /// Name /// [StringLength(1, 60)] [DataElement("93", typeof(X12_AN))] [Pos(4)] public string OtherInsuredGroupName_04 { get; set; } /// /// Insurance Type Code /// [DataElement("1336", typeof(X12_ID_1336_3))] [Pos(5)] public string InsuranceTypeCode_05 { get; set; } /// /// Coordination of Benefits Code /// [DataElement("1143", typeof(X12_ID_1143_2))] [Pos(6)] public string CoordinationofBenefitsCode_06 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073_2))] [Pos(7)] public string YesNoConditionorResponseCode_07 { get; set; } /// /// Employment Status Code /// [DataElement("584", typeof(X12_ID_584_2))] [Pos(8)] public string EmploymentStatusCode_08 { get; set; } /// /// Claim Filing Indicator Code /// [DataElement("1032", typeof(X12_ID_1032_3))] [Pos(9)] public string ClaimFilingIndicatorCode_09 { get; set; } } /// /// Claim Level Adjustments /// [Serializable()] [Segment("CAS", typeof(X12_ID_1033_2))] public class CAS_ClaimLevelAdjustments : ICAS { /// /// Claim Adjustment Group Code /// [Required] [DataElement("1033", typeof(X12_ID_1033_2))] [Pos(1)] public string ClaimAdjustmentGroupCode_01 { get; set; } /// /// Claim Adjustment Reason Code /// [Required] [StringLength(1, 5)] [DataElement("1034", typeof(X12_AN))] [Pos(2)] public string AdjustmentReasonCode_02 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(3)] public string AdjustmentAmount_03 { get; set; } /// /// Quantity /// [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(4)] public string AdjustmentQuantity_04 { get; set; } /// /// Claim Adjustment Reason Code /// [ConditionalAny(6, 7)] [StringLength(1, 5)] [DataElement("1034", typeof(X12_AN))] [Pos(5)] public string AdjustmentReasonCode_05 { get; set; } /// /// Monetary Amount /// [Conditional(5)] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(6)] public string AdjustmentAmount_06 { get; set; } /// /// Quantity /// [Conditional(5)] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(7)] public string AdjustmentQuantity_07 { get; set; } /// /// Claim Adjustment Reason Code /// [ConditionalAny(9, 10)] [StringLength(1, 5)] [DataElement("1034", typeof(X12_AN))] [Pos(8)] public string AdjustmentReasonCode_08 { get; set; } /// /// Monetary Amount /// [Conditional(8)] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(9)] public string AdjustmentAmount_09 { get; set; } /// /// Quantity /// [Conditional(8)] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(10)] public string AdjustmentQuantity_10 { get; set; } /// /// Claim Adjustment Reason Code /// [ConditionalAny(12, 13)] [StringLength(1, 5)] [DataElement("1034", typeof(X12_AN))] [Pos(11)] public string AdjustmentReasonCode_11 { get; set; } /// /// Monetary Amount /// [Conditional(11)] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(12)] public string AdjustmentAmount_12 { get; set; } /// /// Quantity /// [Conditional(11)] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(13)] public string AdjustmentQuantity_13 { get; set; } /// /// Claim Adjustment Reason Code /// [ConditionalAny(15, 16)] [StringLength(1, 5)] [DataElement("1034", typeof(X12_AN))] [Pos(14)] public string AdjustmentReasonCode_14 { get; set; } /// /// Monetary Amount /// [Conditional(14)] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(15)] public string AdjustmentAmount_15 { get; set; } /// /// Quantity /// [Conditional(14)] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(16)] public string AdjustmentQuantity_16 { get; set; } /// /// Claim Adjustment Reason Code /// [ConditionalAny(18, 19)] [StringLength(1, 5)] [DataElement("1034", typeof(X12_AN))] [Pos(17)] public string AdjustmentReasonCode_17 { get; set; } /// /// Monetary Amount /// [Conditional(17)] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(18)] public string AdjustmentAmount_18 { get; set; } /// /// Quantity /// [Conditional(17)] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(19)] public string AdjustmentQuantity_19 { get; set; } } /// /// Other Insurance Coverage Information /// [Serializable()] [Segment("OI", typeof(X12_ID_1032), typeof(X12_ID_1383))] public class OI_OtherInsuranceCoverageInformation_2 : IOI { /// /// Claim Filing Indicator Code /// [DataElement("1032", typeof(X12_ID_1032))] [Pos(1)] public string ClaimFilingIndicatorCode_01 { get; set; } /// /// Claim Submission Reason Code /// [DataElement("1383", typeof(X12_ID_1383))] [Pos(2)] public string ClaimSubmissionReasonCode_02 { get; set; } /// /// Yes/No Condition or Response Code /// [Required] [DataElement("1073", typeof(X12_ID_1073_5))] [Pos(3)] public string BenefitsAssignmentCertificationIndicator_03 { get; set; } /// /// Patient Signature Source Code /// [DataElement("1351", typeof(X12_ID_1351))] [Pos(4)] public string PatientSignatureSourceCode_04 { get; set; } /// /// Provider Agreement Code /// [DataElement("1360", typeof(X12_ID_1360))] [Pos(5)] public string ProviderAgreementCode_05 { get; set; } /// /// Release of Information Code /// [Required] [DataElement("1363", typeof(X12_ID_1363_2))] [Pos(6)] public string ReleaseofInformationCode_06 { get; set; } } /// /// Outpatient Adjudication Information /// [Serializable()] [Segment("MOA")] public class MOA_OutpatientAdjudicationInformation : IMOA { /// /// Percentage as Decimal /// [StringLength(1, 10)] [DataElement("954", typeof(X12_R))] [Pos(1)] public string ReimbursementRate_01 { get; set; } /// /// Monetary Amount /// [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string HCPCSPayableAmount_02 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(3)] public string ClaimPaymentRemarkCode_03 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(4)] public string ClaimPaymentRemarkCode_04 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(5)] public string ClaimPaymentRemarkCode_05 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(6)] public string ClaimPaymentRemarkCode_06 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(7)] public string ClaimPaymentRemarkCode_07 { get; set; } /// /// Monetary Amount /// [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(8)] public string MonetaryAmount_08 { get; set; } /// /// Monetary Amount /// [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(9)] public string NonPayableProfessionalComponentBilledAmount_09 { get; set; } } /// /// Other Subscriber Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_26), typeof(X12_ID_1065_2))] public class NM1_OtherSubscriberName : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_26))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_2))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [Required] [DataElement("66", typeof(X12_ID_66_8))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [Required] [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Claim Check Or Remittance Date /// [Serializable()] [Segment("DTP", typeof(X12_ID_374_12), typeof(X12_ID_1250_6))] public class DTP_ClaimCheckOrRemittanceDate : IDTP { /// /// Date/Time Qualifier /// [Required] [DataElement("374", typeof(X12_ID_374_12))] [Pos(1)] public string DateTimeQualifier_01 { get; set; } /// /// Date Time Period Format Qualifier /// [Required] [DataElement("1250", typeof(X12_ID_1250_6))] [Pos(2)] public string DateTimePeriodFormatQualifier_02 { get; set; } /// /// Date Time Period /// [Required] [StringLength(1, 35)] [DataElement("1251", typeof(X12_AN))] [Pos(3)] public string AccidentDate_03 { get; set; } } /// /// Other Payer Referring Provider /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_54), typeof(X12_ID_1065))] public class NM1_OtherPayerReferringProvider : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_54))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_12))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Other Payer Rendering Provider /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_2), typeof(X12_ID_1065_2))] public class NM1_OtherPayerRenderingProvider_2 : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_2))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_2))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_12))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Other Payer Service Facility Location /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_5), typeof(X12_ID_1065_3))] public class NM1_OtherPayerServiceFacilityLocation : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_5))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_3))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_12))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Other Payer Supervising Provider /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_9), typeof(X12_ID_1065))] public class NM1_OtherPayerSupervisingProvider : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_9))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_12))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Other Payer Billing Provider /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_31), typeof(X12_ID_1065_2))] public class NM1_OtherPayerBillingProvider : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_31))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_2))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_12))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Header Number /// [Serializable()] [Segment("LX")] public class LX_HeaderNumber : ILX { /// /// Assigned Number /// [Required] [StringLength(1, 6)] [DataElement("554", typeof(X12_N0))] [Pos(1)] public string AssignedNumber_01 { get; set; } } /// /// Professional Service /// [Serializable()] [Segment("SV1", typeof(X12_ID_235_6))] public class SV1_ProfessionalService : ISV1 { /// /// Composite Medical Procedure Identifier /// [Required] [Pos(1)] public C003_CompositeMedicalProcedureIdentifier_12 CompositeMedicalProcedureIdentifier_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string LineItemChargeAmount_02 { get; set; } /// /// Unit or Basis for Measurement Code /// [Paired(4)] [Required] [DataElement("355", typeof(X12_ID_355_11))] [Pos(3)] public string UnitorBasisforMeasurementCode_03 { get; set; } /// /// Quantity /// [Required] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(4)] public string ServiceUnitCount_04 { get; set; } /// /// Facility Code Value /// [StringLength(1, 2)] [DataElement("1331", typeof(X12_AN))] [Pos(5)] public string PlaceofServiceCode_05 { get; set; } /// /// Service Type Code /// [DataElement("1365", typeof(X12_ID_1365_2))] [Pos(6)] public string ServiceTypeCode_06 { get; set; } /// /// Composite Diagnosis Code Pointer /// [Required] [Pos(7)] public C004_CompositeDiagnosisCodePointer CompositeDiagnosisCodePointer_07 { get; set; } /// /// Monetary Amount /// [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(8)] public string MonetaryAmount_08 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073))] [Pos(9)] public string EmergencyIndicator_09 { get; set; } /// /// Multiple Procedure Code /// [DataElement("1340", typeof(X12_ID_1340))] [Pos(10)] public string MultipleProcedureCode_10 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073))] [Pos(11)] public string EPSDTIndicator_11 { get; set; } /// /// Yes/No Condition or Response Code /// [DataElement("1073", typeof(X12_ID_1073))] [Pos(12)] public string FamilyPlanningIndicator_12 { get; set; } /// /// Review Code /// [DataElement("1364", typeof(X12_ID_1364))] [Pos(13)] public string ReviewCode_13 { get; set; } /// /// National or Local Assigned Review Value /// [StringLength(1, 2)] [DataElement("1341", typeof(X12_AN))] [Pos(14)] public string NationalorLocalAssignedReviewValue_14 { get; set; } /// /// Copay Status Code /// [DataElement("1327", typeof(X12_ID_1327_2))] [Pos(15)] public string CoPayStatusCode_15 { get; set; } /// /// Health Care Professional Shortage Area Code /// [StringLength(1, 1)] [DataElement("1334", typeof(X12_AN))] [Pos(16)] public string HealthCareProfessionalShortageAreaCode_16 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(17)] public string ReferenceIdentification_17 { get; set; } /// /// Postal Code /// [StringLength(3, 15)] [DataElement("116", typeof(X12_AN))] [Pos(18)] public string PostalCode_18 { get; set; } /// /// Monetary Amount /// [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(19)] public string MonetaryAmount_19 { get; set; } /// /// Level of Care Code /// [DataElement("1337", typeof(X12_ID_1337))] [Pos(20)] public string LevelofCareCode_20 { get; set; } /// /// Provider Agreement Code /// [DataElement("1360", typeof(X12_ID_1360))] [Pos(21)] public string ProviderAgreementCode_21 { get; set; } } /// /// Durable Medical Equipment Service /// [Serializable()] [Segment("SV5", typeof(X12_ID_235_10), typeof(X12_ID_355_12))] public class SV5_DurableMedicalEquipmentService : ISV5 { /// /// Composite Medical Procedure Identifier /// [Required] [Pos(1)] public C003_CompositeMedicalProcedureIdentifier_9 CompositeMedicalProcedureIdentifier_01 { get; set; } /// /// Unit or Basis for Measurement Code /// [Required] [DataElement("355", typeof(X12_ID_355_12))] [Pos(2)] public string UnitorBasisforMeasurementCode_02 { get; set; } /// /// Quantity /// [Required] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(3)] public string LengthofMedicalNecessity_03 { get; set; } /// /// Monetary Amount /// [RequiredAny(5)] [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(4)] public string DMERentalPrice_04 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(5)] public string DMEPurchasePrice_05 { get; set; } /// /// Frequency Code /// [Conditional(4)] [Required] [DataElement("594", typeof(X12_ID_594_2))] [Pos(6)] public string RentalUnitPriceIndicator_06 { get; set; } /// /// Prognosis Code /// [DataElement("923", typeof(X12_ID_923))] [Pos(7)] public string PrognosisCode_07 { get; set; } } /// /// Durable Medical Equipment Certification /// [Serializable()] [Segment("CR3", typeof(X12_ID_1322_4), typeof(X12_ID_355_13))] public class CR3_DurableMedicalEquipmentCertification : ICR3 { /// /// Certification Type Code /// [Required] [DataElement("1322", typeof(X12_ID_1322_4))] [Pos(1)] public string CertificationTypeCode_01 { get; set; } /// /// Unit or Basis for Measurement Code /// [Paired(3)] [Required] [DataElement("355", typeof(X12_ID_355_13))] [Pos(2)] public string UnitorBasisforMeasurementCode_02 { get; set; } /// /// Quantity /// [Required] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(3)] public string DurableMedicalEquipmentDuration_03 { get; set; } /// /// Insulin Dependent Code /// [DataElement("1335", typeof(X12_ID_1335))] [Pos(4)] public string InsulinDependentCode_04 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(5)] public string Description_05 { get; set; } } /// /// Test Result /// [Serializable()] [Segment("MEA", typeof(X12_ID_737), typeof(X12_ID_738))] public class MEA_TestResult : IMEA { /// /// Measurement Reference ID Code /// [Required] [DataElement("737", typeof(X12_ID_737))] [Pos(1)] public string MeasurementReferenceIdentificationCode_01 { get; set; } /// /// Measurement Qualifier /// [Required] [DataElement("738", typeof(X12_ID_738))] [Pos(2)] public string MeasurementQualifier_02 { get; set; } /// /// Measurement Value /// [RequiredAny(5, 6, 8)] [Required] [StringLength(1, 20)] [DataElement("739", typeof(X12_R))] [Pos(3)] public string TestResults_03 { get; set; } /// /// Composite Unit of Measure /// [Pos(4)] public C001_CompositeUnitofMeasure CompositeUnitofMeasure_04 { get; set; } /// /// Range Minimum /// [ConditionalAny(4, 12)] [StringLength(1, 20)] [DataElement("740", typeof(X12_R))] [Pos(5)] public string RangeMinimum_05 { get; set; } /// /// Range Maximum /// [ConditionalAny(4, 12)] [StringLength(1, 20)] [DataElement("741", typeof(X12_R))] [Pos(6)] public string RangeMaximum_06 { get; set; } /// /// Measurement Significance Code /// [ConditionalAny(3, 5, 6)] [DataElement("935", typeof(X12_ID_935))] [Pos(7)] public string MeasurementSignificanceCode_07 { get; set; } /// /// Measurement Attribute Code /// [Exclusion(3)] [DataElement("936", typeof(X12_ID_936))] [Pos(8)] public string MeasurementAttributeCode_08 { get; set; } /// /// Surface/Layer/Position Code /// [DataElement("752", typeof(X12_ID_752))] [Pos(9)] public string SurfaceLayerPositionCode_09 { get; set; } /// /// Measurement Method or Device /// [DataElement("1373", typeof(X12_ID_1373))] [Pos(10)] public string MeasurementMethodorDevice_10 { get; set; } /// /// Code List Qualifier Code /// [Paired(12)] [DataElement("1270", typeof(X12_ID_1270_28))] [Pos(11)] public string CodeListQualifierCode_11 { get; set; } /// /// Industry Code /// [StringLength(1, 30)] [DataElement("1271", typeof(X12_AN))] [Pos(12)] public string IndustryCode_12 { get; set; } } /// /// Purchased Service Information /// [Serializable()] [Segment("PS1")] public class PS1_PurchasedServiceInformation : IPS1 { /// /// Reference Identification /// [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(1)] public string PurchasedServiceProviderIdentifier_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string PurchasedServiceChargeAmount_02 { get; set; } /// /// State or Province Code /// [StringLength(2, 2)] [DataElement("156", typeof(X12_AN))] [Pos(3)] public string StateorProvinceCode_03 { get; set; } } /// /// Line Pricing/Repricing Information /// [Serializable()] [Segment("HCP", typeof(X12_ID_1473))] public class HCP_LinePricing_3 : IHCP { /// /// Pricing Methodology /// [RequiredAny(13)] [Required] [DataElement("1473", typeof(X12_ID_1473))] [Pos(1)] public string PricingMethodology_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string RepricedAllowedAmount_02 { get; set; } /// /// Monetary Amount /// [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(3)] public string RepricedSavingAmount_03 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(4)] public string RepricingOrganizationIdentifier_04 { get; set; } /// /// Rate /// [StringLength(1, 9)] [DataElement("118", typeof(X12_R))] [Pos(5)] public string RepricingPerDiemorFlatRateAmount_05 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(6)] public string RepricedApprovedAmbulatoryPatientGroupCode_06 { get; set; } /// /// Monetary Amount /// [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(7)] public string MonetaryAmount_07 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(8)] public string ProductServiceID_08 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(10)] [DataElement("235", typeof(X12_ID_235_6))] [Pos(9)] public string ProductServiceIDQualifier_09 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(10)] public string ProductServiceID_10 { get; set; } /// /// Unit or Basis for Measurement Code /// [Paired(12)] [DataElement("355", typeof(X12_ID_355_11))] [Pos(11)] public string UnitorBasisforMeasurementCode_11 { get; set; } /// /// Quantity /// [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(12)] public string Quantity_12 { get; set; } /// /// Reject Reason Code /// [DataElement("901", typeof(X12_ID_901_15))] [Pos(13)] public string RejectReasonCode_13 { get; set; } /// /// Policy Compliance Code /// [DataElement("1526", typeof(X12_ID_1526))] [Pos(14)] public string PolicyComplianceCode_14 { get; set; } /// /// Exception Code /// [DataElement("1527", typeof(X12_ID_1527))] [Pos(15)] public string ExceptionCode_15 { get; set; } } /// /// Drug Identification /// [Serializable()] [Segment("LIN")] public class LIN_DrugIdentification_2 : ILIN { /// /// Assigned Identification /// [StringLength(1, 20)] [DataElement("350", typeof(X12_AN))] [Pos(1)] public string AssignedIdentification_01 { get; set; } /// /// Product/Service ID Qualifier /// [Required] [DataElement("235", typeof(X12_ID_235_11))] [Pos(2)] public string ProductorServiceIDQualifier_02 { get; set; } /// /// Product/Service ID /// [Required] [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(3)] public string NationalDrugCode_03 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(5)] [DataElement("235", typeof(X12_ID_235))] [Pos(4)] public string ProductServiceIDQualifier_04 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(5)] public string ProductServiceID_05 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(7)] [DataElement("235", typeof(X12_ID_235))] [Pos(6)] public string ProductServiceIDQualifier_06 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(7)] public string ProductServiceID_07 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(9)] [DataElement("235", typeof(X12_ID_235))] [Pos(8)] public string ProductServiceIDQualifier_08 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(9)] public string ProductServiceID_09 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(11)] [DataElement("235", typeof(X12_ID_235))] [Pos(10)] public string ProductServiceIDQualifier_10 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(11)] public string ProductServiceID_11 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(13)] [DataElement("235", typeof(X12_ID_235))] [Pos(12)] public string ProductServiceIDQualifier_12 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(13)] public string ProductServiceID_13 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(15)] [DataElement("235", typeof(X12_ID_235))] [Pos(14)] public string ProductServiceIDQualifier_14 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(15)] public string ProductServiceID_15 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(17)] [DataElement("235", typeof(X12_ID_235))] [Pos(16)] public string ProductServiceIDQualifier_16 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(17)] public string ProductServiceID_17 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(19)] [DataElement("235", typeof(X12_ID_235))] [Pos(18)] public string ProductServiceIDQualifier_18 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(19)] public string ProductServiceID_19 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(21)] [DataElement("235", typeof(X12_ID_235))] [Pos(20)] public string ProductServiceIDQualifier_20 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(21)] public string ProductServiceID_21 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(23)] [DataElement("235", typeof(X12_ID_235))] [Pos(22)] public string ProductServiceIDQualifier_22 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(23)] public string ProductServiceID_23 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(25)] [DataElement("235", typeof(X12_ID_235))] [Pos(24)] public string ProductServiceIDQualifier_24 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(25)] public string ProductServiceID_25 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(27)] [DataElement("235", typeof(X12_ID_235))] [Pos(26)] public string ProductServiceIDQualifier_26 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(27)] public string ProductServiceID_27 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(29)] [DataElement("235", typeof(X12_ID_235))] [Pos(28)] public string ProductServiceIDQualifier_28 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(29)] public string ProductServiceID_29 { get; set; } /// /// Product/Service ID Qualifier /// [Paired(31)] [DataElement("235", typeof(X12_ID_235))] [Pos(30)] public string ProductServiceIDQualifier_30 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(31)] public string ProductServiceID_31 { get; set; } } /// /// Drug Quantity /// [Serializable()] [Segment("CTP", typeof(X12_ID_687), typeof(X12_ID_236))] public class CTP_DrugQuantity : ICTP { /// /// Class of Trade Code /// [DataElement("687", typeof(X12_ID_687))] [Pos(1)] public string ClassofTradeCode_01 { get; set; } /// /// Price Identifier Code /// [DataElement("236", typeof(X12_ID_236))] [Pos(2)] public string PriceIdentifierCode_02 { get; set; } /// /// Unit Price /// [StringLength(1, 17)] [DataElement("212", typeof(X12_R))] [Pos(3)] public string UnitPrice_03 { get; set; } /// /// Quantity /// [Paired(5)] [Required] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(4)] public string NationalDrugUnitCount_04 { get; set; } /// /// Composite Unit of Measure /// [Required] [Pos(5)] public C001_CompositeUnitofMeasure_2 CompositeUnitofMeasure_05 { get; set; } /// /// Price Multiplier Qualifier /// [Conditional(7)] [DataElement("648", typeof(X12_ID_648))] [Pos(6)] public string PriceMultiplierQualifier_06 { get; set; } /// /// Multiplier /// [StringLength(1, 10)] [DataElement("649", typeof(X12_R))] [Pos(7)] public string Multiplier_07 { get; set; } /// /// Monetary Amount /// [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(8)] public string MonetaryAmount_08 { get; set; } /// /// Basis of Unit Price Code /// [Conditional(2)] [DataElement("639", typeof(X12_ID_639))] [Pos(9)] public string BasisofUnitPriceCode_09 { get; set; } /// /// Condition Value /// [Conditional(2)] [StringLength(1, 10)] [DataElement("499", typeof(X12_AN))] [Pos(10)] public string ConditionValue_10 { get; set; } /// /// Multiple Price Quantity /// [Conditional(3)] [StringLength(1, 2)] [DataElement("289", typeof(X12_N0))] [Pos(11)] public string MultiplePriceQuantity_11 { get; set; } } /// /// Prescription or Compound Drug Association Number /// [Serializable()] [Segment("REF", typeof(X12_ID_128_34))] public class REF_PrescriptionorCompoundDrugAssociationNumber : IREF { /// /// Reference Identification Qualifier /// [Required] [DataElement("128", typeof(X12_ID_128_34))] [Pos(1)] public string ReferenceIdentificationQualifier_01 { get; set; } /// /// Reference Identification /// [RequiredAny(3)] [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(2)] public string MemberGrouporPolicyNumber_02 { get; set; } /// /// Description /// [StringLength(1, 80)] [DataElement("352", typeof(X12_AN))] [Pos(3)] public string Description_03 { get; set; } /// /// Reference Identifier /// [Pos(4)] public C040_ReferenceIdentifier ReferenceIdentifier_04 { get; set; } } /// /// Purchased Service Provider Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_16), typeof(X12_ID_1065_2))] public class NM1_PurchasedServiceProviderName : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_16))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065_2))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_7))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Ordering Provider Name /// [Serializable()] [Segment("NM1", typeof(X12_ID_98_18), typeof(X12_ID_1065))] public class NM1_OrderingProviderName : INM1 { /// /// Entity Identifier Code /// [Required] [DataElement("98", typeof(X12_ID_98_18))] [Pos(1)] public string EntityIdentifierCode_01 { get; set; } /// /// Entity Type Qualifier /// [Required] [DataElement("1065", typeof(X12_ID_1065))] [Pos(2)] public string EntityTypeQualifier_02 { get; set; } /// /// Name Last or Organization Name /// [Required] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(3)] public string ResponseContactLastorOrganizationName_03 { get; set; } /// /// Name First /// [StringLength(1, 35)] [DataElement("1036", typeof(X12_AN))] [Pos(4)] public string ResponseContactFirstName_04 { get; set; } /// /// Name Middle /// [StringLength(1, 25)] [DataElement("1037", typeof(X12_AN))] [Pos(5)] public string ResponseContactMiddleName_05 { get; set; } /// /// Name Prefix /// [StringLength(1, 10)] [DataElement("1038", typeof(X12_AN))] [Pos(6)] public string NamePrefix_06 { get; set; } /// /// Name Suffix /// [StringLength(1, 10)] [DataElement("1039", typeof(X12_AN))] [Pos(7)] public string ResponseContactNameSuffix_07 { get; set; } /// /// Identification Code Qualifier /// [Paired(9)] [DataElement("66", typeof(X12_ID_66_7))] [Pos(8)] public string IdentificationCodeQualifier_08 { get; set; } /// /// Identification Code /// [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(9)] public string ResponseContactIdentifier_09 { get; set; } /// /// Entity Relationship Code /// [DataElement("706", typeof(X12_ID_706_3))] [Pos(10)] public string EntityRelationshipCode_10 { get; set; } /// /// Entity Identifier Code /// [Conditional(10)] [DataElement("98", typeof(X12_ID_98_19))] [Pos(11)] public string EntityIdentifierCode_11 { get; set; } /// /// Name Last or Organization Name /// [Conditional(3)] [StringLength(1, 60)] [DataElement("1035", typeof(X12_AN))] [Pos(12)] public string NameLastorOrganizationName_12 { get; set; } } /// /// Line Adjudication Information /// [Serializable()] [Segment("SVD")] public class SVD_LineAdjudicationInformation : ISVD { /// /// Identification Code /// [Required] [StringLength(2, 80)] [DataElement("67", typeof(X12_AN))] [Pos(1)] public string OtherPayerPrimaryIdentifier_01 { get; set; } /// /// Monetary Amount /// [Required] [StringLength(1, 18)] [DataElement("782", typeof(X12_R))] [Pos(2)] public string ServiceLinePaidAmount_02 { get; set; } /// /// Composite Medical Procedure Identifier /// [Required] [Pos(3)] public C003_CompositeMedicalProcedureIdentifier_7 CompositeMedicalProcedureIdentifier_03 { get; set; } /// /// Product/Service ID /// [StringLength(1, 48)] [DataElement("234", typeof(X12_AN))] [Pos(4)] public string ProductServiceID_04 { get; set; } /// /// Quantity /// [Required] [StringLength(1, 15)] [DataElement("380", typeof(X12_R))] [Pos(5)] public string PaidServiceUnitCount_05 { get; set; } /// /// Assigned Number /// [StringLength(1, 6)] [DataElement("554", typeof(X12_N0))] [Pos(6)] public string BundledorUnbundledLineNumber_06 { get; set; } } /// /// Form Identification Code /// [Serializable()] [Segment("LQ", typeof(X12_ID_1270_25))] public class LQ_FormIdentificationCode : ILQ { /// /// Code List Qualifier Code /// [Conditional(2)] [Required] [DataElement("1270", typeof(X12_ID_1270_25))] [Pos(1)] public string CodeListQualifierCode_01 { get; set; } /// /// Industry Code /// [Required] [StringLength(1, 30)] [DataElement("1271", typeof(X12_AN))] [Pos(2)] public string FormIdentifier_02 { get; set; } } /// /// Supporting Documentation /// [Serializable()] [Segment("FRM")] public class FRM_SupportingDocumentation : IFRM { /// /// Assigned Identification /// [Required] [StringLength(1, 20)] [DataElement("350", typeof(X12_AN))] [Pos(1)] public string QuestionNumberLetter_01 { get; set; } /// /// Yes/No Condition or Response Code /// [RequiredAny(3, 4, 5)] [DataElement("1073", typeof(X12_ID_1073_5))] [Pos(2)] public string QuestionResponse_02 { get; set; } /// /// Reference Identification /// [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(3)] public string QuestionResponse_03 { get; set; } /// /// Date /// [StringLength(8, 8)] [DataElement("373", typeof(X12_DT))] [Pos(4)] public string QuestionResponse_04 { get; set; } /// /// Percent, Decimal Format /// [StringLength(1, 6)] [DataElement("332", typeof(X12_R))] [Pos(5)] public string QuestionResponse_05 { get; set; } } /// /// Beginning of Hierarchical Transaction /// [Serializable()] [Segment("BHT", typeof(X12_ID_1005_5), typeof(X12_ID_353_7))] public class BHT_BeginningofHierarchicalTransaction_7 : IBHT { /// /// Hierarchical Structure Code /// [Required] [DataElement("1005", typeof(X12_ID_1005_5))] [Pos(1)] public string HierarchicalStructureCode_01 { get; set; } /// /// Transaction Set Purpose Code /// [Required] [DataElement("353", typeof(X12_ID_353_7))] [Pos(2)] public string TransactionSetPurposeCode_02 { get; set; } /// /// Reference Identification /// [Required] [StringLength(1, 50)] [DataElement("127", typeof(X12_AN))] [Pos(3)] public string SubmitterTransactionIdentifier_03 { get; set; } /// /// Date /// [Required] [StringLength(8, 8)] [DataElement("373", typeof(X12_DT))] [Pos(4)] public string TransactionSetCreationDate_04 { get; set; } /// /// Time /// [Required] [StringLength(4, 8)] [DataElement("337", typeof(X12_TM))] [Pos(5)] public string TransactionSetCreationTime_05 { get; set; } /// /// Transaction Type Code /// [Required] [DataElement("640", typeof(X12_ID_640_6))] [Pos(6)] public string TransactionTypeCode_06 { get; set; } } }