Class: Openphar::Models::PhInt::TestMethod

Inherits:
BaseEntity
  • Object
show all
Defined in:
lib/openphar/models/ph_int/test_method.rb

Overview

Test Method

Represents analytical test methods from Ph.Int. Section 7.

Test methods define procedures for quality control testing of pharmaceutical substances and products.

Examples:

method = PhInt::TestMethod.new(
  id: 'phint-method-hplc',
  method_id: '2.2.29',
  method_type: 'Chromatography',
  description: { 'en' => 'Liquid chromatography...' }
)

Class Method Summary collapse

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



43
44
45
# File 'lib/openphar/models/ph_int/test_method.rb', line 43

def jsonld_type
  'TestMethod'
end

.neo4j_labelsObject



39
40
41
# File 'lib/openphar/models/ph_int/test_method.rb', line 39

def neo4j_labels
  ['TestMethod']
end