Skip to content

Commit

Permalink
Merge detail tables of X212 HR276 into one table, to avoid issues caused
Browse files Browse the repository at this point in the history
by #172
  • Loading branch information
kputnam committed Jan 18, 2019
1 parent b67bea0 commit 51d4b3d
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ module X212
b::Element(e::NotUsed, "Entity Identifier Code"),
b::Element(e::NotUsed, "Name Last or Organization Name"))))),

d::TableDef.repeatable_detail("2 - Service Provider Detail",
# d::TableDef.repeatable_detail("2 - Service Provider Detail",
d::TableDef.detail("2 - Service Provider Detail + Subscriber Detail + Dependent Detail",
d::LoopDef.build("2000C SERVICE PROVIDER LEVEL", d::RepeatCount.unbounded,
b::Segment(100, s::HL, "Billing Provider of Service Level", r::Required, d::RepeatCount.bounded(1),
b::Element(e::Required, "Hierarchical ID Number"),
Expand All @@ -91,9 +92,9 @@ module X212
b::Element(e::Required, "Provider Identifier"),
b::Element(e::NotUsed, "Entity Relationship Code"),
b::Element(e::NotUsed, "Entity Identifier Code"),
b::Element(e::NotUsed, "Name Last or Organization Name"))))),
b::Element(e::NotUsed, "Name Last or Organization Name")))), #),

d::TableDef.repeatable_detail("2 - Subscriber Detail",
# d::TableDef.repeatable_detail("2 - Subscriber Detail",
d::LoopDef.build("2000D SUBSCRIBER LEVEL", d::RepeatCount.unbounded,
b::Segment(100, s::HL, "Subscriber Level", r::Required, d::RepeatCount.bounded(1),
b::Element(e::Required, "Hierarchical ID Number"),
Expand Down Expand Up @@ -203,9 +204,9 @@ module X212
b::Segment(1500, s::DTP, "Service Line Date", r::Required, d::RepeatCount.bounded(1),
b::Element(e::Required, "Date Time Qualifier", b::Values("472")),
b::Element(e::Required, "Date Time Period Format Qualifier", b::Values("D8", "RD8")),
b::Element(e::Required, "Service Line Date")))))),
b::Element(e::Required, "Service Line Date"))))), #),

d::TableDef.repeatable_detail("2 - Dependent Detail",
# d::TableDef.repeatable_detail("2 - Dependent Detail",
d::LoopDef.build("2000E DEPENDENT LEVEL", d::RepeatCount.unbounded,
b::Segment(100, s::HL, "Dependent Level", r::Situational, d::RepeatCount.bounded(1),
b::Element(e::Required, "Hierarchical ID Number"),
Expand Down

0 comments on commit 51d4b3d

Please sign in to comment.