Type operation persist-if-newer

Given one or more Person resources with an id and a version (via the http://rosetta.careevolution.com/FHIR/StructureDefinition/extension/person-version extension), for each one if a Person with that id does not already exist it is created, if it exists with a lower or no version number it is updated, if it exists with the same or greater version number nothing happens.

Applies to: Person

In parameters

Name Cardinality Type Documentation
person 1..* Person

Person to create or update. Must have an id and a version.

Out parameters

Name Cardinality Type Documentation
result 1..1 Code

Either 'created', 'updated' or 'no-action'