Class: Openphar::Models::CrudeDrugMonograph

Inherits:
Monograph show all
Defined in:
lib/openphar/models/crude_drug_monograph.rb

Overview

Represents a crude drug monograph (herbal medicine)

Crude drugs are raw plant or animal materials used in medicine. They have botanical sources and morphological descriptions.

Class Method Summary collapse

Methods inherited from Monograph

#iri, #label

Methods inherited from BaseEntity

jsonld_context, neo4j_label, neo4j_labels_string, #to_cypher, #to_cypher_match, #to_jsonld, #to_neo4j_node, #to_neo4j_properties

Class Method Details

.jsonld_typeObject



25
26
27
# File 'lib/openphar/models/crude_drug_monograph.rb', line 25

def jsonld_type
  'CrudeDrugMonograph'
end

.neo4j_labelsObject



21
22
23
# File 'lib/openphar/models/crude_drug_monograph.rb', line 21

def neo4j_labels
  %w[Monograph CrudeDrug]
end