Inspiration

As healthcare organizations increasingly rely on Atlassian tools to manage their knowledge base and documentation, ensuring compliance with Medical Legal Regulatory (MLR) requirements has become a critical challenge. During my work with healthcare clients, I observed content creators struggling with the tedious and time-consuming process of MLR reviews on Confluence pages. What if we could leverage AI to streamline this process, reducing review cycles and ensuring compliant content from the start? This observation inspired me to create the Healthcare MLR Review Assistant for Confluence - a Forge app that analyzes healthcare domain pages, identifies potential compliance issues, and provides actionable recommendations before the formal MLR review process begins.

What I Learned

This project pushed me to deepen my knowledge across several domains: Forge Development: I gained hands-on experience building a complex app on Atlassian’s serverless platform, working with Custom UI, storage API, and Confluence REST APIs. Healthcare Compliance: I developed a deeper understanding of MLR requirements and common compliance pitfalls in healthcare documentation. AI Integration: I learned how to effectively integrate OpenAI’s models for specialized document analysis, including prompt engineering for domain-specific tasks. UX Design for Compliance Tools: I discovered how to create interfaces that highlight compliance issues without overwhelming content creators, balancing thoroughness with usability.

What it does

The Healthcare MLR Review Assistant transforms how healthcare organizations create and review compliant content in Confluence:

Automated Page Analysis: The app automatically scans Confluence pages in healthcare spaces, analyzing content for potential regulatory issues using advanced natural language processing. Users can trigger analysis manually or configure scheduled scans of designated spaces.

Comprehensive Compliance Checking: Our solution evaluates content against multiple compliance dimensions: Medical claim accuracy and substantiation Required safety information and fair balance statements Regulatory disclaimers and required language Proper reference formatting and citation Appropriate audience-specific content Product promotion boundaries and limitations Privacy compliance for patient information

Real-time Feedback During Content Creation: Content creators receive immediate guidance through:

Inline compliance suggestions within the Confluence editor Visual highlighting of potentially problematic text Severity-coded issues (critical, major, minor) Specific remediation suggestions with examples Links to relevant regulatory guidance

Interactive Compliance Dashboard: A comprehensive dashboard provides:

Page-level compliance scores and summaries Space-wide compliance metrics and trends Filtering by issue type, severity, and status Exportable compliance reports for documentation Historical compliance improvement tracking

Intelligent Learning System: The app improves over time through:

Feedback collection on false positives/negatives Organization-specific compliance rule customization Adaptive analysis based on previously approved content Integration of new regulatory requirements as they emerge Workflow Integration: Seamlessly integrates with existing Atlassian workflows: Automatic issue creation for compliance remediation Integration with approval workflows Compliance status badges on Confluence pages Notification system for stakeholders Audit trails for compliance activities

How we built it

Architecture Overview

The Healthcare MLR Review Assistant operates as a Forge app with the following components: Confluence Page Scanner: A module that extracts content from Confluence pages in designated spaces. MLR Analysis Engine: The core of the app that processes page content through specialized OpenAI models trained on healthcare compliance requirements.

Recommendation System: Generates actionable suggestions for content creators to address potential compliance issues.

Review Dashboard: A Custom UI that displays analysis results and allows users to track compliance status across multiple pages.

Challenges we ran into

Content Extraction Complexity: Confluence pages often contain complex structures including tables, macros, and embedded content. Extracting and processing this content while maintaining context proved challenging. I solved this by developing a custom HTML parser that preserves structural relationships while converting to analyzable text.

Performance Optimization: Early versions of the app experienced performance issues when analyzing large pages. I implemented a chunking strategy that processes content in segments while maintaining contextual awareness across chunks.

Forge Storage Limitations: Working within Forge’s storage constraints required creative solutions for caching analysis results and managing state across user sessions.

Accomplishments that we're proud of

Through determined problem-solving and innovation, we’ve achieved several significant milestones: Reduced MLR Review Cycles by 40%: Our pre-screening system has dramatically reduced formal review cycles by catching common issues before submission. This translates to:

Weeks saved in documentation approval processes Faster time-to-market for critical healthcare information Reduced workload for overwhelmed compliance teams More predictable publication timelines Significant cost savings in review processes

Advanced Context-Aware Analysis: We developed sophisticated prompt engineering techniques that enable the AI to understand healthcare terminology in context:

85% accuracy in identifying unsubstantiated claims 92% detection rate for missing safety information 78% reduction in false positives compared to keyword-based approaches Ability to distinguish between promotional and educational content Contextual understanding of acceptable terminology variations

Seamless Confluence Integration: The app integrates natively with the Confluence experience:

No workflow disruption for content creators Inline suggestions that appear directly in the editor Automatic scanning of new and updated pages Integration with page approval workflows Customizable notification system for stakeholders

