--- type: "fhir-fhirpath-function" title: "FHIR FHIRPath Function: %factory.create" source: "source/fhirpath.html" --- # FHIR FHIRPath Function: %factory.create This page is part of **FHIR FHIRPath** (FHIR-specific extensions). Base spec lives at [FHIRPath](/fhirpath). `%factory.create(type) : {type}` Create an instance of the named type: `%factory.create(SampledData)` Parameters: - **type**: a value that is the type to create. This is a FHIRPath type specifier, and the default namespace is 'FHIR' **Return Value:** an instance of the named type. * * * [Back to FHIR FHIRPath](/fhir-fhirpath)