> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Healthcare Patterns

> Browse and instantiate pre-built healthcare workflow patterns with compliance tags at /fw/healthcare-patterns.

The Healthcare Patterns screen provides a library of pre-built healthcare workflow patterns that can be instantiated into the organization's workflow engine and is available at `/fw/healthcare-patterns`.

## Overview

This screen loads healthcare patterns via `useHealthcarePatterns`, filterable by category (`HEALTHCARE_PATTERN_CATEGORIES`), compliance tag (`COMPLIANCE_TAGS`), and text search. Patterns are displayed as cards with descriptions and regulatory references. Clicking a pattern opens a detail dialog. From the detail view, clicking **Instantiate** shows a confirmation `AlertDialog`; confirmed instantiation calls `useInstantiatePattern`. A clear-filters button resets all filters.

## Who it's for

Requires permission: `fw.healthcare_patterns.view` (`FW_PERMISSIONS.HEALTHCARE_PATTERNS_VIEW`). Instantiation additionally requires `fw.healthcare_patterns.manage`.

## Before you start

* Hold `fw.healthcare_patterns.view` to access this screen.
* Hold `fw.healthcare_patterns.manage` to instantiate a pattern.

## Steps

<Steps>
  <Step title="Open Healthcare Patterns">Navigate to `/fw/healthcare-patterns`.</Step>
  <Step title="Filter patterns">Use the search input, category filter, and compliance tag filter to find relevant patterns.</Step>
  <Step title="View pattern details">Click a pattern card to open the detail dialog with full description and regulatory references.</Step>
  <Step title="Instantiate a pattern">In the detail dialog, click **Instantiate** and confirm in the alert dialog.</Step>
  <Step title="Clear filters">Click **Clear filters** to reset all active filters.</Step>
</Steps>

## Key concepts

* **Healthcare pattern** — a pre-configured workflow template designed for a specific clinical or operational scenario.
* **Compliance tags** — regulatory identifiers (e.g., HIPAA) from `COMPLIANCE_TAGS`; SME: confirm accuracy.
* **Regulatory references** — structured references of type `RegulatoryReference` attached to each pattern.

## Related

<Columns cols={2}>
  <Card title="Forms & Workflow" icon="diagram-project" href="/fw/overview">
    Forms & Workflow core overview.
  </Card>

  <Card title="Governance & parity" icon="scale-balanced" href="/governance/index">
    Documentation coverage and governance.
  </Card>
</Columns>

<Note>
  This page documents shipped product behavior. It is not medical, legal, or
  billing advice. Verify against your organization's policies and applicable
  regulations before using it for clinical, compliance, or billing decisions.
  Protected health information (PHI) shown in the product is governed by your
  tenant's access controls and is never exposed in this documentation.
</Note>

<Accordion title="Documentation sources">
  * src/routes/fw\.tsx
  * src/cores/fw/pages/HealthcarePatternsPage.tsx
  * src/cores/fw/types/healthcare-patterns.ts
  * src/platform/permissions/constants.ts
</Accordion>
