Skip to content

Conversation

@FikriMilano
Copy link
Member

#1547

Changes included with this PR
Implements an automated tool to ensure all Keycloak users have the required FHIR resources (Practitioner, Group, and PractitionerRole). This tool scans all users in Keycloak, identifies those missing FHIR resources, and creates them automatically.

Introduces a new fhir-user-sync package that provides:

  1. User Scanning: Checks all Keycloak users against FHIR server to identify missing resources
  2. Automated Resource Creation: Creates missing Practitioner, Group, and PractitionerRole resources
  3. Progress Tracking: Real-time UI feedback showing scan and sync progress
  4. Error Handling: Proper validation and error reporting for failed operations
Screen Shot 2025-10-14 at 20 39 02 Screen Shot 2025-10-14 at 20 26 15 Screen Shot 2025-10-14 at 20 26 52 Screen Shot 2025-10-14 at 20 27 15

Checklist

  • tests are included and passing
  • documentation is changed or added
  • Internationalization:
    • Ensure all strings are internationalized.
  • Role-Based Access:
    • Verify that all user actions have appropriate role-based access permissions set.

To ensure all Keycloak users have the required FHIR resources.
@FikriMilano FikriMilano self-assigned this Oct 16, 2025
Copy link
Collaborator

@kahummer kahummer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Address the linting and remove the console.logs before merging, overall LGTM

@FikriMilano FikriMilano requested a review from kahummer October 21, 2025 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants