USAMA IRFAN

Senior Full-Stack & AI Engineer

Skip to main content
USAMA+IRFAN®
Back to Work
01/Healthcare & AI·2026

Arthur Care Nexus

Global Healthcare Patient Management & RAG Platform

Role

Technical Consultant / Senior Full-Stack & AI Engineer

Key Contribution

Core platform architecture, RAG search pipeline, Document Intelligence & zero-trust Azure security

Core Stack

.NET 8ReactPythonAzure OpenAIAzure AI SearchDocument IntelligenceDataverseEntra ID
ARTHUR CARE NEXUS · CLINICAL RAG ENGINE
ENTRA ID · RBAC VERIFIED

EPISODE OF CARE

Unified Patient Graph

Patient Intake & TriageSynced
Document Intelligence OCRExtracted
Insurance Pre-Auth FlowActive
AZURE AI SEARCH · SEMANTICVECTOR + HYBRID

MVP Delivery

6 Mo

Security

Zero-Trust

Pipeline

RAG + OCR

.NET 8 · REACT · PYTHON · AZURE OPENAIDATAVERSE · KEY VAULT
01 & 02 / CONTEXT

Overview & Business Problem

Project Overview

Arthur Care Nexus is a global healthcare patient management ecosystem engineered to unify patient registration, medical records, episodes of care, insurance workflows, and clinical scheduling across hospitals and care teams. Built on Microsoft Azure with a zero-trust security posture, it embeds production RAG and document intelligence directly into clinical operations.

Business Problem

Hospital networks and administrative teams frequently operate across fragmented patient registries, manual clinical document intake, and disconnected insurance workflows. Clinicians needed rapid, context-aware visibility into patient histories without compromising strict healthcare data privacy or waiting years for an initial rollout.

03 & 04 / SCOPE

My Role & Requirements

03 · My Role

  • Engineered core enterprise backend services and RESTful APIs in .NET 8 connecting patient records, care episodes, insurance workflows, and scheduling.
  • Architected the Retrieval-Augmented Generation (RAG) pipeline using vector embeddings, semantic search, and semantic ranking on Azure AI Search.
  • Integrated Azure AI Document Intelligence and Computer Vision for automated clinical document ingestion, classification, extraction, and PII redaction.
  • Designed zero-trust Azure cloud security utilizing Azure Key Vault, Managed Identities, and Microsoft Entra ID RBAC.
  • Championed AI-assisted development workflows (GitHub Copilot, Claude Code) and automated PR review pipelines to accelerate team velocity.

04 · Core Requirements

  • Unified multi-stakeholder workflows spanning patients, clinicians, hospitals, and insurance providers.
  • Contextual semantic search and summarization across unstructured medical documents.
  • Automated extraction and redaction of sensitive clinical attachments.
  • Strict Role-Based Access Control (RBAC) and zero-secret service-to-service authentication.
  • Accelerated delivery of a production-grade MVP suitable for hospital stakeholder demonstrations.
05 / ENGINEERING HURDLES

Technical Challenges

01

Enforcing tenant and role-level authorization boundaries inside vector search queries so clinicians only retrieve authorized patient context.

02

Handling diverse, low-quality clinical scans and multi-page forms through Document Intelligence without blocking core API threads.

03

Balancing rapid 6-month MVP execution with enterprise architectural cleanliness and long-term maintainability.

06 / SYSTEM ARCHITECTURE

Architecture Blueprint

Event-driven cloud-native Azure architecture separating clinical transactional APIs (.NET 8 + Dataverse) from asynchronous document ingestion and RAG indexing pipelines (Python + Azure AI Search + Azure OpenAI), all authenticated via Entra ID and Managed Identities.

SYSTEM ARCHITECTURE TOPOLOGYPRODUCTION FLOW
01 · Client & Clinical Experience
React Clinical Portal
Entra ID SSO / RBAC
Patient & Episode Workflows
02 · Core Application Services
.NET 8 REST APIs
Power Automate Flows
Managed Identity Auth
03 · AI & Cognitive Pipeline
Azure Document Intelligence
Azure AI Search (Vector + Semantic)
Azure OpenAI RAG
04 · Data & Security Foundation
Microsoft Dataverse
Azure Blob Storage
Azure Key Vault
07 / STACK RATIONALE

Technology Choices

.NET 8 & C#

Provides high-throughput strongly typed enterprise APIs with first-class Azure Managed Identity and Dataverse SDK support.

Azure AI Search + Azure OpenAI

Combines hybrid vector/keyword retrieval with semantic ranking inside a compliant Azure boundary.

Azure Document Intelligence

Automates structured field extraction and redaction from heterogeneous hospital PDFs and scanned records.

Microsoft Entra ID & Key Vault

Eliminates static credentials in favor of Managed Identities and fine-grained clinical RBAC policies.

08 / IMPLEMENTATION

Core Pattern Excerpt

Security-trimmed hybrid retrieval ensures every RAG prompt is grounded strictly in authorized patient records before synthesis.

Security-Trimmed Clinical RAG Retrieval (.NET 8)csharp
public async Task<ClinicalInsight> QueryPatientContextAsync(
    string patientId,
    string clinicianQuery,
    ClaimsPrincipal user,
    CancellationToken ct)
{
    var tenantScope = user.GetRequiredClaim("tid");
    var searchOptions = new SearchOptions
    {
        Filter = $"patientId eq '{patientId}' and tenantId eq '{tenantScope}'",
        QueryType = SearchQueryType.Semantic,
        SemanticSearch = new SemanticSearchOptions
        {
            SemanticConfigurationName = "clinical-records-semantic"
        },
        Size = 6
    };

    var results = await _searchClient.SearchAsync<ClinicalChunk>(
        clinicianQuery, searchOptions, ct);

    var groundedContext = await BuildCitedContextAsync(results.Value, ct);
    return await _openAiClient.SynthesizeClinicalSummaryAsync(
        clinicianQuery, groundedContext, ct);
}
09 & 10 / IMPACT

Outcomes & Lessons Learned

09 · Verified Outcomes

  • Contributed to delivering a production-ready platform MVP within a 6-month development window against an original 1.5-year target timeline.
  • Successfully demonstrated end-to-end clinical and AI workflows to hospital stakeholders, securing client buy-in for platform adoption.
  • Established zero-trust AI integration patterns and team-wide AI-assisted engineering workflows with automated CI/CD checks.

10 · Lessons Learned

  • Security filtering belongs at the vector-index query layer—never as a post-processing filter after LLM generation.
  • Pairing structured AI-assisted development practices with rigorous automated PR reviews compresses delivery timelines without eroding architectural standards.