View raw Markdown
type: fhirpath-functionfunction: uppercategory: String Manipulationsection: 5.6.7source: fhirpath/functions.json

FHIRPath Function: upper

Returns the input string with all characters converted to upper case.

If the input collection is empty, the result is empty.

If the input collection contains multiple items, the evaluation of the expression will end and signal an error to the calling environment.

'abcdefg'.upper() // 'ABCDEFG'
'AbCdefg'.upper() // 'ABCDEFG'

Summary

Description

Returns the input string with all characters converted to upper case.

Arguments

Type Mapping

Example

'abcdefg'.upper() // 'ABCDEFG'
'AbCdefg'.upper() // 'ABCDEFG'