Skip to content

FPML lacks range iteration #33

@kozlovana

Description

@kozlovana

Need to add numeric/range iteration support in FPML (similar to JUTE’s $ range()):

While translating a working JUTE mapping medication-batch-create-extract to FPML, a hard blocker was encountered:
FPML’s {% for %} requires an array to iterate over, while this mapping needs to iterate N times based on an integer input (items-number).

The JUTE mapping medication-batch-create-extract uses $map: $ range(0, itemsNumber, 1) to create multiple Medication resources.
FPML currently has no equivalent — {% for %} only works with arrays, not integers.
As a result, this mapping cannot be translated to FPML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions