Skip to content

Commit

Permalink
Merge pull request #214 from FirelyTeam/fix/BDE_for_SQL_and_Mongo
Browse files Browse the repository at this point in the history
Fix/bde for sql and mongo
  • Loading branch information
alexzautke committed Jan 4, 2023
2 parents 6cc4bed + 97a9f67 commit 3ddedcf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build-in-docker.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
$docsroot = Resolve-Path $PSScriptRoot
Write-Information -Message "Building documentation in folder ${docsroot}" -InformationAction Continue
docker run --rm -v ${docsroot}:/docs firely.azurecr.io/firely/docs-sphinx:latest
if ($LASTEXITCODE -ne 0) {
Write-Error -Message "Docker run failed. Is Docker active?" -RecommendedAction "Start Docker Desktop" -InformationAction Stop
Exit
}
$index = "${docsroot}\_build\html\index.html"
Write-Information -Message "Build ready, showing output from ${index}" -InformationAction Continue
explorer.exe ${index}
Expand Down
9 changes: 8 additions & 1 deletion features/bulkdataexport.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@ Bulk Data Export
Firely Server provides the option to export resources with the Bulk Data Export Service.
The Bulk Data Export Service enables the $export operation from the Fhir specification. Read more about the `$export request flow <https://hl7.org/fhir/uv/bulkdata/export/index.html#request-flow>`_

.. note::

To use Bulk Data Export you have to configure either :ref:`SQL Server <configure_sql>` or :ref:`MongoDB <configure_mongodb>` for the data database. Or you can implement it as part of a :ref:`feature_bulkdataexport_facade`.

The Administration database can be configured to any of the three supported databases.

Appsettings
-----------
To start using the Bulk Data Export Service (BDE) you will first have to add the relevant plugins (Vonk.Plugin.BulkDataExport.[Level]BulkDataExportConfiguration) to the PipelineOptions in the appsettings. In the example below we have enabled all three levels: Patient, Group and System. Bulk Data Export is supported on all databases used for the non-admin endpoint.
To start using the Bulk Data Export Service (BDE) you will first have to add the relevant plugins (Vonk.Plugin.BulkDataExport.[Level]BulkDataExportConfiguration) to the PipelineOptions in the appsettings.
In the example below we have enabled all three levels: Patient, Group and System.

.. code-block:: JavaScript
Expand Down

0 comments on commit 3ddedcf

Please sign in to comment.