Skip to main content
Requirement ID
AFF-PR-062
Category
Examples
Obligation
Recommended
Requirement
Each OperationDefinition SHALL include corresponding request and response examples for each supported invocation pattern.
Rationale
Requiring request and response examples for each supported invocation pattern helps implementers understand how an operation is expected to be invoked and how responses should be interpreted. This reduces ambiguity and promotes more consistent implementation of custom FHIR operations.
Informative Note
Examples should cover all supported invocation patterns for the operation.

Where applicable, examples may demonstrate:

  • system-level invocation;
  • type-level invocation;
  • instance-level invocation;
  • successful responses; and
  • error responses.
Example
No example required.

On this page