Module: Stupidedi::Versions::FunctionalGroups::FiftyTen::ElementDefs

Defined in:
lib/stupidedi/versions/functional_groups/005010/element_defs.rb

Constant Summary collapse

E2 =
t::Nn.new(:E2   , "Number of Accepted Transaction Sets"  , 1, 6, 0)
E19 =
t::AN.new(:E19  , "City Name"                            , 2, 30)
E26 =
t::ID.new(:E26  , "Country Code"                         , 2, 3,
s::CodeList.external("5"))
E28 =
t::Nn.new(:E28  , "Group Control Number"                 , 1, 9, 0)
E61 =
t::AN.new(:E61  , "Free-form Information"                , 1, 30)
E65 =
t:: R.new(:E65  , "Height"                               , 1, 8)
E66 =
t::ID.new(:E66  , "Identification Code Qualifier"        , 1, 2,
            s::CodeList.build(
"1"  => s::CodeList.external("16"),
"9"  => s::CodeList.external("16"),
"21" => s::CodeList.external("121"),
"24" => "Employer’s Identification Number",
"34" => "Social Security Number",
"38" => s::CodeList.external("5"),
"46" => "Electronic Transmitter Identification Number (ETIN)",
"51" => s::CodeList.external("51"),
"94" => "Code assigned by the organization that is the ultimate destination of the transaction set",
"AC" => "Attachment Control Number",
"AD" => "Blue Cross Blue Shield Associtation Plan Code",
"BD" => "Blue Cross Provider Number",
"BS" => "Blue Shield Provider Number",
"C"  => "Insured's Changed Unique Identification Number",
"CF" => s::CodeList.external("91"),
"FA" => "Facility Identification",
"FI" => "Federal Taxpayer's Identification Number",
"HN" => "Health Insurance Claim (HIC) Number",
"II" => "Standard Unique Health Identifier for each Individual in the United States",
"LD" => s::CodeList.external("457"),
"LE" => s::CodeList.external("102"),
"NI" => "National Association of Insurance Commisioners (NAIC) Identification",
"MI" => "Member Identification Number",
"MC" => "Medicaid Provider",
"MR" => "Medicaid Recipient Identification Number",
"PC" => "Provider Commercial Number",
"PI" => "Payor Identification",
"PP" => "Pharmacy Processor Number",
"SJ" => s::CodeList.external("22"),
"SL" => "State License Number",
"SV" => "Service Provider Number",
"UP" => "Unique Physician Identification Number (UPIN)",
"XV" => s::CodeList.external("540"),
"XX" => s::CodeList.external("537"),
"ZZ" => "Mutually Defined"))
E67 =
t::AN.new(:E67  , "Identification Code"                  , 2, 80)
E81 =
t:: R.new(:E81  , "Weight"                               , 1, 10)
E93 =
t::AN.new(:E93  , "Name"                                 , 1, 60)
E96 =
t::Nn.new(:E96  , "Number of Included Segments"          , 1, 10, 0)
E97 =
t::Nn.new(:E97  , "Number of Transaction Sets Included"  , 1, 6, 0)
E98 =
t::ID.new(:E98  , "Entity Identifier Code"               , 2, 3,
            s::CodeList.build(
"03"  => "Dependent",
"13"  => "Contracted Service Provider",
"1I"  => "Preferred Provider Organization (PPO)",
"1P"  => "Provider",
"1X"  => "Laboratory",
"1Z"  => "Home Health Care",
              "2B"  => "Third-Party Administrator",
"31"  => "Postal Mailing Address",
"36"  => "Employer",
"3D"  => "Obstetrics and Gynecology Facility",
"40"  => "Receiver",
"41"  => "Submitter",
"45"  => "Drop-off Location",
"6Y"  => "Case Manager",
"70"  => "Prior Incorrect Insured",
"71"  => "Attending Physician",
"72"  => "Operating Physician",
"73"  => "Other Physician",
"74"  => "Corrected Insured",
"75"  => "Participant",
"77"  => "Service Location",
"80"  => "Hospital",
"82"  => "Rendering Provider",
"85"  => "Billing Provider",
"87"  => "Pay-to Provider",
"98"  => "Receiver",
"9K"  => "Key Person",
"AY"  => "Clearinghouse",
"BO"  => "Broker or Sales Office",
"DK"  => "Ordering Physician",
"DN"  => "Referring Provider",
"DQ"  => "Supervising Physician",
"E1"  => "Person or Other Entity Legally Responsible for a Child",
"EI"  => "Executor of Estate",
"EXS" => "Ex-spouse",
"FA"  => "Facility",
"GB"  => "Other Insured",
        "GP"  => "Gateway Provider",
"GD"  => "Guardian",
"GW"  => "Group",
"HK"  => "Subscriber",
"I3"  => "Independent Physicians Association (IPA)",
"IL"  => "Insured or Subscriber",
"IN"  => "Insurer",
"J6"  => "Power of Attorney",
"LI"  => "Independent Lab",
"LR"  => "Legal Representative",
"M8"  => "Educational Institution",
"MSC" => "Mammography Screening Center",
          "OC"  => "Origin Carrier",
"OD"  => "Doctor of Optometry",
"P3"  => "Primary Care Provider",
"P4"  => "Prior Insurance Carrier",
"P5"  => "Plan Sponsor",
"PE"  => "Payee",
"PR"  => "Payer",
"PRP" => "Primary Payer",
"PW"  => "Pickup Address",
"QA"  => "Pharmacy",
"QN"  => "Dentist",
"TT"  => "Transfer To",
"QB"  => "Purchase Service Provider",
"QC"  => "Patient",
"QD"  => "Responsible Party",
"S1"  => "Parent",
"S3"  => "Custodial Parent",
"SEP" => "Secondary Payer",
"TL"  => "Testing Laboratory",
"TZ"  => "Significant Other",
"TTP" => "Tertiary Payer",
"TU"  => "Third Party Repricing Organization (TPO)",
"TV"  => "Third Party Administrator (TPA)",
        "VER" => "Party Performing Verification",
"VN"  => "Vendor",
"VY"  => "Organization Completing Configuration Change",
"X3"  => "Utilitazion Management Origanization",
"Y2"  => "Managed Care Organization",
"X4"  => "Spouse",
"ZZ"  => "Mutually Defined"))
E100 =
t::ID.new(:E100 , "Currency Code"                        , 3, 3,
s::CodeList.external("5"))
E107 =
t::ID.new(:E107 , "Payment Method Type Code"             , 1, 2)
E116 =
t::ID.new(:E116 , "Postal Code"                          , 3, 15,
s::CodeList.external("51"))
E118 =
t:: R.new(:E118 , "Rate"                                 , 1, 9)
E123 =
t::Nn.new(:E123 , "Number of Received Transaction Sets"  , 1, 6, 0)
E124 =
t::AN.new(:E124 , "Application Receiver's Code"          , 2, 15)
E127 =
t::AN.new(:E127 , "Reference Identification"             , 1, 50)
E128 =
t::ID.new(:E128 , "Reference Identification Qualifier"   , 2, 3,
            s::CodeList.build(
"00"  => "Contracting District Number",
"04"  => s::CodeList.external("91"),
"0B"  => "State License Number",
"0F"  => "Subscriber Number",
"0K"  => "Policy Form Identifying Number",
"17"  => "Client Reporting Category",
"18"  => "Plan Number",
"19"  => "Division Identifier",
"1A"  => "Blue Cross Provider Number",
"1B"  => "Blue Shield Provider Number",
"1C"  => "Medicare Provider Number",
"1D"  => "Medicaid Provider Number",
"1G"  => "Provider UPIN Number",
"1H"  => "CHAMPUS Identification Number",
"1J"  => "Facility ID Number",
"1K"  => "Payor's Claim Number",
"1L"  => "Group or Policy Number",
"1S"  => "Ambulatory Patient Group (APG) Number",
"1W"  => "Member Identification Number",
"23"  => "Client Number",
"26"  => "Union Number",
"28"  => "Employee Identification Number",
"2U"  => "Payer Identification Number",
"38"  => "Master Policy Number",
"3H"  => "Case Number",
"3L"  => "Branch Identifier",
"4A"  => "Personal Identification Number (PIN)",
"4N"  => "Special Payment Reference Number",
"49"  => "Family Unit Number",
"60"  => "Account Suffix Code",
"6M"  => "Application Number",
"6O"  => "Cross Reference Number",
"6P"  => "Group Number",
"6R"  => "Provider Control Number",
"9A"  => "Repriced Claim Reference Number",
"9B"  => "Repriced Line Item Reference Number",
"9C"  => "Adjusted Repriced Claim Reference Number",
"9D"  => "Adjusted Repriced Line Item Reference Number",
"9F"  => "Referral Number",
"9K"  => "Servicer",
"9V"  => "Payment Category",
"9X"  => "Account Category",
"ABB" => "Personal ID Number",
"ABY" => s::CodeList.external("540"),
"ALS" => "Alternative List ID",
"AP"  => "Ambulatory Payment Classification",
"APC" => s::CodeList.external("468"),
"BB"  => "Authorization Number",
"BLT" => "Billing Type",
"BT"  => "Batch Number",
"CE"  => "Class of Contract Code",
"CLI" => "Coverage List ID",
"CT"  => "Contract Number",
"CPT" => s::CodeList.external("133"),
"D3"  => s::CodeList.external("307"),
"D9"  => "Claim Number",
"DNS" => s::CodeList.external("16"),
"DUN" => s::CodeList.external("16"),
"DX"  => "Department/Agency Number",
"E8"  => "Service Contract (Coverage) Number",
"E9"  => "Attachment Code",
"EA"  => "Medical Record Identification Number",
"EL"  => "Electronic Device PIN Number",
"EI"  => "Employer's Identification Number",
"EJ"  => "Patient Account Number",
"EO"  => "Submitter Identification Number",
"EV"  => "Receiver Identification Number",
"EW"  => "Mammography Certification Number",
"F2"  => "Version Code - Local",
"F4"  => "Facility Certification Number",
"F5"  => "Medicare Version Code",
"F6"  => "Health Insurance Claim (HIC) Number",
"F8"  => "Original Reference Number",
"FJ"  => "Line Item Control Number",
"FO"  => "Drug Formulary Number",
"FY"  => "Claim Office Number",
"G1"  => "Prior Authorization Number",
"G2"  => "Provider Commercial Number",
"G3"  => "Predetermination of Benefits Identification Number",
"GH"  => "Identification Card Serial Number",
"G4"  => "Peer Review Organization (PRO) Approval Number",
"GE"  => "Geographic Number",
"HI"  => s::CodeList.external("121"),
"HJ"  => "Identity Card Number",
"HPI" => s::CodeList.external("537"),
"ICD" => s::CodeList.external("131"),
"IF"  => "Issue Number",
"IG"  => "Insurance Policy Number",
"JD"  => "User Identification",
"LOI" => s::CodeList.external("663"),
"LU"  => "Location Number",
"LX"  => "Qualified Products List",
"M7"  => "Medical Assistance Category",
"MRC" => s::CodeList.external("844"),
"N5"  => "Provider Plan Network Identification Number",
"N6"  => "Plan Network Identification Number",
"N7"  => "Facitily Network Identification Number",
"NF"  => s::CodeList.external("245"),
"NQ"  => "Medicaid Recipient Identification Number",
"P4"  => "Project Code",
"P5"  => "Position Code",
"PID" => "Program Identification Number",
"PQ"  => "Payee Indentification",
"PXC" => s::CodeList.external("682"),
"Q4"  => "Prior Identifier Number",
"QQ"  => "Unit Number",
"RB"  => "Rate code number",
"SY"  => "Social Security Number",
"T4"  => "Signal Code",
"TJ"  => "Federal Taxpayer's Identification Number",
"VY"  => "Link Sequence Number",
"Y4"  => "Agency Claim Number",
"X4"  => "Clinical Laboratory Improvement Amendment Number",
"X9"  => "Internal Control Number",
"XM"  => "Issuer Number",
"XX1" => "Special Program Code",
"XX2" => "Service Area Code",
"XZ"  => "Pharmacy Prescription Number",
"YY"  => "Geographic Key",
"ZX"  => "County Code",
"ZZ"  => "Mutually Defined"))
E142 =
t::AN.new(:E142 , "Application's Sender Code"            , 2, 15)
E143 =
t::ID.new(:E143 , "Transaction Set Identifier Number"    , 3, 3,
            s::CodeList.build(
"270" => "Eligibility, Coverage, or Benefit Inquiry",
"271" => "Eligibility, Coverage, or Benefit Information",
"276" => "Health Care Claim Status Request",
"277" => "Health Care Information Status Notification",
"834" => "Benefit Enrollment and Maintenance",
"835" => "Health Care Claim Payment/Advice",
"837" => "Health Care Claim",
"999" => "Implementation Acknowledgement"))
E156 =
t::ID.new(:E156 , "State or Province Code"               , 2, 2,
s::CodeList.external("22"))
E166 =
t::AN.new(:E166 , "Address Information"                  , 1, 55)
E212 =
t:: R.new(:E212 , "Unit Price"                           , 1, 17)
E234 =
t::AN.new(:E234 , "Product/Service ID"                   , 1, 48)
E235 =
t::ID.new(:E235 , "Product/Service ID Qualifier"         , 2, 2,
            s::CodeList.build(
"AD" => s::CodeList.external("135"),
"A5" => s::CodeList.external("22"),
"CH" => s::CodeList.external("5"),
"CJ" => s::CodeList.external("135"),
"DC" => s::CodeList.external("897"),
"DX" => s::CodeList.external("131"),
"EN" => "EAN/UCC - 13",
"EO" => "EAN/UCC - 8",
"ER" => s::CodeList.external("576"),
"HC" => s::CodeList.external("130"),
"HP" => s::CodeList.external("716"),
"ID" => s::CodeList.external("131"),
"IP" => s::CodeList.external("896"),
"IV" => s::CodeList.external("513"),
"HI" => "HIBC (Health Care Industry Bar Code) Supplier Labeling Standard Primary Data Message",
"LB" => s::CodeList.external("663"),
"N1" => s::CodeList.external("240"),
"N2" => s::CodeList.external("240"),
"N3" => s::CodeList.external("240"),
"N4" => s::CodeList.external("240"),
"N5" => s::CodeList.external("240"),
"N6" => s::CodeList.external("240"),
"NU" => s::CodeList.external("132"),
"ON" => "Customer Order Number",
"TD" => s::CodeList.external("359"),
"UI" => "U.P.C. Consumer Package (1-5-5)",
"UK" => "GTIN 14-digit Data Structure",
"UP" => "UCC - 12",
"RB" => s::CodeList.external("132"),
"WK" => s::CodeList.external("843"),
"ZZ" => "Mutually Defined"))
E236 =
t::ID.new(:E236 , "Price Identifier Code"                , 3, 3)
E280 =
t:: R.new(:E280 , "Exchange Rate"                        , 4, 10)
E289 =
t::Nn.new(:E289 , "Multiple Price Quantity"              , 1, 2, 0)
E305 =
t::ID.new(:E305 , "Transaction Handling Code"            , 1, 2,
            s::CodeList.build(
"C" => "Payment Accompanies Remittance Advice",
"D" => "Make Payment Only",
"H" => "Notification Only",
"I" => "Remittance Information Only",
"P" => "Prenotification of Future Transfers",
"U" => "Split Payment and Remittance",
"X" => "Handling Party's Option to Split Payment and Remittance"))
E306 =
t::ID.new(:E306 , "Action Code"                          , 1, 2,
            s::CodeList.build(
"1"  => "Add",
"2"  => "Change (Update)",
"4"  => "Verify",
"RX" => "Replace",
"U"  => "Reject",
"WQ" => "Accept"))
E309 =
t::ID.new(:E309 , "Location Qualifier"                   , 1, 2,
            s::CodeList.build(
"60" => "Area",
"CY" => "County/Parish",
"PQ" => s::CodeList.external("51"),
"PR" => s::CodeList.external("51"),
"PS" => s::CodeList.external("51"),
"RJ" => s::CodeList.external("DOD1")))
E310 =
t::ID.new(:E310 , "Location Identifier"                  , 1, 30)
E329 =
t::AN.new(:E329 , "Transaction Set Control Number"       , 4, 9)
E332 =
t:: R.new(:E332 , "Percent, Decimal Format"              , 1, 6)
E337 =
t::TM.new(:E337 , "Time"                                 , 4, 8)
E338 =
t:: R.new(:E338 , "Terms Discount Percent"               , 1, 6)
E350 =
t::AN.new(:E350 , "Assigned Identification"              , 1, 20)
E352 =
t::AN.new(:E352 , "Description"                          , 1, 80)
E353 =
t::ID.new(:E353 , "Transaction Set Purpose Code"         , 2, 2,
            s::CodeList.build(
"00" => "Original",
"01" => "Cancellation",
"06" => "Confirmation",
"08" => "Status",
"15" => "Re-Submission",
            "11" => "Response",
"13" => "Request",
"18" => "Reissue",
"22" => "Information Copy"))
E355 =
t::ID.new(:E355 , "Unit or Basis for Measurement Code"   , 2, 2,
            s::CodeList.build(
"01" => "Actual Pounds",
"DA" => "Days",
"DH" => "Miles",
"F2" => "International Unit",
"GR" => "Gram",
"LB" => "Pound",
"ME" => "Milligram",
"MJ" => "Minutes",
"ML" => "Milliliter",
"MO" => "Months",
"UN" => "Units",
"WK" => "Week",
"VS" => "Visit",
"YR" => "Years"))
E363 =
t::ID.new(:E363 , "Note Reference Code"                  , 3, 3,
            s::CodeList.build(
"ADD" => "Additional Information",
"ALG" => "Allergies",
"CER" => "Certification Narrative",
"DCP" => "Goals, Rehabilitation Potential, or Discharge Plans",
"DGN" => "Diagnosis Description",
"DME" => "Durable Medical Equipment (DME) and Supplies",
"MED" => "Medications",
"NTR" => "Nutritional Requirements",
"ODT" => "Orders for Disciplines and Treatments",
"RHB" => "Functional Limitations, Reason Homebound, or Both",
"RLH" => "Reasons Patient Leaves Home",
"RNH" => "Times and Reasons Patient Not at Home",
"SET" => "Unusual Home, Social Environment, or Both",
"SFM" => "Safety Measures",
"SPT" => "Supplementary Plan of Treatment",
"TPO" => "Third Party Organization Notes",
"UPI" => "Updated Information"))
E364 =
t::AN.new(:E364 , "Communication Number"                 , 1, 256)
E365 =
t::ID.new(:E365 , "Communication Number Qualifier"       , 2, 2,
            s::CodeList.build(
"AP" => "Alternate Telephone",
"BN" => "Beeper Number",
"CP" => "Cellular Phone",
         "ED" => "Electronic Data Interchange Access Number",
"EM" => "Electronic Mail",
"EX" => "Telephone Extension",
"FX" => "Facsimile",
"HP" => "Home Phone Number",
"TE" => "Telephone",
"UR" => "Uniform Resource Locator (URL)",
"WP" => "Work Phone Number"))
E366 =
t::ID.new(:E366 , "Contract Function Code"               , 2, 2,
            s::CodeList.build(
"BL" => "Technical Department",
"CN" => "General Contact",
"CX" => "Payers Claim Office",
"EP" => "Employer Contact",
"IC" => "Information Contact",
"IP" => "Insured Party",
"RP" => "Responsible Person",
"PQ" => "Parent or Guardian",
"SK" => "School Clerk"))
E373 =
t::DT.new(:E373 , "Date"                                 , 8, 8)
E374 =
t::ID.new(:E374 , "Date/Time Qualifier"                  , 3, 3,
            s::CodeList.build(
"007" => "Effective",
"009" => "Process",
"011" => "Shipped",
"036" => "Expiration",
"050" => "Received",
"090" => "Report Start",
"091" => "Report End",
"096" => "Discharge",
"102" => "Issue",
"150" => "Service Period Start",
"151" => "Service Period End",
"152" => "Effective Date of Change",
"193" => "Period Start",
"194" => "Period End",
"198" => "Completion",
"232" => "Claim Statement Period Start",
"233" => "Claim Statement Period End",
"286" => "Retirement",
"290" => "Coordination of Benefits",
"291" => "Plan",
"292" => "Benefit",
"295" => "Primary Care Provider",
"296" => "Initial Disability Period Return To Work",
"297" => "Initial Disability Period Last Day Worked",
"300" => "Enrollment Signature Date",
"301" => "Consolidated Omnibus Budget Reconciliation Act (COBRA) Qualifying Event",
"303" => "Maintenance Effective",
"304" => "Latest Visit or Consultation",
"307" => "Eligibility",
"314" => "Disability",
        "318" => "Added",
"336" => "Employment Begin",
"337" => "Employment End",
"338" => "Medicare Begin",
"339" => "Medicare End",
"340" => "Consolidated Omnibus Budget Reconciliation Act (COBRA) Begin",
"341" => "Consolidated Omnibus Budget Reconciliation Act (COBRA) End",
        "342" => "Premium Paid to Date Begin",
"343" => "Premium Paid to Date End",
"344" => "Coordination of Benefits Begin",
"345" => "Coordination of Benefits End",
        "346" => "Plan Begin",
"347" => "Plan End",
"348" => "Benefit Begin",
"349" => "Benefit End",
"350" => "Education Begin",
"351" => "Education End",
"356" => "Eligibility Begin",
"357" => "Eligibility End",
"360" => "Initial Disability Period Start",
"361" => "Initial Disability Period End",
"382" => "Enrollment",
"383" => "Adjusted Hire",
"385" => "Credited Service Begin",
"386" => "Credited Service End",
"388" => "Payment Cancellation",
"393" => "Plan Participation Suspension",
"394" => "Rehire",
"405" => "Production",
"431" => "Onset of Current Symptoms or Illness",
"434" => "Statement",
"435" => "Admission",
"439" => "Accident",
"442" => "Date of Birth",
"444" => "First Visit or Consultation",
"453" => "Acute Manifestation of a Chronic Condition",
"454" => "Initial Treatment",
"455" => "Last X-Ray",
"458" => "Certification",
"461" => "Last Certification",
"463" => "Begin Therapy",
"471" => "Prescription",
"472" => "Service",
"473" => "Medicaid Begin",
"474" => "Medicaid End",
"484" => "Last Menstrual Period",
        "539" => "Policy Effective",
"540" => "Policy Expiration",
"543" => "Last Premium Paid Date",
"573" => "Date Claim Paid",
"607" => "Certification Revision",
         "636" => "Date of Last Update",
"695" => "Previous Period",
"738" => "Most Recent Hemoglobin or Hematocrit or Both",
"739" => "Most Recent Serum Creatine",
"771" => "Status"))
E380 =
t:: R.new(:E380 , "Quantity"                             , 1, 15)
E426 =
t::ID.new(:E426 , "Adjustment Reason Code"               , 2, 2,
            s::CodeList.build(
"50" => "Late Charge",
"51" => "Interest Penalty Charge",
"72" => "Authorized Return",
"90" => "Early Payment Allowance",
"AH" => "Origination Fee",
"AM" => "Applied to Borrower's Account",
"AP" => "Acceleration of Benefits",
"B2" => "Rebate",
"B3" => "Recovery Allowance",
"BD" => "Bad Debt Adjustment",
"BN" => "Bonus",
"C5" => "Temporary Allowance",
"CR" => "Capitation Interest",
"CS" => "Adjustment",
"CT" => "Capitation Payment",
"CV" => "Capital Passthru",
"CW" => "Certified Registered Nurse Anesthetist Passthru",
"DM" => "Direct Medical Education Passthru",
"E3" => "Withholding",
"FB" => "Forwarding Balance",
"FC" => "Fund Allocation",
"GO" => "Graduate Medicale Education Passthru",
"HM" => "Hemophelia Clotting Factor Supplement",
"IP" => "Incentive Premium Payment",
"IR" => "Internal Revenue Service Withholding",
"IS" => "Interim Settlement",
"J1" => "Nonreimbursable",
"L3" => "Penalty",
"L6" => "Interest Owed",
"LE" => "Levy",
"LS" => "Lump Sum",
"OA" => "Organ Acquisition Passthru",
"OB" => "Offset for Affiliated Providers",
"PI" => "Periodic Interim Payment",
"PL" => "Payment Final",
"RA" => "Retro-activity Adjustment",
"RE" => "Return on Equity",
"SL" => "Student Loan Repayment",
"TL" => "Third Party Liability",
"WO" => "Overpayment Recovery",
"WU" => "Unspecified Recovery"))
E429 =
t::AN.new(:E429 , "Check Number"                         , 1, 16)
E443 =
t::AN.new(:E443 , "Contract Inquiry Reference"           , 1, 20)
E447 =
t::AN.new(:E447 , "Loop Identifier Code"                 , 1, 4)
E449 =
t::AN.new(:E449 , "Fixed Format Information"             , 1, 80)
E478 =
t::ID.new(:E478 , "Credit/Debit Flag Code"               , 1, 1,
            s::CodeList.build(
"C"   => "Credit",
"D"   => "Debit",
"ACH" => "Automated Clearing House (ACH)",
"BOP" => "Financial Institution Option",
"CHK" => "Check",
"FWT" => "Federal Reserve Funds/Wire Transfer - Nonrepetitive",
"NON" => "Non-Payment Data"))
E479 =
t::ID.new(:E479 , "Functional Identifier Code"           , 2, 2,
            s::CodeList.build(
"BE" => "Benefit Enrollment and Maintenance",
"FA" => "Functional or Implementation Acknowledgment Transaction Sets",
"HB" => "Eligibility, Coverage or Benefit Inforation",
"HC" => "Health Care Claim",
"HI" => "Health Care Services Review Information",
"HN" => "Health Care Information Status Notification",
"HP" => "Health Care Claim Payment/Advice",
"HS" => "Eligibility, Coverage or Benefit Inquiry",
"HR" => "Health Care Claim Status Request",
"RA" => "Payment Order/Remittance Advice"))
E455 =
t::ID.new(:E455 , "Responsible Agency Code"              , 1, 2,
            s::CodeList.build(
"X" => "Accredited Standards Committee X12"))
E480 =
t::AN.new(:E480 , "Version / Release / Identifier Code"  , 1, 12,
s::CodeList.external("881"))
E481 =
t::ID.new(:E481 , "Trace Type Code"                      , 1, 2,
            s::CodeList.build(
"1" => "Current Transaction Trace Numbers",
"2" => "Referenced Transaction Trace Numbers"))
E499 =
t::AN.new(:E499 , "Condition Value"                      , 1, 10)
E506 =
t::ID.new(:E506 , "DFI Identification Number Qualifier"  , 2, 2,
            s::CodeList.build(
"01" => s::CodeList.external("4"),
"04" => s::CodeList.external("91")))
E507 =
t::AN.new(:E507 , "DFI Identification Number"            , 3, 12,
s::CodeList.external("60"))
E508 =
t::AN.new(:E508 , "Account Number"                       , 1, 35)
E509 =
t::AN.new(:E509 , "Originating Company Identifier"       , 10,10)
E510 =
t::AN.new(:E510 , "Originating Company Supplemental Code", 9, 9)
E522 =
t::ID.new(:E522 , "Amount Qualifier Code"                , 1, 3,
            s::CodeList.build(
"A8"  => "Noncovered Charges - Actual",
"AU"  => "Coverage Amount",
"B6"  => "Allowed Amount",
"B9"  => "Co-insurance - Actual",
"C1"  => "Co-Payment Amount",
"D"   => "Payor Amount Paid",
"D2"  => "Deductible Amount",
"D8"  => "Discount Amount",
"DY"  => "Per Day Limit",
"EAF" => "Amount Owed",
"EBA" => "Expected Expenditure Amount",
"F3"  => "Patient Responsibility - Estimated",
"F4"  => "Postage Claimed",
"F5"  => "Patient Amount Paid",
"FK"  => "Other Unlisted Amount",
"GT"  => "Goods and Services Tax",
"I"   => "Interest",
"KH"  => "Deduction Amount",
"N8"  => "Miscellaneous Taxes",
"NL"  => "Negative Ledger Balance",
"P3"  => "Premium Amount",
"T3"  => "Total Submitted Charges",
         "PB"  => "Billed Amount",
"R"   => "Spend Down",
"T"   => "Tax",
"T2"  => "Total Claim Before Taxes",
"YU"  => "In Process",
"YY"  => "Returned",
"ZK"  => "Federal Medicare or Medicaid Payment Mandate Category 1",
"ZL"  => "Federal Medicare or Medicaid Payment Mandate Category 2",
"ZM"  => "Federal Medicare or Medicaid Payment Mandate Category 3",
"ZN"  => "Federal Medicare or Medicaid Payment Mandate Category 4",
"ZO"  => "Federal Medicare or Medicaid Payment Mandate Category 5"))
E554 =
t::Nn.new(:E554 , "Assigned Number"                      , 1, 6, 0)
E559 =
t::ID.new(:E559 , "Agency Qualifier Code"                , 2, 2,
            s::CodeList.build(
"LB" => s::CodeList.external("407")))
E569 =
t::ID.new(:E569 , "Account Number Qualifier"             , 1, 3,
            s::CodeList.build(
"DA" => "Demand Deposit",
"SG" => "Savings"))
E584 =
t::ID.new(:E584 , "Employment Status Code"               , 2, 2,
            s::CodeList.build(
"AC" => "Active",
        "AE" => "",
"AO" => "Active Military - Overseas",
"AU" => "Active Military - USA",
        "AS" => "",
            "AT" => "",
              "CC" => "",
              "DD" => "",
              "HD" => "",
        "IR" => "",
"FT" => "Full-time",
"L1" => "Leave of Absence",
        "LX" => "",
        "PE" => "",
"PT" => "Part-time",
        "RE" => "",
        "RM" => "",
        "RR" => "",
        "RU" => "",
"RT" => "Retired",
"TE" => "Terminated"))
E591 =
t::ID.new(:E591 , "Payment Method Code"                  , 3, 3)
E594 =
t::ID.new(:E594 , "Frequency Code"                       , 1, 1,
            s::CodeList.build(
"1" => "Weekly",
"2" => "Biweekly",
"3" => "Semimonthly",
"4" => "Monthly",
"6" => "Daily",
"7" => "Annual",
"8" => "Two Calendar Months",
"9" => "Lump-Sum Separation Allowance",
"B" => "Year-to-Date",
"C" => "Single",
"H" => "Hourly",
"Q" => "Quarterly",
"S" => "Semiannual",
"U" => "Unknown"))
E609 =
t::Nn.new(:E609 , "Count"                                , 1, 9, 0)
E615 =
t::ID.new(:E615 , "Time Period Qualifier"                , 1, 2,
            s::CodeList.build(
"6"  => "Hour",
"7"  => "Day",
"13" => "24 Hours",
"21" => "Years",
"22" => "Service Year",
"23" => "Calendar Year",
"24" => "Year to Date",
"25" => "Contract",
"26" => "Episode",
"27" => "Visit",
"28" => "Outlier",
"29" => "Remaining",
"30" => "Exceeded",
"31" => "Not Exceeded",
"32" => "Lifetime",
"33" => "Lifetime Remaining",
"34" => "Month",
"35" => "Week",
"36" => "Admission"))
E616 =
t::Nn.new(:E616 , "Number of Periods"                    , 1, 3, 0)
E618 =
t::ID.new(:E618 , "Implementation Transaction Set Syntax Error Code", 1, 3,
            s::CodeList.build(
"1"  => "Transaction Set Not Supported",
"2"  => "Transaction Set Trailer Missing",
"3"  => "Transaction Set Control Number in Header and Trailer Do Not Match",
"4"  => "Number of Included Segments Does Not Match Actual Content",
"5"  => "One or More Segments in Error",
"6"  => "Missing or Invalid Transaction Set Identifier",
"7"  => "Missing or Invalid Transaction Set Control Number",
"8"  => "Authentication Key Name Unknown",
"9"  => "Encryption Key Name Unknown",
"10" => "Requested Service (Authentication or Encrypted) Not Available",
"11" => "Unknown Security Recipient",
"12" => "Incorrect Message Length (Encryption Only)",
"13" => "Message Authentication Code Failed",
"15" => "Unknown Security Originator",
"16" => "Syntax Error in Decrypted Text",
"17" => "Security Not Supported",
"18" => "Transaction Set not in Functional Group",
"19" => "Invalid Transaction Set Implementation Convention Reference",
"23" => "Transaction Set Control Number Not Unique within the Functional Group",
"24" => "S3E Security End Segment Missing for S3S Security Start Segment",
"25" => "S3S Security Start Segment Missing for S3E Security End Segment",
"26" => "S4E Security End Segment Missing for S4S Security Start Segment",
"27" => "S4S Security Start Segment Missing for S4E Security End Segment",
"I5" => "Implementation One or More Segments In Error",
"I6" => "Implementation Convention Not Supported"))
E620 =
t::ID.new(:E620 , "Implementation Segment Syntax Error Code", 1, 3,
            s::CodeList.build(
"1"  => "Unrecognized segment ID",
"2"  => "Unexpected segment",
"3"  => "Required Segment Missing",
"4"  => "Loop Occurs Over Maximum Times",
"5"  => "Segment Exceeds Maximum Use",
"6"  => "Segment Not in Defined Transaction Set",
"7"  => "Segment Not in Proper Sequence",
"8"  => "Segment Has Data Element Errors",
"I4" => "Implementation 'Not Used' Segment Present",
"I6" => "Implementation Dependent Segment Missing",
"I7" => "Implementation Loop Occurs Under Minimum Times",
"I8" => "Implementation Segment Below Minimum Use",
"I9" => "Implementation Dependent 'Not Used' Segment Present"))
E621 =
t::ID.new(:E621 , "Implementation Data Element Syntax Error Code", 1, 3,
            s::CodeList.build(
"1"   => "Required Data Element Missing",
"2"   => "Conditional Required Data Element Missing",
"3"   => "Too Many Data Elements",
"4"   => "Data Element Too Short",
"5"   => "Data Element Too Long",
"6"   => "Invalid Character In Data Element",
"7"   => "Invalid Code Value",
"8"   => "Invalid Date",
"9"   => "Invalid Time",
"10"  => "Exclusion Conditional Violated",
"12"  => "Too Many Repetitions",
"13"  => "Too Many Components",
"I6"  => "Code Value Not Used in Implementation",
"I9"  => "Implementation Dependent Data Element Missing",
"I10" => "Implementation 'Not Used' Data Element Present",
"I11" => "Implementation Too Few Repetitions",
"I12" => "Implementation Pattern Match Failure",
"I13" => "Implementation Dependent 'Not Used' Data Element Present"))
E623 =
t::ID.new(:E623 , "Time Code"                            , 2, 2,
s::CodeList.external("94"))
E628 =
t::AN.new(:E628 , "Hierachical ID Number"                , 1, 12)
E639 =
t::ID.new(:E639 , "Basis of Unit Price Code"             , 2, 2)
E640 =
t::ID.new(:E640 , "Transaction Type Code"                , 2, 2,
            s::CodeList.build(
"31" => "Subrogation Demand",
"CH" => "Chargeable",
"DG" => "Response",
"NO" => "Notice",
"RP" => "Reporting",
"RQ" => "Request",
"RT" => "Spend Down",
"TH" => "Receipt Acknowledgement Advice"))
E648 =
t::ID.new(:E648 , "Price Multiplier Qualifier"           , 3, 3)
E649 =
t:: R.new(:E649 , "Multiplier"                           , 1, 10)
E659 =
t::ID.new(:E659 , "Basis of Verification Code"           , 1, 2)
E669 =
t::ID.new(:E669 , "Currency Market/Exchnage Code"        , 3, 3)
E673 =
t::ID.new(:E673 , "Quantity Qualifier"                   , 2, 2,
            s::CodeList.build(
"8H" => "Minimum",
"90" => "Acknowledged Quantity",
"99" => "Quantity Used",
"AA" => "Unacknowledged Quantity",
"CA" => "Covered - Actual",
"CD" => "Co-insured - Actual",
        "CE" => "Covered - Estimated",
"D3" => "Number of Co-insurance Days",
"DB" => "Deductible Blood Units",
"DY" => "Days",
"FA" => "Facility Identification",
"FI" => "Federal Taxpayer's Identification Number",
"DT" => "Dependent Total",
"ET" => "Employee Total",
"FL" => "Units",
"HS" => "Hours",
"II" => "Standard Unique Health Identifier For Each Individual In The United States",
"LA" => "Life-time Reserve - Actual",
"LE" => "Life-time Reserve - Estimated",
"M2" => "Maximum",
"MI" => "Member Identification Number",
"MN" => "Month",
"NE" => "Non-Covered Amount - Estimated",
"NI" => "National Association of Insurance Commissioners (NAIC) Identification",
"NR" => "Not Replaced Blood Units",
"OU" => "Outlier Days",
"P6" => "Number of Services or Procedures",
"PI" => "Payor Identification",
"PP" => "Pharmacy Processor Number",
"PS" => "Prescription",
"PT" => "Patients",
"QA" => "Quantity Approved",
"QC" => "Quantity Disapproved",
        "S7" => "Age, High Value",
"S8" => "Age, Low Value",
"SV" => "Service Provider Number",
"TO" => "Total",
"VS" => "Visits",
"XV" => s::CodeList.external("540"),
"XX" => s::CodeList.external("537"),
"YY" => "Years",
"ZK" => "Federal Medicare or Medicaid Payment Mandate Category 1",
"ZL" => "Federal Medicare or Medicaid Payment Mandate Category 2",
"ZM" => "Federal Medicare or Medicaid Payment Mandate Category 3",
"ZN" => "Federal Medicare or Medicaid Payment Mandate Category 4",
"ZO" => "Federal Medicare or Medicaid Payment Mandate Category 5"))
E678 =
t::ID.new(:E678 , "Ship/Delivery or Calendar Pattern Code", 1, 2,
            s::CodeList.build(
"1"   => "1st Week of the Month",
"2"   => "2nd Week of the Month",
"3"   => "3rd Week of the Month",
"4"   => "4th Week of the Month",
"5"   => "5th Week of the Month",
"6"   => "1st & 3rd Weeks of the Month",
"7"   => "2nd & 4th Weeks of the Month",
"8"   => "1st Working Day of Period",
"9"   => "Last Working Day of Period",
"A"   => "Monday through Friday",
"B"   => "Monday through Saturday",
"C"   => "Monday through Sunday",
"D"   => "Monday",
"E"   => "Tuesday",
"F"   => "Wednesday",
"G"   => "Thursday",
"H"   => "Friday",
"J"   => "Saturday",
"K"   => "Sunday",
"L"   => "Monday through Thursday",
"M"   => "Immediately",
"N"   => "As Directed",
"O"   => "Daily Mon. through Fri.",
"P"   => "1/2 Mon. & 1/2 Thurs.",
"Q"   => "1/2 Tues. & 1/2 Thurs.",
"R"   => "1/2 Wed. & 1/2 Fri.",
"S"   => "Once Anytime Mon. through Fri.",
"SG"  => "Tuesday through Friday",
"SL"  => "Monday, Tuesday and Thursday",
"SP"  => "MOnday, Tuesday and Friday",
"SX"  => "Wednesday and Thursday",
"SY"  => "Monday, Wednesday and Thursday",
"SZ"  => "Tuesday, Thursday and Friday",
"SGT" => "uesday through Friday",
"SLM" => "onday, Tuesday and Thursday",
"SPM" => "onday, Tuesday and Friday",
"SXW" => "ednesday and Thursday",
"SYM" => "onday, Wednesday and Thursday",
"SZT" => "uesday, Thursday and Friday",
"T"   => "1/2 Tue. & 1/2 Fri.",
"U"   => "1/2 Mon. & 1/2 Wed.",
"V"   => "1/3 Mon., 1/3 Wed., 1/3 Fri.",
"W"   => "Whenever Necessary",
"X"   => "1/2 By Wed., Bal. By Fri.",
"Y"   => "None (Also Used to Cancel or Override a Previous Pattern)"))
E679 =
t::ID.new(:E679 , "Ship/Delivery Pattern Time Code"      , 1, 1,
            s::CodeList.build(
"A" => "1st Shift (Normal Working Hours)",
"B" => "2nd Shift",
"C" => "3rd Shift",
"D" => "A.M.",
"E" => "P.M.",
"F" => "As Directed",
"G" => "Any Shift",
"Y" => "None (Also Used to Cancel or Override a Previous Pattern)"))
E687 =
t::ID.new(:E687 , "Class of Trade Code"                  , 2, 2)
E704 =
t::ID.new(:E704 , "Paperwork/Report Action Code"         , 1, 2)
E706 =
Note:

