> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metriport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ActivityDefinition

> This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context.

## Properties

| Name                         | Required | Type                                                                                                                                                                                                                                            | Description                                                                                                  |
| ---------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| url                          | No       | uri                                                                                                                                                                                                                                             | Canonical identifier for this activity definition, represented as a URI (globally unique)                    |
| identifier                   | No       | [Identifier](/medical-api/fhir/data-types/identifier)\[]                                                                                                                                                                                        | Additional identifier for the activity definition                                                            |
| version                      | No       | string                                                                                                                                                                                                                                          | Business version of the activity definition                                                                  |
| name                         | No       | string                                                                                                                                                                                                                                          | Name for this activity definition (computer friendly)                                                        |
| title                        | No       | string                                                                                                                                                                                                                                          | Name for this activity definition (human friendly)                                                           |
| subtitle                     | No       | string                                                                                                                                                                                                                                          | Subordinate title of the activity definition                                                                 |
| status                       | Yes      | code                                                                                                                                                                                                                                            | draft / active / retired / unknown                                                                           |
| experimental                 | No       | boolean                                                                                                                                                                                                                                         | For testing purposes, not real usage                                                                         |
| subject\[x]                  | No       | [CodeableConcept](/medical-api/fhir/data-types/codeableconcept), Reference\<[Group](/medical-api/fhir/resources/group)>                                                                                                                         | Type of individual the activity definition is intended for                                                   |
| date                         | No       | dateTime                                                                                                                                                                                                                                        | Date last changed                                                                                            |
| publisher                    | No       | string                                                                                                                                                                                                                                          | Name of the publisher (organization or individual)                                                           |
| contact                      | No       | [ContactDetail](/medical-api/fhir/data-types/contactdetail)\[]                                                                                                                                                                                  | Contact details for the publisher                                                                            |
| description                  | No       | markdown                                                                                                                                                                                                                                        | Natural language description of the activity definition                                                      |
| useContext                   | No       | [UsageContext](/medical-api/fhir/data-types/usagecontext)\[]                                                                                                                                                                                    | The context that the content is intended to support                                                          |
| jurisdiction                 | No       | [CodeableConcept](/medical-api/fhir/data-types/codeableconcept)\[]                                                                                                                                                                              | Intended jurisdiction for activity definition (if applicable)                                                |
| purpose                      | No       | markdown                                                                                                                                                                                                                                        | Why this activity definition is defined                                                                      |
| usage                        | No       | string                                                                                                                                                                                                                                          | Describes the clinical usage of the activity definition                                                      |
| copyright                    | No       | markdown                                                                                                                                                                                                                                        | Use and/or publishing restrictions                                                                           |
| approvalDate                 | No       | date                                                                                                                                                                                                                                            | When the activity definition was approved by publisher                                                       |
| lastReviewDate               | No       | date                                                                                                                                                                                                                                            | When the activity definition was last reviewed                                                               |
| effectivePeriod              | No       | [Period](/medical-api/fhir/data-types/period)                                                                                                                                                                                                   | When the activity definition is expected to be used                                                          |
| topic                        | No       | [CodeableConcept](/medical-api/fhir/data-types/codeableconcept)\[]                                                                                                                                                                              | E.g. Education, Treatment, Assessment, etc.                                                                  |
| author                       | No       | [ContactDetail](/medical-api/fhir/data-types/contactdetail)\[]                                                                                                                                                                                  | Who authored the content                                                                                     |
| editor                       | No       | [ContactDetail](/medical-api/fhir/data-types/contactdetail)\[]                                                                                                                                                                                  | Who edited the content                                                                                       |
| reviewer                     | No       | [ContactDetail](/medical-api/fhir/data-types/contactdetail)\[]                                                                                                                                                                                  | Who reviewed the content                                                                                     |
| endorser                     | No       | [ContactDetail](/medical-api/fhir/data-types/contactdetail)\[]                                                                                                                                                                                  | Who endorsed the content                                                                                     |
| relatedArtifact              | No       | [RelatedArtifact](/medical-api/fhir/data-types/relatedartifact)\[]                                                                                                                                                                              | Additional documentation, citations, etc.                                                                    |
| library                      | No       | canonical\[]                                                                                                                                                                                                                                    | Logic used by the activity definition                                                                        |
| kind                         | No       | code                                                                                                                                                                                                                                            | Kind of resource                                                                                             |
| profile                      | No       | canonical                                                                                                                                                                                                                                       | What profile the resource needs to conform to                                                                |
| code                         | No       | [CodeableConcept](/medical-api/fhir/data-types/codeableconcept)                                                                                                                                                                                 | Detail type of activity                                                                                      |
| intent                       | No       | code                                                                                                                                                                                                                                            | proposal / plan / directive / order / original-order / reflex-order / filler-order / instance-order / option |
| priority                     | No       | code                                                                                                                                                                                                                                            | routine / urgent / asap / stat                                                                               |
| doNotPerform                 | No       | boolean                                                                                                                                                                                                                                         | True if the activity should not be performed                                                                 |
| timing\[x]                   | No       | [Timing](/medical-api/fhir/data-types/timing), dateTime, [Age](/medical-api/fhir/data-types/age), [Period](/medical-api/fhir/data-types/period), [Range](/medical-api/fhir/data-types/range), [Duration](/medical-api/fhir/data-types/duration) | When activity is to occur                                                                                    |
| location                     | No       | Reference\<[Location](/medical-api/fhir/resources/location)>                                                                                                                                                                                    | Where it should happen                                                                                       |
| participant                  | No       | ActivityDefinitionParticipant                                                                                                                                                                                                                   | Who should participate in the action                                                                         |
| - id                         | No       | string                                                                                                                                                                                                                                          | Unique id for inter-element referencing                                                                      |
| - extension                  | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                                                                          | Additional content defined by implementations                                                                |
| - modifierExtension          | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                                                                          | Extensions that cannot be ignored even if unrecognized                                                       |
| - type                       | Yes      | code                                                                                                                                                                                                                                            | patient / practitioner / related-person / device                                                             |
| - role                       | No       | [CodeableConcept](/medical-api/fhir/data-types/codeableconcept)                                                                                                                                                                                 | E.g. Nurse, Surgeon, Parent, etc.                                                                            |
| product\[x]                  | No       | Reference\<[Medication](/medical-api/fhir/resources/medication) / [Substance](/medical-api/fhir/resources/substance)>, [CodeableConcept](/medical-api/fhir/data-types/codeableconcept)                                                          | What's administered/supplied                                                                                 |
| quantity                     | No       | [Quantity](/medical-api/fhir/data-types/quantity)                                                                                                                                                                                               | How much is administered/consumed/supplied                                                                   |
| dosage                       | No       | [Dosage](/medical-api/fhir/data-types/dosage)\[]                                                                                                                                                                                                | Detailed dosage instructions                                                                                 |
| bodySite                     | No       | [CodeableConcept](/medical-api/fhir/data-types/codeableconcept)\[]                                                                                                                                                                              | What part of body to perform on                                                                              |
| specimenRequirement          | No       | Reference\<[SpecimenDefinition](/medical-api/fhir/resources/specimendefinition)>\[]                                                                                                                                                             | What specimens are required to perform this action                                                           |
| observationRequirement       | No       | Reference\<[ObservationDefinition](/medical-api/fhir/resources/observationdefinition)>\[]                                                                                                                                                       | What observations are required to perform this action                                                        |
| observationResultRequirement | No       | Reference\<[ObservationDefinition](/medical-api/fhir/resources/observationdefinition)>\[]                                                                                                                                                       | What observations must be produced by this action                                                            |
| transform                    | No       | canonical                                                                                                                                                                                                                                       | Transform to apply the template                                                                              |
| dynamicValue                 | No       | ActivityDefinitionDynamicValue                                                                                                                                                                                                                  | Dynamic aspects of the definition                                                                            |
| - id                         | No       | string                                                                                                                                                                                                                                          | Unique id for inter-element referencing                                                                      |
| - extension                  | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                                                                          | Additional content defined by implementations                                                                |
| - modifierExtension          | No       | [Extension](/medical-api/fhir/data-types/extension)\[]                                                                                                                                                                                          | Extensions that cannot be ignored even if unrecognized                                                       |
| - path                       | Yes      | string                                                                                                                                                                                                                                          | The path to the element to be set dynamically                                                                |
| - expression                 | Yes      | [Expression](/medical-api/fhir/data-types/expression)                                                                                                                                                                                           | An expression that provides the dynamic value for the customization                                          |

