Skip to content

Commit

Permalink
Merge pull request #30 from RTIInternational/units_cleanup
Browse files Browse the repository at this point in the history
Added UCUM-based enum and updated Quantity.Units range
  • Loading branch information
bfurner authored Dec 20, 2024
2 parents c7d2b61 + 309ec99 commit 7bbfdbd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/bdchm/schema/bdchm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ prefixes:
MONDO: http://purl.obolibrary.org/obo/MONDO_
HP: http://purl.obolibrary.org/obo/HP_
rxnorm: https://bioregistry.io/rxnorm:/
UOM: https://units-of-measurement.org/

default_prefix: bdchm
default_range: string
Expand Down Expand Up @@ -614,7 +615,6 @@ classes:
slots:
- identity


Document:
is_a: Entity
description: A collection of information intented to be understood together as a whole, and codified in human-readable form.
Expand Down Expand Up @@ -1217,9 +1217,8 @@ classes:
required: false
unit:
description: A coded or free text (in the .text field) representation of the unit.
values_from: crdch:enum_CRDCH_Quantity_unit
multivalued: false
range: string
range: UnitOfMeasurementEnum
required: false

BodySite:
Expand Down Expand Up @@ -3145,3 +3144,8 @@ enums:
text: PRESERVATION
description: A processing activity that aims to preserve a specimen.

UnitOfMeasurementEnum:
description: Standard units of measurement from the [Units of Measurement (UOM) ontology](https://units-of-measurement.org/). Units-of-measurement (UOM) provides URLs for Unified Code for Units of Measure (UCUM) codes, and mappings to a number of units ontologies and systems, in human- and machine-readable linked data formats.
reachable_from:
source_ontology: UOM
pv_formula: LABEL

0 comments on commit 7bbfdbd

Please sign in to comment.