Copied from an unverified 4010 internet source

t::ID.new(:E706 , "Entity Relation Code"                 , 2, 2)
E715 =
t::ID.new(:E715 , "Functional Group Acknowledgment Code" , 1, 1,
            s::CodeList.build(
"A" => "Accepted",
"E" => "Accepted, But Errors Were Noted",
"M" => "Rejected, Message Authentication Code (MAC) Failed",
"P" => "Partially Accepted, At Least One Transaction Set Was Rejected",
"R" => "Rejected",
"W" => "Rejected, Assurance Failed Validity Tests",
"X" => "Rejected, Content After Decryption Could Not Be Analyzed"))
E716 =
t::ID.new(:E716 , "Functional Group Syntax Error Code"   , 1, 3,
            s::CodeList.build(
"1"  => "Functional Group Not Supported",
"2"  => "Functional Group Version Not Supported",
"3"  => "Functional Group Trailer Missing",
"4"  => "Group Control Number in the Functional Group Header and Trailer Do Not Agree",
"5"  => "Number of Included Transaction Sets Does Not Match Actual Count",
"6"  => "Group Control Number Violates Syntax",
"10" => "Authentication Key Name Unknown",
"11" => "Encryption Key Name Unknown",
"12" => "Requested Service (Authentication or Encryption) Not Available",
"13" => "Unknown Security Recipient",
"14" => "Unknown Security Originator",
"15" => "Syntax Error in Decrypted Text",
"16" => "Security Not Supported",
"17" => "Incorrect Message Length (Encryption Only)",
"18" => "Message Authentication Code Failed",
"19" => "Functional Group Control Number not Unique within Interchange",
"23" => "S3E Security End Segment Missing for S3S Security Start Segment",
"24" => "S3S Security Start Segment Missing for S3E Security End Segment",
"25" => "S4E Security End Segment Missing for S4S Security Start Segment",
"26" => "S4S Security Start Segment Missing for S4E Security End Segment"))
E717 =
t::ID.new(:E717 , "Transaction Set Acknowledgment Code"  , 1, 1,
            s::CodeList.build(
"A" => "Accepted",
"E" => "Accepted But Errors Were Reported",
"M" => "Rejected, Message Authentication Code (MAC) Failed",
"R" => "Rejected",
"W" => "Rejected, Assurance Failed Validity Tests",
"X" => "Rejected, Content After Decryption Could Not Be Analyzed"))
E718 =
t::ID.new(:E718 , "Transaction Set Syntax Error Code"    , 1, 3)
E719 =
t::Nn.new(:E719 , "Segment Position in Transaction Set"  , 1, 10, 0)
E721 =
t::ID.new(:E721 , "Segment ID Code"                      , 2, 3)
E722 =

