USAMA IRFAN

Senior Full-Stack & AI Engineer

Skip to main content
USAMA+IRFAN®
Back to Work
05/Healthcare & AI·2024

MazikCare Patient Portal

AI-Assisted Healthcare Self-Service Portal

Role

Senior Solution Engineer

Key Contribution

Dynamics 365 & Power Pages architecture, Power Automate orchestration & AI record summarization

Core Stack

MS Dynamics 365MS Power PagesMS Power AutomatePower Pages AI ComponentsDataverse
MazikCare Patient Portal — AI-Assisted Healthcare Self-Service Portal
01 & 02 / CONTEXT

Overview & Business Problem

Project Overview

MazikCare Patient Portal gives patients a single, intuitive self-service experience to inspect medical histories, track upcoming appointments, and review AI-generated summaries of their clinical records—all natively backed by Microsoft Dynamics 365.

Business Problem

Patients often struggled to interpret fragmented clinical records spread across visits and departments, leading to high administrative support volume and poor self-service adoption.

03 & 04 / SCOPE

My Role & Requirements

03 · My Role

  • Engineered the patient self-service portal on Microsoft Power Pages connected directly to Dynamics 365.
  • Automated backend clinical data synchronization and workflow triggers using Microsoft Power Automate.
  • Integrated Power Pages AI Components to generate contextual medical record summaries and visual patient insights.

04 · Core Requirements

  • Unified patient-facing view of medical history and appointment schedules.
  • Automated, plain-language AI summarization of complex clinical records.
  • Rapid delivery leveraging enterprise Microsoft Dynamics 365 data governance.
05 / ENGINEERING HURDLES

Technical Challenges

01

Surfacing deeply relational Dynamics 365 healthcare entities inside a clean, patient-friendly interface.

02

Ensuring AI summaries remained faithful to underlying clinical data without exposing internal administrative fields.

06 / SYSTEM ARCHITECTURE

Architecture Blueprint

Enterprise Microsoft Power Platform architecture uniting Dynamics 365 clinical records, Power Automate orchestration, and Power Pages AI Components.

SYSTEM ARCHITECTURE TOPOLOGYPRODUCTION FLOW
01 · Patient Self-Service Layer
Microsoft Power Pages
AI Record Summarizer
Appointment Self-Service UI
02 · Workflow Automation
Microsoft Power Automate
Clinical Sync Triggers
Notification Flows
03 · Enterprise Data Core
Microsoft Dynamics 365
Dataverse Healthcare Entities
Role-Based Table Permissions
07 / STACK RATIONALE

Technology Choices

Microsoft Power Pages & AI Components

Enables rapid delivery of secure, Dynamics-backed external portals with native AI summarization.

Microsoft Dynamics 365 & Power Automate

Preserves a single source of truth for clinical records while automating cross-system workflows.

08 / IMPLEMENTATION

Core Pattern Excerpt

Strict Dataverse table permissions scope every patient query to their authenticated contact record before AI summarization runs.

Scoped Patient Record Fetch Pattern (Liquid / Power Pages)liquid
{% fetchxml patient_records %}
  <fetch top="25">
    <entity name="msemr_encounter">
      <attribute name="msemr_description" />
      <attribute name="msemr_start" />
      <attribute name="statuscode" />
      <filter type="and">
        <condition attribute="msemr_patient" operator="eq" value="{{ user.id }}" />
      </filter>
      <order attribute="msemr_start" descending="true" />
    </entity>
  </fetch>
{% endfetchxml %}
09 & 10 / IMPACT

Outcomes & Lessons Learned

09 · Verified Outcomes

  • Unified fragmented patient records into a single interactive, self-service portal within a short delivery timeline.
  • Empowered patients with contextual AI-assisted medical history insights and streamlined appointment visibility.

10 · Lessons Learned

  • Choosing platform-native enterprise tooling (Power Pages + Dynamics 365) can dramatically outperform custom builds when time-to-value and data governance are paramount.