Class: Openphar::Models::Chp::TcmExtract

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

Overview

TCM extract — 植物油脂和提取物 (Vol I).

Processed plant extracts and fixed oils. Semantically a sub-type of crude drug (processed form) but kept distinct at the ChP layer for routing fidelity.

Class Method Summary collapse

Methods inherited from Monograph

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

Methods inherited from Monograph

#iri, jsonld_types, #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



18
19
20
# File 'lib/openphar/models/chp/tcm_extract.rb', line 18

def harmonized_type
  'CrudeDrug'
end

.jsonld_typeObject



22
23
24
# File 'lib/openphar/models/chp/tcm_extract.rb', line 22

def jsonld_type
  'TcmExtract'
end

.wire_keyObject



14
15
16
# File 'lib/openphar/models/chp/tcm_extract.rb', line 14

def wire_key
  'tcm_extract'
end