Skip to content

Class: LoincCode

A Term whose id is a LOINC code, LOINC Part (LP...) or LOINC Group (LG...). Same {id, label} shape as Term; the pattern on id is what stops a CURIE from another vocabulary being accepted in a LOINC slot, which the LoincTerm binding alone cannot do, because the term validator resolves a CURIE through whatever adapter its own prefix names.

URI: dismech:class/LoincCode

 classDiagram
    class LoincCode
    click LoincCode href "../../classes/LoincCode/"
      Term <|-- LoincCode
        click Term href "../../classes/Term/"

      LoincCode : id

      LoincCode : label

Inheritance

Slots

Name Cardinality and Range Description Inheritance
id 1
Uriorcurie
Ontology term identifier (CURIE) Term
label 0..1
String
Human-readable label for the ontology term Term

Usages

used by used in type used
MeasurementDescriptor term range LoincCode
ReferenceRange loinc_term range LoincCode
Biochemical loinc_term range LoincCode

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/monarch-initiative/dismech

Mappings

Mapping Type Mapped Value
self dismech:LoincCode
native dismech:LoincCode

LinkML Source

Direct

name: LoincCode
description: A Term whose id is a LOINC code, LOINC Part (LP...) or LOINC Group (LG...).
  Same {id, label} shape as Term; the pattern on id is what stops a CURIE from another
  vocabulary being accepted in a LOINC slot, which the LoincTerm binding alone cannot
  do, because the term validator resolves a CURIE through whatever adapter its own
  prefix names.
from_schema: https://w3id.org/monarch-initiative/dismech
is_a: Term
slot_usage:
  id:
    name: id
    pattern: ^LOINC:(LP|LG)?[0-9]+-[0-9]$

Induced

name: LoincCode
description: A Term whose id is a LOINC code, LOINC Part (LP...) or LOINC Group (LG...).
  Same {id, label} shape as Term; the pattern on id is what stops a CURIE from another
  vocabulary being accepted in a LOINC slot, which the LoincTerm binding alone cannot
  do, because the term validator resolves a CURIE through whatever adapter its own
  prefix names.
from_schema: https://w3id.org/monarch-initiative/dismech
is_a: Term
slot_usage:
  id:
    name: id
    pattern: ^LOINC:(LP|LG)?[0-9]+-[0-9]$
attributes:
  id:
    name: id
    description: Ontology term identifier (CURIE)
    from_schema: https://w3id.org/monarch-initiative/dismech
    rank: 1000
    identifier: true
    alias: id
    owner: LoincCode
    domain_of:
    - Term
    range: uriorcurie
    required: true
    pattern: ^LOINC:(LP|LG)?[0-9]+-[0-9]$
  label:
    name: label
    description: Human-readable label for the ontology term
    comments:
    - This is automatically validated by the linkml-term-validator tool.
    from_schema: https://w3id.org/monarch-initiative/dismech
    rank: 1000
    alias: label
    owner: LoincCode
    domain_of:
    - Term
    range: string