Skip to content

Class: Ratio

A tuple of two quantities

URI: fhir:Ratio

classDiagram class Ratio click Ratio href "../Ratio" Quantity <|-- Ratio click Quantity href "../Quantity" Ratio : denominator Ratio --> "0..1" Quantity : denominator click Quantity href "../Quantity" Ratio : has_quantity_kind Ratio --> "0..1" QuantityKind : has_quantity_kind click QuantityKind href "../QuantityKind" Ratio : numerator Ratio --> "0..1" Quantity : numerator click Quantity href "../Quantity" Ratio : type

Inheritance

Slots

Name Cardinality and Range Description Inheritance
numerator 0..1
Quantity
The numerator of the ratio direct
denominator 0..1
Quantity
The denominator of the ratio direct
has_quantity_kind 0..1
QuantityKind
The kind of quantity Quantity
type 0..1
String
A type for a thing Typed

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/linkml-common

Mappings

Mapping Type Mapped Value
self fhir:Ratio
native linkml_common:Ratio

LinkML Source

Direct

name: Ratio
description: A tuple of two quantities
from_schema: https://w3id.org/linkml/linkml-common
is_a: Quantity
attributes:
  numerator:
    name: numerator
    description: The numerator of the ratio
    from_schema: https://w3id.org/linkml-common/quantities
    rank: 1000
    domain_of:
    - Ratio
    range: Quantity
  denominator:
    name: denominator
    description: The denominator of the ratio
    from_schema: https://w3id.org/linkml-common/quantities
    rank: 1000
    domain_of:
    - Ratio
    range: Quantity
class_uri: fhir:Ratio

Induced

name: Ratio
description: A tuple of two quantities
from_schema: https://w3id.org/linkml/linkml-common
is_a: Quantity
attributes:
  numerator:
    name: numerator
    description: The numerator of the ratio
    from_schema: https://w3id.org/linkml-common/quantities
    rank: 1000
    alias: numerator
    owner: Ratio
    domain_of:
    - Ratio
    range: Quantity
  denominator:
    name: denominator
    description: The denominator of the ratio
    from_schema: https://w3id.org/linkml-common/quantities
    rank: 1000
    alias: denominator
    owner: Ratio
    domain_of:
    - Ratio
    range: Quantity
  has_quantity_kind:
    name: has_quantity_kind
    description: The kind of quantity
    from_schema: https://w3id.org/linkml-common/quantities
    rank: 1000
    alias: has_quantity_kind
    owner: Ratio
    domain_of:
    - Quantity
    range: QuantityKind
  type:
    name: type
    description: A type for a thing. The range of this should be a class within the
      schema. It is intended for schema-based classification. Anything beneath the
      shoreline of the schema should use `classification`.
    from_schema: https://w3id.org/linkml/linkml-common
    rank: 1000
    designates_type: true
    alias: type
    owner: Ratio
    domain_of:
    - Typed
    range: string
class_uri: fhir:Ratio