Skip to content

toString() should work on all literal types #2148

Open
@piotrszul

Description

@piotrszul

`toString()' fails for Boolean and Quantity collections.
Also it should produce {} for not literal types.

(Literal exclusions)

Details

java.lang.RuntimeException: Error invoking method-defined function

  • attrtrue.toString() [** bool to string]

(FHIR R4 Exclusions)

Details

java.lang.RuntimeException: Error invoking method-defined function

  • true.toString() [** testBooleanLiteralToString]

Details

java.lang.RuntimeException: Error invoking method-defined function

  • 1 'wk'.toString() [** testQuantityLiteralWkToString]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfhirpathRelated to fhirpath reference implementation

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions