Sha256: dbd5ca2f9eb92e2a482802eb07c1920cce9567d4776f0db194b41e2944315e10

Contents?: true

Size: 1.03 KB

Versions: 11

Compression:

Stored size: 1.03 KB

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: I03
    # - Name: Security Information Qualifier
    # - Type: ID
    # - Min/Max: 2/2
    # - Description: Code to identify the type of information in the Security Information
    #
    # ### Notes:
    #
    # - (Default value: `"00"`)
    class I03 < Eddy::Models::Element::ID

      # @param val [String] ("00")
      # @param req [String] (nil)
      # @param ref [String] (nil)
      # @return [void]
      def initialize(val: "00", req: nil, ref: nil)
        @id = "I03"
        @name = "Security Information Qualifier"
        @description = "Code to identify the type of information in the Security Information"
        super(
          min: 2,
          max: 2,
          req: req,
          ref: ref,
          val: val,
        )
      end

      # @return [Array<String>]
      def code_list()
        return [
          "00", # No Security Information Present (No Meaningful Information in I04)
          "01", # Password
        ]
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
eddy-0.10.0 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.9.2 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.9.1 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.9.0 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.8.4 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.8.3 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.8.2 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.8.1 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.8.0 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.7.0 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb
eddy-0.6.0 lib/definitions/elements/manual/i/I03.security_information_qualifier.rb