Sha256: d899ea859b49b60640c3127b560e5524ca6fd54dc7e329062753e010104735d4

Contents?: true

Size: 1.34 KB

Versions: 2

Compression:

Stored size: 1.34 KB

Contents

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

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

        # @return [OpenActive::Models::Schema::MedicalSign,URI]
        define_property :sign_detected, as: "signDetected", types: [
          "OpenActive::Models::Schema::MedicalSign",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::MedicalDevice,URI]
        define_property :uses_device, as: "usesDevice", types: [
          "OpenActive::Models::Schema::MedicalDevice",
          "URI",
        ]

        # @return [OpenActive::Enums::Schema::MedicalEnumeration,String,nil]
        define_property :normal_range, as: "normalRange", types: [
          "OpenActive::Enums::Schema::MedicalEnumeration",
          "string",
          "null",
        ]

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