FHIR Service URLs for Patient EHI Access #
Overview #
LegendEHR provides standardized HL7® FHIR® R4 (Fast Healthcare Interoperability Resources) endpoints to allow patients and authorized third-party applications to securely access their Electronic Health Information (EHI).
All endpoints use HTTPS (TLS 1.2 or higher) and SMART on FHIR–based OAuth 2.0 authorization through AWS Cognito.
Base FHIR Service Endpoints #
FHIR Base URL (R4):
https://ey59n8fhd4.execute-api.us-east-1.amazonaws.com/default
This is the primary base URL for accessing FHIR resources such as Patient, Observation, Condition, Encounter, and MedicationRequest.
Core Resource Endpoints #
Resource | Description | Example URL |
/Patient | Retrieve patient demographic information | https://healthlake.us-east-1.amazonaws.com/datastore/8d8ae0ebc52744d8d9c6af8009bef7e6/r4/Patient |
/Observation | Retrieve vitals, lab results, and other observations | https://healthlake.us-east-1.amazonaws.com/datastore/8d8ae0ebc52744d8d9c6af8009bef7e6/r4/Observation |
/Condition | Retrieve patient problem/diagnosis list | https://healthlake.us-east-1.amazonaws.com/datastore/8d8ae0ebc52744d8d9c6af8009bef7e6/r4/Condition |
/Encounter | Retrieve clinical encounter and visit data | https://healthlake.us-east-1.amazonaws.com/datastore/8d8ae0ebc52744d8d9c6af8009bef7e6/r4/Encounter |
/MedicationRequest | Retrieve medication and prescription information | https://healthlake.us-east-1.amazonaws.com/datastore/8d8ae0ebc52744d8d9c6af8009bef7e6/r4/MedicationRequest |
/$export | Bulk data export for patient or population-level data | https://ey59n8fhd4.execute-api.us-east-1.amazonaws.com/default/$export |
Authorization and Discovery Endpoints #
OAuth 2.0 Authorization Server:
https://healthlakeoauth.auth.us-east-1.amazoncognito.com
SMART on FHIR Discovery Endpoint (.well-known):
https://healthlake.us-east-1.amazonaws.com/datastore/8d8ae0ebc52744d8d9c6af8009bef7e6/r4/.well-known/smart-configuration
FHIR CapabilityStatement:
https://healthlake.us-east-1.amazonaws.com/datastore/8d8ae0ebc52744d8d9c6af8009bef7e6/r4/metadata
Access Policy #
- All endpoints are publicly documented and secured via TLS 1.2 or higher.
- Patients or authorized apps may register and authenticate via OAuth 2.0 for secure access.
- The LegendEHR FHIR API follows HL7® FHIR® R4 and ONC §170.315(g)(10) interoperability standards.
Contact for Support
Email: support@legendehr.com