Sha256: 7e0c36bae402e49cee9ff12fdfb2329ee9183709b45c1d002b161d9ae90b9d0c

Contents?: true

Size: 847 Bytes

Versions: 1

Compression:

Stored size: 847 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    autoload :MedicalRiskEstimator, 'mida_vocabulary/vocabularies/schemaorg/medicalriskestimator'
    autoload :MedicalEntity, 'mida_vocabulary/vocabularies/schemaorg/medicalentity'
    autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'

    # A simple system that adds up the number of risk factors to yield a score that is associated with prognosis, e.g. CHAD score, TIMI risk score.
    class MedicalRiskScore < Mida::Vocabulary
      itemtype %r{http://schema.org/MedicalRiskScore}i
      include_vocabulary Mida::SchemaOrg::MedicalRiskEstimator
      include_vocabulary Mida::SchemaOrg::MedicalEntity
      include_vocabulary Mida::SchemaOrg::Thing

      # The algorithm or rules to follow to compute the score.
      has_many 'algorithm'
    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/medicalriskscore.rb