ActivityTiming

Represents detailed information about an activity that’s repeated in regular intervals over a period of time. This object is available in API version 52.0 and later.

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

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The recommended number of times the activity should be performed in a repetition cycle.
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The length of time that the activity should be performed during each occurrence.
  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The unit of the length of time that the activity should be performed during each occurrence.

    This is a relationship field.

  • Referenced Object: UnitOfMeasure

  • Type: picklist

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The approximate time of day or a daily event that acts as a point of reference for when the activity should be performed.

  • Possible values:

    • Default
  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The number of minutes before or after the reference point specified in ActivityTime when the activity should be performed.
  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The recommended number of times the activity should be performed in the specified period.
  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date on which a user referenced the record.
  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date on which a user viewed th reecord.
  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The maximum number of times the activity should be performed in a repetition cycle.
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The maximum length of time that the activity should be performed during each occurrence.
  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The maximum number of times the activity should be performed in the specified period.
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The maximum length of each cycle of repetition.
  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name of the ActivityTiming record. This value is generated automatically.
  • Type: Polymorphic reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The owner of the ActivityTiming record.
  • Relationship Name: Owner
  • Relationship Type: Lookup
  • Referenced Object: Group, User
  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The end date of the period during which this activity should be performed.
  • Type: int
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The length of the period during which this activity should be performed.
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The lower limit of the length of the period during which this activity should be performed.
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The unit of the period’s length. This field is used to specify the unit for PeriodLength, PeriodLengthLowerLimit, and PeriodLengthUpperLimit.
  • Referenced Object: UnitOfMeasure
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The upper limit of the length of the period during which this activity should be performed.
  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The start date of the period during which this activity should be performed.
  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The recommended length of each cycle of repetition.
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The unit of the length of each cycle of repetition.
  • Referenced Object: UnitOfMeasure
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The name of the system the record came from.
  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The ID of the record in its source system.
  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date and time when the record was last changed in the source system.
  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The system-defined code that represents the timing information of an activity. This code is expected to be a complete statement of what is specified in the other fields of this object, and either this code or the data in the other fields may be used to interpret the timing of an activity.

    This is a relationship field.

  • Referenced Object: CodeSet

  • Type: picklist

  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Description: Specifies the type of activity the timing information is used for.

  • Possible values:

    • CareObservation—Care Observation
    • ClinicalServiceRequest—Clinical Service Request
    • MedicationDosage—Medication Dosage
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The day and time of the week when this activity should be performed.
  • Referenced Object: OperatingHours

ActivityTiming records are referenced from MedicationDosage records to specify the timing of their activities. Here’s an example of an activity’s timing information and how an ActivityTiming record would represent that information.

Scenario: Let’s say your doctor tells you that you have to run for 10 minutes every 2 days, 30 minutes after your meals. You need to run at least 5 times in the span of those 2 days. You have to do this for 3 to 4 weeks. You’re also told that you shouldn’t run for more than 15 minutes at a time, and that you shouldn’t do it more than 7 times in 3 days. So in those 3-4 weeks, you should run somewhere between 60-84 times.

Sample Record:

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.

ActivityTimingChangeEvent (API Version 62.0)

Change events are available for the object.

ActivityTimingFeed

Feed tracking is available for the object.

ActivityTimingHistory

History is available for tracked fields of the object.

ActivityTimingShare

Sharing is available for the object.