{
  "name": "Orchestrate patient admission, discharge and post-care with NVIDIA and Claude",
  "nodes": [
    {
      "id": "524f0188-5087-40ca-9cf7-7b04bd22793a",
      "name": "Schedule Patient Operations Check",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        160,
        96
      ]
    },
    {
      "id": "4fcfc9f3-9a3d-4e87-9aa1-5c9f77e78ade",
      "name": "Patient Event Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        160,
        288
      ]
    },
    {
      "id": "0aec5e47-2e2f-4d0d-929c-ce8f040af480",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        608,
        192
      ]
    },
    {
      "id": "edca6b37-f42e-43f8-8c3c-095e3f9cc6ae",
      "name": "Merge Triggers",
      "type": "n8n-nodes-base.merge",
      "position": [
        384,
        192
      ]
    },
    {
      "id": "66d4fc43-691d-4f85-ab3a-1b9d03e368f1",
      "name": "Fetch EHR Patient Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        816,
        192
      ]
    },
    {
      "id": "8f5f1d45-7de6-4f2a-a11c-5cf2757f6df7",
      "name": "Fetch Pharmacy Readiness",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1056,
        192
      ]
    },
    {
      "id": "14778ef9-1281-4502-b5e3-24eb196e4789",
      "name": "Fetch Case Management Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1296,
        192
      ]
    },
    {
      "id": "b20a8e36-8e92-4ddb-bf41-659f9fd59b64",
      "name": "Aggregate System Data",
      "type": "n8n-nodes-base.set",
      "position": [
        1568,
        192
      ]
    },
    {
      "id": "b9ed5098-eb51-4262-9ed6-6ee7e82f87c1",
      "name": "Validate Data Completeness",
      "type": "n8n-nodes-base.code",
      "position": [
        1792,
        192
      ]
    },
    {
      "id": "6161a44a-8348-4caa-b733-72c847e768cb",
      "name": "Healthcare Operations Orchestrator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2016,
        192
      ]
    },
    {
      "id": "2b113cc6-2b38-4371-8b12-f9bbb993560b",
      "name": "Claude Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        2032,
        416
      ]
    },
    {
      "id": "d69544ed-4da7-4788-8065-c697e323d30b",
      "name": "Structured Operations Output",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2160,
        416
      ]
    },
    {
      "id": "f4fe0131-736a-480d-853b-7557b5fe5f7c",
      "name": "Route by Operation Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        2368,
        160
      ]
    },
    {
      "id": "b3a0e7b0-86a5-4bf5-ba32-5eea9d2c7a9b",
      "name": "Execute Admission Workflow",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2608,
        160
      ]
    },
    {
      "id": "f6f0e3fd-70fb-43c4-a78e-4eede46c6339",
      "name": "Execute Discharge Workflow",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2608,
        352
      ]
    },
    {
      "id": "b029c0cd-e9bc-476e-8ad1-312fe11b581f",
      "name": "Execute Post-Care Workflow",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2608,
        544
      ]
    },
    {
      "id": "da8b9447-e047-42d9-9e92-62c37088a8b0",
      "name": "Check Exception Flag",
      "type": "n8n-nodes-base.if",
      "position": [
        2816,
        192
      ]
    },
    {
      "id": "a6840163-fd2a-494f-9f1b-253e84f9755a",
      "name": "Escalate to Clinical Staff",
      "type": "n8n-nodes-base.slack",
      "position": [
        3040,
        96
      ]
    },
    {
      "id": "b492caaf-27f5-40da-ba7f-976b593b04d0",
      "name": "Send Exception Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        3040,
        288
      ]
    },
    {
      "id": "e0c770aa-12bc-41ed-91f1-c86c164a9e87",
      "name": "Merge Workflow Paths",
      "type": "n8n-nodes-base.merge",
      "position": [
        3264,
        176
      ]
    },
    {
      "id": "5e621963-dec1-4bf7-bf0c-7abcf93b3ada",
      "name": "Log Audit Trail",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3488,
        192
      ]
    },
    {
      "id": "d529918d-85e0-4276-bea7-90ff7637c7ed",
      "name": "Format Compliance Report",
      "type": "n8n-nodes-base.set",
      "position": [
        3712,
        192
      ]
    },
    {
      "id": "61aa7acb-cba5-485a-a4f2-37eb3a15e1d0",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        -400
      ],
      "parameters": {
        "width": 432,
        "height": 368,
        "content": "## Prerequisites\nNVIDIA API access, Anthropic Claude API key, Google Workspace account (Gmail, Sheets)\n## Use Cases\nEmergency department triage automation, post-operative monitoring for deterioration "
      }
    },
    {
      "id": "78ede027-a990-472c-9234-248d29bc21ab",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        896,
        -304
      ],
      "parameters": {
        "width": 480,
        "height": 272,
        "content": "## Setup Steps\n1. Configure Patient Event Webhook with your EHR system endpoint URL and authentication headers\n2. Add NVIDIA API credentials (API key) in Fetch Patient Data and Structured Generation n"
      }
    },
    {
      "id": "6168b9ec-827e-4b3a-9d89-5d87f11e863c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        144,
        -304
      ],
      "parameters": {
        "width": 704,
        "height": 272,
        "content": "## How It Works\nThis workflow automates patient risk assessment and clinical alerting for healthcare providers using NVIDIA AI models. Designed for hospitals, clinics, and healthcare organizations, it"
      }
    },
    {
      "id": "e144e381-54be-414a-a46d-dc129419f073",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3424,
        -48
      ],
      "parameters": {
        "width": 496,
        "height": 864,
        "content": "## Documentation & Compliance Reporting\n**Why**\nStandardizes documentation, enables real-time clinical response, and maintains regulatory compliance through comprehensive activity logging."
      }
    },
    {
      "id": "0b6a5419-dfc9-45de-94bb-1e61c158c2f2",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1936,
        -32
      ],
      "parameters": {
        "width": 1456,
        "height": 864,
        "content": "## Intelligent Patient Triage\n**Why**\nEnsures critical patients receive urgent attention while maintaining efficient processing for routine cases without unnecessary clinical burden."
      }
    },
    {
      "id": "d3ab4d53-45da-4bf6-adc4-b3b58d3af13b",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        -16
      ],
      "parameters": {
        "width": 1808,
        "height": 592,
        "content": "## Data Collection & AI Risk Analysis\n**Why**\nCombines multiple data sources to provide comprehensive patient profiles, enabling accurate risk stratification beyond single-metric assessments."
      }
    }
  ],
  "connections": {
    "Claude Model": {
      "ai_languageModel": [
        [
          {
            "node": "Healthcare Operations Orchestrator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Merge Triggers": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Audit Trail": {
      "main": [
        [
          {
            "node": "Format Compliance Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Exception Flag": {
      "main": [
        [
          {
            "node": "Escalate to Clinical Staff",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Exception Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Workflow Paths": {
      "main": [
        [
          {
            "node": "Log Audit Trail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Exception Email": {
      "main": [
        [
          {
            "node": "Merge Workflow Paths",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Aggregate System Data": {
      "main": [
        [
          {
            "node": "Validate Data Completeness",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Patient Event Webhook": {
      "main": [
        [
          {
            "node": "Merge Triggers",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Fetch EHR Patient Data": {
      "main": [
        [
          {
            "node": "Fetch Pharmacy Readiness",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Fetch EHR Patient Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Operation Type": {
      "main": [
        [
          {
            "node": "Execute Admission Workflow",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Execute Discharge Workflow",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Execute Post-Care Workflow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Pharmacy Readiness": {
      "main": [
        [
          {
            "node": "Fetch Case Management Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Escalate to Clinical Staff": {
      "main": [
        [
          {
            "node": "Merge Workflow Paths",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute Admission Workflow": {
      "main": [
        [
          {
            "node": "Check Exception Flag",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute Discharge Workflow": {
      "main": [
        [
          {
            "node": "Check Exception Flag",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute Post-Care Workflow": {
      "main": [
        [
          {
            "node": "Check Exception Flag",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Case Management Data": {
      "main": [
        [
          {
            "node": "Aggregate System Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate Data Completeness": {
      "main": [
        [
          {
            "node": "Healthcare Operations Orchestrator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Operations Output": {
      "ai_outputParser": [
        [
          {
            "node": "Healthcare Operations Orchestrator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Patient Operations Check": {
      "main": [
        [
          {
            "node": "Merge Triggers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Healthcare Operations Orchestrator": {
      "main": [
        [
          {
            "node": "Route by Operation Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}