--- type: "fhir-fhirpath-function" title: "FHIR FHIRPath Function: %factory.CodeableConcept" source: "source/fhirpath.html" --- # FHIR FHIRPath Function: %factory.CodeableConcept This page is part of **FHIR FHIRPath** (FHIR-specific extensions). Base spec lives at [FHIRPath](/fhirpath). `%factory.CodeableConcept(coding, text) : CodeableConcept` Creates a CodeableConcept: `%factory.CodeableConcept(%factory.Coding(...), "Example Test")` Parameters: - **coding**: a collection of Coding that goes in CodeableConcept.coding - **text**: a string value that goes in CodeableConcept.text **Return Value:** a CodeableConcept. For the general type constructors, all the parameters are mandatory. Note that since all variables / outputs in FHIRPath are collections, all the parameters are inherently collections, but when the underlying property referred to is a singleton element, the collection cannot contain more than one item. Use the value `{}` if there is no value to provide. * * * [Back to FHIR FHIRPath](/fhir-fhirpath)