hippo 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -5
- data/README.md +10 -5
- data/lib/hippo/parser.rb +19 -9
- data/lib/hippo/transaction_sets/HIPAA_276/L2000A.rb +7 -3
- data/lib/hippo/transaction_sets/HIPAA_276/L2000B.rb +7 -3
- data/lib/hippo/transaction_sets/HIPAA_276/L2000C.rb +7 -3
- data/lib/hippo/transaction_sets/HIPAA_276/L2000D.rb +15 -8
- data/lib/hippo/transaction_sets/HIPAA_276/L2000E.rb +12 -7
- data/lib/hippo/transaction_sets/HIPAA_276/L2100A.rb +3 -2
- data/lib/hippo/transaction_sets/HIPAA_276/L2100B.rb +2 -1
- data/lib/hippo/transaction_sets/HIPAA_276/L2100C.rb +4 -2
- data/lib/hippo/transaction_sets/HIPAA_276/L2100D.rb +4 -2
- data/lib/hippo/transaction_sets/HIPAA_276/L2100E.rb +1 -1
- data/lib/hippo/transaction_sets/HIPAA_276/L2200D.rb +13 -12
- data/lib/hippo/transaction_sets/HIPAA_276/L2200E.rb +13 -12
- data/lib/hippo/transaction_sets/HIPAA_276/L2210D.rb +4 -3
- data/lib/hippo/transaction_sets/HIPAA_276/L2210E.rb +4 -3
- data/lib/hippo/transaction_sets/HIPAA_276/base.rb +31 -27
- data/lib/hippo/transaction_sets/HIPAA_277/L2000A.rb +11 -4
- data/lib/hippo/transaction_sets/HIPAA_277/L2000B.rb +13 -6
- data/lib/hippo/transaction_sets/HIPAA_277/L2000C.rb +13 -6
- data/lib/hippo/transaction_sets/HIPAA_277/L2000D.rb +12 -6
- data/lib/hippo/transaction_sets/HIPAA_277/L2000E.rb +11 -6
- data/lib/hippo/transaction_sets/HIPAA_277/L2100A.rb +4 -2
- data/lib/hippo/transaction_sets/HIPAA_277/L2100B.rb +2 -1
- data/lib/hippo/transaction_sets/HIPAA_277/L2100C.rb +4 -2
- data/lib/hippo/transaction_sets/HIPAA_277/L2100D.rb +3 -2
- data/lib/hippo/transaction_sets/HIPAA_277/L2100E.rb +1 -1
- data/lib/hippo/transaction_sets/HIPAA_277/L2200A.rb +3 -3
- data/lib/hippo/transaction_sets/HIPAA_277/L2200B.rb +10 -7
- data/lib/hippo/transaction_sets/HIPAA_277/L2200C.rb +14 -8
- data/lib/hippo/transaction_sets/HIPAA_277/L2200D.rb +13 -9
- data/lib/hippo/transaction_sets/HIPAA_277/L2200E.rb +12 -11
- data/lib/hippo/transaction_sets/HIPAA_277/L2220D.rb +7 -6
- data/lib/hippo/transaction_sets/HIPAA_277/L2220E.rb +5 -4
- data/lib/hippo/transaction_sets/HIPAA_277/base.rb +23 -20
- data/lib/hippo/transaction_sets/HIPAA_835/L1000A.rb +9 -6
- data/lib/hippo/transaction_sets/HIPAA_835/L1000B.rb +12 -5
- data/lib/hippo/transaction_sets/HIPAA_835/L2000.rb +6 -2
- data/lib/hippo/transaction_sets/HIPAA_835/L2100.rb +55 -24
- data/lib/hippo/transaction_sets/HIPAA_835/L2110.rb +30 -9
- data/lib/hippo/transaction_sets/HIPAA_835/base.rb +23 -13
- data/lib/hippo/transaction_sets/HIPAA_837/L1000A.rb +5 -3
- data/lib/hippo/transaction_sets/HIPAA_837/L1000B.rb +1 -1
- data/lib/hippo/transaction_sets/HIPAA_837/L2000A.rb +30 -9
- data/lib/hippo/transaction_sets/HIPAA_837/L2000B.rb +42 -7
- data/lib/hippo/transaction_sets/HIPAA_837/L2000C.rb +17 -5
- data/lib/hippo/transaction_sets/HIPAA_837/L2010AA.rb +14 -6
- data/lib/hippo/transaction_sets/HIPAA_837/L2010AB.rb +3 -2
- data/lib/hippo/transaction_sets/HIPAA_837/L2010AC.rb +8 -4
- data/lib/hippo/transaction_sets/HIPAA_837/L2010BA.rb +9 -7
- data/lib/hippo/transaction_sets/HIPAA_837/L2010BB.rb +11 -4
- data/lib/hippo/transaction_sets/HIPAA_837/L2010CA.rb +10 -6
- data/lib/hippo/transaction_sets/HIPAA_837/L2300.rb +116 -56
- data/lib/hippo/transaction_sets/HIPAA_837/L2310A.rb +6 -2
- data/lib/hippo/transaction_sets/HIPAA_837/L2310B.rb +8 -4
- data/lib/hippo/transaction_sets/HIPAA_837/L2310C.rb +6 -3
- data/lib/hippo/transaction_sets/HIPAA_837/L2310D.rb +5 -2
- data/lib/hippo/transaction_sets/HIPAA_837/L2310E.rb +1 -1
- data/lib/hippo/transaction_sets/HIPAA_837/L2310F.rb +1 -1
- data/lib/hippo/transaction_sets/HIPAA_837/L2320.rb +54 -19
- data/lib/hippo/transaction_sets/HIPAA_837/L2330A.rb +5 -3
- data/lib/hippo/transaction_sets/HIPAA_837/L2330B.rb +12 -8
- data/lib/hippo/transaction_sets/HIPAA_837/L2330C.rb +6 -2
- data/lib/hippo/transaction_sets/HIPAA_837/L2330D.rb +7 -3
- data/lib/hippo/transaction_sets/HIPAA_837/L2330E.rb +5 -2
- data/lib/hippo/transaction_sets/HIPAA_837/L2330F.rb +5 -2
- data/lib/hippo/transaction_sets/HIPAA_837/L2330G.rb +7 -3
- data/lib/hippo/transaction_sets/HIPAA_837/L2400.rb +122 -60
- data/lib/hippo/transaction_sets/HIPAA_837/L2410.rb +8 -2
- data/lib/hippo/transaction_sets/HIPAA_837/L2420A.rb +8 -4
- data/lib/hippo/transaction_sets/HIPAA_837/L2420B.rb +7 -3
- data/lib/hippo/transaction_sets/HIPAA_837/L2420C.rb +5 -2
- data/lib/hippo/transaction_sets/HIPAA_837/L2420D.rb +5 -2
- data/lib/hippo/transaction_sets/HIPAA_837/L2420E.rb +8 -4
- data/lib/hippo/transaction_sets/HIPAA_837/L2420F.rb +6 -2
- data/lib/hippo/transaction_sets/HIPAA_837/L2420G.rb +1 -1
- data/lib/hippo/transaction_sets/HIPAA_837/L2420H.rb +1 -1
- data/lib/hippo/transaction_sets/HIPAA_837/L2430.rb +6 -3
- data/lib/hippo/transaction_sets/HIPAA_837/L2440.rb +4 -1
- data/lib/hippo/transaction_sets/HIPAA_837/base.rb +23 -32
- data/lib/hippo/transaction_sets/HIPAA_999/L2000AK2.rb +9 -3
- data/lib/hippo/transaction_sets/HIPAA_999/L2100AK2.rb +9 -3
- data/lib/hippo/transaction_sets/HIPAA_999/L2110AK2.rb +4 -1
- data/lib/hippo/transaction_sets/HIPAA_999/base.rb +6 -3
- data/lib/hippo/transaction_sets/base.rb +87 -72
- data/lib/hippo/transaction_sets/component.rb +80 -0
- data/lib/hippo/transaction_sets/repeating_component.rb +30 -0
- data/lib/hippo/transaction_sets.rb +8 -6
- data/lib/hippo/version.rb +1 -1
- data/samples/005010X221A1_business_scenario_1.edi +1 -0
- data/samples/005010X221A1_tmhp_example.edi +1 -0
- data/samples/005010X222A1_anesthesia.edi +1 -0
- data/samples/005010X222A1_commercial_health_insurance.edi +1 -0
- data/test/test_helper.rb +6 -6
- data/test/test_hipaa_835.rb +229 -0
- data/test/test_hipaa_837.rb +263 -63
- data/test/test_parser.rb +26 -0
- data/test/test_segments_base.rb +1 -1
- data/test/test_transaction_sets_base.rb +21 -1
- metadata +17 -16
- data/bin/demo_270.rb +0 -280
- data/bin/demo_276.rb +0 -296
- data/bin/demo_835.rb +0 -170
- data/lib/hippo/samples/835.edi +0 -88
- data/lib/hippo/samples/sample_835_with.rb +0 -272
- data/lib/hippo/samples/sample_parsed.rb +0 -1162
@@ -9,7 +9,7 @@ module Hippo::TransactionSets
|
|
9
9
|
:minimum => 1,
|
10
10
|
:maximum => 1,
|
11
11
|
:position => 100,
|
12
|
-
:
|
12
|
+
:identified_by => {
|
13
13
|
'ST01' => '276'
|
14
14
|
}
|
15
15
|
|
@@ -19,7 +19,7 @@ module Hippo::TransactionSets
|
|
19
19
|
:minimum => 1,
|
20
20
|
:maximum => 1,
|
21
21
|
:position => 200,
|
22
|
-
:
|
22
|
+
:identified_by => {
|
23
23
|
'BHT01' => '0010',
|
24
24
|
'BHT02' => '13'
|
25
25
|
}
|
@@ -27,52 +27,56 @@ module Hippo::TransactionSets
|
|
27
27
|
#Information Source Level
|
28
28
|
loop Hippo::TransactionSets::HIPAA_276::L2000A,
|
29
29
|
:name => 'Information Source Level',
|
30
|
-
:identified_by => {
|
31
|
-
'HL.HL03' => '20'
|
32
|
-
},
|
33
30
|
:minimum => 1,
|
34
|
-
:maximum =>
|
35
|
-
:position => 100
|
31
|
+
:maximum => 99999,
|
32
|
+
:position => 100,
|
33
|
+
:identified_by => {
|
34
|
+
'HL.HL03' => '20',
|
35
|
+
'HL.HL04' => '1'
|
36
|
+
}
|
36
37
|
|
37
38
|
#Information Receiver Level
|
38
39
|
loop Hippo::TransactionSets::HIPAA_276::L2000B,
|
39
40
|
:name => 'Information Receiver Level',
|
40
|
-
:identified_by => {
|
41
|
-
'HL.HL03' => '21'
|
42
|
-
},
|
43
41
|
:minimum => 1,
|
44
|
-
:maximum =>
|
45
|
-
:position => 100
|
42
|
+
:maximum => 99999,
|
43
|
+
:position => 100,
|
44
|
+
:identified_by => {
|
45
|
+
'HL.HL03' => '21',
|
46
|
+
'HL.HL04' => '1'
|
47
|
+
}
|
46
48
|
|
47
49
|
#Service Provider Level
|
48
50
|
loop Hippo::TransactionSets::HIPAA_276::L2000C,
|
49
51
|
:name => 'Service Provider Level',
|
50
|
-
:identified_by => {
|
51
|
-
'HL.HL03' => '19'
|
52
|
-
},
|
53
52
|
:minimum => 1,
|
54
|
-
:maximum =>
|
55
|
-
:position => 100
|
53
|
+
:maximum => 99999,
|
54
|
+
:position => 100,
|
55
|
+
:identified_by => {
|
56
|
+
'HL.HL03' => '19',
|
57
|
+
'HL.HL04' => '1'
|
58
|
+
}
|
56
59
|
|
57
60
|
#Subscriber Level
|
58
61
|
loop Hippo::TransactionSets::HIPAA_276::L2000D,
|
59
62
|
:name => 'Subscriber Level',
|
60
|
-
:identified_by => {
|
61
|
-
'HL.HL03' => '22'
|
62
|
-
},
|
63
63
|
:minimum => 1,
|
64
|
-
:maximum =>
|
65
|
-
:position => 100
|
64
|
+
:maximum => 99999,
|
65
|
+
:position => 100,
|
66
|
+
:identified_by => {
|
67
|
+
'HL.HL03' => '22',
|
68
|
+
'HL.HL04' => ["0", "1"]
|
69
|
+
}
|
66
70
|
|
67
71
|
#Dependent Level
|
68
72
|
loop Hippo::TransactionSets::HIPAA_276::L2000E,
|
69
73
|
:name => 'Dependent Level',
|
70
|
-
:identified_by => {
|
71
|
-
'HL.HL03' => '23'
|
72
|
-
},
|
73
74
|
:minimum => 0,
|
74
|
-
:maximum =>
|
75
|
-
:position => 100
|
75
|
+
:maximum => 99999,
|
76
|
+
:position => 100,
|
77
|
+
:identified_by => {
|
78
|
+
'HL.HL03' => '23'
|
79
|
+
}
|
76
80
|
|
77
81
|
#Transaction Set Trailer
|
78
82
|
segment Hippo::Segments::SE,
|
@@ -10,7 +10,7 @@ module Hippo::TransactionSets
|
|
10
10
|
:minimum => 1,
|
11
11
|
:maximum => 1,
|
12
12
|
:position => 100,
|
13
|
-
:
|
13
|
+
:identified_by => {
|
14
14
|
'HL03' => '20',
|
15
15
|
'HL04' => '1'
|
16
16
|
}
|
@@ -20,15 +20,22 @@ module Hippo::TransactionSets
|
|
20
20
|
:name => 'Information Source Name',
|
21
21
|
:minimum => 1,
|
22
22
|
:maximum => 1,
|
23
|
-
:position => 500
|
23
|
+
:position => 500,
|
24
|
+
:identified_by => {
|
25
|
+
'NM1.NM101' => ["AY", "PR"],
|
26
|
+
'NM1.NM102' => '2',
|
27
|
+
'NM1.NM108' => ["46", "FI", "PI", "XV"]
|
28
|
+
}
|
24
29
|
|
25
30
|
#Transmission Receipt Control Identifier
|
26
31
|
loop Hippo::TransactionSets::HIPAA_277::L2200A,
|
27
32
|
:name => 'Transmission Receipt Control Identifier',
|
28
|
-
:identified_by => {'TRN.TRN01' => '1'},
|
29
33
|
:minimum => 1,
|
30
34
|
:maximum => 1,
|
31
|
-
:position => 900
|
35
|
+
:position => 900,
|
36
|
+
:identified_by => {
|
37
|
+
'TRN.TRN01' => '1'
|
38
|
+
}
|
32
39
|
|
33
40
|
end
|
34
41
|
end
|
@@ -10,25 +10,32 @@ module Hippo::TransactionSets
|
|
10
10
|
:minimum => 1,
|
11
11
|
:maximum => 1,
|
12
12
|
:position => 100,
|
13
|
-
:
|
14
|
-
'HL03' => '21'
|
13
|
+
:identified_by => {
|
14
|
+
'HL03' => '21',
|
15
|
+
'HL04' => ["0", "1"]
|
15
16
|
}
|
16
17
|
|
17
18
|
#Information Receiver Name
|
18
19
|
loop Hippo::TransactionSets::HIPAA_277::L2100B,
|
19
20
|
:name => 'Information Receiver Name',
|
20
|
-
:identified_by => {'NM1.NM101' => '41'},
|
21
21
|
:minimum => 1,
|
22
22
|
:maximum => 1,
|
23
|
-
:position => 500
|
23
|
+
:position => 500,
|
24
|
+
:identified_by => {
|
25
|
+
'NM1.NM101' => '41',
|
26
|
+
'NM1.NM102' => ["1", "2"],
|
27
|
+
'NM1.NM108' => '46'
|
28
|
+
}
|
24
29
|
|
25
30
|
#Information Receiver Application Trace Identifier
|
26
31
|
loop Hippo::TransactionSets::HIPAA_277::L2200B,
|
27
32
|
:name => 'Information Receiver Application Trace Identifier',
|
28
|
-
:identified_by => {'TRN.TRN01' => '2'},
|
29
33
|
:minimum => 1,
|
30
34
|
:maximum => 1,
|
31
|
-
:position => 900
|
35
|
+
:position => 900,
|
36
|
+
:identified_by => {
|
37
|
+
'TRN.TRN01' => '2'
|
38
|
+
}
|
32
39
|
|
33
40
|
end
|
34
41
|
end
|
@@ -10,25 +10,32 @@ module Hippo::TransactionSets
|
|
10
10
|
:minimum => 0,
|
11
11
|
:maximum => 1,
|
12
12
|
:position => 100,
|
13
|
-
:
|
14
|
-
'HL03' => '19'
|
13
|
+
:identified_by => {
|
14
|
+
'HL03' => '19',
|
15
|
+
'HL04' => ["0", "1"]
|
15
16
|
}
|
16
17
|
|
17
18
|
#Billing Provider Name
|
18
19
|
loop Hippo::TransactionSets::HIPAA_277::L2100C,
|
19
20
|
:name => 'Billing Provider Name',
|
20
|
-
:identified_by => {'NM1.NM101' => '85'},
|
21
21
|
:minimum => 1,
|
22
22
|
:maximum => 1,
|
23
|
-
:position => 500
|
23
|
+
:position => 500,
|
24
|
+
:identified_by => {
|
25
|
+
'NM1.NM101' => '85',
|
26
|
+
'NM1.NM102' => ["1", "2"],
|
27
|
+
'NM1.NM108' => ["FI", "XX"]
|
28
|
+
}
|
24
29
|
|
25
30
|
#Provider of Service Information Trace Identifier
|
26
31
|
loop Hippo::TransactionSets::HIPAA_277::L2200C,
|
27
32
|
:name => 'Provider of Service Information Trace Identifier',
|
28
|
-
:identified_by => {'TRN.TRN01' => '1'},
|
29
33
|
:minimum => 0,
|
30
34
|
:maximum => 1,
|
31
|
-
:position => 900
|
35
|
+
:position => 900,
|
36
|
+
:identified_by => {
|
37
|
+
'TRN.TRN01' => '1'
|
38
|
+
}
|
32
39
|
|
33
40
|
end
|
34
41
|
end
|
@@ -10,25 +10,31 @@ module Hippo::TransactionSets
|
|
10
10
|
:minimum => 0,
|
11
11
|
:maximum => 1,
|
12
12
|
:position => 100,
|
13
|
-
:
|
13
|
+
:identified_by => {
|
14
14
|
'HL03' => 'PT'
|
15
15
|
}
|
16
16
|
|
17
17
|
#Patient Name
|
18
18
|
loop Hippo::TransactionSets::HIPAA_277::L2100D,
|
19
19
|
:name => 'Patient Name',
|
20
|
-
:identified_by => {'NM1.NM101' => 'QC'},
|
21
20
|
:minimum => 1,
|
22
21
|
:maximum => 1,
|
23
|
-
:position => 500
|
22
|
+
:position => 500,
|
23
|
+
:identified_by => {
|
24
|
+
'NM1.NM101' => 'QC',
|
25
|
+
'NM1.NM102' => '1',
|
26
|
+
'NM1.NM108' => ["II", "MI"]
|
27
|
+
}
|
24
28
|
|
25
29
|
#Claim Status Tracking Number
|
26
30
|
loop Hippo::TransactionSets::HIPAA_277::L2200D,
|
27
31
|
:name => 'Claim Status Tracking Number',
|
28
|
-
:identified_by => {'TRN.TRN01' => '2'},
|
29
32
|
:minimum => 1,
|
30
|
-
:maximum =>
|
31
|
-
:position => 900
|
33
|
+
:maximum => 99999,
|
34
|
+
:position => 900,
|
35
|
+
:identified_by => {
|
36
|
+
'TRN.TRN01' => '2'
|
37
|
+
}
|
32
38
|
|
33
39
|
end
|
34
40
|
end
|
@@ -10,25 +10,30 @@ module Hippo::TransactionSets
|
|
10
10
|
:minimum => 0,
|
11
11
|
:maximum => 1,
|
12
12
|
:position => 100,
|
13
|
-
:
|
13
|
+
:identified_by => {
|
14
14
|
'HL03' => '23'
|
15
15
|
}
|
16
16
|
|
17
17
|
#Dependent Name
|
18
18
|
loop Hippo::TransactionSets::HIPAA_277::L2100E,
|
19
19
|
:name => 'Dependent Name',
|
20
|
-
:identified_by => {'NM1.NM101' => 'QC'},
|
21
20
|
:minimum => 1,
|
22
21
|
:maximum => 1,
|
23
|
-
:position => 500
|
22
|
+
:position => 500,
|
23
|
+
:identified_by => {
|
24
|
+
'NM1.NM101' => 'QC',
|
25
|
+
'NM1.NM102' => '1'
|
26
|
+
}
|
24
27
|
|
25
28
|
#Claim Status Tracking Number
|
26
29
|
loop Hippo::TransactionSets::HIPAA_277::L2200E,
|
27
30
|
:name => 'Claim Status Tracking Number',
|
28
|
-
:identified_by => {'TRN.TRN01' => '2'},
|
29
31
|
:minimum => 1,
|
30
|
-
:maximum =>
|
31
|
-
:position => 900
|
32
|
+
:maximum => 99999,
|
33
|
+
:position => 900,
|
34
|
+
:identified_by => {
|
35
|
+
'TRN.TRN01' => '2'
|
36
|
+
}
|
32
37
|
|
33
38
|
end
|
34
39
|
end
|
@@ -10,7 +10,7 @@ module Hippo::TransactionSets
|
|
10
10
|
:minimum => 1,
|
11
11
|
:maximum => 1,
|
12
12
|
:position => 900,
|
13
|
-
:
|
13
|
+
:identified_by => {
|
14
14
|
'TRN01' => '1'
|
15
15
|
}
|
16
16
|
|
@@ -20,7 +20,7 @@ module Hippo::TransactionSets
|
|
20
20
|
:minimum => 1,
|
21
21
|
:maximum => 1,
|
22
22
|
:position => 1200,
|
23
|
-
:
|
23
|
+
:identified_by => {
|
24
24
|
'DTP01' => '050',
|
25
25
|
'DTP02' => 'D8'
|
26
26
|
}
|
@@ -31,7 +31,7 @@ module Hippo::TransactionSets
|
|
31
31
|
:minimum => 1,
|
32
32
|
:maximum => 1,
|
33
33
|
:position => 1205,
|
34
|
-
:
|
34
|
+
:identified_by => {
|
35
35
|
'DTP01' => '009',
|
36
36
|
'DTP02' => 'D8'
|
37
37
|
}
|
@@ -10,7 +10,7 @@ module Hippo::TransactionSets
|
|
10
10
|
:minimum => 1,
|
11
11
|
:maximum => 1,
|
12
12
|
:position => 900,
|
13
|
-
:
|
13
|
+
:identified_by => {
|
14
14
|
'TRN01' => '2'
|
15
15
|
}
|
16
16
|
|
@@ -18,8 +18,11 @@ module Hippo::TransactionSets
|
|
18
18
|
segment Hippo::Segments::STC,
|
19
19
|
:name => 'Information Receiver Status Information',
|
20
20
|
:minimum => 1,
|
21
|
-
:maximum =>
|
22
|
-
:position => 1000
|
21
|
+
:maximum => 99999,
|
22
|
+
:position => 1000,
|
23
|
+
:identified_by => {
|
24
|
+
'STC03' => ["U", "WQ"]
|
25
|
+
}
|
23
26
|
|
24
27
|
#Total Accepted Quantity
|
25
28
|
segment Hippo::Segments::QTY,
|
@@ -27,7 +30,7 @@ module Hippo::TransactionSets
|
|
27
30
|
:minimum => 0,
|
28
31
|
:maximum => 1,
|
29
32
|
:position => 1210,
|
30
|
-
:
|
33
|
+
:identified_by => {
|
31
34
|
'QTY01' => '90'
|
32
35
|
}
|
33
36
|
|
@@ -37,7 +40,7 @@ module Hippo::TransactionSets
|
|
37
40
|
:minimum => 0,
|
38
41
|
:maximum => 1,
|
39
42
|
:position => 1211,
|
40
|
-
:
|
43
|
+
:identified_by => {
|
41
44
|
'QTY01' => 'AA'
|
42
45
|
}
|
43
46
|
|
@@ -47,7 +50,7 @@ module Hippo::TransactionSets
|
|
47
50
|
:minimum => 0,
|
48
51
|
:maximum => 1,
|
49
52
|
:position => 1220,
|
50
|
-
:
|
53
|
+
:identified_by => {
|
51
54
|
'AMT01' => 'YU'
|
52
55
|
}
|
53
56
|
|
@@ -57,7 +60,7 @@ module Hippo::TransactionSets
|
|
57
60
|
:minimum => 0,
|
58
61
|
:maximum => 1,
|
59
62
|
:position => 1222,
|
60
|
-
:
|
63
|
+
:identified_by => {
|
61
64
|
'AMT01' => 'YY'
|
62
65
|
}
|
63
66
|
|
@@ -10,7 +10,7 @@ module Hippo::TransactionSets
|
|
10
10
|
:minimum => 0,
|
11
11
|
:maximum => 1,
|
12
12
|
:position => 900,
|
13
|
-
:
|
13
|
+
:identified_by => {
|
14
14
|
'TRN01' => '1'
|
15
15
|
}
|
16
16
|
|
@@ -18,15 +18,21 @@ module Hippo::TransactionSets
|
|
18
18
|
segment Hippo::Segments::STC,
|
19
19
|
:name => 'Billing Provider Status Information',
|
20
20
|
:minimum => 0,
|
21
|
-
:maximum =>
|
22
|
-
:position => 1000
|
21
|
+
:maximum => 99999,
|
22
|
+
:position => 1000,
|
23
|
+
:identified_by => {
|
24
|
+
'STC03' => ["U", "WQ"]
|
25
|
+
}
|
23
26
|
|
24
27
|
#Provider Secondary Identifier
|
25
28
|
segment Hippo::Segments::REF,
|
26
29
|
:name => 'Provider Secondary Identifier',
|
27
30
|
:minimum => 0,
|
28
31
|
:maximum => 3,
|
29
|
-
:position => 1100
|
32
|
+
:position => 1100,
|
33
|
+
:identified_by => {
|
34
|
+
'REF01' => ["0B", "1G", "G2", "LU", "SY", "TJ"]
|
35
|
+
}
|
30
36
|
|
31
37
|
#Total Accepted Quantity
|
32
38
|
segment Hippo::Segments::QTY,
|
@@ -34,7 +40,7 @@ module Hippo::TransactionSets
|
|
34
40
|
:minimum => 0,
|
35
41
|
:maximum => 1,
|
36
42
|
:position => 1210,
|
37
|
-
:
|
43
|
+
:identified_by => {
|
38
44
|
'QTY01' => 'QA'
|
39
45
|
}
|
40
46
|
|
@@ -44,7 +50,7 @@ module Hippo::TransactionSets
|
|
44
50
|
:minimum => 0,
|
45
51
|
:maximum => 1,
|
46
52
|
:position => 1215,
|
47
|
-
:
|
53
|
+
:identified_by => {
|
48
54
|
'QTY01' => 'QC'
|
49
55
|
}
|
50
56
|
|
@@ -54,7 +60,7 @@ module Hippo::TransactionSets
|
|
54
60
|
:minimum => 0,
|
55
61
|
:maximum => 1,
|
56
62
|
:position => 1220,
|
57
|
-
:
|
63
|
+
:identified_by => {
|
58
64
|
'AMT01' => 'YU'
|
59
65
|
}
|
60
66
|
|
@@ -64,7 +70,7 @@ module Hippo::TransactionSets
|
|
64
70
|
:minimum => 0,
|
65
71
|
:maximum => 1,
|
66
72
|
:position => 1225,
|
67
|
-
:
|
73
|
+
:identified_by => {
|
68
74
|
'AMT01' => 'YY'
|
69
75
|
}
|
70
76
|
|
@@ -10,7 +10,7 @@ module Hippo::TransactionSets
|
|
10
10
|
:minimum => 1,
|
11
11
|
:maximum => 1,
|
12
12
|
:position => 900,
|
13
|
-
:
|
13
|
+
:identified_by => {
|
14
14
|
'TRN01' => '2'
|
15
15
|
}
|
16
16
|
|
@@ -18,8 +18,11 @@ module Hippo::TransactionSets
|
|
18
18
|
segment Hippo::Segments::STC,
|
19
19
|
:name => 'Claim Level Status Information',
|
20
20
|
:minimum => 1,
|
21
|
-
:maximum =>
|
22
|
-
:position => 1000
|
21
|
+
:maximum => 99999,
|
22
|
+
:position => 1000,
|
23
|
+
:identified_by => {
|
24
|
+
'STC03' => ["U", "WQ"]
|
25
|
+
}
|
23
26
|
|
24
27
|
#Payer Claim Control Number
|
25
28
|
segment Hippo::Segments::REF,
|
@@ -27,7 +30,7 @@ module Hippo::TransactionSets
|
|
27
30
|
:minimum => 0,
|
28
31
|
:maximum => 1,
|
29
32
|
:position => 1100,
|
30
|
-
:
|
33
|
+
:identified_by => {
|
31
34
|
'REF01' => '1K'
|
32
35
|
}
|
33
36
|
|
@@ -37,7 +40,7 @@ module Hippo::TransactionSets
|
|
37
40
|
:minimum => 0,
|
38
41
|
:maximum => 1,
|
39
42
|
:position => 1110,
|
40
|
-
:
|
43
|
+
:identified_by => {
|
41
44
|
'REF01' => 'D9'
|
42
45
|
}
|
43
46
|
|
@@ -47,7 +50,7 @@ module Hippo::TransactionSets
|
|
47
50
|
:minimum => 0,
|
48
51
|
:maximum => 1,
|
49
52
|
:position => 1120,
|
50
|
-
:
|
53
|
+
:identified_by => {
|
51
54
|
'REF01' => 'BLT'
|
52
55
|
}
|
53
56
|
|
@@ -57,15 +60,16 @@ module Hippo::TransactionSets
|
|
57
60
|
:minimum => 1,
|
58
61
|
:maximum => 1,
|
59
62
|
:position => 1200,
|
60
|
-
:
|
61
|
-
'DTP01' => '472'
|
63
|
+
:identified_by => {
|
64
|
+
'DTP01' => '472',
|
65
|
+
'DTP02' => ["D8", "RD8"]
|
62
66
|
}
|
63
67
|
|
64
68
|
#Service Line Information
|
65
69
|
loop Hippo::TransactionSets::HIPAA_277::L2220D,
|
66
70
|
:name => 'Service Line Information',
|
67
71
|
:minimum => 0,
|
68
|
-
:maximum =>
|
72
|
+
:maximum => 99999,
|
69
73
|
:position => 1800
|
70
74
|
|
71
75
|
end
|
@@ -10,7 +10,7 @@ module Hippo::TransactionSets
|
|
10
10
|
:minimum => 1,
|
11
11
|
:maximum => 1,
|
12
12
|
:position => 900,
|
13
|
-
:
|
13
|
+
:identified_by => {
|
14
14
|
'TRN01' => '2'
|
15
15
|
}
|
16
16
|
|
@@ -18,7 +18,7 @@ module Hippo::TransactionSets
|
|
18
18
|
segment Hippo::Segments::STC,
|
19
19
|
:name => 'Claim Level Status Information',
|
20
20
|
:minimum => 1,
|
21
|
-
:maximum =>
|
21
|
+
:maximum => 99999,
|
22
22
|
:position => 1000
|
23
23
|
|
24
24
|
#Payer Claim Control Number
|
@@ -27,7 +27,7 @@ module Hippo::TransactionSets
|
|
27
27
|
:minimum => 0,
|
28
28
|
:maximum => 1,
|
29
29
|
:position => 1100,
|
30
|
-
:
|
30
|
+
:identified_by => {
|
31
31
|
'REF01' => '1K'
|
32
32
|
}
|
33
33
|
|
@@ -37,7 +37,7 @@ module Hippo::TransactionSets
|
|
37
37
|
:minimum => 0,
|
38
38
|
:maximum => 1,
|
39
39
|
:position => 1120,
|
40
|
-
:
|
40
|
+
:identified_by => {
|
41
41
|
'REF01' => 'BLT'
|
42
42
|
}
|
43
43
|
|
@@ -47,7 +47,7 @@ module Hippo::TransactionSets
|
|
47
47
|
:minimum => 0,
|
48
48
|
:maximum => 1,
|
49
49
|
:position => 1145,
|
50
|
-
:
|
50
|
+
:identified_by => {
|
51
51
|
'REF01' => 'EJ'
|
52
52
|
}
|
53
53
|
|
@@ -57,7 +57,7 @@ module Hippo::TransactionSets
|
|
57
57
|
:minimum => 0,
|
58
58
|
:maximum => 1,
|
59
59
|
:position => 1150,
|
60
|
-
:
|
60
|
+
:identified_by => {
|
61
61
|
'REF01' => 'XZ'
|
62
62
|
}
|
63
63
|
|
@@ -67,7 +67,7 @@ module Hippo::TransactionSets
|
|
67
67
|
:minimum => 0,
|
68
68
|
:maximum => 1,
|
69
69
|
:position => 1155,
|
70
|
-
:
|
70
|
+
:identified_by => {
|
71
71
|
'REF01' => 'VV'
|
72
72
|
}
|
73
73
|
|
@@ -77,7 +77,7 @@ module Hippo::TransactionSets
|
|
77
77
|
:minimum => 0,
|
78
78
|
:maximum => 1,
|
79
79
|
:position => 1160,
|
80
|
-
:
|
80
|
+
:identified_by => {
|
81
81
|
'REF01' => 'D9'
|
82
82
|
}
|
83
83
|
|
@@ -87,15 +87,16 @@ module Hippo::TransactionSets
|
|
87
87
|
:minimum => 0,
|
88
88
|
:maximum => 1,
|
89
89
|
:position => 1200,
|
90
|
-
:
|
91
|
-
'DTP01' => '472'
|
90
|
+
:identified_by => {
|
91
|
+
'DTP01' => '472',
|
92
|
+
'DTP02' => ["D8", "RD8"]
|
92
93
|
}
|
93
94
|
|
94
95
|
#Service Line Information
|
95
96
|
loop Hippo::TransactionSets::HIPAA_277::L2220E,
|
96
97
|
:name => 'Service Line Information',
|
97
98
|
:minimum => 0,
|
98
|
-
:maximum =>
|
99
|
+
:maximum => 99999,
|
99
100
|
:position => 1800
|
100
101
|
|
101
102
|
end
|