lib/openactive/models/schema/physician.rb in openactive-0.1.2 vs lib/openactive/models/schema/physician.rb in openactive-0.2.0
- old
+ new
@@ -1,13 +1,33 @@
module OpenActive
module Models
module Schema
- class Physician < ::OpenActive::Models::Schema::MedicalOrganization
+ class Physician < ::OpenActive::Models::Schema::MedicalBusiness
# @!attribute type
# @return [String]
def type
"schema:Physician"
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::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",
+ ]
end
end
end
end