type: fhir-fhirpath-functionsource: source/fhirpath.html
FHIR FHIRPath Function: %factory.Coding
This page is part of FHIR FHIRPath (FHIR-specific extensions). Base spec lives at FHIRPath.
%factory.Coding(system, code, display, version) : Coding
Creates a Coding: %factory.Coding('http://loinc.org', '1234-5, 'An example test', '1.02')
Parameters:
- system: a string value that goes in Coding.system
- code: a string value that goes in Coding.code
- display: a string value that goes in Coding.display
- version: a string value that goes in Coding.version
Return Value: A coding.