--- type: "fhir-fhirpath-function" title: "FHIR FHIRPath Function: %terminologies.validateVS" source: "source/fhirpath.html" --- # FHIR FHIRPath Function: %terminologies.validateVS This page is part of **FHIR FHIRPath** (FHIR-specific extensions). Base spec lives at [FHIRPath](/fhirpath). `%terminologies.validateVS(valueSet, coded, params) : Parameters` This calls the [Terminology Service $validate-code](terminology-service#expand) operation on a value set ([formal definition](valueset-operation-validate-code)). Parameters: - **valueSet**: either an actual [ValueSet](valueset), or a [canonical URL](references#canonical) reference to a value set. - **coded**: either a [Coding](datatypes#coding), a [CodeableConcept](datatypes#CodeableConcept), or a resource element that is a [code](datatypes#code) - **params**: a URL encoded string with other parameters for the validate-code operation (e.g., 'date=2011-03-04&displayLanguage=en') **Return Value:** A [Parameters](parameters) resource with the results of the validation operation. * * * [Back to FHIR FHIRPath](/fhir-fhirpath)