From 0eaa7d6fea4160b0a0ed4c408fe04528aabb7399 Mon Sep 17 00:00:00 2001 From: Anup Chaudhari Date: Mon, 24 Jun 2024 16:02:03 +0530 Subject: [PATCH 1/4] # Added 270 & 271 mapping XML --- .../resources/mapping/270.5010.X279.A1.xml | 4249 +++++++++++ .../resources/mapping/271.5010.X279.A1.xml | 6702 +++++++++++++++++ 2 files changed, 10951 insertions(+) create mode 100644 src/main/resources/mapping/270.5010.X279.A1.xml create mode 100644 src/main/resources/mapping/271.5010.X279.A1.xml diff --git a/src/main/resources/mapping/270.5010.X279.A1.xml b/src/main/resources/mapping/270.5010.X279.A1.xml new file mode 100644 index 0000000..264022e --- /dev/null +++ b/src/main/resources/mapping/270.5010.X279.A1.xml @@ -0,0 +1,4249 @@ + + + HIPAA Health Care Eligibility Benefit Inquiry X279A1-270 + + Interchange Control Header + R + 0010 + >1 + + Interchange Control Header + R + 0010 + 1 + + I01 + Authorization Information Qualifier + R + 01 + + 00 + + + + I02 + Authorization Information + R + 02 + + + I03 + Security Information Qualifier + R + 03 + + 00 + 01 + + + + I04 + Security Information + R + 04 + + + I05 + Interchange ID Qualifier + R + 05 + + 01 + 02 + 03 + 04 + 07 + 08 + 09 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + AM + NR + SA + SN + ZZ + + + + I06 + Interchange Sender ID + R + 06 + + + I05 + Interchange ID Qualifier + R + 07 + + 01 + 02 + 03 + 04 + 07 + 08 + 09 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + AM + NR + SA + SN + ZZ + + + + I07 + Interchange Receiver ID + R + 08 + + + I08 + Interchange Date + R + 09 + + + + I09 + Interchange Time + R + 10 + + + + I65 + Repetition Separator + R + 11 + + + + I11 + Interchange Control Version Number + R + 12 + + 00501 + + + + I12 + Interchange Control Number + R + 13 + + + I13 + Acknowledgment Requested + R + 14 + + 0 + 1 + + + + I14 + Interchange Usage Indicator + R + 15 + + I + P + T + + + + I15 + Component Element Separator + R + 16 + + + + + Functional Group Header + R + 0100 + >1 + + Functional Group Header + R + 0100 + 1 + + 479 + Functional Identifier Code + R + 01 + + HB + + + + 142 + Application Sender's Code + R + 02 + + + 124 + Application Receiver's Code + R + 03 + + + 373 + Date + R + 04 + + + + 337 + Time + R + 05 + + + + 28 + Group Control Number + R + 06 + + + 455 + Responsible Agency Code + R + 07 + + T + X + + + + 480 + Version / Release / Industry Identifier Code + R + 08 + + 005010X279A1 + + + + + + Transaction Set Header + R + 0200 + >1 + + Transaction Set Header + R + 0100 + 1 + + 143 + Transaction Set Identifier Code + R + 01 + + 270 + + + + 329 + Transaction Set Control Number + R + 02 + + + 1705 + Implementation Convention Reference + R + 03 + + 005010X279A1 + + + + + + Table 1 - Header + R + 0150 + 1 + + Beginning of Hierarchical Transaction + R + 0200 + 1 + + 1005 + Hierarchical Structure Code + R + 01 + + 0022 + + + + 353 + Transaction Set Purpose Code + R + 02 + + 01 + 13 + + + + 127 + Submitter Transaction Identifier + S + 03 + + + 373 + Transaction Set Creation Date + R + 04 + + + + 337 + Transaction Set Creation Time + R + 05 + + + 640 + Transaction Type Code + S + 06 + + RT + + + + + + + + Table 2 - Detail + S + 0200 + >1 + + Information Source Level + R + 0100 + >1 + + Hierarchical Level + R + 0100 + 1 + + 628 + Hierarchical ID Number + R + 01 + + + 734 + Hierarchical Parent ID Number + N + 02 + + + 735 + Hierarchical Level Code + R + 03 + + 20 + + + + 736 + Hierarchical Child Code + S + 04 + + 1 + + + + + + Information Source Name + R + 0150 + 1 + + Information Source Name + R + 0300 + 1 + + 98 + Entity Identifier Code + R + 01 + + 2B + 36 + GP + P5 + PR + + + + 1065 + Entity Type Qualifier + R + 02 + + 1 + 2 + + + + 1035 + Information Source Last or Organization Name + S + 03 + + + 1036 + Information Source First Name + S + 04 + + + 1037 + Information Source Middle Name + S + 05 + + + 1038 + Name Prefix + N + 06 + + + 1039 + Information Source Name Suffix + S + 07 + + + 66 + Identification Code Qualifier + R + 08 + + 24 + 46 + FI + NI + PI + XV + XX + + + + 67 + Information Source Primary Identifier + R + 09 + + + 706 + Entity Relationship Code + N + 10 + + + 98 + Entity Identifier Code + N + 11 + + + 1035 + Name Last or Organization Name + N + 12 + + + + + + + Information Receiver Level + R + 0200 + >1 + + Hierarchical Level + R + 0100 + 1 + + 628 + Hierarchical ID Number + R + 01 + + + 734 + Hierarchical Parent ID Number + R + 02 + + + 735 + Hierarchical Level Code + R + 03 + + 21 + + + + 736 + Hierarchical Child Code + S + 04 + + 1 + + + + + + Information Receiver Name + R + 0300 + 1 + + Information Receiver Name + R + 0300 + 1 + + 98 + Entity Identifier Code + R + 01 + + 1P + 2B + 36 + 80 + FA + GP + P5 + PR + + + + 1065 + Entity Type Qualifier + R + 02 + + 1 + 2 + + + + 1035 + Information Receiver Last or Organization Name + R + 03 + + + 1036 + Information Receiver First Name + S + 04 + + + 1037 + Information Receiver Middle Name + S + 05 + + + 1038 + Name Prefix + N + 06 + + + 1039 + Information Receiver Name Suffix + S + 07 + + + 66 + Identification Code Qualifier + R + 08 + + 24 + 34 + FI + PI + PP + SV + XV + XX + + + + 67 + Information Receiver Identification Number + R + 09 + + + 706 + Entity Relationship Code + N + 10 + + + 98 + Entity Identifier Code + N + 11 + + + 1035 + Name Last or Organization Name + N + 12 + + + + + Information Receiver Additional Identification + S + 0400 + 9 + + 128 + Reference Identification Qualifier + R + 01 + + 0B + 1C + 1D + 1J + 4A + CT + EL + EO + HPI + JD + N5 + N7 + Q4 + SY + TJ + + + + 127 + Information Receiver Additional Identifier + R + 02 + + + 352 + Information Receiver Additional Identifier State + S + 03 + + + + C040 + Reference Identifier + N + 04 + + + + + Information Receiver Address + S + 0600 + 1 + + 166 + Information Receiver Address Line + R + 01 + + + 166 + Information Receiver Additional Address Line + S + 02 + + + + + + Information Receiver City, State, ZIP Code + S + 0700 + 1 + + 19 + Information Receiver City Name + R + 01 + + + 156 + Information Receiver State Code + S + 02 + + + + 116 + Information Receiver Postal Zone or ZIP Code + S + 03 + + + 26 + Country Code + S + 04 + + + + 309 + Location Qualifier + N + 05 + + CY + FI + + + + 310 + Location Identification Code + N + 06 + + + 1715 + Country Subdivision Code + S + 07 + + + + + + Information Receiver Provider Information + S + 0900 + 1 + P0203 + + 1221 + Provider Code + R + 01 + + AD + AT + BI + CO + CV + H + HH + LA + OT + P1 + P2 + PC + PE + R + RF + SB + SK + SU + + + + 128 + Reference Identification Qualifier + S + 02 + + PXC + + + + 127 + Information Receiver Provider Taxonomy Code + S + 03 + + + 156 + State or Province Code + N + 04 + + + C035 + Provider Specialty Information + N + 05 + + + 1223 + Provider Organization Code + N + 06 + + + + + + + Subscriber Level + R + 0400 + >1 + + Hierarchical Level + R + 0100 + 1 + + 628 + Hierarchical ID Number + R + 01 + + + 734 + Hierarchical Parent ID Number + R + 02 + + + 735 + Hierarchical Level Code + R + 03 + + 22 + + + + 736 + Hierarchical Child Code + S + 04 + + 0 + 1 + + + + + + Subscriber Trace Number + S + 0200 + 3 + + 481 + Trace Type Code + R + 01 + + 1 + + + + 127 + Trace Number + R + 02 + + + 509 + Trace Assigning Entity Identifier + R + 03 + + + 127 + Trace Assigning Entity Additional Identifier + S + 04 + + + + + Subscriber Name + R + 0300 + 1 + + Subscriber Name + R + 0300 + 1 + + 98 + Entity Identifier Code + R + 01 + + IL + + + + 1065 + Entity Type Qualifier + R + 02 + + 1 + 2 + + + + 1035 + Subscriber Last Name + S + 03 + + + 1036 + Subscriber First Name + S + 04 + + + 1037 + Subscriber Middle Name + S + 05 + + + 1038 + Subscriber Name Prefix + N + 06 + + + 1039 + Subscriber Name Suffix + S + 07 + + + 66 + Identification Code Qualifier + S + 08 + + II + MI + ZZ + + + + 67 + Subscriber Primary Identifier + S + 09 + + + 706 + Entity Relationship Code + N + 10 + + + 98 + Entity Identifier Code + N + 11 + + + 1035 + Name Last or Organization Name + N + 12 + + + + + Subscriber Additional Identification + S + 0400 + 9 + + 128 + Reference Identification Qualifier + R + 01 + + 18 + 1L + 1W + 3H + 6P + CT + EA + EJ + F6 + GH + HJ + IG + N6 + NQ + SY + Y4 + + + + 127 + Subscriber Supplemental Identifier + R + 02 + + + 352 + Plan, Group or Plan Network Name + N + 03 + + + C040 + Reference Identifier + N + 04 + + + + + Subscriber Address + S + 0600 + 1 + + 166 + Subscriber Address Line 1 + R + 01 + + + 166 + Subscriber Address Line 2 + S + 02 + + + + + Subscriber City/State/ZIP Code + S + 0700 + 1 + + 19 + Subscriber City Name + R + 01 + + + 156 + Subscriber State Code + S + 02 + + + + 116 + Subscriber Postal Zone or ZIP Code + S + 03 + + + 26 + Country Code + S + 04 + + + + 309 + Location Qualifier + N + 05 + + CY + FI + + + + 310 + Location Identification Code + N + 06 + + + 1715 + Country Subdivision Code + S + 07 + + + + + Provider Information + S + 0900 + 1 + P0203 + + 1221 + Provider Code + R + 01 + + AD + AT + BI + CO + CV + H + HH + LA + OT + P1 + P2 + PC + PE + R + RF + SB + SK + SU + + + + 128 + Reference Identification Qualifier + S + 02 + + 9K + D3 + EI + HPI + PXC + SY + TJ + + + + 127 + Provider Identifier + S + 03 + + + 156 + State or Province Code + N + 04 + + + C035 + Provider Specialty Information + N + 05 + + + 1223 + Provider Organization Code + N + 06 + + + + + Subscriber Demographic Information + S + 1000 + 1 + + 1250 + Date Time Period Format Qualifier + S + 01 + + D8 + + + + 1251 + Subscriber Birth Date + S + 02 + + + 1068 + Subscriber Gender Code + S + 03 + + F + M + + + + 1067 + Marital Status Code + N + 04 + + + 1109 + Race or Ethnicity Code + N + 05 + + + 1066 + Citizenship Status Code + N + 06 + + + 26 + Country Code + N + 07 + + + 659 + Basis of Verification Code + N + 08 + + + 380 + Quantity + N + 09 + + + + + Multiple Birth Sequence Number + S + 1100 + 1 + + 1073 + Insured Indicator + R + 01 + + Y + + + + 1069 + Individual Relationship Code + R + 02 + + 18 + + + + 875 + Maintenance Type Code + N + 03 + + 001 + + + + 1203 + Maintenance Reason Code + N + 04 + + 25 + + + + 1216 + Benefit Status Code + N + 05 + + + 1218 + Medicare Plan Code + N + 06 + + + 1219 + Consolidated Omnibus Budget Reconciliation Act (COBRA) + Qualifying Event Code + N + 07 + + + 584 + Employment Status Code + N + 08 + + + 1220 + Student Status Code + N + 09 + + F + N + P + + + + 1073 + Handicap Indicator + N + 10 + + N + Y + + + + 1250 + Date Time Period Format Qualifier + N + 11 + + + 1251 + Date Time Period + N + 12 + + + 1165 + Confidentiality Code + N + 13 + + + 19 + City Name + N + 14 + + + 156 + State or Province Code + N + 15 + + + 26 + Country Code + N + 16 + + + 1470 + Birth Sequence Number + S + 17 + + + + + Subscriber Health Care Diagnosis Code + S + 1150 + 1 + + C022 + Health Care Code Information + R + 01 + + 1270 + Diagnosis Type Code + R + 01 + + ABK + BK + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 02 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 03 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 04 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 05 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 06 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 07 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 08 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + + + Subscriber Date + S + 1200 + 2 + + 374 + Date Time Qualifier + R + 01 + + 102 + 291 + + + + 1250 + Date Time Period Format Qualifier + R + 02 + + D8 + RD8 + + + + 1251 + Date Time Period + R + 03 + + + + + Subscriber Eligibility or Benefit Inquiry + S + 1300 + 99 + + Subscriber Eligibility or Benefit Inquiry + R + 1300 + 1 + + 1365 + Service Type Code + S + 01 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 30 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + A0 + A1 + A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9 + AA + AB + AC + AD + AE + AF + AG + AH + AI + AJ + AK + AL + AM + AN + AO + AQ + AR + B1 + B2 + B3 + BA + BB + BC + BD + BE + BF + BG + BH + BI + BJ + BK + BL + BM + BN + BP + BQ + BR + BS + BT + BU + BV + BW + BX + BY + BZ + C1 + CA + CB + CC + CD + CE + CF + CG + CH + CI + CJ + CK + CL + CM + CN + CO + CP + CQ + DG + DM + DS + GF + GN + GY + IC + MH + NI + ON + PT + PU + RN + RT + TC + TN + UC + + + + C003 + Composite Medical Procedure Identifier + S + 02 + + 235 + Product or Service ID Qualifier + R + 01 + + AD + CJ + HC + ID + IV + N4 + ZZ + + + + 234 + Procedure Code + R + 02 + + + 1339 + Procedure Modifier + S + 03 + + + 1339 + Procedure Modifier + S + 04 + + + 1339 + Procedure Modifier + S + 05 + + + 1339 + Procedure Modifier + S + 06 + + + 352 + Description + N + 07 + + + 234 + Product or Service ID + N + 08 + + + + 1207 + Coverage Level Code + S + 03 + + FAM + + + + C004 + Composite Diagnosis Code Pointer + S + 05 + + 1328 + Diagnosis Code Pointer + R + 01 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 02 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 03 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 04 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + + + + Subscriber Spend Down Amount + S + 1350 + 1 + + 522 + Amount Qualifier Code + R + 01 + + R + + + + 782 + Spend Down Amount + R + 02 + + + + + Subscriber Spend Down Total Billed Amount + S + 1350 + 1 + + 522 + Amount Qualifier Code + R + 01 + + PB + + + + 782 + Spend Down Total Billed Amount + R + 02 + + + + + Subscriber Eligibility or Benefit Additional Inquiry Information + S + 1700 + 1 + + 1270 + Code List Qualifier Code + R + 01 + + ZZ + + + + 1271 + Industry Code + R + 02 + + + 1136 + Code Category + N + 03 + + 44 + + + + 933 + Injured Body Part Name + N + 04 + + + 380 + Quantity + N + 05 + + + C001 + Composite Unit of Measure + N + 06 + + + 752 + Surface/Layer/Position Code + N + 07 + + + 752 + Surface/Layer/Position Code + N + 08 + + + 752 + Surface/Layer/Position Code + N + 09 + + + + + Subscriber Additional Identification + S + 1900 + 1 + + 128 + Reference Identification Qualifier + R + 01 + + 9F + G1 + + + + 127 + Prior Authorization or Referral Number + R + 02 + + + 352 + Plan, Group or Plan Network Name + N + 03 + + + C040 + Reference Identifier + N + 04 + + + + + Subscriber Eligibility/Benefit Date + S + 2000 + 1 + + 374 + Date Time Qualifier + R + 01 + + 291 + + + + 1250 + Date Time Period Format Qualifier + R + 02 + + D8 + RD8 + + + + 1251 + Eligibility or Benefit Date Time Period + R + 03 + + + + + + + + + Dependent Level + S + 0400 + >1 + + Hierarchical Level + R + 0100 + 1 + + 628 + Hierarchical ID Number + R + 01 + + + 734 + Hierarchical Parent ID Number + R + 02 + + + 735 + Hierarchical Level Code + R + 03 + + 23 + + + + 736 + Hierarchical Child Code + S + 04 + + 0 + + + + + + Dependent Trace Number + S + 0200 + 2 + + 481 + Trace Type Code + R + 01 + + 1 + 2 + + + + 127 + Trace Number + R + 02 + + + 509 + Trace Assigning Entity Identifier + R + 03 + + + 127 + Trace Assigning Entity Additional Identifier + S + 04 + + + + + Dependent Name + R + 0300 + 1 + + Dependent Name + R + 0300 + 1 + + 98 + Entity Identifier Code + R + 01 + + 03 + + + + 1065 + Entity Type Qualifier + R + 02 + + 1 + + + + 1035 + Dependent Last Name + S + 03 + + + 1036 + Dependent First Name + S + 04 + + + 1037 + Dependent Middle Name + S + 05 + + + 1038 + Name Prefix + N + 06 + + + 1039 + Dependent Name Suffix + S + 07 + + + 66 + Identification Code Qualifier + N + 08 + + MI + ZZ + + + + 67 + Dependent Primary Identifier + N + 09 + + + 706 + Entity Relationship Code + N + 10 + + + 98 + Entity Identifier Code + N + 11 + + + + + Dependent Additional Identification + S + 0400 + 9 + + 128 + Reference Identification Qualifier + R + 01 + + 1L + 1W + 6P + 18 + CT + EA + EJ + F6 + GH + HJ + IF + IG + MRC + N6 + SY + Y4 + + + + 127 + Dependent Supplemental Identifier + R + 02 + + + 352 + Plan, Group or Plan Network Name + N + 03 + + + C040 + Reference Identifier + N + 04 + + + + + Dependent Address + S + 0600 + 1 + + 166 + Dependent Address Line 1 + R + 01 + + + 166 + Dependent Address Line 2 + S + 02 + + + + + Dependent City/State/ZIP Code + S + 0700 + 1 + + 19 + Dependent City Name + R + 01 + + + 156 + Dependent State Code + S + 02 + + + + 116 + Dependent Postal Zone or ZIP Code + S + 03 + + + 26 + Country Code + S + 04 + + + + 309 + Location Qualifier + N + 05 + + + 310 + Location Identifier + N + 06 + + + 1715 + Country Subdivision Code + S + 07 + + + + + Provider Information + S + 0900 + 1 + P0203 + + 1221 + Provider Code + R + 01 + + AD + AT + BI + CO + CV + H + HH + LA + OT + P1 + P2 + PC + PE + R + RF + SB + SK + SU + + + + 128 + Reference Identification Qualifier + S + 02 + + 9K + D3 + EI + HPI + PXC + SY + TJ + + + + 127 + Provider Identifier + S + 03 + + + 156 + State or Province Code + N + 04 + + + C035 + Provider Specialty Information + N + 05 + + + 1223 + Provider Organization Code + N + 06 + + + + + Dependent Demographic Information + S + 1000 + 1 + + 1250 + Date Time Period Format Qualifier + S + 01 + + D8 + + + + 1251 + Dependent Birth Date + S + 02 + + + 1068 + Dependent Gender Code + S + 03 + + F + M + + + + 1067 + Marital Status Code + N + 04 + + + 1109 + Race or Ethnicity Code + N + 05 + + + 1066 + Citizenship Status Code + N + 06 + + + 26 + Country Code + N + 07 + + + 659 + Basis of Verification Code + N + 08 + + + 380 + Quantity + N + 09 + + + + + Dependent Relationship + S + 1100 + 1 + + 1073 + Insured Indicator + R + 01 + + N + + + + 1069 + Individual Relationship Code + R + 02 + + 01 + 19 + 34 + + + + 875 + Maintenance Type Code + S + 03 + + 001 + + + + 1203 + Maintenance Reason Code + N + 04 + + 25 + + + + 1216 + Benefit Status Code + N + 05 + + + 1218 + Medicare Plan Code + N + 06 + + + 1219 + Consolidated Omnibus Budget Reconciliation Act (COBRA) + Qualifying Event Code + N + 07 + + + 584 + Employment Status Code + N + 08 + + + 1220 + Student Status Code + N + 09 + + F + N + P + + + + 1073 + Handicap Indicator + N + 10 + + N + Y + + + + 1250 + Date Time Period Format Qualifier + N + 11 + + + 1251 + Date Time Period + N + 12 + + + 1165 + Confidentiality Code + N + 13 + + + 19 + City Name + N + 14 + + + 156 + State or Province Code + N + 15 + + + 26 + Country Code + N + 16 + + + 1470 + Birth Sequence Number + S + 17 + + + + + Dependent Health Care Diagnosis Code + S + 1150 + 1 + + C022 + Health Care Code Information + R + 01 + + 1270 + Diagnosis Type Code + R + 01 + + ABK + BK + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 02 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 03 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 04 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 05 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 06 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 07 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 08 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + + + Dependent Date + S + 1200 + 2 + + 374 + Date Time Qualifier + R + 01 + + 102 + 291 + + + + 1250 + Date Time Period Format Qualifier + R + 02 + + D8 + RD8 + + + + 1251 + Date Time Period + R + 03 + + + + + Dependent Eligibility or Benefit Inquiry + S + 1300 + 99 + + Dependent Eligibility or Benefit Inquiry + R + 1300 + 1 + + 1365 + Service Type Code + S + 01 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 30 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + A0 + A1 + A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9 + AA + AB + AC + AD + AE + AF + AG + AH + AI + AJ + AK + AL + AM + AN + AO + AQ + AR + B1 + B2 + B3 + BA + BB + BC + BD + BE + BF + BG + BH + BI + BJ + BK + BL + BM + BN + BP + BQ + BR + BS + BT + BU + BV + BW + BX + BY + BZ + C1 + CA + CB + CC + CD + CE + CF + CG + CH + CI + CJ + CK + CL + CM + CN + CO + CP + CQ + DG + DM + DS + GF + GN + GY + IC + MH + NI + ON + PT + PU + RN + RT + TC + TN + UC + + + + C003 + Composite Medical Procedure Identifier + S + 02 + + 235 + Product or Service ID Qualifier + R + 01 + + AD + CJ + HC + ID + IV + N4 + ZZ + + + + 234 + Procedure Code + R + 02 + + + 1339 + Procedure Modifier + S + 03 + + + 1339 + Procedure Modifier + S + 04 + + + 1339 + Procedure Modifier + S + 05 + + + 1339 + Procedure Modifier + S + 06 + + + 352 + Description + N + 07 + + + 234 + Product or Service ID + N + 08 + + + + 1207 + Coverage Level Code + N + 03 + + FAM + + + + C004 + Composite Diagnosis Code Pointer + S + 05 + + 1328 + Diagnosis Code Pointer + R + 01 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 02 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 03 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 04 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + + + + Dependent Eligibility or Benefit Additional Inquiry Information + S + 1700 + 1 + + 1270 + Code List Qualifier Code + R + 01 + + ZZ + + + + 1271 + Industry Code + R + 02 + + + 1136 + Code Category + N + 03 + + 44 + + + + 933 + Injured Body Part Name + N + 04 + + + 380 + Quantity + N + 05 + + + C001 + Composite Unit of Measure + N + 06 + + + 752 + Surface/Layer/Position Code + N + 07 + + + 752 + Surface/Layer/Position Code + N + 08 + + + 752 + Surface/Layer/Position Code + N + 09 + + + + + Dependent Additional Information + S + 1900 + 1 + + 128 + Reference Identification Qualifier + R + 01 + + 9F + G1 + + + + 127 + Prior Authorization or Referral Number + R + 02 + + + 352 + Plan, Group or Plan Network Name + N + 03 + + + C040 + Reference Identifier + N + 04 + + + + + Dependent Eligibility/Benefit Date + S + 2000 + 1 + + 374 + Date Time Qualifier + R + 01 + + 291 + + + + 1250 + Date Time Period Format Qualifier + R + 02 + + D8 + RD8 + + + + 1251 + Eligibility or Benefit Date Time Period + R + 03 + + + + + + + + + + + + + + + + + + + + + Transaction Set Trailer + R + 2100 + 1 + + 96 + Transaction Segment Count + R + 01 + + + 329 + Transaction Set Control Number + R + 02 + + + + + + + Functional Group Trailer + R + 0300 + 1 + + 97 + Number of Transaction Sets Included + R + 01 + + + 28 + Group Control Number + R + 02 + + + + + + + Interchange Control Trailer + R + 0300 + 1 + + I16 + Number of Included Functional Groups + R + 01 + + + I12 + Interchange Control Number + R + 02 + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapping/271.5010.X279.A1.xml b/src/main/resources/mapping/271.5010.X279.A1.xml new file mode 100644 index 0000000..d787903 --- /dev/null +++ b/src/main/resources/mapping/271.5010.X279.A1.xml @@ -0,0 +1,6702 @@ + + + HIPAA Health Care Eligibility Benefit Response X279A1-271 + + Interchange Control Header + R + 0010 + >1 + + Interchange Control Header + R + 0010 + 1 + + I01 + Authorization Information Qualifier + R + 01 + + 00 + + + + I02 + Authorization Information + R + 02 + + + I03 + Security Information Qualifier + R + 03 + + 00 + 01 + + + + I04 + Security Information + R + 04 + + + I05 + Interchange ID Qualifier + R + 05 + + 01 + 02 + 03 + 04 + 07 + 08 + 09 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + AM + NR + SA + SN + ZZ + + + + I06 + Interchange Sender ID + R + 06 + + + I05 + Interchange ID Qualifier + R + 07 + + 01 + 02 + 03 + 04 + 07 + 08 + 09 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + AM + NR + SA + SN + ZZ + + + + I07 + Interchange Receiver ID + R + 08 + + + I08 + Interchange Date + R + 09 + + + + I09 + Interchange Time + R + 10 + + + + I65 + Repetition Separator + R + 11 + + + + I11 + Interchange Control Version Number + R + 12 + + 00501 + + + + I12 + Interchange Control Number + R + 13 + + + I13 + Acknowledgment Requested + R + 14 + + 0 + 1 + + + + I14 + Interchange Usage Indicator + R + 15 + + I + P + T + + + + I15 + Component Element Separator + R + 16 + + + + + Functional Group Header + R + 0100 + >1 + + Functional Group Header + R + 0100 + 1 + + 479 + Functional Identifier Code + R + 01 + + HB + + + + 142 + Application Sender's Code + R + 02 + + + 124 + Application Receiver's Code + R + 03 + + + 373 + Date + R + 04 + + + + 337 + Time + R + 05 + + + + 28 + Group Control Number + R + 06 + + + 455 + Responsible Agency Code + R + 07 + + T + X + + + + 480 + Version / Release / Industry Identifier Code + R + 08 + + 005010X279A1 + + + + + + Transaction Set Header + R + 0200 + >1 + + Transaction Set Header + R + 0100 + 1 + + 143 + Transaction Set Identifier Code + R + 01 + + 271 + + + + 329 + Transaction Set Control Number + R + 02 + + + 1705 + Implementation Convention Reference + R + 03 + + 005010X279A1 + + + + + + Table 1 - Header + R + 0150 + 1 + + Beginning of Hierarchical Transaction + R + 0200 + 1 + + 1005 + Hierarchical Structure Code + R + 01 + + 0022 + + + + 353 + Transaction Set Purpose Code + R + 02 + + 06 + 11 + + + + 127 + Submitter Transaction Identifier + S + 03 + + + 373 + Transaction Set Creation Date + R + 04 + + + + 337 + Transaction Set Creation Time + R + 05 + + + + + + + Table 2 - Detail + S + 0200 + >1 + + Information Source Level + R + 0100 + >1 + + Hierarchical Level + R + 0100 + 1 + + 628 + Hierarchical ID Number + R + 01 + + + 734 + Hierarchical Parent ID Number + N + 02 + + + 735 + Hierarchical Level Code + R + 03 + + 20 + + + + 736 + Hierarchical Child Code + S + 04 + + 0 + 1 + + + + + + Request Validation + S + 0250 + 9 + + 1073 + Valid Request Indicator + R + 01 + + N + Y + + + + 559 + Agency Qualifier Code + N + 02 + + + 901 + Reject Reason Code + R + 03 + + 04 + 41 + 42 + 79 + + + + 889 + Follow-up Action Code + R + 04 + + C + N + P + R + S + Y + + + + + + Information Source Name + R + 0300 + 1 + + Information Source Name + R + 0300 + 1 + + 98 + Entity Identifier Code + R + 01 + + 2B + 36 + GP + P5 + PR + + + + 1065 + Entity Type Qualifier + R + 02 + + 1 + 2 + + + + 1035 + Information Source Last or Organization Name + S + 03 + + + 1036 + Information Source First Name + S + 04 + + + 1037 + Information Source Middle Name + S + 05 + + + 1038 + Name Prefix + N + 06 + + + 1039 + Information Source Name Suffix + S + 07 + + + 66 + Identification Code Qualifier + R + 08 + + 24 + 46 + FI + NI + PI + XV + XX + + + + 67 + Information Source Primary Identifier + R + 09 + + + 706 + Entity Relationship Code + N + 10 + + + 98 + Entity Identifier Code + N + 11 + + + 1035 + Name Last or Organization Name + N + 12 + + + + + Information Source Contact Information + S + 0800 + 3 + + 366 + Contact Function Code + R + 01 + + IC + + + + 93 + Information Source Contact Name + S + 02 + + + 365 + Communication Number Qualifier + S + 03 + + ED + EM + FX + TE + UR + + + + 364 + Information Source Communication Number + S + 04 + + + 365 + Communication Number Qualifier + S + 05 + + ED + EM + EX + FX + TE + UR + + + + 364 + Information Source Communication Number + S + 06 + + + 365 + Communication Number Qualifier + S + 07 + + ED + EM + EX + FX + TE + UR + + + + 364 + Information Source Communication Number + S + 08 + + + 443 + Contact Inquiry Reference + N + 09 + + + + + Request Validation + S + 0850 + 9 + + 1073 + Valid Request Indicator + R + 01 + + N + Y + + + + 559 + Agency Qualifier Code + N + 02 + + + 901 + Reject Reason Code + R + 03 + + 04 + 41 + 42 + 79 + 80 + T4 + + + + 889 + Follow-up Action Code + R + 04 + + C + N + P + R + S + W + X + Y + + + + + + + + Information Receiver Level + S + 0100 + >1 + + Hierarchical Level + R + 0100 + 1 + + 628 + Hierarchical ID Number + R + 01 + + + 734 + Hierarchical Parent ID Number + R + 02 + + + 735 + Hierarchical Level Code + R + 03 + + 21 + + + + 736 + Hierarchical Child Code + S + 04 + + 0 + 1 + + + + + + Information Receiver Name + R + 0300 + 1 + + Information Receiver Name + R + 0300 + 1 + + 98 + Entity Identifier Code + R + 01 + + 1P + 2B + 36 + 80 + FA + GP + P5 + PR + + + + 1065 + Entity Type Qualifier + R + 02 + + 1 + 2 + + + + 1035 + Information Receiver Last or Organization Name + S + 03 + + + 1036 + Information Receiver First Name + S + 04 + + + 1037 + Information Receiver Middle Name + S + 05 + + + 1038 + Name Prefix + N + 06 + + + 1039 + Information Receiver Name Suffix + S + 07 + + + 66 + Identification Code Qualifier + R + 08 + + 24 + 34 + FI + PI + PP + SV + XV + XX + + + + 67 + Information Receiver Identification Number + R + 09 + + + 706 + Entity Relationship Code + N + 10 + + + 98 + Entity Identifier Code + N + 11 + + + 1035 + Name Last or Organization Name + N + 12 + + + + + Information Receiver Additional Identification + S + 0400 + 9 + + 128 + Reference Identification Qualifier + R + 01 + + 0B + 1C + 1D + 1J + 4A + CT + EL + EO + HPI + JD + N5 + N7 + Q4 + SY + TJ + + + + 127 + Information Receiver Additional Identifier + R + 02 + + + 352 + Information Receiver Additional Identifier State + S + 03 + + + + C040 + Reference Identifier + N + 04 + + + + + Information Receiver Address + S + 0600 + 1 + + 166 + Information Receiver Address Line + R + 01 + + + 166 + Information Receiver Additional Address Line + S + 02 + + + + + Information Receiver City, State, ZIP Code + S + 0700 + 1 + + 19 + Information Receiver City Name + R + 01 + + + 156 + Information Receiver State Code + S + 02 + + + + 116 + Information Receiver Postal Zone or ZIP Code + S + 03 + + + 26 + Country Code + S + 04 + + + + 309 + Location Qualifier + N + 05 + + CY + FI + + + + 310 + Location Identification Code + N + 06 + + + 1715 + Country Subdivision Code + S + 07 + + + + + Information Receiver Request Validation + S + 0850 + 9 + + 1073 + Valid Request Indicator + R + 01 + + N + Y + + + + 559 + Agency Qualifier Code + N + 02 + + + 901 + Reject Reason Code + R + 03 + + 15 + 41 + 43 + 44 + 45 + 46 + 47 + 48 + 50 + 51 + 79 + 97 + T4 + + + + 889 + Follow-up Action Code + R + 04 + + C + N + R + S + W + X + Y + + + + + + Information Receiver Provider Information + S + 0900 + 1 + P0203 + + 1221 + Provider Code + R + 01 + + AD + AT + BI + CO + CV + H + HH + LA + OT + P1 + P2 + PC + PE + R + RF + SB + SK + SU + + + + 128 + Reference Identification Qualifier + S + 02 + + PXC + + + + 127 + Information Receiver Provider Taxonomy Code + S + 03 + + + 156 + State or Province Code + N + 04 + + + C035 + Provider Specialty Information + N + 05 + + + 1223 + Provider Organization Code + N + 06 + + + + + + + Subscriber Level + S + 0100 + >1 + + Hierarchical Level + R + 0100 + 1 + + 628 + Hierarchical ID Number + R + 01 + + + 734 + Hierarchical Parent ID Number + R + 02 + + + 735 + Hierarchical Level Code + R + 03 + + 22 + + + + 736 + Hierarchical Child Code + S + 04 + + 0 + 1 + + + + + + Subscriber Trace Number + S + 0200 + 3 + + 481 + Trace Type Code + R + 01 + + 1 + 2 + + + + 127 + Trace Number + R + 02 + + + 509 + Trace Assigning Entity Identifier + R + 03 + + + 127 + Trace Assigning Entity Additional Identifier + S + 04 + + + + + Subscriber Name + R + 0300 + 1 + + Subscriber Name + R + 0300 + 1 + + 98 + Entity Identifier Code + R + 01 + + IL + + + + 1065 + Entity Type Qualifier + R + 02 + + 1 + 2 + + + + 1035 + Subscriber Last Name + S + 03 + + + 1036 + Subscriber First Name + S + 04 + + + 1037 + Subscriber Middle Name + S + 05 + + + 1038 + Subscriber Name Prefix + N + 06 + + + 1039 + Subscriber Name Suffix + S + 07 + + + 66 + Identification Code Qualifier + S + 08 + + II + MI + ZZ + + + + 67 + Subscriber Primary Identifier + S + 09 + + + 706 + Entity Relationship Code + N + 10 + + + 98 + Entity Identifier Code + N + 11 + + + 1035 + Name Last or Organization Name + N + 12 + + + + + Subscriber Additional Identification + S + 0400 + 9 + + 128 + Reference Identification Qualifier + R + 01 + + 18 + 1L + 1W + 3H + 49 + 6P + CE + CT + A6 + EA + EJ + F6 + GH + HJ + IF + IG + ML + N6 + NQ + Q4 + SY + Y4 + + + + 127 + Subscriber Supplemental Identifier + R + 02 + + + 352 + Plan, Group or Plan Network Name + S + 03 + + + C040 + Reference Identifier + N + 04 + + + + + Subscriber Address + S + 0600 + 1 + + 166 + Subscriber Address Line 1 + R + 01 + + + 166 + Subscriber Address Line 2 + S + 02 + + + + + Subscriber City/State/ZIP Code + S + 0700 + 1 + + 19 + Subscriber City Name + R + 01 + + + 156 + Subscriber State Code + S + 02 + + + + 116 + Subscriber Postal Zone or ZIP Code + S + 03 + + + 26 + Country Code + S + 04 + + + + 309 + Location Qualifier + N + 05 + + CY + FI + + + + 310 + Location Identification Code + N + 06 + + + 1715 + Country Subdivision Code + S + 07 + + + + + Subscriber Request Validation + S + 0850 + 9 + + 1073 + Valid Request Indicator + R + 01 + + N + Y + + + + 559 + Agency Qualifier Code + N + 02 + + + 901 + Reject Reason Code + R + 03 + + 15 + 35 + 42 + 43 + 45 + 47 + 48 + 49 + 51 + 52 + 56 + 57 + 58 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + + + + 889 + Follow-up Action Code + R + 04 + + C + N + R + S + W + X + Y + + + + + + Provider Information + S + 0900 + 1 + P0203 + + 1221 + Provider Code + R + 01 + + AD + AT + BI + CO + CV + H + HH + LA + OT + P1 + P2 + PC + PE + R + RF + SB + SK + SU + + + + 128 + Reference Identification Qualifier + S + 02 + + PXC + + + + 127 + Provider Identifier + S + 03 + + + 156 + State or Province Code + N + 04 + + + C035 + Provider Specialty Information + N + 05 + + + 1223 + Provider Organization Code + N + 06 + + + + + Subscriber Demographic Information + S + 1000 + 1 + + 1250 + Date Time Period Format Qualifier + S + 01 + + D8 + + + + 1251 + Subscriber Birth Date + S + 02 + + + 1068 + Subscriber Gender Code + S + 03 + + F + M + U + + + + 1067 + Marital Status Code + N + 04 + + + 1109 + Race or Ethnicity Code + N + 05 + + + 1066 + Citizenship Status Code + N + 06 + + + 26 + Country Code + N + 07 + + + 659 + Basis of Verification Code + N + 08 + + + 380 + Quantity + N + 09 + + + + + Subscriber Relationship + S + 1100 + 1 + + 1073 + Insured Indicator + R + 01 + + Y + + + + 1069 + Individual Relationship Code + R + 02 + + 18 + + + + 875 + Maintenance Type Code + S + 03 + + 001 + + + + 1203 + Maintenance Reason Code + S + 04 + + 25 + + + + 1216 + Benefit Status Code + N + 05 + + + 1218 + Medicare Plan Code + N + 06 + + + 1219 + Consolidated Omnibus Budget Reconciliation Act (COBRA) + Qualifying Event Code + N + 07 + + + 584 + Employment Status Code + N + 08 + + + 1220 + Student Status Code + N + 09 + + F + N + P + + + + 1073 + Handicap Indicator + N + 10 + + N + Y + + + + 1250 + Date Time Period Format Qualifier + N + 11 + + + 1251 + Date Time Period + N + 12 + + + 1165 + Confidentiality Code + N + 13 + + + 19 + City Name + N + 14 + + + 156 + State or Province Code + N + 15 + + + 26 + Country Code + N + 16 + + + 1470 + Birth Sequence Number + S + 17 + + + + + Subscriber Health Care Diagnosis Code + S + 1150 + 1 + + C022 + Health Care Code Information + R + 01 + + 1270 + Diagnosis Type Code + R + 01 + + ABK + BK + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 02 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 03 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 04 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 05 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 06 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 07 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 08 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + + + Subscriber Date + S + 1200 + 9 + + 374 + Date Time Qualifier + R + 01 + + 096 + 102 + 152 + 291 + 307 + 318 + 340 + 341 + 342 + 343 + 346 + 347 + 356 + 357 + 382 + 435 + 442 + 458 + 472 + 539 + 540 + 636 + 771 + + + + 1250 + Date Time Period Format Qualifier + R + 02 + + D8 + RD8 + + + + 1251 + Date Time Period + R + 03 + + + + + Subscriber Military Personnel Information + S + 1275 + 1 + + 1201 + Information Status Code + R + 01 + + A + C + L + O + P + S + T + + + + 584 + Employment Status Code + R + 02 + + AE + AO + AS + AT + AU + CC + DD + HD + IR + LX + PE + RE + RM + RR + RU + + + + 1595 + Government Service Affiliation Code + R + 03 + + A + B + C + D + E + F + G + H + I + J + K + L + M + N + O + Q + R + S + U + W + + + + 352 + Description + S + 04 + + + 1596 + Military Service Rank Code + S + 05 + + A1 + A2 + A3 + B1 + B2 + C1 + C2 + C3 + C4 + C5 + C6 + C7 + C8 + C9 + E1 + F1 + F2 + F3 + F4 + G1 + G4 + L1 + L2 + L3 + L4 + L5 + L6 + M1 + M2 + M3 + M4 + M5 + M6 + P1 + P2 + P3 + P4 + P5 + R1 + R2 + S1 + S2 + S3 + S4 + S5 + S6 + S7 + S8 + S9 + SA + SB + SC + T1 + V1 + W1 + + + + 1250 + Date Time Period Format Qualifier + S + 06 + + D8 + RD8 + + + + 1251 + Date Time Period + S + 07 + + + + + Subscriber Eligibility or Benefit Information + S + 1300 + >1 + + Subscriber Eligibility or Benefit Information + R + 1300 + 1 + + 1390 + Eligibility or Benefit Information + R + 01 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + A + B + C + D + E + F + G + H + I + J + K + L + M + N + O + P + Q + R + S + T + U + V + W + X + Y + CB + MC + + + + 1207 + Benefit Coverage Level Code + S + 02 + + CHD + DEP + ECH + EMP + ESP + FAM + IND + SPC + SPO + + + + 1365 + Service Type Code + S + 03 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 30 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + A0 + A1 + A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9 + AA + AB + AC + AD + AE + AF + AG + AH + AI + AJ + AK + AL + AM + AN + AO + AQ + AR + B1 + B2 + B3 + BA + BB + BC + BD + BE + BF + BG + BH + BI + BJ + BK + BL + BM + BN + BP + BQ + BR + BS + BT + BU + BV + BW + BX + BY + BZ + C1 + CA + CB + CC + CD + CE + CF + CG + CH + CI + CJ + CK + CL + CM + CN + CO + CP + CQ + DG + DM + DS + GF + GN + GY + IC + MH + NI + ON + PT + PU + RN + RT + TC + TN + UC + + + + 1336 + Insurance Type Code + S + 04 + + D + 12 + 13 + 14 + 15 + 16 + 41 + 42 + 43 + 47 + AP + C1 + CO + CP + DB + EP + FF + GP + HM + HN + HS + IN + IP + LC + LD + LI + LT + MA + MB + MC + MH + MI + MP + OT + PE + PL + PP + PR + PS + QM + RP + SP + TF + WC + WU + + + + 1204 + Plan Coverage Description + S + 05 + + + 615 + Time Period Qualifier + S + 06 + + 6 + 7 + 13 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + + + + 782 + Benefit Amount + S + 07 + + + 954 + Benefit Percent + S + 08 + + + 673 + Quantity Qualifier + S + 09 + + 8H + 99 + CA + CE + D3 + DB + DY + HS + LA + LE + M2 + MN + P6 + QA + S7 + S8 + VS + YY + + + + 380 + Benefit Quantity + S + 10 + + + 1073 + Authorization or Certification Indicator + S + 11 + + N + U + Y + + + + 1073 + In Plan Network Indicator + S + 12 + + N + U + W + Y + + + + C003 + Composite Medical Procedure Identifier + S + 13 + + 235 + Product or Service ID Qualifier + R + 01 + + AD + CJ + HC + ID + IV + N4 + ZZ + + + + 234 + Procedure Code + R + 02 + + + 1339 + Procedure Modifier + S + 03 + + + 1339 + Procedure Modifier + S + 04 + + + 1339 + Procedure Modifier + S + 05 + + + 1339 + Procedure Modifier + S + 06 + + + 352 + Description + N + 07 + + + 234 + Product or Service ID + S + 08 + + + + C004 + Composite Diagnosis Code Pointer + S + 14 + + 1328 + Diagnosis Code Pointer + R + 01 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 02 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 03 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 04 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + + + + Health Care Services Delivery + S + 1350 + 9 + + 673 + Quantity Qualifier + S + 01 + + DY + FL + HS + MN + VS + + + + 380 + Benefit Quantity + S + 02 + + + 355 + Unit or Basis for Measurement Code + S + 03 + + DA + MO + VS + WK + YR + + + + 1167 + Sample Selection Modulus + S + 04 + + + 615 + Time Period Qualifier + S + 05 + + 6 + 7 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + + + + 616 + Period Count + S + 06 + + + 678 + Delivery Frequency Code + S + 07 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + A + B + C + D + E + F + G + H + J + K + L + M + N + O + P + Q + R + S + T + U + V + W + X + Y + SG + SL + SP + SX + SY + SZ + + + + 679 + Delivery Pattern Time Code + S + 08 + + A + B + C + D + E + F + G + Y + + + + + + Subscriber Additional Identification + S + 1400 + 9 + + 128 + Reference Identification Qualifier + R + 01 + + 1L + 1W + 6P + 9F + 18 + 49 + ALS + CLI + F6 + FO + G1 + IG + M7 + N6 + NQ + + + + 127 + Subscriber Eligibility or Benefit Identifier + R + 02 + + + 352 + Plan, Group or Plan Network Name + S + 03 + + + C040 + Reference Identifier + N + 04 + + + + + Subscriber Eligibility/Benefit Date + S + 1500 + 20 + + 374 + Date Time Qualifier + R + 01 + + 096 + 193 + 194 + 198 + 290 + 291 + 292 + 295 + 304 + 307 + 318 + 346 + 348 + 349 + 356 + 357 + 435 + 472 + 636 + 771 + + + + 1250 + Date Time Period Format Qualifier + R + 02 + + D8 + RD8 + + + + 1251 + Eligibility or Benefit Date Time Period + R + 03 + + + + + Subscriber Request Validation + S + 1600 + 9 + + 1073 + Valid Request Indicator + R + 01 + + N + Y + + + + 559 + Agency Qualifier Code + N + 02 + + + 901 + Reject Reason Code + R + 03 + + 15 + 33 + 52 + 53 + 54 + 55 + 56 + 57 + 60 + 61 + 62 + 63 + 69 + 70 + 98 + AA + AE + AF + AG + AO + CI + E8 + IA + MA + + + + 889 + Follow-up Action Code + R + 04 + + C + N + R + W + X + Y + + + + + + Message Text + S + 2500 + 10 + + 933 + Free Form Message Text + R + 01 + + + 934 + Printer Carriage Control Code + N + 02 + + + 1470 + Number + N + 03 + + + + + Subscriber Eligibility or Benefit Additional + Information + S + 2600 + 10 + + Subscriber Eligibility or Benefit Additional + Information + R + 2600 + 1 + + 1270 + Code List Qualifier Code + R + 01 + + GR + NI + ZZ + + + + 1271 + Industry Code + S + 02 + + + 1136 + Code Category + S + 03 + + 44 + + + + 933 + Injured Body Part Name + S + 04 + + + 380 + Quantity + N + 05 + + + C001 + Composite Unit of Measure + N + 06 + + + 752 + Surface/Layer/Position Code + N + 07 + + + 752 + Surface/Layer/Position Code + N + 08 + + + 752 + Surface/Layer/Position Code + N + 09 + + + + + + + Subscriber Benefit Related Entity Name + S + 3300 + 23 + + Loop Header + S + 3300 + 1 + + 447 + Loop Identifier Code + R + 01 + + + + + Subscriber Benefit Related Entity Name + R + 3400 + 1 + + 98 + Entity Identifier Code + R + 01 + + 1I + 1P + 2B + 13 + 36 + 73 + FA + GP + GW + I3 + IL + LR + OC + P3 + P4 + P5 + PR + PRP + SEP + TTP + VER + VN + VY + X3 + Y2 + + + + 1065 + Entity Type Qualifier + R + 02 + + 1 + 2 + + + + 1035 + Benefit Related Entity Last or Organization Name + + S + 03 + + + 1036 + Benefit Related Entity First Name + S + 04 + + + 1037 + Benefit Related Entity Middle Name + S + 05 + + + 1038 + Name Prefix + N + 06 + + + 1039 + Benefit Related Entity Name Suffix + S + 07 + + + 66 + Identification Code Qualifier + S + 08 + + 24 + 34 + 46 + FA + FI + II + MI + NI + PI + PP + SV + XV + XX + + + + 67 + Benefit Related Entity Identifier + S + 09 + + + 706 + Benefit Related Entity Relationship Code + S + 10 + + 01 + 02 + 27 + 41 + 48 + 65 + 72 + + + + 98 + Entity Identifier Code + N + 11 + + + + + Subscriber Benefit Related Entity Address + S + 3600 + 1 + + 166 + Benefit Related Entity Address Line 1 + R + 01 + + + 166 + Benefit Related Entity Address Line 2 + S + 02 + + + + + Subscriber Benefit Related City/State/ZIP Code + S + 3700 + 1 + + 19 + Benefit Related Entity City Name + R + 01 + + + 156 + Benefit Related Entity State Code + S + 02 + + + + 116 + Benefit Related Entity Postal Zone or ZIP Code + S + 03 + + + 26 + Country Code + S + 04 + + + + 309 + Location Qualifier + S + 05 + + RJ + + + + 310 + Department of Defense Health Service Region Code + + S + 06 + + + 1715 + Country Subdivision Code + + S + 07 + + + + + Subscriber Benefit Related Entity Contact Information + + S + 3800 + 3 + + 366 + Contact Function Code + R + 01 + + IC + + + + 93 + Benefit Related Entity Contact Name + S + 02 + + + 365 + Communication Number Qualifier + S + 03 + + ED + EM + FX + TE + UR + WP + + + + 364 + Benefit Related Entity Communication Number + S + 04 + + + 365 + Communication Number Qualifier + S + 05 + + ED + EM + EX + FX + TE + UR + WP + + + + 364 + Benefit Related Entity Communication Number + S + 06 + + + 365 + Communication Number Qualifier + S + 07 + + ED + EM + EX + FX + TE + UR + WP + + + + 364 + Benefit Related Entity Communication Number + S + 08 + + + 443 + Contact Inquiry Reference + N + 09 + + + + + Subscriber Benefit Related Provider Information + S + 3900 + 1 + + 1221 + Provider Code + R + 01 + + AD + H + R + AT + BI + CO + CV + HH + LA + OT + P1 + P2 + PC + PE + RF + SB + SK + SU + + + + 128 + Reference Identification Qualifier + S + 02 + + PXC + + + + 127 + Provider Taxonomy Code + S + 03 + + + 156 + State or Province Code + N + 04 + + + C035 + Provider Specialty Information + N + 05 + + + 1223 + Provider Organization Code + N + 06 + + + + + Loop Trailer + S + 4000 + 1 + + 447 + Loop Identifier Code + R + 01 + + + + + + + + + + + Dependent Level + S + 0100 + >1 + + Hierarchical Level + R + 0100 + 1 + + 628 + Hierarchical ID Number + R + 01 + + + 734 + Hierarchical Parent ID Number + R + 02 + + + 735 + Hierarchical Level Code + R + 03 + + 23 + + + + 736 + Hierarchical Child Code + S + 04 + + 0 + + + + + + Dependent Trace Number + S + 0200 + 3 + + 481 + Trace Type Code + R + 01 + + 1 + 2 + + + + 127 + Trace Number + R + 02 + + + 509 + Trace Assigning Entity Identifier + R + 03 + + + 127 + Trace Assigning Entity Additional Identifier + S + 04 + + + + + Dependent Name + R + 0300 + 1 + + Dependent Name + R + 0300 + 1 + + 98 + Entity Identifier Code + R + 01 + + 03 + + + + 1065 + Entity Type Qualifier + R + 02 + + 1 + + + + 1035 + Dependent Last Name + S + 03 + + + 1036 + Dependent First Name + S + 04 + + + 1037 + Dependent Middle Name + S + 05 + + + 1038 + Name Prefix + N + 06 + + + 1039 + Dependent Name Suffix + S + 07 + + + 66 + Identification Code Qualifier + N + 08 + + MI + ZZ + + + + 67 + Dependent Primary Identifier + N + 09 + + + 706 + Entity Relationship Code + N + 10 + + + 98 + Entity Identifier Code + N + 11 + + + + + Dependent Additional Identification + S + 0400 + 9 + + 128 + Reference Identification Qualifier + R + 01 + + 1L + 1W + 6P + 18 + 49 + CE + CT + EA + EJ + F6 + GH + HJ + IF + IG + MRC + N6 + NQ + Q4 + SY + Y4 + + + + 127 + Dependent Supplemental Identifier + R + 02 + + + 352 + Plan, Group or Plan Network Name + S + 03 + + + C040 + Reference Identifier + N + 04 + + + + + Dependent Address + S + 0600 + 1 + + 166 + Dependent Address Line 1 + R + 01 + + + 166 + Dependent Address Line 2 + S + 02 + + + + + Dependent City/State/ZIP Code + S + 0700 + 1 + + 19 + Dependent City Name + R + 01 + + + 156 + Dependent State Code + S + 02 + + + + 116 + Dependent Postal Zone or ZIP Code + S + 03 + + + 26 + Country Code + S + 04 + + + + 309 + Location Qualifier + N + 05 + + + 310 + Location Identifier + N + 06 + + + 1715 + Country Subdivision Code + S + 07 + + + + + Dependent Request Validation + S + 0850 + 9 + + 1073 + Valid Request Indicator + R + 01 + + N + Y + + + + 559 + Agency Qualifier Code + N + 02 + + + 901 + Reject Reason Code + R + 03 + + 15 + 35 + 42 + 43 + 45 + 47 + 48 + 49 + 51 + 52 + 56 + 57 + 58 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 71 + 77 + + + + 889 + Follow-up Action Code + R + 04 + + C + N + R + S + W + X + Y + + + + + + Provider Information + S + 0900 + 1 + P0203 + + 1221 + Provider Code + R + 01 + + AD + AT + BI + CO + CV + H + HH + LA + OT + P1 + P2 + PC + PE + R + RF + SB + SK + SU + + + + 128 + Reference Identification Qualifier + S + 02 + + PXC + + + + 127 + Provider Identifier + S + 03 + + + 156 + State or Province Code + N + 04 + + + C035 + Provider Specialty Information + N + 05 + + + 1223 + Provider Organization Code + N + 06 + + + + + Dependent Demographic Information + S + 1000 + 1 + + 1250 + Date Time Period Format Qualifier + S + 01 + + D8 + + + + 1251 + Dependent Birth Date + S + 02 + + + 1068 + Dependent Gender Code + S + 03 + + F + M + U + + + + 1067 + Marital Status Code + N + 04 + + + 1109 + Race or Ethnicity Code + N + 05 + + + 1066 + Citizenship Status Code + N + 06 + + + 26 + Country Code + N + 07 + + + 659 + Basis of Verification Code + N + 08 + + + 380 + Quantity + N + 09 + + + + + Dependent Relationship + S + 1100 + 1 + + 1073 + Insured Indicator + R + 01 + + N + + + + 1069 + Individual Relationship Code + R + 02 + + 01 + 19 + 20 + 21 + 39 + 40 + 53 + G8 + + + + 875 + Maintenance Type Code + S + 03 + + 001 + + + + 1203 + Maintenance Reason Code + S + 04 + + 25 + + + + 1216 + Benefit Status Code + N + 05 + + + 1218 + Medicare Plan Code + N + 06 + + + 1219 + Consolidated Omnibus Budget Reconciliation Act (COBRA) + Qualifying Event Code + N + 07 + + + 584 + Employment Status Code + N + 08 + + + 1220 + Student Status Code + N + 09 + + F + N + P + + + + 1073 + Handicap Indicator + N + 10 + + N + Y + + + + 1250 + Date Time Period Format Qualifier + N + 11 + + + 1251 + Date Time Period + N + 12 + + + 1165 + Confidentiality Code + N + 13 + + + 19 + City Name + N + 14 + + + 156 + State or Province Code + N + 15 + + + 26 + Country Code + N + 16 + + + 1470 + Birth Sequence Number + S + 17 + + + + + Dependent Health Care Diagnosis Code + S + 1150 + 1 + + C022 + Health Care Code Information + R + 01 + + 1270 + Diagnosis Type Code + R + 01 + + ABK + BK + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 02 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 03 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 04 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 05 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 06 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 07 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + C022 + Health Care Code Information + S + 08 + + 1270 + Diagnosis Type Code + R + 01 + + ABF + BF + + + + 1271 + Diagnosis Code + R + 02 + + + 1250 + Date Time Period Format Qualifier + N + 03 + + + 1251 + Date Time Period + N + 04 + + + 782 + Monetary Amount + N + 05 + + + 380 + Quantity + N + 06 + + + 799 + Version Identifier + N + 07 + + + 1271 + Industry Code + N + 08 + + + 1073 + Yes/No Condition or Response Code + N + 09 + + + + + + Dependent Date + S + 1200 + 9 + + 374 + Date Time Qualifier + R + 01 + + 096 + 102 + 152 + 291 + 307 + 318 + 340 + 341 + 342 + 343 + 346 + 347 + 356 + 357 + 382 + 435 + 442 + 458 + 472 + 539 + 540 + 636 + 771 + + + + 1250 + Date Time Period Format Qualifier + R + 02 + + D8 + RD8 + + + + 1251 + Date Time Period + R + 03 + + + + + Dependent Military Personnel Information + S + 1275 + 1 + + 1201 + Information Status Code + R + 01 + + A + C + L + O + P + S + T + + + + 584 + Employment Status Code + R + 02 + + AE + AO + AS + AT + AU + CC + DD + HD + IR + LX + PE + RE + RM + RR + RU + + + + 1595 + Government Service Affiliation Code + R + 03 + + A + B + C + D + E + F + G + H + I + J + K + L + M + N + O + Q + R + S + U + W + + + + 352 + Description + S + 04 + + + 1596 + Military Service Rank Code + S + 05 + + A1 + A2 + A3 + B1 + B2 + C1 + C2 + C3 + C4 + C5 + C6 + C7 + C8 + C9 + E1 + F1 + F2 + F3 + F4 + G1 + G4 + L1 + L2 + L3 + L4 + L5 + L6 + M1 + M2 + M3 + M4 + M5 + M6 + P1 + P2 + P3 + P4 + P5 + R1 + R2 + S1 + S2 + S3 + S4 + S5 + S6 + S7 + S8 + S9 + SA + SB + SC + T1 + V1 + W1 + + + + 1250 + Date Time Period Format Qualifier + S + 06 + + D8 + RD8 + + + + 1251 + Date Time Period + S + 07 + + + + + Dependent Eligibility or Benefit Information + S + 1300 + >1 + + Dependent Eligibility or Benefit Information + R + 1300 + 1 + + 1390 + Eligibility or Benefit Information + R + 01 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + A + B + C + CB + D + E + F + G + H + I + J + K + L + M + MC + N + O + P + Q + R + S + T + U + V + W + X + Y + + + + 1207 + Benefit Coverage Level Code + S + 02 + + CHD + DEP + ECH + ESP + FAM + IND + SPC + SPO + + + + 1365 + Service Type Code + S + 03 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 30 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + A0 + A1 + A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9 + AA + AB + AC + AD + AE + AF + AG + AH + AI + AJ + AK + AL + AM + AN + AO + AQ + AR + B1 + B2 + B3 + BA + BB + BC + BD + BE + BF + BG + BH + BI + BJ + BK + BL + BM + BN + BP + BQ + BR + BS + BT + BU + BV + BW + BX + BY + BZ + C1 + CA + CB + CC + CD + CE + CF + CG + CH + CI + CJ + CK + CL + CM + CN + CO + CP + CQ + DG + DM + DS + GF + GN + GY + IC + MH + NI + ON + PT + PU + RN + RT + TC + TN + UC + + + + 1336 + Insurance Type Code + S + 04 + + D + 12 + 13 + 14 + 15 + 16 + 41 + 42 + 43 + 47 + AP + C1 + CO + CP + DB + EP + FF + GP + HM + HN + HS + IN + IP + LC + LD + LI + LT + MA + MB + MC + MH + MI + MP + OT + PE + PL + PP + PR + PS + QM + RP + SP + TF + WC + WU + + + + 1204 + Plan Coverage Description + S + 05 + + + 615 + Time Period Qualifier + S + 06 + + 6 + 7 + 13 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + + + + 782 + Benefit Amount + S + 07 + + + 954 + Benefit Percent + S + 08 + + + 673 + Quantity Qualifier + S + 09 + + 8H + 99 + CA + CE + D3 + DB + DY + HS + LA + LE + M2 + MN + P6 + QA + S7 + S8 + VS + YY + + + + 380 + Benefit Quantity + S + 10 + + + 1073 + Authorization or Certification Indicator + S + 11 + + N + U + Y + + + + 1073 + In Plan Network Indicator + S + 12 + + N + U + W + Y + + + + C003 + Composite Medical Procedure Identifier + S + 13 + + 235 + Product or Service ID Qualifier + R + 01 + + AD + CJ + HC + ID + IV + N4 + ZZ + + + + 234 + Procedure Code + R + 02 + + + 1339 + Procedure Modifier + S + 03 + + + 1339 + Procedure Modifier + S + 04 + + + 1339 + Procedure Modifier + S + 05 + + + 1339 + Procedure Modifier + S + 06 + + + 352 + Description + N + 07 + + + 234 + Product or Service ID + S + 08 + + + + C004 + Composite Diagnosis Code Pointer + S + 14 + + 1328 + Diagnosis Code Pointer + R + 01 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 02 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 03 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + 1328 + Diagnosis Code Pointer + S + 04 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + + + + + + + Health Care Services Delivery + S + 1350 + 9 + + 673 + Quantity Qualifier + S + 01 + + DY + FL + HS + MN + VS + + + + 380 + Benefit Quantity + S + 02 + + + 355 + Unit or Basis for Measurement Code + S + 03 + + DA + MO + VS + WK + YR + + + + 1167 + Sample Selection Modulus + S + 04 + + + 615 + Qualifier + S + 05 + + 6 + 7 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + + + + 616 + Period Count + S + 06 + + + 678 + Delivery Frequency Code + S + 07 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + A + B + C + D + E + F + G + H + J + K + L + M + N + O + P + Q + R + S + T + U + V + W + X + Y + SG + SL + SP + SX + SY + SZ + + + + 679 + Delivery Pattern Time Code + S + 08 + + A + B + C + D + E + F + G + Y + + + + + + Dependent Additional Identification + S + 1400 + 9 + + 128 + Reference Identification Qualifier + R + 01 + + 18 + 1L + 1W + 49 + 6P + 9F + ALS + CLI + A6 + F6 + FO + G1 + IG + N6 + NQ + + + + 127 + Dependent Eligibility or Benefit Identifier + R + 02 + + + 352 + Plan, Group or Plan Network Name + S + 03 + + + C040 + Reference Identifier + N + 04 + + + + + Dependent Eligibility/Benefit Date + S + 1500 + 20 + + 374 + Date Time Qualifier + R + 01 + + 096 + 193 + 194 + 198 + 290 + 291 + 292 + 295 + 304 + 307 + 318 + 348 + 349 + 356 + 357 + 435 + 472 + 636 + 771 + + + + 1250 + Date Time Period Format Qualifier + R + 02 + + D8 + RD8 + + + + 1251 + Eligibility or Benefit Date Time Period + R + 03 + + + + + Dependent Request Validation + S + 1600 + 9 + + 1073 + Valid Request Indicator + R + 01 + + N + Y + + + + 559 + Agency Qualifier Code + N + 02 + + + 901 + Reject Reason Code + R + 03 + + 15 + 33 + 52 + 53 + 54 + 55 + 56 + 57 + 60 + 61 + 62 + 63 + 69 + 70 + 98 + AA + AE + AF + AG + AO + CI + E8 + IA + MA + + + + 889 + Follow-up Action Code + R + 04 + + C + N + R + W + X + Y + + + + + + Message Text + S + 2500 + 10 + + 933 + Free Form Message Text + R + 01 + + + 934 + Printer Carriage Control Code + N + 02 + + + 1470 + Number + N + 03 + + + + + Dependent Eligibility or Benefit Additional + Information + S + 2600 + 10 + + Dependent Eligibility or Benefit Additional + Information + R + 2600 + 1 + + 1270 + Code List Qualifier Code + R + 01 + + GR + NI + ZZ + + + + 1271 + Industry Code + S + 02 + + + 1136 + Code Category + S + 03 + + 44 + + + + 933 + Injured Body Part Name + S + 04 + + + 380 + Quantity + N + 05 + + + C001 + Composite Unit of Measure + N + 06 + + + 752 + Surface/Layer/Position Code + N + 07 + + + 752 + Surface/Layer/Position Code + N + 08 + + + 752 + Surface/Layer/Position Code + N + 09 + + + + + + + Dependent Benefit Related Entity Name + S + 3300 + 23 + + Loop Header + S + 3300 + 1 + + 447 + Loop Identifier Code + R + 01 + + + + + Dependent Benefit Related Entity Name + R + 3400 + 1 + + 98 + Entity Identifier Code + R + 01 + + 1I + 1P + 2B + 13 + 36 + 73 + FA + GP + GW + I3 + IL + LR + OC + P3 + P4 + P5 + PR + PRP + SEP + TTP + VER + VN + VY + X3 + Y2 + + + + 1065 + Entity Type Qualifier + R + 02 + + 1 + 2 + + + + 1035 + Benefit Related Entity Last or Organization Name + + S + 03 + + + 1036 + Benefit Related Entity First Name + S + 04 + + + 1037 + Benefit Related Entity Middle Name + S + 05 + + + 1038 + Name Prefix + N + 06 + + + 1039 + Benefit Related Entity Name Suffix + S + 07 + + + 66 + Identification Code Qualifier + S + 08 + + 24 + 34 + 46 + FA + FI + II + MI + NI + PI + PP + SV + XV + XX + + + + 67 + Benefit Related Entity Identifier + S + 09 + + + 706 + Benefit Related Entity Relationship Code + S + 10 + + 01 + 02 + 27 + 41 + 48 + 65 + 72 + + + + 98 + Entity Identifier Code + N + 11 + + + + + Dependent Benefit Related Entity Address + S + 3600 + 1 + + 166 + Benefit Related Entity Address Line 1 + R + 01 + + + 166 + Benefit Related Entity Address Line 2 + S + 02 + + + + + Dependent Benefit Related Entity City/State/ZIP Code + + S + 3700 + 1 + + 19 + Benefit Related Entity City Name + R + 01 + + + 156 + Benefit Related Entity State Code + S + 02 + + + + 116 + Benefit Related Entity Postal Zone or ZIP Code + + S + 03 + + + 26 + Country Code + S + 04 + + + + 309 + Location Qualifier + S + 05 + + RJ + + + + 310 + Department of Defense Health Service Region Code + + S + 06 + + + 1715 + Country Subdivision Code + + S + 07 + + + + + Dependent Benefit Related Entity Contact Information + + S + 3800 + 3 + + 366 + Contact Function Code + R + 01 + + IC + + + + 93 + Benefit Related Entity Contact Name + S + 02 + + + 365 + Communication Number Qualifier + S + 03 + + ED + EM + FX + TE + UR + WP + + + + 364 + Benefit Related Entity Communication Number + S + 04 + + + 365 + Communication Number Qualifier + S + 05 + + ED + EM + EX + FX + TE + UR + WP + + + + 364 + Benefit Related Entity Communication Number + S + 06 + + + 365 + Communication Number Qualifier + S + 07 + + ED + EM + EX + FX + TE + UR + WP + + + + 364 + Benefit Related Entity Communication Number + S + 08 + + + 443 + Contact Inquiry Reference + N + 09 + + + + + Dependent Benefit Related Provider Information + S + 3900 + 1 + + 1221 + Provider Code + R + 01 + + AD + H + R + AT + BI + CO + CV + HH + LA + OT + P1 + P2 + PC + PE + RF + SB + SK + SU + + + + 128 + Reference Identification Qualifier + S + 02 + + PXC + + + + 127 + Provider Taxonomy Code + S + 03 + + + 156 + State or Province Code + N + 04 + + + C035 + Provider Specialty Information + N + 05 + + + 1223 + Provider Organization Code + N + 06 + + + + + Loop Trailer + S + 4000 + 1 + + 447 + Loop Identifier Code + R + 01 + + + + + + + + + + + + + + + + + + + + + + + Transaction Set Trailer + R + 4100 + 1 + + 96 + Transaction Segment Count + R + 01 + + + 329 + Transaction Set Control Number + R + 02 + + + + + + + Functional Group Trailer + R + 0300 + 1 + + 97 + Number of Transaction Sets Included + R + 01 + + + 28 + Group Control Number + R + 02 + + + + + + + Interchange Control Trailer + R + 0300 + 1 + + I16 + Number of Included Functional Groups + R + 01 + + + I12 + Interchange Control Number + R + 02 + + + + + + \ No newline at end of file From 920576c1256f73be6ae112bedba13152e72c78f5 Mon Sep 17 00:00:00 2001 From: Anup Chaudhari Date: Mon, 24 Jun 2024 16:02:57 +0530 Subject: [PATCH 2/4] # Added 270 & 271 mapping file support --- src/main/java/com/imsweb/x12/reader/X12Reader.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/com/imsweb/x12/reader/X12Reader.java b/src/main/java/com/imsweb/x12/reader/X12Reader.java index 5753007..5205e4b 100644 --- a/src/main/java/com/imsweb/x12/reader/X12Reader.java +++ b/src/main/java/com/imsweb/x12/reader/X12Reader.java @@ -53,6 +53,7 @@ public class X12Reader { private static final String _X214_ANSI_VERSION = "005010X214"; private static final String _X270_271_092_ANSI_VERSION = "004010X092A1"; private static final String _X212_ANSI_VERSION = "005010X212"; + private static final String _X270_271_279_ANSI_VERSION = "005010X279A1"; private static final EnumMap _TYPES = new EnumMap<>(FileType.class); private List _errors = new ArrayList<>(); @@ -79,6 +80,8 @@ public enum FileType { ANSI277_5010_X214("mapping/277.5010.X214.xml"), ANSI270_4010_X092("mapping/270.4010.X092.A1.xml"), ANSI271_4010_X092("mapping/271.4010.X092.A1.xml"), + ANSI270_5010_X279("mapping/270.5010.X279.A1.xml"), + ANSI271_5010_X279("mapping/271.5010.X279.A1.xml"), ANSI277_5010_X212("mapping/277.5010.X212.xml"); private final String _mapping; @@ -120,6 +123,8 @@ public synchronized TransactionDefinition getDefinition() { _TYPES.put(FileType.ANSI837_5010_X231, _X231_ANSI_VERSION); _TYPES.put(FileType.ANSI270_4010_X092, _X270_271_092_ANSI_VERSION); _TYPES.put(FileType.ANSI271_4010_X092, _X270_271_092_ANSI_VERSION); + _TYPES.put(FileType.ANSI270_5010_X279, _X270_271_279_ANSI_VERSION); + _TYPES.put(FileType.ANSI271_5010_X279, _X270_271_279_ANSI_VERSION); _TYPES.put(FileType.ANSI277_5010_X212, _X212_ANSI_VERSION); } @@ -771,6 +776,13 @@ private LoopConfig getFinalizedMatch(String previousLoopId, List mat if (parentLoop != null) result = matchedLoops.stream().filter(matchedLoop -> parentLoop.equals(getParentLoop(matchedLoop.getLoopId(), null))).findFirst().orElse(null); } + + // otherwise, if one of the ambiguous loops is the parent of the previous loop then we should use that loop + if (result == null) { + String parentLoop = getParentLoop(previousLoopId, null); + if (parentLoop != null) + result = matchedLoops.stream().filter(matchedLoop -> parentLoop.equals(matchedLoop.getLoopId())).findFirst().orElse(null); + } break; } } From 9ab51116827e0029d193ef5a0890f66880199bd3 Mon Sep 17 00:00:00 2001 From: Anup Chaudhari Date: Mon, 24 Jun 2024 18:00:21 +0530 Subject: [PATCH 3/4] # Removed tab character --- src/main/java/com/imsweb/x12/reader/X12Reader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/imsweb/x12/reader/X12Reader.java b/src/main/java/com/imsweb/x12/reader/X12Reader.java index 5205e4b..f19353d 100644 --- a/src/main/java/com/imsweb/x12/reader/X12Reader.java +++ b/src/main/java/com/imsweb/x12/reader/X12Reader.java @@ -124,7 +124,7 @@ public synchronized TransactionDefinition getDefinition() { _TYPES.put(FileType.ANSI270_4010_X092, _X270_271_092_ANSI_VERSION); _TYPES.put(FileType.ANSI271_4010_X092, _X270_271_092_ANSI_VERSION); _TYPES.put(FileType.ANSI270_5010_X279, _X270_271_279_ANSI_VERSION); - _TYPES.put(FileType.ANSI271_5010_X279, _X270_271_279_ANSI_VERSION); + _TYPES.put(FileType.ANSI271_5010_X279, _X270_271_279_ANSI_VERSION); _TYPES.put(FileType.ANSI277_5010_X212, _X212_ANSI_VERSION); } From 687fb843ad1819786f95bb28d7d76efc45e96bf0 Mon Sep 17 00:00:00 2001 From: Anup Chaudhari Date: Mon, 24 Jun 2024 18:05:40 +0530 Subject: [PATCH 4/4] # Removed tab characters --- src/main/java/com/imsweb/x12/reader/X12Reader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/imsweb/x12/reader/X12Reader.java b/src/main/java/com/imsweb/x12/reader/X12Reader.java index f19353d..a756ba6 100644 --- a/src/main/java/com/imsweb/x12/reader/X12Reader.java +++ b/src/main/java/com/imsweb/x12/reader/X12Reader.java @@ -776,8 +776,8 @@ private LoopConfig getFinalizedMatch(String previousLoopId, List mat if (parentLoop != null) result = matchedLoops.stream().filter(matchedLoop -> parentLoop.equals(getParentLoop(matchedLoop.getLoopId(), null))).findFirst().orElse(null); } - - // otherwise, if one of the ambiguous loops is the parent of the previous loop then we should use that loop + + // otherwise, if one of the ambiguous loops is the parent of the previous loop then we should use that loop if (result == null) { String parentLoop = getParentLoop(previousLoopId, null); if (parentLoop != null)