type: fhir-fhirpath-functionsource: source/fhirpath.html
FHIR FHIRPath Function: %server.create
This page is part of FHIR FHIRPath (FHIR-specific extensions). Base spec lives at FHIRPath.
%server.create(resource) : Resource
Create a resource on the server.
Parameters:
- resource: The resource to create. If the resource has an id, it will be ignored.
Return Value: The resource after it was stored. If the create operation failed, the return value is empty.