S77

t::Nn.new(:E722 , "Element Position in Segment"          , 1, 2, 0)
E724 =
t::AN.new(:E724 , "Copy of Bad Data Element"             , 1, 99)
E725 =
t::Nn.new(:E725 , "Data Element Reference Number"        , 1, 4, 0)
E734 =

S77

t::AN.new(:E734 , "Hierarchical Parent ID Number"        , 1, 12)
E735 =
t::ID.new(:E735 , "Hierarchical Level Code"              , 1, 2,
            s::CodeList.build(
"19" => "Provider of Service",
"20" => "Information Source",
"21" => "Information Receiver",
"22" => "Subscriber",
"23" => "Dependent",
"PT" => "Patient"))
E736 =
t::ID.new(:E736 , "Hierarchical Child Code"              , 1, 1,
            s::CodeList.build(
"0" => "No Subordinate HL Segment in This Hierarchical Structure",
"1" => "Additional Subordinate HL Data Segment in This Hierarchical Structure"))
E737 =
t::ID.new(:E737 , "Measurement Reference ID Code"        , 2, 2,
            s::CodeList.build(
"OG" => "Original",
"TR" => "Test Results"))
E738 =
t::ID.new(:E738 , "Measurement Qualifier"                , 2, 2,
            s::CodeList.build(
"HT" => "Height",
"R1" => "Hemoglobin",
"R2" => "Hematocrit",
"R3" => "Epoetin Starting Dosage",
"R4" => "Creatinine"))
E739 =
t:: R.new(:E739 , "Measurement Value"                    , 1, 20)
E740 =
t:: R.new(:E740 , "Range Minimum"                        , 1, 20)
E741 =
t:: R.new(:E741 , "Range Maximum"                        , 1, 20)
E752 =
t::ID.new(:E752 , "Surface/Layer/Position Code"          , 2, 2)
E753 =
t::ID.new(:E753 , "Measurement Method or Device"         , 2, 4)
E755 =
t::ID.new(:E755 , "Report Type Code"                     , 2, 2,
            s::CodeList.build(
"03" => "Report Justifying Treatment Beyond Utilization Guidelines",
"04" => "Drugs Administered",
"05" => "Treatment Diagnosis",
"06" => "Initial Assesment",
"07" => "Functional Goals",
"08" => "Plan of Treatment",
"09" => "Progress Report",
"10" => "Continued Treatment",
"11" => "Chemical Analysis",
"13" => "Certified Test Report",
"15" => "Justification for Admission",
"21" => "Recovery Plan",
"A3" => "Allergies/Sensitivies Document",
"A4" => "Autopsy Report",
"AM" => "Ambulance Certification",
"AS" => "Admission Summary",
"B2" => "Prescription",
"B3" => "Physician Order",
"B4" => "Referral Form",
"BR" => "Benchmark Testing Results",
"BS" => "Baseline",
"BT" => "Blanket Test Results",
"CB" => "Chiropractic Justification",
"CK" => "Conset Form(s)",
"CT" => "Certification",
"D2" => "Drug Profile Document",
"DA" => "Dental Models",
"DB" => "Durable Medical Equipment Prescription",
"DG" => "Diagnostic Report",
"DJ" => "Discharge Monitoring Report",
"DS" => "Discharge Summary",
"EB" => "Explanation of Benefits (Coordination of Benefits or Medicare Secondary Payer)",
"HC" => "Health Cerification",
"HR" => "Health Clinic Records",
"I5" => "Immunization Record",
"IR" => "State School Immunization Records",
"LA" => "Laboratory Results",
"M1" => "Medical Record Attachment",
"MT" => "Models",
"NN" => "Nursing Notes",
"OB" => "Operative Note",
"OC" => "Oxygen Content Averaging Report",
"OD" => "Orders and Treatments Document",
"OE" => "Objective Physical Examination (including vital signs) Document",
"OX" => "Oxygen Therapy Certification",
"OZ" => "Support Data for Claim",
"P4" => "Pathology Report",
"P5" => "Patient Medical History Document",
"PE" => "Parenteral or Enteral Certification",
"PN" => "Physical Therapy Notes",
"PO" => "Prosthetics or Orthotic Certification",
"PQ" => "Paramedical Results",
"PY" => "Physician's Report",
"PZ" => "Physical Therapy Certification",
"RB" => "Radiology Films",
"RR" => "Radiology Reports",
"RT" => "Report of Tests and Analysis Report",
"RX" => "Renewable Oxygen Content Averaging Report",
"SG" => "Symptoms Document",
"V5" => "Death Notification",
"XP" => "Photographs"))
E756 =
t::ID.new(:E756 , "Report Transmission Code"             , 1, 2,
            s::CodeList.build(
"AA" => "Available on Request at Provider Site",
"AB" => "Previously Submitted to Payer",
"AD" => "Certification Included in this Claim",
"AF" => "Narrative Segment Included in this Claim",
"AG" => "No Documentation is Required",
"BM" => "By Mail",
"EL" => "Electronically Only",
"EM" => "E-Mail",
"FT" => "File Transfer",
"FX" => "By Fax",
"NS" => "Not Specified",
"OL" => "On-Line"))
E757 =
t::Nn.new(:E757 , "Report Copies Needed"                 , 1, 2, 0)
E782 =
t:: R.new(:E782 , "Monetary Amount"                      , 1, 18)
E786 =
t::ID.new(:E786 , "Security Level Code"                  , 2, 2,
            s::CodeList.build(
"00" => "Company Non-Classified",
"01" => "Company Internal Use Only",
"02" => "Company Confidential",
"03" => "Company Confidential, Restricted (Need to Know)",
"04" => "Company Registered (Signature Required)",
"05" => "Personal",
"06" => "Supplier Proprietary",
"09" => "Company Defined (Trading Partner Level)",
"11" => "Competition Sensitive",
"20" => "Court Restricted",
"21" => "Juvenile Record Restricted",
"90" => "Government Non-Classified",
"92" => "Government Confidential",
"93" => "Government Secret",
"94" => "Government Top Secret",
"99" => "Government Defined (Trading Partner Level)",
"ZZ" => "Mutually Defined"))
E799 =
t::AN.new(:E799 , "Version Identifier"                   , 1, 30)
E812 =
t::ID.new(:E812 , "Payment Format Code"                  , 3, 3,
            s::CodeList.build(
"CCP" => "Cash Concentration/Disbursement plus Addenda (CCD+)(ACH)",
"CTX" => "Corporate Trade Exchange (CTX) (ACH)"))
E875 =
t::ID.new(:E875 , "Maintenance Type Code"                , 3, 3,
            s::CodeList.build(
"001" => "Change",
"002" => "Delete",
"021" => "Addition",
"024" => "Cancellation or Termination",
"025" => "Reinstatement",
"026" => "Correction",
"030" => "Audit or Compare",
"032" => "Employee Information Not Applicable"))
E889 =
t::ID.new(:E889 , "Follow-up Action Code"                , 1, 1,
            s::CodeList.build(
"C" => "Please Correct and Resubmit",
"N" => "Resubmission Not Allowed",
"P" => "Please Resubmit Original Transaction",
"R" => "Resubmission Allowed",
"S" => "Do Not Resubmit; Inquiry Initiated to a Third Party",
"W" => "Please Wait 30 Days and Resubmit",
"X" => "Please Wait 10 Days and Resubmit",
"Y" => "Do Not Resubmit; We Will Hold Your Request and Respond Again Shortly"))
E901 =
t::ID.new(:E901 , "Reject Reason Code"                   , 2, 2,
            s::CodeList.build(
"04" => "Authorization Quantity Exceeded",
"15" => "Required Application Data Missing",
"33" => "Input Errors",
"35" => "Out of Network",
"41" => "Authorization/Access Restrictions",
"42" => "Unable to Respond at Current Time",
"43" => "Invalid/Missing Provider Identification",
"44" => "Invalid/Missing Provider Name",
"45" => "Invalid/Missing Provider Specialty",
"46" => "Invalid/Missing Provider Phone Number",
"47" => "Invalid/Missing Provider State",
"48" => "Invalid/Missing Referring Provider Identification Number",
"49" => "Provider is Not Primary Care Physician",
"50" => "Provider Ineligible for Inquiries",
"51" => "Provider Not on File",
"52" => "Service Dates Not Within Provider Plan Enrollment",
"53" => "Inquired Benefit Inconsistent with Provider Type",
"54" => "Inappropriate Product/Service ID Qualifier",
"55" => "Inappropriate Product/Service ID",
"56" => "Inappropriate Date",
"57" => "Invalid/Missing Date(s) of Service",
"58" => "Invalid/Missing Date-of-Birth",
"60" => "Date of Birth Follows Date(s) of Service",
"61" => "Date of Death Preceeds Date(s) of Service",
"62" => "Date of Service Not Within Allowable Inquiry Period",
"63" => "Date of Service in Future",
"64" => "Invalid/Missing Patient ID",
"65" => "Invalid/Missing Patient Name",
"66" => "Invalid/Missing Patient Gender Code",
"67" => "Patient Not Found",
"68" => "Duplicate Patient ID Number",
"69" => "Inconsistent with Patient's Age",
"70" => "Inconsistent with Patient's Gender",
"71" => "Patient Birth Date Does Not Match That for the Patient on the Database",
"72" => "Invalid/Missing Subscriber/Insured ID",
"73" => "Invalid/Missing Subscriber/Insured Name",
"74" => "Invalid/Missing Subscriber/Insured Gender Code",
"75" => "Subscribed/Insured Not Found",
"76" => "Duplicate Subscriber/Insured ID Number",
"77" => "Subscriber Found, Patient Not Found",
"78" => "Subscriber/Insured Not in Group/Plan Identified",
"79" => "Invalid Participant Identification",
"80" => "No Response Received - Transaction Terminated",
"97" => "Invalid or Missing Provider Address",
"98" => "Experimental Service or Procedure",
"AA" => "Authorization Number Not Found",
"AE" => "Requires Primary Care Physician Authorization",
"AF" => "Invalid/Missing Diagnosis Code(s)",
"AG" => "Invalid/Missing Procedure Code(s)",
"AO" => "Additional Patient Condition Information Required",
"CI" => "Certification Information Does Not Match Patient",
"E8" => "Requires Medical Review",
"IA" => "Invalid Authorization Number Format",
"MA" => "Missing Authorization Number",
"T1" => "Cannot Identify Provider as TPO (Third Party Organization) Participant",
"T2" => "Cannot Identify Payer as TPO (Third Party Organization) Participant",
"T3" => "Cannot Identify Insured as TPO (Third Party Organization) Participant",
"T4" => "Payer Name or Identifier Missing",
"T5" => "Certification Information Missing",
"T6" => "Claim does not contain enough information for re-pricing"))
E923 =
t::ID.new(:E923 , "Prognosis Code"                       , 1, 1)
E933 =
t::AN.new(:E933 , "Free-form Message Text"               , 1, 264)
E934 =
t::AN.new(:E934 , "Printer Carriage Control Code"        , 2, 2)
E935 =
t::ID.new(:E935 , "Measurement Significance Code"        , 2, 2)
E936 =
t::ID.new(:E936 , "Measurement Attribute Code"           , 2, 2)
E954 =
t:: R.new(:E954 , "Percentage as Decimal"                , 1,  10)
E1005 =
t::ID.new(:E1005, "Hierarchical Structure Code"          , 4, 4,
            s::CodeList.build(
"0010" => "Information Source, Information Receiver, Provider of Service, Subscriber, Dependent",
"0019" => "Information Source, Subscriber, Dependent",
"0022" => "Information Source, Information Receiver, Subscriber, Dependent",
"0085" => "Information Source, Information Receiver, Provider of Service, Patient"))
E1018 =
t:: R.new(:E1018, "Exponent"                             , 1, 15)
E1028 =
t::AN.new(:E1028, "Claim Submitter's Identifier"         , 1, 38)
E1029 =
t::ID.new(:E1029, "Claim Status Code"                    , 1, 2,
            s::CodeList.build(
"1"  => "Processed as Primary",
"2"  => "Processed as Secondary",
"3"  => "Processed as Tertiary",
"4"  => "Denied",
"19" => "Processed as Primary, Forwarded to Additional Payer(s)",
"20" => "Processed as Secondary, Forwarded to Additional Payer(s)",
"21" => "Processed as Tertiary, Forwarded to Additional Payer(s)",
"22" => "Reversal of Previous Payment",
"23" => "Not Our Claim, Forwarded to Additional Payer(s)",
"25" => "Predetermination Pricing Only - No Payment"))
E1032 =
t::ID.new(:E1032, "Claim Filing Indicator Code"          , 1, 2,
            s::CodeList.build(
"11" => "Other Non-Federal Programs",
"12" => "Preferred Provider Organization (PPO)",
"13" => "Point of Service (POS)",
"14" => "Exclusive Provider Organization (EPO)",
"15" => "Indemnity Insurance",
"16" => "Health Maintenance Organization (HMO) Medicare Risk",
"17" => "Dentail Maintenance Organization",
"AM" => "Automobile Medical",
"BL" => "Blue Cross/Blue Shield",
"CH" => "Champus",
"CI" => "Commercial Insurance Co.",
"DS" => "Disability",
"FI" => "Federal Employees Program",
"HM" => "Health Maintenance Organization",
"LM" => "Liability Medical",
"MA" => "Medicare Part A",
"MB" => "Medicare Part B",
"MC" => "Medicaid",
"OF" => "Other Federal Program",
"TV" => "Title V",
"VA" => "Veterans Affairs Plan",
"WC" => "Worker's Compensation Health Claim",
"ZZ" => "Mutually Defined"))
E1033 =
t::ID.new(:E1033, "Claim Adjustment Group Code"          , 1, 12,
            s::CodeList.build(
"CO" => "Contractual Obligations",
"CR" => "Corrections and Reversals",
"OA" => "Other adjustments",
"PI" => "Payor Initiated Reductions",
"PR" => "Patient Responsibility"))
E1034 =
t::ID.new(:E1034, "Claim Adjustment Reason Code"         , 1, 5,
s::CodeList.external("139"))
E1035 =
t::AN.new(:E1035, "Name Last or Organization Name"       , 1, 60)
E1036 =
t::AN.new(:E1036, "Name First"                           , 1, 35)
E1037 =
t::AN.new(:E1037, "Name Middle"                          , 1, 25)
E1038 =
t::AN.new(:E1038, "Name Prefix"                          , 1, 10)
E1039 =
t::AN.new(:E1039, "Name Suffix"                          , 1, 10)
E1048 =
t::ID.new(:E1048, "Business Function Code"               , 1, 3)
E1065 =
t::ID.new(:E1065, "Entity Type Qualifier"                , 1, 1,
            s::CodeList.build(
"1" => "Person",
"2" => "Non-Person Entity"))
E1066 =
t::ID.new(:E1066, "Citizenship Status Code"              , 1, 2)
E1067 =
t::ID.new(:E1067, "Marital Status Code"                  , 1, 1)
E1068 =
t::ID.new(:E1068, "Gender Code"                          , 1, 1,
            s::CodeList.build(
"F" => "Female",
"M" => "Male",
"U" => "Unknown"))
E1069 =
t::ID.new(:E1069, "Individual Relationship Code"         , 2, 2,
            s::CodeList.build(
"01" => "Spouse",
"03" => "Father or Mother",
"04" => "Grandfather or Grandmother",
"05" => "Grandson or Granddaughter",
"06" => "Uncle or Aunt",
"07" => "Nephew or Niece",
"08" => "Cousin",
"09" => "Adopted Child",
"10" => "Foster Child",
"11" => "Son-in-law or Daughter-in-law",
"12" => "Brother-in-law or Sister-in-law",
"13" => "Mother-in-law or Father-in-law",
"14" => "Brother or Sister",
"15" => "Ward",
"16" => "Stepparent",
"17" => "Stepson or Stepdaughter",
"18" => "Self",
"19" => "Child",
"20" => "Employee",
"21" => "Unknown",
"23" => "Sponsored Dependent",
"24" => "Dependent of a Minor Dependent",
"25" => "Ex-spouse",
"26" => "Guardian",
"31" => "Court Appointed Guardian",
        "34" => "Other Adult",
"38" => "Collateral Dependent",
"39" => "Organ Donor",
"40" => "Cadaver Donor",
"53" => "Life Partner",
"60" => "Annuitant",
"D2" => "Trustee",
"G8" => "Other Relationship",
"G9" => "Other Relative"))
E1073 =
t::ID.new(:E1073, "Yes/No Condition or Response Code"    , 1, 1,
            s::CodeList.build(
"N" => "No",
"U" => "Unknown",
"Y" => "Yes",
"W" => "Not Applicable"))
E1109 =
t::ID.new(:E1109, "Race or Ethnicity Code"               , 1, 1)
E1136 =
t::ID.new(:E1136, "Code Category"                        , 2, 2,
            s::CodeList.build(
"07" => "Ambulance Certification",
"09" => "Durable Medical Equipment Certification",
"12" => "Medicare Secondary Working Aged Beneficiary or Spouse with Employer Group Health Plan",
"13" => "Medicare Secondary End-Stage Renal Disease Beneficiary in Mandated Coordination Period with an Employer's Group Health Plan",
"14" => "Medicare Secondary, No-fault Insurance including Auto is Primary",
"15" => "Medicare Secondary Worker's Compensation",
"16" => "Medicare Secondary Public Health Service (PHS) or Other Federal Agency",
"41" => "Medicare Secondary Blank Lung",
"42" => "Medicare Secondary Veteran's Administration",
"43" => "Medicare Secondary Disabled Beneficiary Under Age 65 with Large Group Health Plan (LGHP)",
"44" => "Nature of Injury",
"47" => "Medicare Secondary, Other Liability Insurance is Primary",
"70" => "Hospice",
"75" => "Functional Limitations",
"E1" => "Spectacle Lenses",
"E2" => "Contact Lenses",
"E3" => "Spectacle Frames",
"ZZ" => "Mutually Defined"))
E1137 =
t::AN.new(:E1137, "Medical Code Value"                   , 1, 15)
E1138 =
t::ID.new(:E1138, "Payer Responsibility Sequence"        , 1, 1,
            s::CodeList.build(
"P" => "Primary",
"S" => "Secondary",
"T" => "Tertiary",
"U" => "Unknown",
"A" => "Payer Responsibility Four",
"B" => "Payer Responsibility Five",
"C" => "Payer Responsibility Six",
"D" => "Payer Responsibility Seven",
"E" => "Payer Responsibility Eight",
"F" => "Payer Responsibility Nine",
"G" => "Payer Responsibility Ten",
"H" => "Payer Responsibility Eleven"))
E1143 =
t::ID.new(:E1143, "Coordination of Benefits Code"        , 1, 1,
            s::CodeList.build(
"1" => "Coordination of Benefits",
"5" => "Unknown",
"6" => "No Coordination of Benefits"))
E1146 =
t::ID.new(:E1146, "Disability Type Code"                 , 1, 1,
            s::CodeList.build(
"1" => "Short Term Disability",
"2" => "Long Term Disability",
"3" => "Permanent or Total Disability",
"4" => "No Disability"))
E1149 =
t::ID.new(:E1149, "Occupation Code"                      , 4, 6)
E1154 =
t::ID.new(:E1154, "Work Intensity Code"                  , 1, 1)
E1161 =
t::ID.new(:E1161, "Product Option Code"                  , 1, 2)
E1165 =
t::ID.new(:E1165, "Confidentiality Code"                 , 1, 1,
            s::CodeList.build(
"R" => "Restricted Access",
"U" => "Unrestricted Access"))
E1166 =
t::ID.new(:E1166, "Contract Type Code"                   , 2, 2,
            s::CodeList.build(
"01" => "Diagnosis Related Group (DRG)",
"02" => "Per Diem",
"03" => "Variable Per Diem",
"04" => "Flat",
"05" => "Captitated",
"06" => "Percent",
"09" => "Other"))
E1167 =
t:: R.new(:E1167, "Sample Selection Modulus"             , 1, 6)
E1176 =
t::ID.new(:E1176, "Employment Class Code"                , 2, 3,
            s::CodeList.build(
"01" => "Union",
"02" => "Non-Union",
"03" => "Executive",
"04" => "Non-Executive",
"05" => "Management",
"06" => "Non-Management",
"07" => "Hourly",
"08" => "Salaried",
"09" => "Administrative",
"10" => "Non-Administrative",
"11" => "Exempt",
"12" => "Non-Exempt",
"17" => "Highly Compensated",
"18" => "Key-Employee",
"19" => "Bargaining",
"20" => "Non-Bargaining",
"21" => "Owner",
"22" => "President",
"23" => "Vice President"))
E1201 =
t::ID.new(:E1201, "Information Status Code"              , 1, 1,
     s::CodeList.build(
"A" => "Partial",
"C" => "Current",
"L" => "Latest",
"O" => "Oldest",
"P" => "Prior",
"S" => "Second Most Current",
"T" => "Third Most Current"))
E1203 =
t::ID.new(:E1203, "Maintenance Reason Code"              , 2, 3,
            s::CodeList.build(
"01" => "Divorce",
"02" => "Birth",
"03" => "Death",
"04" => "Retirement",
"05" => "Adoption",
"06" => "Strike",
"07" => "Termination of Benefits",
"08" => "Termination of Employment",
"09" => "Consolidation Omnibus Budget Reconciliation Act (COBRA)",
"10" => "Consolidation Omnibus Budget Reconciliation Act (COBRA) Premium Paid",
"11" => "Surviving Spouse",
"14" => "Voluntary Withdrawal",
"15" => "Primary Care Provider (PCP) Change",
"16" => "Quit",
"17" => "Fired",
"18" => "Suspended",
"20" => "Active",
"21" => "Disability",
"22" => "Plan Change",
"25" => "Change in Identifying Data Elements",
"26" => "Declined Coverage",
"27" => "Pre-Enrollment",
"28" => "Initial Enrollment",
"29" => "Benefit Selection",
"31" => "Legal Separation",
"32" => "Marriage",
"33" => "Personnel Data",
"37" => "Leave of Absence with Benefits",
"38" => "Leave of Absence without Benefits",
"39" => "Lay Off with Benefits",
"40" => "Lay Off without Benefits",
"41" => "Re-enrollment",
"43" => "Change of Location",
"46" => "Current Customer Information File in Error",
"59" => "Non Payment",
"AA" => "Dissatisfaction with Office Staff",
"AB" => "Dissatisfaction with Medical Care/Services Rendered",
"AC" => "Inconvenient Office Location",
"AD" => "Dissatisfaction with Office Hours",
"AE" => "Unable to Schedule Appointments in a Timely Manner",
"AF" => "Dissatisfaction with Physician's Referral Policy",
"AG" => "Less Respect and Attention Time Given than to Other Patients",
"AH" => "Patient Moved to a New Location",
"AI" => "No Reason Given",
"AJ" => "Appointment Times not Met in a Timely Manner",
"AL" => "Algorithm Assigned Benefit Selection",
"EC" => "Member Benefit Selection",
"XN" => "Notification Only",
"XT" => "Transfer"))
E1204 =
t::AN.new(:E1204, "Plan Coverage Description"            , 1, 50)
E1205 =
t::ID.new(:E1205, "Insurance Line Code"                  , 2, 3,
            s::CodeList.build(
"AG"  => "Preventative Care/Wellness",
"AH"  => "24 Hour Care",
"AJ"  => "Medicare Risk",
"AK"  => "Mental Health",
"DCP" => "Dental Capitation",
"DEN" => "Dental",
"EPO" => "Exclusive Provider Organization",
"FAC" => "Facility",
"HE"  => "Hearing",
"HLT" => "Health",
"HMO" => "Health Maintenance Organization",
"LTC" => "Long-Term Care",
"LTD" => "Long-Term Disability",
"MM"  => "Major Medical",
"MOD" => "Mail Order Drug",
"PDG" => "Prescription Drug",
"POS" => "Point of Service",
"PPO" => "Preferred Provider Organization",
"PRA" => "Practitioners",
"STD" => "Short-Term Disability",
"UR"  => "Utilization Review",
"VIS" => "Vision"))
E1207 =
t::ID.new(:E1207, "Coverage Level Code"                  , 3, 3,
            s::CodeList.build(
"CHD" => "Children Only",
"DEP" => "Dependents Only",
"E1D" => "Employee and One Dependent",
"E2D" => "Employee and Two Dependents",
"E3D" => "Employee and Three Dependents",
"E5D" => "Employee and One or More Dependents",
"E6D" => "Employee and Two or More Dependents",
"E7D" => "Employee and Three or More Dependents",
"E8D" => "Employee and Four or More Dependents",
"E9D" => "Employee and Five or More Dependents",
"ECH" => "Employee and Children",
"EMP" => "Employee Only",
"ESP" => "Employee and Spouse",
"FAM" => "Family",
"IND" => "Individual",
"SPC" => "Spouse and Children",
"SPO" => "Spouse Only",
"TWO" => "Two Party"))
E1209 =
t::ID.new(:E1209, "Underwriting Decision Code"           , 1, 1)
E1211 =
t::ID.new(:E1211, "Drug House Code"                      , 2, 3)
E1212 =
t::ID.new(:E1212, "Health-Related Code"                  , 1, 1,
            s::CodeList.build(
"N" => "None",
"S" => "Substance Abuse",
"T" => "Tobacco Use",
"U" => "Unknown",
"X" => "Tobacco Use and Substance Abuse"))
E1213 =
t::ID.new(:E1213, "Current Health Condition Code"        , 1, 1)
E1214 =
t::AN.new(:E1214, "Salary Grade"                         , 1, 5)
E1215 =
t::ID.new(:E1215, "Identification Card Type Code"        , 1, 1,
            s::CodeList.build(
"D" => "Dental Insurance",
"H" => "Health Insurance",
"P" => "Prescription Drug Service Drug Insurance"))
E1216 =
t::ID.new(:E1216, "Benefit Status Code"                  , 1, 1,
            s::CodeList.build(
"A" => "Active",
"C" => "Consolidated Omnibus Budget Reconciliation Act (COBRA)",
"S" => "Surviving Insured",
"T" => "Tax Equity and Fiscal Responsibility Act (TEFRA)"))
E1218 =
t::ID.new(:E1218, "Benefit Status Code"                  , 1, 1,
            s::CodeList.build(
"A" => "Medicare Part A",
"B" => "Medicare Part B",
"C" => "Medicare Part A and B",
"D" => "Medicare",
"E" => "No Medicare",
         "F" => "Medicare Part D",
"G" => "Medicare Part A and D",
"H" => "Medicare Part B and D",
"I" => "Medicare Part A, B, and D"))
E1219 =
t::ID.new(:E1219, "Consolidated Omnibus Budget Reconciliation Act (COBRA) Qualifying", 1, 2,
            s::CodeList.build(
"1"  => "Termination of Employment",
"2"  => "Reduction of work hours",
"3"  => "Medicare",
"4"  => "Death",
"5"  => "Divorce",
"6"  => "Separation",
"7"  => "Ineligible Child",
"8"  => "Bankruptcy of Retiree's Former Employer (26 U.S.C. 4980B(f)(3)(F))",
"9"  => "Layoff",
"10" => "Leave of Absence",
"ZZ" => "Mutually Defined"))
E1220 =
t::ID.new(:E1220, "Student Status Code"                  , 1, 1,
            s::CodeList.build(
"F" => "Full-time",
"N" => "Not a Student",
"P" => "Part-time"))
E1221 =
t::ID.new(:E1221, "Provider Code"                        , 1, 3,
            s::CodeList.build(
"AD" => "Admitting",
"AT" => "Attending",
"BI" => "Billing",
"CO" => "Consulting",
"CV" => "Covering",
"H"  => "Hospital",
"HH" => "Home Health Care",
"LA" => "Laboratory",
"OT" => "Other Physician",
"P1" => "Pharmacist",
"P2" => "Pharmacy",
"PC" => "Primary Care Physician",
"PE" => "Performing",
"R"  => "Rural Health Clinic",
"RF" => "Referring",
"SB" => "Submitting",
"SK" => "Skilled Nursing Facility",
"SU" => "Supervising"))
E1222 =
t::AN.new(:E1222, "Provider Specialty Code"              , 1, 3)
E1223 =
Note:

