Sha256: 6dbe3c2674c0fdfb351937ae318891489bbb61342a413ad78e52f9823223166c

Contents?: true

Size: 888 Bytes

Versions: 2

Compression:

Stored size: 888 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::MedicalCondition,URI]
        define_property :health_condition, as: "healthCondition", types: [
          "OpenActive::Models::Schema::MedicalCondition",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MedicalCondition,URI]
        define_property :diagnosis, as: "diagnosis", types: [
          "OpenActive::Models::Schema::MedicalCondition",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Drug,URI]
        define_property :drug, as: "drug", types: [
          "OpenActive::Models::Schema::Drug",
          "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/patient.rb
openactive-0.4.0 lib/openactive/models/schema/patient.rb