extractValue

fun extractValue(base: Base?, expression: String): String

Function to extract value based on the provided FHIR path expression on the given base.

Return

the value of the first item in the returned list of Base as String, empty otherwise.