Sha256: 52f3fcb51d6fd0444287bf3313787755bceac6baf865c0667bc300f1b53a3d3d

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

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

        # @return [OpenActive::Models::Schema::MedicalTherapy,OpenActive::Models::Schema::MedicalProcedure,OpenActive::Models::Schema::MedicalTest,URI]
        define_property :available_service, as: "availableService", types: [
          "OpenActive::Models::Schema::MedicalTherapy",
          "OpenActive::Models::Schema::MedicalProcedure",
          "OpenActive::Models::Schema::MedicalTest",
          "URI",
        ]

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

        # @return [OpenActive::Models::Schema::Dataset,OpenActive::Models::Schema::CDCPMDRecord,URI]
        define_property :healthcare_reporting_data, as: "healthcareReportingData", types: [
          "OpenActive::Models::Schema::Dataset",
          "OpenActive::Models::Schema::CDCPMDRecord",
          "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/hospital.rb
openactive-0.4.0 lib/openactive/models/schema/hospital.rb