Skip to content

Use conditional create in Artifact Bundles #532

@brynrhodes

Description

@brynrhodes

The artifact bundling uses PUT with the logical id of the artifact for canonical resources. This causes problems when multiple versions of the same artifact are loaded in the same server. Guidance in CRMI packaging is to use a conditional create:

https://hl7.org/fhir/uv/crmi/packaging.html#fhir-bundle

We should update the artifact bundling logic to use this approach for all canonical resources.

Note that the documentation there as published has an error, the header is If-None-Exist, not ifNotExist as given in the example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions