onaio / fhir-tooling

A command line utility to support FHIR Core content authoring
Other
1 stars 1 forks source link

Throw error when updating a non-existing id #130

Closed Wambere closed 4 months ago

Wambere commented 5 months ago

Source comment https://github.com/onaio/fhir-tooling/pull/124#issuecomment-1926343827 Linked to https://github.com/onaio/fhir-tooling/pull/124

When using the importer tool, if the method provided is "update" and the uuid provided does not exist, then instead of creating a new resources, we need to throw an error