Documentation / Pipelines
Ingress pipelines
Deploy an Apache® NiFi™ flow that loads data into the raw vault.
Choose Add ingress pipeline, pick a flow, the data source and the integration server, and fill in the settings. Deploy uploads the flow to NiFi and fills in its parameters; tick Start after deploying to start it at once.
| Flow | What it does |
|---|---|
| FHIR® REST API facade | A FHIR REST endpoint (read, search, create, update, delete, history, batch) that stores everything in the raw vault. Works on FHIR R4, R4B and R5 data sources. Serve chooses the raw vault, the MDM golden records or an anonymized vault made from the data source (the golden records and the anonymized vault are read only: MDM and the anonymization pipeline maintain them); Read only makes the raw-vault endpoint refuse writes (405). Deploy installs or updates the REST functions in that schema unless you untick the option. To run the same flow several times with different settings, add one pipeline per deployment or use Duplicate; ports and folders already in use are refused. FHIR server id * shows every resource in the data source; one id shows only the resources stored under it. |
| FHIR JSON API | An HTTP endpoint that accepts FHIR resources and Bundles as JSON. Anything that cannot be loaded goes to a reject folder. |
| Bulk NDJSON files | Scans a folder on the NiFi server for .ndjson, .jsonl and gzip files, loads every line and moves finished files to a done folder. |
| Setting | Meaning |
|---|---|
| Database connection | Blank host, port, user and password use those of the data source. A dedicated database account with only the rights the flow needs is better. Use the host name as NiFi reaches it when the data source says localhost. |
| JDBC driver | The full path of the PostgreSQL® JDBC jar on the NiFi server. The suite cannot check that it exists. |
| Folders | Paths on the NiFi server, not on your computer. |
| Button | Does |
|---|---|
| Deploy | Uploads the flow and sets its parameters. A previous deployment of the same pipeline is replaced. |
| Start / Stop | Starts or stops the flow on NiFi. |
| Refresh | Reads the current state from NiFi. |
| Remove from server | Stops and deletes the flow and its parameter context on NiFi. |
| Delete | Deletes the pipeline (only when it is not deployed). |
Careful
The database password is given to NiFi as a sensitive parameter. A server that cannot be reached, a wrong driver path or a port that is already used shows as failed or invalid with NiFi's message.