Copied from an unverified 4010 internet source

t::ID.new(:E1223, "Provider Organization Code"           , 3, 3)
E1250 =
t::ID.new(:E1250, "Date Time Period Format Qualifier"    , 2, 3,
            s::CodeList.build(
"CC"  => "First Two Digits of Year Expressed in Format CCYY",
"CD"  => "Month and Year Expressed in Format MMMYYY",
"CM"  => "Date in Format CCYYMM",
"CQ"  => "Date in Format CCYYQ",
"CY"  => "Year Expressed in Format CCYY",
"D6"  => "Date Expressed in Format YYMMDD",
"D8"  => "Date Expressed in Format CCYYMMDD",
"DA"  => "Range of Dates within a Single Month Expressed in Format DD-DD",
"DB"  => "Date Expressed in Format MMDDCCYY",
"DD"  => "Day of Month in Numeric Format",
"DDT" => "Range of Dates and Time Expressed in Format CCYYMMDD-CCYYMMDDHHMM",
"DT"  => "Date and Time Expressed in Format CCYYMMDDHHMM",
"DTD" => "Range of Dates and Time Expressed in Format CCYYMMDDHHMM-CCYYMMDD",
"DTS" => "Range of Date and Time Expressed in Format CCYYMMDDHHMMSS-CCYYMMDDHHMMSS",
"EH"  => "Last Digit of Year and Julian Date Expressed in Format YDDD",
"KA"  => "Date Expressed in Format YYMMMDD",
"MD"  => "Month of Year and Day of Month Expressed in Format MMDD",
"MM"  => "Month of Year in Numeric Format",
"RD"  => "Range of Dates Expressed in Format MMDDCCYY-MMDDCCYY",
"RD2" => "Range of Years Expressed in Format YY-YY",
"RD4" => "Range of Years Expressed in Format CCYY-CCYY",
"RD5" => "Range of Years and Months Expressed in Format CCYYMM-CCYYMM",
"RD6" => "Range of Dates Expressed in Format YYMMDD-YYMMDD",
"RD8" => "Range of Dates Expressed in Format CCYYMMDD-CCYYMMDD",
"RDM" => "Range of Dates Expressed in Format YYMMDD-MMDD",
"RDT" => "Range of Date and Time Expressed in Format CCYYMMDDHHMM-CCYYMMDDHHMM",
"RMD" => "Range of Months and Days Expressed in Format MMDD-MMDD",
"RMY" => "Range of Years and Months Expressed in Format YYMM-YYMM",
"RTM" => "Range of Time Expressed in Format HHMM-HHMM",
"RTS" => "Date and Time Expressed in Format CCYYMMDDHHMMSS",
"TC"  => "Julian Date Expressed in Format DDD",
"TM"  => "Time Expressed in Format HHMM",
"TQ"  => "Date Expressed in Format MMYY",
"TR"  => "Date and Time Expressed in Format DDMMYYHHMM",
"TS"  => "Time Expressed in Format HHMMSS",
"TT"  => "Date Expressed in Format MMDDYY",
"TU"  => "Date EXpressed in Format YYDDD",
"UN"  => "Unstructured",
"YM"  => "Year and Month Expressed in Format YYMM",
"YMM" => "Range of Year and Month Expressed in Format CCYYMM-MMM",
"YY"  => "Last Two Digits of Year Expressed in Format CCYY"))
E1251 =
t::AN.new(:E1251, "Date Time Period"                     , 1, 35)
E1270 =
t::ID.new(:E1270, "Code List Qualifier Code"             , 1, 3,
            s::CodeList.build(
"65"  => s::CodeList.external("508"),
"68"  => s::CodeList.external("682"),
"AAU" => s::CodeList.external("131"),
"AAW" => s::CodeList.external("133"),
"AAX" => s::CodeList.external("131"),
"AAY" => s::CodeList.external("135"),
"ABF" => s::CodeList.external("897"),
"ABJ" => s::CodeList.external("897"),
"ABK" => s::CodeList.external("897"),
"ABN" => s::CodeList.external("897"),
"ABU" => s::CodeList.external("897"),
"ABV" => s::CodeList.external("897"),
"ADD" => s::CodeList.external("897"),
"APR" => s::CodeList.external("897"),
"AS"  => s::CodeList.external("656"),
"ASD" => s::CodeList.external("897"),
"ATD" => s::CodeList.external("897"),
"CAH" => s::CodeList.external("843"),
"BBQ" => s::CodeList.external("896"),
"BBR" => s::CodeList.external("896"),
"BE"  => s::CodeList.external("132"),
"BF"  => s::CodeList.external("131"),
"BG"  => s::CodeList.external("132"),
"BH"  => s::CodeList.external("132"),
"BI"  => s::CodeList.external("132"),
"BK"  => s::CodeList.external("131"),
"BJ"  => s::CodeList.external("131"),
"BN"  => s::CodeList.external("131"),
"BO"  => s::CodeList.external("130"),
"BP"  => s::CodeList.external("130"),
"BQ"  => s::CodeList.external("131"),
"BR"  => s::CodeList.external("131"),
"BT"  => s::CodeList.external("407"),
"BU"  => s::CodeList.external("407"),
"BS"  => s::CodeList.external("133"),
"DD"  => s::CodeList.external("131"),
"DR"  => s::CodeList.external("229"),
"EK"  => s::CodeList.external("407"),
"GR"  => s::CodeList.external("284"),
"GS"  => s::CodeList.external("407"),
"GU"  => s::CodeList.external("407"),
"GW"  => s::CodeList.external("407"),
"HE"  => s::CodeList.external("411"),
"HI"  => s::CodeList.external("121"),
"HO"  => s::CodeList.external("537"),
"JO"  => s::CodeList.external("135"),
"JP"  => s::CodeList.external("135"),
"LOI" => s::CodeList.external("663"),
"NI"  => s::CodeList.external("284"), # or s::CodeList.external("407")
"NUB" => s::CodeList.external("132"),
"NDC" => s::CodeList.external("240"),
"PR"  => s::CodeList.external("131"),
"PB"  => s::CodeList.external("407"),
"REC" => s::CodeList.external("860"),
"RET" => s::CodeList.external("859"),
"RX"  => s::CodeList.external("530"),
"S"   => s::CodeList.external("327"),
"SD"  => s::CodeList.external("131"),
"SJ"  => s::CodeList.external("407"),
"SL"  => s::CodeList.external("407"),
"TC"  => s::CodeList.external("359"),
"TD"  => s::CodeList.external("131"),
"TQ"  => s::CodeList.external("135"),
"UT"  => s::CodeList.external("528"),
"ZZ"  => "Mutually Defined"))
E1271 =
t::AN.new(:E1271, "Industry Code"                        , 1, 30,
s::CodeList.external("508"))
E1303 =
t::ID.new(:E1303, "Use of Language Indicator"            , 1, 2,
            s::CodeList.build(
"5" => "Language Reading",
"6" => "Language Writing",
"7" => "Language Speaking",
"8" => "Native Language"))
E1314 =
t::ID.new(:E1314, "Admission Source Code"                , 1, 1,
s::CodeList.external("230"))
E1315 =
t::ID.new(:E1315, "Admission Type Code"                  , 1, 1,
s::CodeList.external("231"))
E1316 =
t::ID.new(:E1316, "Ambulance Transport Code"             , 1, 1)
E1317 =
t::ID.new(:E1317, "Ambulance Transport Reason Code"      , 1, 1,
            s::CodeList.build(
"A" => "Patient was transported to nearest facility for care of symptoms, complaints, or both",
"B" => "Patient was transported for the benefit of a preferred physician",
"C" => "Patient was transported for the nearness of family members",
"D" => "Patient was transported for the care of a specialist or for availability of specialized equipment",
"E" => "Patient Transferred to Rehabilitation Facility"))
E1321 =
t::ID.new(:E1321, "Condition Indicator"                  , 2, 3,
            s::CodeList.build(
"01" => "Patient was admitted to a hospital",
"04" => "Patient was moved by stretcher",
"05" => "Patient was unconscious or in shock",
"06" => "Patient was transported in an emergency situation",
"07" => "Patient had to be physically restrained",
"08" => "Patient had visible hemorrhaging",
"09" => "Ambulance service was medically necessary",
"12" => "Patient is confined to a bed or chair",
"38" => "Certification signed by the physician is on file at the supplier's office",
"65" => "Open",
"AV" => "Available - Not Used",
"IH" => "Independent at Home",
"L1" => "General Standard of 20 Degree or .5 Diopter Sphere or Cylinder Change Met",
"L2" => "Replacement Due to Loss or Theft",
"L3" => "Replacement Due to Breakage or Damage",
"L4" => "Replacement Due to Patient Preference",
"L5" => "Replacement Due to Medical Reason",
"NU" => "Not Used",
"S2" => "Under Treatment",
"ST" => "New Services Requested",
"ZV" => "Replacement Item"))
E1322 =
t::ID.new(:E1322, "Certification Type Code"              , 1, 1,
            s::CodeList.build(
"I" => "Initial",
"R" => "Renewal",
"S" => "Revised"))
E1325 =
t::ID.new(:E1325, "Claim Frequency Type Code"            , 1, 1,
s::CodeList.external("235"))
E1327 =
t::ID.new(:E1327, "Copay Status Code"                    , 1, 1,
            s::CodeList.build(
"0" => "Copay exempt"))
E1328 =
t::Nn.new(:E1328, "Diagnosis Code Pointer"               , 1, 2, 0)
E1331 =
t::AN.new(:E1331, "Facility Code Value"                  , 1, 2)
E1332 =

