Skip to main content

Patient

The Patient module provides a comprehensive solution for displaying and managing patient information in healthcare applications. Built on top of FHIR Patient resources with compound components, localization support, and performance optimizations using FlashList.

Overview

The Patient module offers healthcare-specific components for displaying patient demographics, personal information, and patient lists with consistent styling and accessibility features. All components follow FHIR standards and support internationalization for global healthcare applications.

Key Features

  • FHIR Compliance: Built on FHIR Patient resources for healthcare interoperability
  • Compound Components: Flexible card-based architecture with composable sub-components
  • High Performance: List components using FlashList for large patient datasets
  • Localization Ready: Full i18n support with date formatting and gender translations
  • Accessibility First: Screen reader support and proper focus management
  • Theme Integration: Consistent styling with Material Design 3 theming
  • Healthcare Icons: Medical-appropriate icons and visual indicators

Core Components

Architecture

The Patient module follows the SDK's compound component pattern:

  • Compound Structure: PatientCard serves as the main container with composable sub-components
  • FHIR Integration: Direct compatibility with @medplum/fhirtypes Patient resources
  • Flexible Composition: Mix and match components based on specific healthcare workflows
  • Performance Optimized: Efficient rendering for large patient directories