The Authorized Apps screen displays a patient-scoped list of FHIR-consented third-party applications and their current access status at routeDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/pm/patients/:patientId/authorized-apps.
Overview
The page loads consents for the givenpatientId via useAuthorizedApps. Each row shows the app logo (or a phone placeholder), app name, an Active or Revoked badge, and the grant date from granted_at. A toggle switch labeled “Show revoked apps” (default off) passes includeRevoked to the hook to include revoked consents. Clicking Manage on any row opens AppConsentSheet to perform consent management actions. The empty state message reads: “When you connect a third-party app to your health record, it will appear here.”
Who it’s for
Requires permissionPM_PERMISSIONS.FHIR_CONSENT_VIEW (enforced via RequirePermission in the route definition).
Before you start
- You need the
pm.fhir.consent.viewpermission. - Navigate here from a patient’s detail page; the route requires a valid
patientId.
Steps
Open Authorized Apps for a patient
Navigate to
/pm/patients/:patientId/authorized-apps for the relevant patient.Review active consents
Each card shows app name, Active/Revoked status badge, and the date the consent was granted.
Show revoked apps (optional)
Toggle Show revoked apps to include previously revoked consents in the list.
Key concepts
| Term | Meaning in code |
|---|---|
PatientAccessConsent | Database row for a patient’s consent to a third-party app |
FhirAppRegistration | The registered app record with app_name, app_type, logo_url, homepage_url, status |
granted_at | Timestamp when the patient granted consent |
revoked_at | Timestamp when consent was revoked; non-null = Revoked badge |
includeRevoked | Query filter; toggled by the “Show revoked apps” switch |
Related
Practice Management
Practice Management core overview.
Governance & parity
Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/pm.tsx
- src/cores/pm/pages/AuthorizedAppsPage.tsx
- src/cores/pm/hooks/useAuthorizedApps.ts
- src/cores/pm/components/AppConsentSheet.tsx