S237

t::ID.new(:E1332, "Facility Code Qualifier"              , 1, 2,
            s::CodeList.build(
"A" => s::CodeList.external("236"),
"B" => s::CodeList.external("237")))
E1333 =
t::ID.new(:E1333, "Record Format Code"                   , 1, 2)
E1334 =
t::ID.new(:E1334, "Professional Shortage Area Code"      , 1, 1)
E1335 =
t::ID.new(:E1335, "Insulin Type Code"                    , 1, 3)
E1336 =
t::ID.new(:E1336, "Insurance Type Code"                  , 1, 3,
            s::CodeList.build(
"02" => "Physically Handicapped Children's Program",
"03" => "Special Federal Funding",
"05" => "Disability",
"09" => "Second Opinion or Surgery",
"12" => "Medicare Secondary Working Aged Beneficiary or Spouse with Employer Group Health Plan",
"13" => "Medicare Secondary End-Stage Renal Disease Beneficiary in the Mandated Coordination Period",
"14" => "Medicare Secondary, No-fault Insurance including Auto is Primary",
"15" => "Medicare Secondary Worker's Compensation",
"16" => "Medicare Secondary Public Health Service (PHS) or Other Federal Agency",
"41" => "Medicare Secondary Blank Lung",
"42" => "Medicare Secondary Veteran's Administration",
"43" => "Medicare Secondary Disabled Beneficiary Under Age 65 with Large Group Health Plan (LGHP)",
"47" => "Medicare Secondary, Other Liability Insurance is Primary",
"AP" => "Auto Insurance Policy",
"C1" => "Commercial",
"CO" => "Consolidated Omnibus Budget Reconciliation Act (COBRA)",
"CP" => "Medicare Conditionally Primary",
"D"  => "Disability",
"DB" => "Disability Benefits",
"EP" => "Exclusive Provider Organization",
"FF" => "Family or Friends",
"GP" => "Group Policy",
"HM" => "Health Maintenance Organization (HMO)",
"HN" => "Health Maintenance Organization (HMO) - Medicare Risk",
"HS" => "Special Low Income Medicare Beneficiary",
"IN" => "Indemnity",
"IP" => "Individual Policy",
"LC" => "Long Term Care",
"LD" => "Long Term Policy",
"LI" => "Life Insurance",
"LT" => "Litigation",
"MA" => "Medicare Part A",
"MB" => "Medicare Part B",
"MC" => "Medicaid",
"MH" => "Medigap Part A",
"MI" => "Medigap Part B",
"MP" => "Medicare Primary",
"OT" => "Other",
"PE" => "Property Insurance - Personal",
"PL" => "Personal",
"PP" => "Personal Payment (Cash - No Insurance)",
"PR" => "Preferred Provider Organization (PPO)",
"PS" => "Point of Service (POS)",
"QM" => "Qualified Medicare Beneficiary",
"RP" => "Property Insurance - Real",
"SP" => "Supplemental Policy",
"TF" => "Tax Equity Fiscal Responsibility Act (TEFRA)",
"WC" => "Workers Compensation",
"WU" => "Wrap Up Policy"))
E1337 =
t::ID.new(:E1337, "Level of Care Code"                   , 1, 1)
E1338 =
t::ID.new(:E1338, "Level of Service Code"                , 1, 3)
E1339 =
t::AN.new(:E1339, "Procedure Modifier"                   , 2, 2)
E1340 =
t::ID.new(:E1340, "Multiple Procedure Code"              , 1, 2)
E1341 =
t::AN.new(:E1341, "National or Local Assigned Review"    , 1, 2)
E1342 =
t::ID.new(:E1342, "Nature of Condition Code"             , 1, 1,
            s::CodeList.build(
"A" => "Acute Condition",
"C" => "Chronic Condition",
"D" => "Non-acute",
"E" => "Non-Life Threatening",
"F" => "Routine",
"G" => "Symptomatic",
"M" => "Acute Manifestation of a Chronic Condition"))
E1343 =
t::ID.new(:E1343, "Non-Institutional Claim Type Code"    , 1, 2)
E1345 =
t::ID.new(:E1345, "Nursing Home Residential Status Code" , 1, 1)
E1351 =
t::ID.new(:E1351, "Patient Signature Source Code"        , 1, 1,
            s::CodeList.build(
"P" => "Signature generated by provider because the patient was not physically present for services"))
E1352 =
t::ID.new(:E1352, "Patient Status Code"                  , 1, 2,
s::CodeList.external("239"))
E1354 =
t::ID.new(:E1354, "Diagnosis Related Group (DRG) Code"   , 1, 4,
s::CodeList.external("229"))
E1358 =
t::ID.new(:E1358, "Prosthesis, Crown, or Inlay Code"     , 1, 1)
E1359 =
t::ID.new(:E1359, "Provider Accept Assignment Code"      , 1, 1,
            s::CodeList.build(
"A" => "Assigned",
"B" => "Assigned Accepted on Clinical Lab Services Only",
"C" => "Not Assigned"))
E1360 =
t::ID.new(:E1360, "Provider Agreement Code"              , 1, 1)
E1361 =
t::ID.new(:E1361, "Oral Cavity Designation Code"         , 1, 3,
s::CodeList.external("135"))
E1362 =
t::ID.new(:E1362, "Related-Causes Code"                  , 2, 3,
            s::CodeList.build(
"AA" => "Auto Accident",
"EM" => "Employment",
"OA" => "Other Accident"))
E1363 =
t::ID.new(:E1363, "Release of Information Code"          , 1, 1,
            s::CodeList.build(
"I" => "Informed Consent to Release Medical Information for Conditions or Diagnoses Regulated by Federal Statutes",
"Y" => "Yes, Provider has a Signed Statement Permitting Release of Medical Billing Data Related to a Claim"))
E1364 =
t::ID.new(:E1364, "Review Code"                          , 1, 2)
E1365 =
t::ID.new(:E1365, "Service Type Code"                    , 1, 2,
            s::CodeList.build(
"1"  => "Medical Care",
"2"  => "Surgical",
"3"  => "Consultation",
"4"  => "Diagnostic X-Ray",
"5"  => "Diagnostic Lab",
"6"  => "Radiation Therapy",
"7"  => "Anesthesia",
"8"  => "Surgical Assistance",
"9"  => "Other Medical",
"10" => "Blood Charges",
"11" => "Used Durable Medical Equipment",
"12" => "Durable Medical Equipment Purchase",
"13" => "Ambulatory Service Center Facility",
"14" => "Renal Supplies in the Home",
"15" => "Alternate Method Dialysis",
"16" => "Chronic Renal Disease (CRD) Equipment",
"17" => "Pre-Admission Testing",
"18" => "Durable Medical Equipment Rental",
"19" => "Pneumonia Vaccine",
"20" => "Second Surgical Opinion",
"21" => "Third Surgical Opinion",
"22" => "Social Work",
"23" => "Diagnostic Dental",
"24" => "Periodontics",
"25" => "Restorative",
"26" => "Endodontics",
"27" => "Maxillofacial Prosthetics",
"28" => "Adjunctive Dental Services",
"30" => "Health Benefit Plan Coverage",
"32" => "Plan Waiting Period",
"33" => "Chiropractic",
"34" => "Chiropractic Office Visits",
"35" => "Dental Care",
"36" => "Dental Crowns",
"37" => "Dental Accident",
"38" => "Orthodontics",
"39" => "Prosthodontics",
"40" => "Oral Surgery",
"41" => "Routine (Preventive) Dental",
"42" => "Home Health Care",
"43" => "Home Health Prescriptions",
"44" => "Home Health Visits",
"45" => "Hospice",
"46" => "Respite Care",
"47" => "Hospital",
"48" => "Hospital - Inpatient",
"49" => "Hospital - Room and Board",
"50" => "Hospital - Outpatient",
"51" => "Hospital - Emergency Accident",
"52" => "Hospital - Emergency Medical",
"53" => "Hospital - Ambulatory Surgical",
"54" => "Long Term Care",
"55" => "Major Medical",
"56" => "Medically Related Transportation",
"57" => "Air Transportation",
"58" => "Cabulance",
"59" => "Licensed Ambulance",
"60" => "General Benefits",
"61" => "In-vitro Fertilization",
"62" => "MRI/CAT Scan",
"63" => "Donor Procedures",
"64" => "Acupuncture",
"65" => "Newborn Care",
"66" => "Pathology",
"67" => "Smoking Cessation",
"68" => "Well Baby Care",
"69" => "Maternity",
"70" => "Transplants",
"71" => "Audiology Exam",
"72" => "Inhalation Therapy",
"73" => "Diagnostic Medical",
"74" => "Private Duty Nursing",
"75" => "Prosthetic Device",
"76" => "Dialysis",
"77" => "Otological Exam",
"78" => "Chemotherapy",
"79" => "Allergy Testing",
"80" => "Immunizations",
"AN" => "Routine Exam",
"AO" => "Lenses",
"AQ" => "Nonmedically Necessary Physical",
"AR" => "Experimental Drug Therapy",
"B1" => "Burn Care",
"B2" => "Brand Name Prescription Drug - Formulary",
"B3" => "Brand Name Prescription Drug - Non-Formulary",
"BA" => "Independent Medical Evaluation",
"BB" => "Partial Hospitalization (Psychiatric)",
"BC" => "Day Care (Psychiatric)",
"BD" => "Cognitive Therapy",
"BE" => "Massage Therapy",
"BF" => "Pulmonary Rehabilitation",
"BG" => "Cardiac Rehabilitation",
"BH" => "Pediatric",
"BI" => "Nursery",
"BJ" => "Skin",
"BK" => "Orthopedic",
"BL" => "Cardiac",
"BM" => "Lymphatic",
"BN" => "Gastrointestinal",
"BP" => "Endocrine",
"BQ" => "Neurology",
"BR" => "Eye",
"BS" => "Invasive Procedures",
"BT" => "Gynecological",
"BU" => "Obstetrical",
"BV" => "Obstetrical/Gynecological",
"BW" => "Mail Order Prescription Drug: Brand Name",
"BX" => "Mail Order Prescription Drug: Generic",
"BY" => "Physician Visit - Office: Sick",
"BZ" => "Physician Visit - Office: Well",
"C1" => "Coronary Care",
"CA" => "Private Duty Nursing - Inpatient",
"CB" => "Private Duty Nursing - Home",
"CC" => "Surgical Benefits - Professional (Physician)",
"CD" => "Surgical Benefits - Facility",
"CE" => "Mental Health Provider - Inpatient",
"CF" => "Mental Health Provider - Outpatient",
"CG" => "Mental Health Facility - Inpatient",
"CH" => "Mental Health Facility - Outpatient",
"CI" => "Substance Abuse Facility - Inpatient",
"CJ" => "Substance Abuse Facility - Outpatient",
"81" => "Routine Physical",
"82" => "Family Planning",
"83" => "Infertility",
"84" => "Abortion",
"85" => "AIDS",
"86" => "Emergency Services",
"87" => "Cancer",
"88" => "Pharmacy",
"89" => "Free Standing Prescription Drug",
"90" => "Mail Order Prescription Drug",
"91" => "Brand Name Prescription Drug",
"92" => "Generic Prescription Drug",
"93" => "Podiatry",
"94" => "Podiatry - Office Visits",
"95" => "Podiatry - Nursing Home Visits",
"96" => "Professional (Physician)",
"97" => "Anesthesiologist",
"98" => "Professional (Physician) Visit - Office",
"99" => "Professional (Physician) Visit - Inpatient",
"A0" => "Professional (Physician) Visit - Outpatient",
"A1" => "Professional (Physician) Visit - Nursing Home",
"A2" => "Professional (Physician) Visit - Skilled Nursing Facility",
"A3" => "Professional (Physician) Visit - Home",
"A4" => "Psychiatric",
"A5" => "Psychiatric - Room and Board",
"A6" => "Psychotherapy",
"A7" => "Psychiatric - Inpatient",
"A8" => "Psychiatric - Outpatient",
"A9" => "Rehabilitation",
"AA" => "Rehabilitation - Room and Board",
"AB" => "Rehabilitation - Inpatient",
"AC" => "Rehabilitation - Outpatient",
"AD" => "Occupational Therapy",
"AE" => "Physical Medicine",
"AF" => "Speech Therapy",
"AG" => "Skilled Nursing Care",
"AH" => "Skilled Nursing Care - Room and Board",
"AI" => "Substance Abuse",
"AJ" => "Alcoholism",
"AK" => "Drug Addiction",
"AL" => "Vision (Optometry)",
"AM" => "Frames",
"CK" => "Screening X-ray",
"CL" => "Screening laboratory",
"CM" => "Mammogram, High Risk Patient",
"CN" => "Mammogram, Low Risk Patient",
"CO" => "Flu Vaccination",
"CP" => "Eyewear and Eyewear Accessories",
"CQ" => "Case Management",
"DG" => "Dermatology",
"DM" => "Durable Medical Equipment",
"DS" => "Diabetic Supplies",
"GF" => "Generic Prescription Drug - Formulary",
"GN" => "Generic Prescription Drug - Non-Formulary",
"GY" => "Allergy",
"IC" => "Intensive Care",
"MH" => "Mental Health",
"NI" => "Neonatal Intensive Care",
"ON" => "Oncology",
"PT" => "Physical Therapy",
"PU" => "Pulmonary",
"RN" => "Renal",
"RT" => "Residential Psychiatric Treatment",
"TC" => "Transitional Care",
"TN" => "Transitional Nursery Care",
"UC" => "Urgent Care"))
E1366 =
t::ID.new(:E1366, "Special Program Code"                 , 2, 3)
E1367 =
t::ID.new(:E1367, "Sublaxation Level Code"               , 2, 3)
E1368 =
t::ID.new(:E1368, "Tooth Status Code"                    , 1, 2)
E1369 =
t::ID.new(:E1369, "Tooth Surface Code"                   , 1, 2)
E1371 =
t:: R.new(:E1371, "Unit Rate"                            , 1, 10)
E1383 =
t::ID.new(:E1383, "Claim Submission Reason Code"         , 2, 2)
E1384 =
t::ID.new(:E1384, "Patient Location Code"                , 1, 1)
E1390 =
t::ID.new(:E1390, "Eligibility or Benefit Information Code", 1, 2,
            s::CodeList.build(
"1"  => "Active Coverage",
"2"  => "Active - Full Risk Capitation",
"3"  => "Active - Services Capitated",
"4"  => "Active - Services Capitated to Primary Care Physician",
"5"  => "Active - Pending Investigation",
"6"  => "Inactive",
"7"  => "Inactive - Pending Eligibility Update",
"8"  => "Inactive - Pending Investigation",
"A"  => "Co-Insurance",
"B"  => "Co-Payment",
"C"  => "Deductible",
"CB" => "Coverage Basis",
"D"  => "Benefit Description",
"E"  => "Exclusions",
"F"  => "Limitations",
"G"  => "Out of Pocket (Stop Loss)",
"H"  => "Unlimited",
"I"  => "Non-Covered",
"J"  => "Cost Containment",
"K"  => "Reserve",
"L"  => "Primary Care Provider",
"M"  => "Pre-existing Condition",
"MC" => "Managed Care Coordinator",
"N"  => "Services Restricted to Following Provider",
"O"  => "Not Deemed a Medical Necessity",
"P"  => "Benefit Disclaimer",
"Q"  => "Second Surgical Opinion Required",
"R"  => "Other or Additional Payor",
"S"  => "Prior Year(s) History",
"T"  => "Card(s) Reported Lost/Stolen",
"U"  => "Contact Following Entity for Eligibility or Benefit Information",
"V"  => "Cannot Process",
"W"  => "Other Source of Data",
"X"  => "Health Care Facility",
"Y"  => "Spend Down"))
E1470 =
t::Nn.new(:E1470, "Number"                               , 1, 9, 0)
E1473 =
t::ID.new(:E1473, "Pricing Methodology"                  , 2, 2,
            s::CodeList.build(
"00" => "Zero Pricing (Not Covered Under Contract)",
"01" => "Priced as Billed at 100%",
"02" => "Priced at the Standard Fee Schedule",
"03" => "Priced at a Contractual Percentage",
"04" => "Bundled Pricing",
"05" => "Peer Review Pricing",
"06" => "Per Diem Pricing",
"07" => "Flat Rate Pricing",
"08" => "Combination Pricing",
"09" => "Maternity Pricing",
"10" => "Other Pricing",
"11" => "Lower of Cost",
"12" => "Ratio of Cost",
"13" => "Cost Reimbursed",
"14" => "Adjustment Pricing"))
E1476 =
t::ID.new(:E1476, "Language Proficiency Indicator"       , 1, 1)
E1514 =
t::ID.new(:E1514, "Delay Reason Code"                    , 1, 2,
            s::CodeList.build(
"1"  => "Proof of Eligibility Unknown or Unavailable",
"2"  => "Litigation",
"3"  => "Authorization Delays",
"4"  => "Delay in Certifying Provider",
"5"  => "Delay in Shipping Billing Forms",
"6"  => "Delay in Delivery of Custom-made Appliances",
"7"  => "Third Party Processing Delay",
"8"  => "Delay in Eligibility Determination",
"9"  => "Original Claim Rejected or Denied Due to a Reason Unrelated to the Billing Limitation Rules",
"10" => "Administration Delay in the Prior Approval Process",
"11" => "Other",
"15" => "Natural Disaster"))
E1525 =
t::ID.new(:E1525, "Request Category Code"                , 1, 2)
E1526 =
t::ID.new(:E1526, "Policy Compliance Code"               , 1, 2,
            s::CodeList.build(
"1" => "Procedure Followed (Compliance)",
"2" => "Not Followed - Call Not Made (Non-Compliance Call Not Made)",
"3" => "Not Medically Necessary (Non-Compliance Non-Medically Necessary)",
"4" => "Not Followed Other (Non-Compliance Other)",
"5" => "Emergency Admit to Non-Network Hospital"))
E1527 =
t::ID.new(:E1527, "Exception Code"                       , 1, 2,
            s::CodeList.build(
"1" => "Non-Network Professional Provider in Network Hospital",
"2" => "Emergency Care",
"3" => "Services or Specialist not in Network",
"4" => "Out-of-Service Area",
"5" => "State Mandates",
"6" => "Other"))
E1528 =
t::Nn.new(:E1528, "Component Data Element Position in Composite", 1, 2, 0)
E1595 =
t::ID.new(:E1595, "Government Service Affilition Code"   , 1, 1,
            s::CodeList.build(
"A" => "Air Force",
"B" => "Air Force Reserves",
"C" => "Army",
"D" => "Army Reserves",
"E" => "Coast Guard",
"F" => "Marine Corps",
"G" => "Marine Corps Reserves",
"H" => "National Guard",
"I" => "Navy",
"J" => "Navy Reserves",
"K" => "Other",
"L" => "Peace Corp",
"M" => "Regular Armed Forces",
"N" => "Reserves",
"O" => "U.S. Public Health Service",
"Q" => "Foreign Military",
"R" => "American Red Cross",
"S" => "Department of Defense",
"U" => "United Services Organization",
"W" => "Military Sealift Command"))
E1596 =
t::ID.new(:E1596, "Military Service Rank"                , 1, 1,
            s::CodeList.build(
"A1" => "Admiral",
"A2" => "Airman",
"A3" => "Airman First Class",
"B1" => "Basic Airman",
"B2" => "Brigadier General",
"C1" => "Captain",
"C2" => "Chief Master Sergeant",
"C3" => "Chief Petty Officer",
"C4" => "Chief Warrant",
"C5" => "Colonel",
"C6" => "Commander",
"C7" => "Commodore",
"C8" => "Corporal",
"C9" => "Corporal Specialist 4",
"E1" => "Ensign",
"F1" => "First Lieutenant",
"F2" => "First Sergeant",
"F3" => "First Sergeant-Master Sergeant",
"F4" => "Fleet Admiral",
"G1" => "General",
"G4" => "Gunnery Sergeant",
"L1" => "Lance Corporal",
"L2" => "Lieutenant",
"L3" => "Lieutenant Colonel",
"L4" => "Lieutenant Commander",
"L5" => "Lieutenant General",
"L6" => "Lieutenant Junior Grade",
"M1" => "Major",
"M2" => "Major General",
"M3" => "Master Chief Petty Officer",
"M4" => "Master Gunnery Sergeant Major",
"M5" => "Master Sergeant",
"M6" => "Master Sergeant Specialist 8",
"P1" => "Petty Officer First Class",
"P2" => "Petty Officer Second Class",
"P3" => "Petty Officer Third Class",
"P4" => "Private",
"P5" => "Private First Class",
"R1" => "Rear Admiral",
"R2" => "Recruit",
"S1" => "Seaman",
"S2" => "Seaman Apprentice",
"S3" => "Seaman Recruit",
"S4" => "Second Lieutenant",
"S5" => "Senior Chief Petty Officer",
"S6" => "Senior Master Sergeant",
"S7" => "Sergeant",
"S8" => "Sergeant First Class Specialist 7",
"S9" => "Sergeant Major Specialist 9",
"SA" => "Sergeant Specialist 5",
"SB" => "Staff Sergeant",
"SC" => "Staff Sergeant Specialist 6",
"T1" => "Technical Sergeant",
"V1" => "Vice Admiral",
"W1" => "Warrant Officer"))
E1686 =
t::Nn.new(:E1686, "Repeating Data Element Position"      , 1, 4, 0)
E1701 =
t::ID.new(:E1701, "Eligibility Reason Code"              , 1, 1,
            s::CodeList.build(
"0" => "Age",
"1" => "Disability",
"2" => "End Stage Renal Disease (ESRD)"))
E1705 =
t::AN.new(:E1705, "Implementation Convention Reference"  , 1, 35)
E1715 =
t::ID.new(:E1715, "Country Subdivision Code"             , 1, 3,
s::CodeList.external("5"))
E9998 =
t::AN.new(:E9998, "Context Reference"                    , 1, 35)
E9999 =
t::AN.new(:E9998, "Context Name"                         , 1, 35)
C001 =
Schema::CompositeElementDef.build(:C001,
"Composite Unit of Measure",
"To identify a composite unit of measure",
E355 .component_use(r::Mandatory),
E1018.component_use(r::Optional),
E649 .component_use(r::Optional),
E355 .component_use(r::Optional),
E1018.component_use(r::Optional),
E649 .component_use(r::Optional),
E355 .component_use(r::Optional),
E1018.component_use(r::Optional),
E649 .component_use(r::Optional),
E355 .component_use(r::Optional),
E1018.component_use(r::Optional), # If not used, value is interpreted as 1
E649 .component_use(r::Optional), # If not used, value is interpreted as 1
E355 .component_use(r::Optional),
E1018.component_use(r::Optional), # If not used, value is interpreted as 1
E649 .component_use(r::Optional))
C002 =
Note:

Copied from an unverified 4010 internet source

Schema::CompositeElementDef.build(:C002,
"Actions Indicated",
"",
E704.component_use(r::Mandatory),
E704.component_use(r::Optional),
E704.component_use(r::Optional),
E704.component_use(r::Optional),
E704.component_use(r::Optional))
C003 =
Schema::CompositeElementDef.build(:C003,
"Composite Medical Procedure Identifier",
"To identify a procedure by its standardized codes and applicable modifiers",
E235 .component_use(r::Mandatory),
E234 .component_use(r::Mandatory), # Qualified by C003-01
E1339.component_use(r::Optional),
E1339.component_use(r::Optional),
E1339.component_use(r::Optional),
E1339.component_use(r::Optional),
E352 .component_use(r::Optional),
E234 .component_use(r::Optional))
C004 =
Schema::CompositeElementDef.build(:C004,
"Composite Diagnosis Code Pointer",
"To identify one or more diagnosis code pointers",
E1328.component_use(r::Mandatory),
E1328.component_use(r::Optional),
E1328.component_use(r::Optional),
E1328.component_use(r::Optional))
C005 =
Schema::CompositeElementDef.build(:C005,
"Tooth Surface",
"To identify one or more tooth surface codes",
E1369.component_use(r::Mandatory),
E1369.component_use(r::Optional),
E1369.component_use(r::Optional),
E1369.component_use(r::Optional),
E1369.component_use(r::Optional))
C006 =
Schema::CompositeElementDef.build(:C006,
"Oral Cavity Designation",
"To identify one or more areas of oral cavity",
E1361.component_use(r::Mandatory),
E1361.component_use(r::Optional),
E1361.component_use(r::Optional),
E1361.component_use(r::Optional),
E1361.component_use(r::Optional))
C022 =
Schema::CompositeElementDef.build(:C022,
"Health Care Code Information",
"To send health care codes and their associated dates, amounts and quantities",
E1270.component_use(r::Mandatory),
E1271.component_use(r::Mandatory),
E1250.component_use(r::Relational),
E1251.component_use(r::Relational),
E782 .component_use(r::Optional),
E380 .component_use(r::Optional),
E799 .component_use(r::Optional),
E1271.component_use(r::Relational),
E1073.component_use(r::Relational),
SyntaxNotes::P.build(3, 4),
SyntaxNotes::E.build(8, 9))
C023 =
Schema::CompositeElementDef.build(:C023,
"Health Care Service Location Information",
"To provide information that identifies the place of service or the type of bill related to the location at which a health care service was rendered",
E1331 .component_use(r::Mandatory),
E1332 .component_use(r::Optional),
E1325 .component_use(r::Optional))
C024 =
Schema::CompositeElementDef.build(:C024,
"Related Causes Information",
"To identify one or more related causes and associated state or country information",
E1362.component_use(r::Optional),
E1362.component_use(r::Mandatory),
E1362.component_use(r::Optional),
E156 .component_use(r::Optional),
E26  .component_use(r::Optional))
C030 =
Schema::CompositeElementDef.build(:C030,
"Position in Segment",
"Code indicating the relative position of the simple data element or composite data structure in error within a segment, count beginning with 1 for the position immediately following the segment ID; additionally, indicating the relative position of a repeating structure in error, count beginning with 1 for the position immediately following the preceding element separator; additionally indicating the relative position of a component of a composite data structure in error, count beginning with 1 for the position following the preceding element or repetition separator",
E722 .component_use(r::Mandatory),
E1528.component_use(r::Optional),
E1686.component_use(r::Optional))
C035 =
Note:

