https://github.com/fastenhealth/fasten-sources
  
  
    The Fasten Sources is a library that defines medical provider metadata (definitions - OpenID Metadata documents) and http clients (OAuth2/Smart-on-FHIR clients) which can be used to retrieve data from various Medical Providers (clients). 
    https://github.com/fastenhealth/fasten-sources
  
emr fhir-client healthcare personal-health-record smart-on-fhir
        Last synced: 2 months ago 
        JSON representation
    
The Fasten Sources is a library that defines medical provider metadata (definitions - OpenID Metadata documents) and http clients (OAuth2/Smart-on-FHIR clients) which can be used to retrieve data from various Medical Providers (clients).
- Host: GitHub
 - URL: https://github.com/fastenhealth/fasten-sources
 - Owner: fastenhealth
 - Created: 2022-11-18T20:20:49.000Z (almost 3 years ago)
 - Default Branch: main
 - Last Pushed: 2025-08-29T03:25:53.000Z (2 months ago)
 - Last Synced: 2025-08-29T07:35:51.925Z (2 months ago)
 - Topics: emr, fhir-client, healthcare, personal-health-record, smart-on-fhir
 - Language: Go
 - Homepage:
 - Size: 145 MB
 - Stars: 29
 - Watchers: 5
 - Forks: 11
 - Open Issues: 45
 - 
            Metadata Files:
            
- Readme: README.md
 - Contributing: CONTRIBUTING.md
 
 
Awesome Lists containing this project
README
          
# fasten-sources
[](https://github.com/fastenhealth/fasten-sources/actions/workflows/ci.yaml)
[](https://codecov.io/gh/fastenhealth/fasten-sources)
[](https://github.com/fastenhealth/fasten-sources/releases/latest)
[](https://discord.gg/Bykz6BAN8p)
[](https://forms.gle/4oU8372y4KyM8DbdA)
[](https://forms.gle/SNsYX9BNMXB6TuTw6)
[](https://github.com/sponsors/AnalogJ/)
The Fasten Sources is a library that contains medical provider metadata (`definitions` - OpenID Metadata documents)
and http clients (OAuth2/Smart-on-FHIR clients) which can be used to retrieve data from various Medical
Providers (`clients`).
The source data is generated by the [fasten-sources-gen](https://www.github.com/fastenhealth/fasten-sources-gen) project, and then
copied to the `catalog` folder of this project.
> See [PLATFORM_LIST.md](./PLATFORM_LIST.md) for a full list of EHR platforms supported by this repo. 
> 
> See [toolbox.fastenhealth.com](https://toolbox.fastenhealth.com) for a list of all supported Healthcare Providers.
# Usage
## Search Engine
Brands and Portals will be stored and indexed in Elasticsearch. The search engine will be used to find the correct Brand and associated Portals & Endpoints
## Definitions
Definitions are OpenID Metadata documents that are used to configure OAuth2 clients. These definitions contain Endpoint 
information merged with Platform configuration
# Types
There are multiple protocols used by the Medical Provider industry to transfer patient data, the following mechanisms are the
ones that Fasten supports
| Definition Folder                                        | Description                                                                                                                                     |
|----------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| [clients/factory](./clients/factory)                     | Automatically created client initializer                                                                                                        |
| [clients/internal/base](./clients/internal/base])        | Manually created base OAuth clients for various FHIR versions (R3/R4). These are the base clients that all platforms inherit from.              |
| [clients/internal/platform](./clients/internal/platform) | Automatically created OAuth clients for various EMR platforms. **Manually created test files**                                                  |
| [clients/internal/sandbox](./clients/internal/sandbox)   | Automatically created OAuth clients for accessing test FHIR servers full of synthetic data. **Manually created test files**                     |
| [clients/internal/source](./clients/internal/source)     | Automatically created OAuth clients for accessing production data from various healthcare institutions. Usually inherit from Platform clients   |
| [definitions](./definitions/)                            | Automatically created definition files. These files are generated from files created by `fasten-sources-gen` and are used by Fasten Lighthouse. |
# References
## NPM Library
- https://www.tsmean.com/articles/learn-typescript/typescript-module-compiler-option/
-