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
- Category: String Manipulation
- Section:
5.6.7 - Return Type:
String - Empty Input Result:
empty - Errors on Multiple Input:
true
Description
Returns the input string with all characters converted to upper case.
Arguments
Type Mapping
Example
'abcdefg'.upper() // 'ABCDEFG'
'AbCdefg'.upper() // 'ABCDEFG'