We're updating the issue view to help you get more done. 

Add list:values(object, node) and list:distinct(object, node)

Description

Add reporting functions:

  • list:values(object, node) - returns all non-null children of a composite node, where the nodes may be collections

  • list:distinct(object, node) - as above, but returns distinct values

E.g.:

  • return all items in an invoice

    1 list:values(. 'items.target')
  • return all distinct patients in an invoice

    1 list:distinct(., 'items.target.entity.patient')
  • return all distinct product identifiers in an invoice

    1 list:distinct(., 'items.target.entity.product.id')
  • return all documents in an invoice

    1 list:values(.,'items.target.documents.target')

Environment

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Components

Fix versions

Priority

Minor