-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquantities.yaml
116 lines (103 loc) · 2.64 KB
/
quantities.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
id: https://w3id.org/linkml-common/quantities
name: linkml-common-quantities
title: linkml-common-quantities
description: |-
Common Data Model Elements
license: MIT
see_also:
- https://linkml.github.io/linkml-common
prefixes:
linkml_common: https://w3id.org/linkml-common/
linkml: https://w3id.org/linkml/
biolink: https://w3id.org/biolink/
schema: http://schema.org/
PATO: http://purl.obolibrary.org/obo/PATO_
fhir: http://hl7.org/fhir/
qudt: http://qudt.org/vocab/unit/
fibo.QuantitiesAndUnits: https://www.omg.org/spec/Commons/QuantitiesAndUnits/
UO: http://purl.obolibrary.org/obo/UO_
UCUM: http://unitsofmeasure.org/
default_prefix: linkml_common
default_range: string
imports:
- linkml:types
- core
- time
classes:
QuantityKind:
is_a: Concept
exact_mappings:
- qudt:QuantityKind
- fibo.QuantitiesAndUnits:ScalarQuantity
Quantity:
is_a: Intangible
class_uri: fhir:Quantity
union_of:
- Quantity
- QuantityRange
- Ratio
attributes:
has_quantity_kind:
range: QuantityKind
description: The kind of quantity
exact_mappings:
- schema:Quantity
SimpleQuantity:
description: >-
A quantity is a property that can be measured or counted
class_uri: fhir:SimpleQuantity
is_a: Quantity
attributes:
value:
range: float
description: The value of the quantity
unit:
range: UnitConcept
exact_mappings:
- schema:unitCode
- qudt:unit
exact_mappings:
- fibo:ScalarQuantityValue
Ratio:
description: >-
A tuple of two quantities
class_uri: fhir:Ratio
is_a: Quantity
attributes:
numerator:
range: Quantity
description: The numerator of the ratio
denominator:
range: Quantity
description: The denominator of the ratio
QuantityRange:
description: >-
A quantity range is a property that can be measured or counted
class_uri: fhir:Range
is_a: Intangible
attributes:
lower_bound:
range: Quantity
description: The lower bound of the range
upper_bound:
range: Quantity
description: The upper bound of the range
#UnitConversionOperation:
# description: >-
# A unit conversion operation
# is_a: MathematicalOperationExecution
# slot_usage:
# inputs:
# range: Quantity
# description: The input unit
# maximum_cardinality: 1
# outputs:
# range: Quantity
# description: The output unit
# maximum_cardinality: 1
UnitConcept:
is_a: Concept
id_prefixes:
- UO
- UCUM
- qudt