module Stupidedi
  module Versions
    module FunctionalGroups
      module ThirtyForty
        module SegmentDefs

          s = Schema
          e = ElementDefs
          r = ElementReqs

          N4 = s::SegmentDef.build(:N4, "Geographic Location",
            "To specify the goegraphic place of the named party",
            e::E19  .simple_use(r::Optional,   s::RepeatCount.bounded(1)),
            e::E156 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
            e::E116 .simple_use(r::Optional,   s::RepeatCount.bounded(1)),
            e::E26  .simple_use(r::Relational, s::RepeatCount.bounded(1)))
            # e::E309 .simple_use(r::Relational, s::RepeatCount.bounded(1)),
            # e::E310 .simple_use(r::Optional,   s::RepeatCount.bounded(1)),
            # e::E1715.simple_use(r::Relational, s::RepeatCount.bounded(1)),

            # SyntaxNotes::E.build(2, 7),
            # SyntaxNotes::C.build(6, 5),
            # SyntaxNotes::C.build(7, 4))

        end
      end
    end
  end
end
