Open brynrhodes opened 1 month ago
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.
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.