{% extends "base.html" %} {% from "_form_helpers.html" import render_field %} {% block content %}

Retrieve & Split Data

Retrieve FHIR bundles from a server, then download as a ZIP file. Split uploaded or retrieved bundle ZIPs into individual resources, downloaded as a ZIP file.

Retrieve Bundles

{% if form.errors %}

Please correct the following errors:

    {% for field, errors in form.errors.items() %}
  • {{ form[field].label.text }}: {{ errors|join(', ') }}
  • {% endfor %}
{% endif %}
{{ form.hidden_tag() }}
{# Ensure the input field uses the form object's data #} {{ form.fhir_server_url(class="form-control", id="fhirServerUrl", style="display: none;", placeholder="e.g., https://fhir.hl7.org.au/aucore/fhir/DEFAULT", **{'aria-describedby': 'fhirServerHelp'}) }}
Toggle to use local HAPI (/fhir proxy) or enter a custom FHIR server URL.
{# --- Checkbox Row --- #}
{# Render Fetch Referenced Resources checkbox using the macro #} {{ render_field(form.validate_references, id='validate_references_checkbox') }}
{# --- End Checkbox Row --- #} {# Render SubmitField using the form object #}
Retrieval Log
Retrieval output will appear here...

Split Bundles

{{ form.hidden_tag() }}
{# Render FileField using the macro #} {{ render_field(form.split_bundle_zip, class="form-control") }} {# Render SubmitField using the form object #}
Splitting Log
Splitting output will appear here...
{% endblock %}