Sha256: 242697bb5c392b698821d6ab1e2229b71d4171163c4f6fc75d7a7ac843132c29

Contents?: true

Size: 892 Bytes

Versions: 2

Compression:

Stored size: 892 Bytes

Contents

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

        # @return [BigDecimal,OpenActive::Enums::Schema::QualitativeValue,nil]
        define_property :dose_value, as: "doseValue", types: [
          "Number",
          "OpenActive::Enums::Schema::QualitativeValue",
          "null",
        ]

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

        # @return [String]
        define_property :target_population, as: "targetPopulation", types: [
          "string",
        ]

        # @return [String]
        define_property :dose_unit, as: "doseUnit", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/dose_schedule.rb
openactive-0.4.0 lib/openactive/models/schema/dose_schedule.rb