📄️ Monarch API Authentication
This document describes the authentication system for the Monarch API.
📄️ Background
This is meant to help guide a developer who needs to map source data to the FHIR intermediate data model. One simple example of this is in the src/custom/dbt/dbttransformdefactotofhir folder and src/custom/dags/dagimportandtransformdefactohealthto_fhir.py DAG. Because of the simplicity of this data set (it is only a few resources, with only a few fields populated for each resource), some extra detail may be necessary to properly map data to FHIR.
📄️ Running Monarch in FHIR Mode
This guide will take you through getting Monarch set up in FHIR mode. It will include setup instructions up to getting sample data loaded into staging, information related to the FHIR API, and background on FHIR.
📄️ Tool Setup
For tool development there are some optional steps that might make using the tool easier
📄️ Source Explorer Setup
Prerequisites
📄️ Running the Demo Project
In order to run the demo project, you will need to complete the setup steps and populate the db with test data.
📄️ Using Merge Tools
Prerequisites
📄️ Adding Custom Imports
The overall process of transformation with the tool framework is as follows:
📄️ Config Schema
Overview
📄️ Custom Reporting
After creating a custom transform process, we may want to create custom reports based on the data we've imported. This document describes the process for doing so.
📄️ SFTP Monitor
The SFTP Monitor provides a set of API endpoints to manage and track files on a remote SFTP server. It's designed to monitor a specific directory structure on the server (/new, /processing, /completed, /error), track file states in a database registry, and maintain a local mirror of the files.
🗃️ Operators
1 item
📄️ data-load-config-dev-notes
Dev Notes Overview
📄️ data-load-config-old
NOTE
📄️ data-load-config
Overview
📄️ database-migrations
Monarch schemas and tables updates are made with Alembic migrations. Follow these steps to generate migrations.
📄️ Exporting to Project Database
Monarch has a built-in DAG to export its project tables to an external Postgresql or Microsoft SQL Server database
📄️ How To Data Load
This guide walks through the steps involved in data-loading to Salesforce
📄️ How to Data Seed - Refreshing a Data Source using Monarch
In some cases during a migration process it may be useful to take data from your production environment and migrate it into a lower environment. The process for doing this is similar to a standard Monarch data migration without the overhead of writing transformations. By treating the lower environment as a target and the higher environment as a source, it is easy to use the backbone of Monarch's pipeline to move data between environments.
📄️ How to Generate a Salesforce Access Token
Airflow requires an access token to connect to a Salesforce environment. This guide walks through how to generate one.
📄️ Running Demo Merge Project
1. Generate the test code
📄️ Smart Copy
Introduction
📄️ smart_delete DAG
Introduction
📄️ Utility Functions
DbtOperator