Skip to main content
Requirement ID
AFF-PR-097
Category
FHIRPath & Constraints
Obligation
Mandatory
Requirement
FHIR Specifications SHALL only use FHIRPath constraints where the required outcome cannot be achieved using cardinality, terminology binding, or slicing.
Rationale
Using cardinality, terminology binding, and slicing where possible results in simpler, more maintainable, and more easily understood specifications. Restricting the use of FHIRPath to situations where these native profiling mechanisms are insufficient reduces implementation complexity and improves interoperability and tooling support.
Informative Note
Before introducing a FHIRPath constraint, authors should consider whether the requirement can be expressed using:
  • cardinality constraints;
  • terminology bindings;
  • slicing; or
  • existing profile constraints inherited from a dependency.

FHIRPath should generally be reserved for business rules and validation logic that cannot be expressed through standard FHIR profiling mechanisms.

Example
No example required.

On this page