Sha256: 1d13d73807d1c8207fda4a81df83a7613d33b1027aeed810ecad1faaa93b1a0b

Contents?: true

Size: 1014 Bytes

Versions: 2

Compression:

Stored size: 1014 Bytes

Contents

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

        # @return [String,OpenActive::Models::Schema::MedicalContraindication,URI]
        define_property :contraindication, as: "contraindication", types: [
          "string",
          "OpenActive::Models::Schema::MedicalContraindication",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MedicalTherapy,URI]
        define_property :duplicate_therapy, as: "duplicateTherapy", types: [
          "OpenActive::Models::Schema::MedicalTherapy",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MedicalEntity,URI]
        define_property :serious_adverse_outcome, as: "seriousAdverseOutcome", types: [
          "OpenActive::Models::Schema::MedicalEntity",
          "URI",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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