Module: SchemaOrg::Mixins::MedicalGuidelineRecommendation

Includes:
MedicalGuideline
Included in:
SchemaOrg::MedicalGuidelineRecommendation
Defined in:
lib/schema_org/mixins/medical_guideline_recommendation.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from MedicalGuideline

#evidence_level, #evidence_level=, #evidence_origin, #evidence_origin=, #guideline_date, #guideline_date=, #guideline_subject, #guideline_subject=

Methods included from MedicalEntity

#code, #code=, #funding, #funding=, #guideline, #guideline=, #legal_status, #legal_status=, #medicine_system, #medicine_system=, #recognizing_authority, #recognizing_authority=, #relevant_specialty, #relevant_specialty=, #study, #study=

Methods included from Thing

#additional_type, #additional_type=, #alternate_name, #alternate_name=, #description, #description=, #disambiguating_description, #disambiguating_description=, #identifier, #identifier=, #image, #image=, #main_entity_of_page, #main_entity_of_page=, #name, #name=, #owner, #owner=, #potential_action, #potential_action=, #same_as, #same_as=, #subject_of, #subject_of=, #url, #url=

Class Method Details

.schema_property_definitionsObject



11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/schema_org/mixins/medical_guideline_recommendation.rb', line 11

def self.schema_property_definitions
  {
    recommendation_strength: {
      schema_name: "recommendationStrength",
      schema_url: "https://schema.org/recommendationStrength",
      comment_lines: ["Strength of the guideline's recommendation (e.g. 'class I')."].freeze,
      ranges: ["Text"].freeze,
      external_ranges: [].freeze,
      inverse_of: nil,
      superseded_by: nil,
      supersedes: nil
    }.freeze
  }.freeze
end

Instance Method Details

#recommendation_strengthObject

Strength of the guideline's recommendation (e.g. 'class I').



27
28
29
# File 'lib/schema_org/mixins/medical_guideline_recommendation.rb', line 27

def recommendation_strength
  read_property(:recommendation_strength)
end

#recommendation_strength=(value) ⇒ Object

Strength of the guideline's recommendation (e.g. 'class I').



32
33
34
# File 'lib/schema_org/mixins/medical_guideline_recommendation.rb', line 32

def recommendation_strength=(value)
  write_property(:recommendation_strength, value)
end