Customizable Compliance Rules Engine: Our flexible system allows organizations to define their specific regulatory requirements:

Organization-specific compliance rule libraries Custom severity classifications Adaptable rule sets for different product types Versioning system for evolving requirements Simple interface for compliance officers to update rules

Privacy-First Design: We implemented a system that prioritizes data privacy:

All analysis occurs within the customer’s environment No PHI is transmitted to external services Compliance with HIPAA and data protection regulations Audit trails for all compliance activities Granular permission controls for sensitive content

What we learned

This project provided invaluable learning experiences across multiple dimensions: Technical Insights:

Serverless architecture presents unique challenges for complex document processing Effective prompt engineering is critical for domain-specific AI applications Performance optimization requires careful balancing of processing segments React component design for compliance applications needs special attention to usability Authentication flows in Forge require careful planning for different user roles

Domain Knowledge:

Healthcare compliance is highly nuanced and context-dependent Different product categories have distinct regulatory requirements Compliance requirements evolve continuously with new regulations The boundary between promotional and educational content is complex Substantiation requirements vary based on claim type and audience

User Experience Lessons:

Compliance tools must balance thoroughness with usability Users prefer inline suggestions over separate review interfaces Visual indicators of severity help prioritize remediation efforts Progressive disclosure works well for compliance details Users value explanations alongside issue identification

Business Insights:

MLR review inefficiency is a significant cost center for healthcare organizations Compliance teams welcome AI assistance when positioned as augmentation, not replacement Quantifiable time savings drive adoption more than feature richness Integration with existing workflows is crucial for adoption

Transparency in AI decision-making builds trust with compliance professionals

Collaborative Development:

Cross-functional teams with both technical and domain expertise produce better results Iterative development with frequent stakeholder feedback is essential Documentation of compliance logic requires specialized approaches Testing protocols for compliance tools need special attention to edge cases Training materials require different approaches for technical vs. compliance audiences

What's next for Healthcare MLR Review Assistant

Our vision for the future of the Healthcare MLR Review Assistant includes several exciting enhancements:

Advanced Machine Learning Capabilities:

Implementing a feedback loop system where reviewer corrections train the model Developing organization-specific fine-tuning based on historical approvals Creating pattern recognition for recurring compliance issues Building predictive models for content likely to face rejection Implementing specialized models for different content types (claims, safety information, etc.)

Multi-Document Analysis: Expanding capabilities to analyze relationships between documents Identifying inconsistencies in claims or regulatory statements across documentation Ensuring cross-reference accuracy between related documents Tracking terminology consistency across product documentation Building knowledge graphs of interconnected healthcare information

Regulatory Update Monitoring:

Creating an alert system that notifies teams when regulatory changes might impact existing content

Automated scanning of regulatory publications for relevant changes Impact analysis of regulatory changes on existing documentation Suggested remediation paths for affected content Historical compliance standard tracking

Integration with Jira for Remediation Tracking:

Automatically generating Jira tickets for compliance issues Bi-directional status updates between remediation tickets and content Custom Jira dashboards for compliance management Integration with sprint planning for compliance work

Automated verification of implemented fixes

Expanded Content Types: Extending analysis capabilities to additional content types Support for attached PDFs and documents Image analysis for compliance in visual content Video transcript analysis for multimedia content Form and interactive content compliance checking

Internationalization:

Supporting MLR requirements across multiple regulatory jurisdictions Region-specific compliance rule sets Multi-language support for content analysis Comparative analysis across different regulatory frameworks Translation verification for multi-language documentation Compliance Prediction:

Developing predictive analytics that identify potential issues during content creation Real-time guidance as content is being written Trend analysis of compliance patterns over time Proactive alerts for high-risk content types Benchmarking against industry compliance standards

Collaboration Features:

Introducing tools for compliance teams to collaborate on issue resolution Comment threading on specific compliance issues Approval workflows for suggested fixes Knowledge sharing between compliance reviewers Historical decision tracking for precedent setting

Through these enhancements, we aim to transform healthcare content compliance from a bottleneck into a competitive advantage, enabling organizations to deliver accurate, compliant information more efficiently than ever before.

Built WithForge: Atlassian’s serverless app development platform

JavaScript/TypeScript: Core programming languages React: For building the Custom UI components OpenAI API: For advanced content analysis Confluence REST API: For accessing and manipulating page content AWS Lambda: For additional processing capabilities beyond Forge’s limits MongoDB Atlas: For storing analysis results and user preferences Natural Language Processing: For text extraction and semantic analysis Jest: For testing components and API interactions HTML5/CSS3: For UI implementation Node.js: For backend processing Express: For API development Redux: For state management Axios: For API requests Chart.js: For compliance metrics visualization

Built With

Share this project:

Updates