aehrc / aehrc/pathling

FHIRPath function: normalize

Open
#301 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

fhirpath new feature
Dominant language
Java
Stars
134
Forks
24
Avg merge
1d 15h
Merged PRs (30d)
8

Description

This change implements a new function, normalize:

collection<Coding> -> normalize() : collection<Coding>

This function takes a collection of Coding elements as input. The result is a collection of the same number of Codings, but each subset of equivalent Codings within the collection will be assigned the same "normalized" value. The new values for this subset of Codings will be equal according to the semantics of the equality operator.

Equivalence semantics will be the same as for the equivalence operator.

This function can be used to normalize Coding values prior to grouping, to merge equivalent Coding-based groups.

Example:

Condition.code.coding.normalize()

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the proposed FHIRPath normalize() signature, its Coding input and output semantics, and the linked equivalence-operator issue (#300). Done means equivalent Codings receive equal normalized values while preserving collection size, supporting grouping use cases such as Condition.code.coding.normalize().

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spark
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.