lib/openactive/models/schema/hospital.rb in openactive-0.2.2 vs lib/openactive/models/schema/hospital.rb in openactive-0.3.0

- old
+ new

@@ -1,26 +1,26 @@ module OpenActive module Models module Schema - class Hospital < ::OpenActive::Models::Schema::CivicStructure + class Hospital < ::OpenActive::Models::Schema::MedicalOrganization # @!attribute type # @return [String] def type "schema:Hospital" end - # @return [OpenActive::Models::Schema::MedicalTest,OpenActive::Models::Schema::MedicalTherapy,OpenActive::Models::Schema::MedicalProcedure,URI] + # @return [OpenActive::Models::Schema::MedicalTest,OpenActive::Models::Schema::MedicalProcedure,OpenActive::Models::Schema::MedicalTherapy,URI] define_property :available_service, as: "availableService", types: [ "OpenActive::Models::Schema::MedicalTest", - "OpenActive::Models::Schema::MedicalTherapy", "OpenActive::Models::Schema::MedicalProcedure", + "OpenActive::Models::Schema::MedicalTherapy", "URI", ] - # @return [OpenActive::Models::Schema::CDCPMDRecord,OpenActive::Models::Schema::Dataset,URI] + # @return [OpenActive::Models::Schema::Dataset,OpenActive::Models::Schema::CDCPMDRecord,URI] define_property :healthcare_reporting_data, as: "healthcareReportingData", types: [ - "OpenActive::Models::Schema::CDCPMDRecord", "OpenActive::Models::Schema::Dataset", + "OpenActive::Models::Schema::CDCPMDRecord", "URI", ] # @return [OpenActive::Models::Schema::MedicalSpecialty,URI] define_property :medical_specialty, as: "medicalSpecialty", types: [