Copied from an unverified 4010 internet source

Schema::CompositeElementDef.build(:C035,
"Provider Specialty Information",
"",
E1222.component_use(r::Mandatory),
E559 .component_use(r::Optional),
E1073.component_use(r::Optional))
C040 =
Schema::CompositeElementDef.build(:C040,
"Reference Identifier",
"To identify one or more reference numbers or identification numbers as specified by the Reference Qualifier",
E128 .component_use(r::Mandatory),
E127 .component_use(r::Mandatory),
E128 .component_use(r::Relational),
E127 .component_use(r::Relational),
E128 .component_use(r::Relational),
E127 .component_use(r::Relational),
SyntaxNotes::P.build(3, 4),
SyntaxNotes::P.build(5, 6))
C042 =
Schema::CompositeElementDef.build(:C042,
"Adjustment Identifier",
"To provide the category and identifying reference information for an adjustment",
E426 .component_use(r::Mandatory),
E127 .component_use(r::Optional))
C043 =
Schema::CompositeElementDef.build(:C043,
"Health Care Claim Status",
"Used to convey status of the entire claim or a specific service line",
E1271.component_use(r::Mandatory),
E1271.component_use(r::Mandatory),
E98  .component_use(r::Optional),
E1270.component_use(r::Optional))
C052 =
Note:

Copied from unverified source

Schema::CompositeElementDef.build(:C052,
"Medicare Status Code",
"To provide Medicare coverage and associated reason for Medicare eligibility",
E1218.component_use(r::Mandatory),
E1701.component_use(r::Optional),
E1701.component_use(r::Optional),
E1701.component_use(r::Optional))
C056 =
Schema::CompositeElementDef.build(:C056,
"Composite Race or Ethnicity Information",
"",
E1109.component_use(r::Optional),
E1270.component_use(r::Relational),
E1271.component_use(r::Relational))
C998 =
Schema::CompositeElementDef.build(:C998,
"Context Identification",
"Holds information to identify a context",
E9999.component_use(r::Mandatory),
E9998.component_use(r::Optional))
C999 =
Schema::CompositeElementDef.build(:C999,
"Reference in Segment",
"To hold the reference number of a data element and optionally component data element within a composite",
E725.component_use(r::Mandatory),
E725.component_use(r::Mandatory))