## Search Parameters

| Name                  | Type      | Description                                                                               | Expression                          |
| --------------------- | --------- | ----------------------------------------------------------------------------------------- | ----------------------------------- |
| composed-of           | reference | What resource is being referenced                                                         | ActivityDefinition.relatedArtifact  |
| context               | token     | A use context assigned to the activity definition                                         | ActivityDefinition.useContext.value |
| context-quantity      | quantity  | A quantity- or range-valued use context assigned to the activity definition               | ActivityDefinition.useContext.value |
| context-type          | token     | A type of use context assigned to the activity definition                                 | ActivityDefinition.useContext.code  |
| date                  | date      | The activity definition publication date                                                  | ActivityDefinition.date             |
| depends-on            | reference | What resource is being referenced                                                         | ActivityDefinition.relatedArtifact  |
| derived-from          | reference | What resource is being referenced                                                         | ActivityDefinition.relatedArtifact  |
| description           | string    | The description of the activity definition                                                | ActivityDefinition.description      |
| effective             | date      | The time during which the activity definition is intended to be in use                    | ActivityDefinition.effectivePeriod  |
| identifier            | token     | External identifier for the activity definition                                           | ActivityDefinition.identifier       |
| jurisdiction          | token     | Intended jurisdiction for the activity definition                                         | ActivityDefinition.jurisdiction     |
| name                  | string    | Computationally friendly name of the activity definition                                  | ActivityDefinition.name             |
| predecessor           | reference | What resource is being referenced                                                         | ActivityDefinition.relatedArtifact  |
| publisher             | string    | Name of the publisher of the activity definition                                          | ActivityDefinition.publisher        |
| status                | token     | The current status of the activity definition                                             | ActivityDefinition.status           |
| successor             | reference | What resource is being referenced                                                         | ActivityDefinition.relatedArtifact  |
| title                 | string    | The human-friendly name of the activity definition                                        | ActivityDefinition.title            |
| topic                 | token     | Topics associated with the module                                                         | ActivityDefinition.topic            |
| url                   | uri       | The uri that identifies the activity definition                                           | ActivityDefinition.url              |
| version               | token     | The business version of the activity definition                                           | ActivityDefinition.version          |
| context-type-quantity | composite | A use context type and quantity- or range-based value assigned to the activity definition | ActivityDefinition.useContext       |
| context-type-value    | composite | A use context type and value assigned to the activity definition                          | ActivityDefinition.useContext       |

## Inherited Properties

| Name              | Required | Type                                                   | Description                                            |
| ----------------- | -------- | ------------------------------------------------------ | ------------------------------------------------------ |
| id                | No       | string                                                 | Logical id of this artifact                            |
| meta              | No       | [Meta](/medical-api/fhir/data-types/meta)              | Metadata about the resource                            |
| implicitRules     | No       | uri                                                    | A set of rules under which this content was created    |
| language          | No       | code                                                   | Language of the resource content                       |
| text              | No       | [Narrative](/medical-api/fhir/data-types/narrative)    | Text summary of the resource, for human interpretation |
| contained         | No       | Resource\[]                                            | Contained, inline Resources                            |
| extension         | No       | [Extension](/medical-api/fhir/data-types/extension)\[] | Additional content defined by implementations          |
| modifierExtension | No       | [Extension](/medical-api/fhir/data-types/extension)\[] | Extensions that cannot be ignored                      |

To view the FHIR specification for this resource, see [ActivityDefinition](https://www.hl7.org/fhir/StructureDefinition/ActivityDefinition).
