require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :WebPage, 'mida_vocabulary/vocabularies/schemaorg/webpage' autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' # A web page that provides medical information. class MedicalWebPage < Mida::Vocabulary itemtype %r{http://schema.org/MedicalWebPage}i include_vocabulary Mida::SchemaOrg::WebPage include_vocabulary Mida::SchemaOrg::CreativeWork include_vocabulary Mida::SchemaOrg::Thing # An aspect of medical practice that is considered on the page, such as 'diagnosis', 'treatment', 'causes', 'prognosis', 'etiology', 'epidemiology', etc. has_many 'aspect' end end end