lib/openactive/models/schema/physician.rb in openactive-0.2.2 vs lib/openactive/models/schema/physician.rb in openactive-0.3.0
- old
+ new
@@ -1,31 +1,31 @@
module OpenActive
module Models
module Schema
- class Physician < ::OpenActive::Models::Schema::MedicalBusiness
+ class Physician < ::OpenActive::Models::Schema::MedicalOrganization
# @!attribute type
# @return [String]
def type
"schema:Physician"
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::Hospital,URI]
- define_property :hospital_affiliation, as: "hospitalAffiliation", types: [
- "OpenActive::Models::Schema::Hospital",
- "URI",
- ]
-
# @return [OpenActive::Models::Schema::MedicalSpecialty,URI]
define_property :medical_specialty, as: "medicalSpecialty", types: [
"OpenActive::Models::Schema::MedicalSpecialty",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::Hospital,URI]
+ define_property :hospital_affiliation, as: "hospitalAffiliation", types: [
+ "OpenActive::Models::Schema::Hospital",
"URI",
]
end
end
end