Sha256: 4067906e90a1216d27c925de768db50699589b43ad1ee707f26de7011534c107

Contents?: true

Size: 1.21 KB

Versions: 3

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::MedicalTest,OpenActive::Models::Schema::MedicalTherapy,OpenActive::Models::Schema::MedicalProcedure,URI]
        define_property :available_service, as: "availableService", types: [
          "OpenActive::Models::Schema::MedicalTest",
          "OpenActive::Models::Schema::MedicalTherapy",
          "OpenActive::Models::Schema::MedicalProcedure",
          "URI",
        ]

        # @return [OpenActive::Models::Schema::CDCPMDRecord,OpenActive::Models::Schema::Dataset,URI]
        define_property :healthcare_reporting_data, as: "healthcareReportingData", types: [
          "OpenActive::Models::Schema::CDCPMDRecord",
          "OpenActive::Models::Schema::Dataset",
          "URI",
        ]

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