--- type: "fhir-fhirpath-function" title: "FHIR FHIRPath Function: %factory.Address" source: "source/fhirpath.html" --- # FHIR FHIRPath Function: %factory.Address This page is part of **FHIR FHIRPath** (FHIR-specific extensions). Base spec lives at [FHIRPath](/fhirpath). `%factory.Address(line, city, state, postalCode, country, use, type) : Address` Creates an Address: `%factory.Address('5 Nowhere Road', 'coyote@acme.com', 'EW', '0000', {}, 'home', 'physical')` Parameters: - **line**: a collection of string values that goes in Address.line - **city**: a string value that goes in Address.city - **state**: a string value that goes in Address.state - **postalCode**: a string value that goes in Address.postalCode - **country**: a string value that goes in Address.country - **use**: a string value that goes in Address.use - **type**: a string value that goes in Address.type **Return Value:** An address. * * * [Back to FHIR FHIRPath](/fhir-fhirpath)