---
schema_version: "1"
id: 56173bacf5c4eda1a008670a8fd9b383dd535b53e984df81da00c6275b8c0762
title: UnitOfMeasure
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_unitofmeasure.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_unitofmeasure.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7db0bca03372192b1d5abd1050342280874a57f84cb51df912a9069e5efd1848
description: Represents the unit of measures for care metrics and care observations. This object is available in API version 49.0 and later.
---
# UnitOfMeasure

Represents the unit of measures for care metrics and care observations. This object is available in API version 49.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### Description

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The description of this unit of measure.

### ConversionFactor

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The factor or rate that's used to convert this unit of measurement to the base unit.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed a record related to this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of this unit of measure.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The ID of the user who owns this record.

### Type

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The type of the unit of measure. For example, weight, distance, period.

### Sequence

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The sequence number assigned to the unit of measure.

### Status

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the status of the unit of measure.
- **Possible values**:
    - Active
    - Draft
    - Inactive

### UnitCode

- **Type**: string
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The code for this unit of measure. For example, mm\[Hg\], mcg/mL., kgs, lbs.

### UnitOfMeasureClassId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The class associated with the unit of measurement.
    
    This field is a relationship field.
- **Relationship Name**: UnitOfMeasureClass
- **Refers To**: UnitOfMeasureClass

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[UnitOfMeasureChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.264.0.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_change_event.htm) (API version 59.0)

Change events are available for the object.

[UnitOfMeasureOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.264.0.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_ownersharingrule.htm)

Sharing rules are available for the object.

[UnitOfMeasureShare](https://developer.salesforce.com/docs/atlas.en-us.264.0.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_share.htm)

Sharing is available for the object.