Sha256: 9da85bbca71962602c3b7ae6018a152efc022c181976dd0730da0e7fa322228a
Contents?: true
Size: 794 Bytes
Versions: 1
Compression:
Stored size: 794 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :MedicalEntity, 'mida_vocabulary/vocabularies/schemaorg/medicalentity' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' # A risk factor is anything that increases a person's likelihood of developing or contracting a disease, medical condition, or complication. class MedicalRiskFactor < Mida::Vocabulary itemtype %r{http://schema.org/MedicalRiskFactor}i include_vocabulary Mida::SchemaOrg::MedicalEntity include_vocabulary Mida::SchemaOrg::Thing # The condition, complication, etc. influenced by this factor. has_many 'increasesRiskOf' do extract Mida::SchemaOrg::MedicalEntity 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/medicalriskfactor.rb |