Sha256: 3030fce9c9ccf3e896bc2e8beffa58f0fbe639687a4042a96929b8ae1b5ffe91
Contents?: true
Size: 783 Bytes
Versions: 1
Compression:
Stored size: 783 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :MedicalEntity, 'mida_vocabulary/vocabularies/schemaorg/medicalentity' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :AdministrativeArea, 'mida_vocabulary/vocabularies/schemaorg/administrativearea' # The legal availability status of a medical drug. class DrugLegalStatus < Mida::Vocabulary itemtype %r{http://schema.org/DrugLegalStatus}i include_vocabulary Mida::SchemaOrg::MedicalEntity include_vocabulary Mida::SchemaOrg::Thing # The location in which the status applies. has_many 'applicableLocation' do extract Mida::SchemaOrg::AdministrativeArea extract Mida::DataType::Text end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mida_vocabulary-0.2.2 | lib/mida_vocabulary/vocabularies/schemaorg/druglegalstatus.rb |