Sha256: 6975f1916792939b101738361d30d788bfa845dbff2f1b7eec0aeb262c7d7493

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

module OpenActive
  module Models
    module Schema
      class DrugStrength < ::OpenActive::Models::Schema::MedicalIntangible
        # @!attribute type
        # @return [String]
        def type
          "schema:DrugStrength"
        end

        # @return [OpenActive::Models::Schema::AdministrativeArea,URI]
        define_property :available_in, as: "availableIn", types: [
          "OpenActive::Models::Schema::AdministrativeArea",
          "URI",
        ]

        # @return [String]
        define_property :strength_unit, as: "strengthUnit", types: [
          "string",
        ]

        # @return [OpenActive::Models::Schema::MaximumDoseSchedule,URI]
        define_property :maximum_intake, as: "maximumIntake", types: [
          "OpenActive::Models::Schema::MaximumDoseSchedule",
          "URI",
        ]

        # @return [String]
        define_property :active_ingredient, as: "activeIngredient", types: [
          "string",
        ]

        # @return [BigDecimal,nil]
        define_property :strength_value, as: "strengthValue", types: [
          "Number",
          "null",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/drug_strength.rb