--- type: "fhir-fhirpath-function" title: "FHIR FHIRPath Function: %server.update" source: "source/fhirpath.html" --- # FHIR FHIRPath Function: %server.update This page is part of **FHIR FHIRPath** (FHIR-specific extensions). Base spec lives at [FHIRPath](/fhirpath). `%server.update(resource) : Resource` Store a resource on the server. Parameters: - **resource**: The resource to create. The resource must have an id. **Return Value:** The resource after it was stored. If the create operation failed, the return value is empty. * * * [Back to FHIR FHIRPath](/fhir-fhirpath)