Sha256: 57e64da3fec512e503208ed9934494021fcbc16a923e988d63b03ebaaf6634e7

Contents?: true

Size: 888 Bytes

Versions: 4

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::Drug,URI]
        define_property :drug, as: "drug", types: [
          "OpenActive::Models::Schema::Drug",
          "URI",
        ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/patient.rb
openactive-0.2.2 lib/openactive/models/schema/patient.rb
openactive-0.2.1 lib/openactive/models/schema/patient.rb
openactive-0.2.0 lib/openactive/models/schema/patient.rb