Class: Openphar::Models::Chp::TcmFormulation

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

Overview

TCM formulation — 成方制剂和单味制剂 (Vol I).

Classical TCM formulas and single-herb preparations. Maps to the cross-publisher Formulation concept.

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



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

def harmonized_type
  'Formulation'
end

.jsonld_typeObject



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

def jsonld_type
  'TcmFormulation'
end

.wire_keyObject



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

def wire_key
  'tcm_formulation'
end