Type-Level Operations
Execute FHIR operations on all resources of a specific type.string
required
The FHIR resource type (e.g.,
Patient, Observation, Encounter)string
required
The operation name (e.g.,
$validate, $everything, $export)Endpoint
GET for operations that only read data, or POST for operations that require input parameters.
Example Request
Common Type Operations
$validate
Validate a resource of this type:$everything
Get all resources of this type and related resources:$export
Export all resources of this type:Request Format
Operations use aParameters resource for input:
Response
Success (200 OK)
Returns operation results, typically as aParameters resource or a Bundle:
Error (400 Bad Request)
Returns anOperationOutcome if the operation fails:
Available Operations
The available type-level operations depend on server configuration and resource type. Check the capability statement (/fhir/metadata) to see which operations are supported for each resource type:
Notes
- Type operations apply to all resources of the specified type
- 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
$