Sha256: 4f2e6de3e9ffb96770f5e2113be64b0047fb6e0859cd5dd3486cf89b48af69c7

Contents?: true

Size: 1.86 KB

Versions: 3

Compression:

Stored size: 1.86 KB

Contents

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

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

        # @return [OpenActive::Models::Schema::AnatomicalStructure,URI]
        define_property :connected_to, as: "connectedTo", types: [
          "OpenActive::Models::Schema::AnatomicalStructure",
          "URI",
        ]

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

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

        # @return [OpenActive::Models::Schema::AnatomicalStructure,URI]
        define_property :sub_structure, as: "subStructure", types: [
          "OpenActive::Models::Schema::AnatomicalStructure",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::AnatomicalSystem,URI]
        define_property :part_of_system, as: "partOfSystem", types: [
          "OpenActive::Models::Schema::AnatomicalSystem",
          "URI",
        ]

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

        # @return [OpenActive::Models::Schema::ImageObject,URI]
        define_property :diagram, as: "diagram", types: [
          "OpenActive::Models::Schema::ImageObject",
          "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/anatomical_structure.rb
openactive-0.2.1 lib/openactive/models/schema/anatomical_structure.rb
openactive-0.2.0 lib/openactive/models/schema/anatomical_structure.rb