Class: Openphar::Models::Chp::TcmCrudeDrug

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

Overview

TCM crude drug — 药材和饮片 (Vol I).

Crude drugs and their decoction pieces. Maps harmonically to the cross-publisher CrudeDrug concept.

Class Method Summary collapse

Methods inherited from Monograph

#iri, #jsonld_filename, jsonld_types, neo4j_labels, #slug

Methods inherited from Monograph

#iri, #label, neo4j_labels

Methods inherited from BaseEntity

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

Class Method Details

.harmonized_typeObject



17
18
19
# File 'lib/openphar/models/chp/tcm_crude_drug.rb', line 17

def harmonized_type
  'CrudeDrug'
end

.jsonld_typeObject



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

def jsonld_type
  'TcmCrudeDrug'
end

.wire_keyObject



13
14
15
# File 'lib/openphar/models/chp/tcm_crude_drug.rb', line 13

def wire_key
  'tcm_crude_drug'
end