Sha256: f080f7f9b4f8cbcff25224680fe2dcf9f8420ed245b97e1deb31f86c808e5e78

Contents?: true

Size: 887 Bytes

Versions: 1

Compression:

Stored size: 887 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    autoload :MedicalTest, 'mida_vocabulary/vocabularies/schemaorg/medicaltest'
    autoload :MedicalEntity, 'mida_vocabulary/vocabularies/schemaorg/medicalentity'
    autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
    autoload :MedicalImagingTechnique, 'mida_vocabulary/vocabularies/schemaorg/medicalimagingtechnique'

    # Any medical imaging modality typically used for diagnostic purposes.
    class ImagingTest < Mida::Vocabulary
      itemtype %r{http://schema.org/ImagingTest}i
      include_vocabulary Mida::SchemaOrg::MedicalTest
      include_vocabulary Mida::SchemaOrg::MedicalEntity
      include_vocabulary Mida::SchemaOrg::Thing

      # Imaging technique used.
      has_many 'imagingTechnique' do
        extract Mida::SchemaOrg::MedicalImagingTechnique
      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/imagingtest.rb