Demonstration environment
Reusable state pattern

Screen-state review

These states define the expected experience without changing clinical or business rules.

Loading

Keep the current page context visible and prevent duplicate actions.

Empty

Explain why nothing matches and offer a safe recovery action.

Error

Retain filters, identify the failed area and provide a retry.

Validation

Summarise issues and focus the first invalid field.

Permission

Hide protected data and explain the permitted next step.