as
Category: Type
Casts the input to the specified type, returns empty if the cast is not possible
Signature
Section titled “Signature”- Return type:
any - Parameters:
typestring— The type to cast to
Examples
Section titled “Examples”'123'.as('Integer')Patient.name.as('HumanName')Observation.value.as('Quantity')