Skip to main content

Instance-Level Operations

Execute FHIR operations on a specific resource instance.
string
required
The FHIR resource type (e.g., Patient, Observation, Encounter)
string
required
The logical ID of the resource
string
required
The operation name (e.g., $validate, $everything, $meta)

Endpoint

Use GET for operations that only read data, or POST for operations that require input parameters.

Example Request

Common Instance Operations

$validate

Validate a specific resource instance:

$everything (Patient)

Get all resources related to a specific patient:
Or with parameters:

$meta

Read or update resource metadata:
Update metadata:

Request Format

Operations use a Parameters resource for input:

Response

Success (200 OK)

Returns operation results, typically as a Parameters resource or a Bundle:

Error (400 Bad Request)

Returns an OperationOutcome if the operation fails:

Not Found (404)

Returns an error if the resource doesn’t exist:

Available Operations

The available instance-level operations depend on server configuration and resource type. Check the capability statement (/fhir/metadata) to see which operations are supported:

Notes

  • Instance operations apply to a specific resource
  • Available operations vary by resource type
  • Operations may require specific permissions
  • Use POST when operations require input parameters
  • Operation names are case-sensitive and start with $
  • The resource must exist for instance operations to work