type: fhir-fhirpath-functionsource: source/fhirpath.html
FHIR FHIRPath Function: %server.validate
This page is part of FHIR FHIRPath (FHIR-specific extensions). Base spec lives at FHIRPath.
%server.validate(resource, mode, parameters) : OperationOutcome
Validate a resource on the server.
Parameters:
- resource: The resource to validate.
- mode: how to validate - see Validation Operation.
- parameters: A parameters resource, or a string with URL parameters (name=value&etc.)
Return Value: An operation outcome with issues. If the validation couldn't be performed, the return value is empty.