Skip to content

Comments

Fix updating field with empty repetitions#88

Open
nicholasjhenry wants to merge 2 commits intoHCA-Healthcare:mainfrom
nicholasjhenry:fix-update-empty-repititions
Open

Fix updating field with empty repetitions#88
nicholasjhenry wants to merge 2 commits intoHCA-Healthcare:mainfrom
nicholasjhenry:fix-update-empty-repititions

Conversation

@nicholasjhenry
Copy link

@nicholasjhenry nicholasjhenry commented Nov 17, 2025

Resolves #87

Considering the following test cases should also be added:

  1. PID||~~| - three empty repetitions
  2. PID||~~VALUE| - two empty repetitions followed by a value
  3. PID||VALUE~~| - a value followed by two empty repetitions
  4. PID||VALUE1~~VALUE2| - two values separated by an empty repetition
  5. PID||~VALUE~| - a value surrounded by empty repetitions

Thoughts?

Only interested in string values which to_map/1 returns as is.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug when Updating Field with Empty Repetitions

1 participant