View raw Markdown
type: fhir-fhirpath-functionsource: source/fhirpath.html

FHIR FHIRPath Function: getValue

This page is part of FHIR FHIRPath (FHIR-specific extensions). Base spec lives at FHIRPath.

getValue() : System.\[type\]

Return the underlying system value for the FHIR primitive if the input collection contains a single value which is a FHIR primitive, and it has a primitive value (see discussion for hasValue()). Otherwise, the return value is empty.

Patient.birthDate.getValue() // returns just the primitive, does not include extensions (such as the birthTime extension)


Back to FHIR FHIRPath