Sha256: 8763e1239f31de99bbe91742a3e64a2fa2bb9486ec47d2d6149eabc9b182d5a7

Contents?: true

Size: 746 Bytes

Versions: 3

Compression:

Stored size: 746 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::MedicalEntity,URI]
        define_property :estimates_risk_of, as: "estimatesRiskOf", types: [
          "OpenActive::Models::Schema::MedicalEntity",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MedicalRiskFactor,URI]
        define_property :included_risk_factor, as: "includedRiskFactor", types: [
          "OpenActive::Models::Schema::MedicalRiskFactor",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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