--- type: "fhir-fhirpath-function" title: "FHIR FHIRPath Function: conformsTo" source: "source/fhirpath.html" --- # FHIR FHIRPath Function: conformsTo This page is part of **FHIR FHIRPath** (FHIR-specific extensions). Base spec lives at [FHIRPath](/fhirpath). `conformsTo(structure : string) : Boolean` Returns `true` if the single input element conforms to the profile specified by the `structure` argument, and false otherwise. If the input is not a single item, the structure is empty, or the structure cannot be resolved to a valid profile, the return value is empty. Patient.conformsTo('http://hl7.org/fhir/StructureDefinition/Patient') * * * [Back to FHIR FHIRPath](/fhir-fhirpath)