Sha256: 1bb3e389ec0abcc92c3f8e669b3cdf32ae05da787a4ea554bfa1d1370680ca8a

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

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

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

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

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

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

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

        # @return [OpenActive::Models::Schema::MedicalEntity,URI]
        define_property :adverse_outcome, as: "adverseOutcome", 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_device.rb
openactive-0.4.0 lib/openactive/models/schema/medical_device.rb