Sha256: 81031a390a195986186c910bb209ea112bc8ac28bf2ef472947fb45553ba48ed

Contents?: true

Size: 1.89 KB

Versions: 3

Compression:

Stored size: 1.89 KB

Contents

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

        # @return [OpenActive::Models::Schema::MedicalGuideline,URI]
        define_property :guideline, as: "guideline", types: [
          "OpenActive::Models::Schema::MedicalGuideline",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::Organization,URI]
        define_property :recognizing_authority, as: "recognizingAuthority", types: [
          "OpenActive::Models::Schema::Organization",
          "URI",
        ]

        # @return [OpenActive::Enums::Schema::MedicalEnumeration,String,OpenActive::Models::Schema::DrugLegalStatus,URI,nil]
        define_property :legal_status, as: "legalStatus", types: [
          "OpenActive::Enums::Schema::MedicalEnumeration",
          "string",
          "OpenActive::Models::Schema::DrugLegalStatus",
          "URI",
          "null",
        ]

        # @return [OpenActive::Models::Schema::MedicalCode,URI]
        define_property :code, as: "code", types: [
          "OpenActive::Models::Schema::MedicalCode",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MedicalSpecialty,URI]
        define_property :relevant_specialty, as: "relevantSpecialty", types: [
          "OpenActive::Models::Schema::MedicalSpecialty",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MedicalStudy,URI]
        define_property :study, as: "study", types: [
          "OpenActive::Models::Schema::MedicalStudy",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MedicineSystem,URI]
        define_property :medicine_system, as: "medicineSystem", types: [
          "OpenActive::Models::Schema::MedicineSystem",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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