Class: Openphar::Models::FormulationMonograph

Inherits:
Monograph
  • Object
show all
Defined in:
lib/openphar/models/formulation_monograph.rb

Overview

Represents a formulation monograph

Formulations are finished pharmaceutical products containing one or more active ingredients.

Direct Known Subclasses

JP::KampoFormula

Class Method Summary collapse

Methods inherited from Monograph

harmonized_type, #iri, jsonld_types, #label, wire_key

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/formulation_monograph.rb', line 25

def jsonld_type
  'FormulationMonograph'
end

.neo4j_labelsObject



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

def neo4j_labels
  %w[Monograph Formulation]
end