Skip to content

Comments

Adds splat/2 to HL7 API#86

Open
Chase-Callahan wants to merge 1 commit intoHCA-Healthcare:mainfrom
Chase-Callahan:cc/hl7_splat
Open

Adds splat/2 to HL7 API#86
Chase-Callahan wants to merge 1 commit intoHCA-Healthcare:mainfrom
Chase-Callahan:cc/hl7_splat

Conversation

@Chase-Callahan
Copy link

@Chase-Callahan Chase-Callahan commented Nov 7, 2025

Resolves #75

Description of Work

Extends the HL7 API to allow for bulk updates of paths on a parsed_hl7 data structure. This is a convenience function that will allow consumers to either statically or dynamically bulk update HL7 messages.

Testing instructions

  1. Start iex session iex -S mix
  2. Attempt to execute splat and extract value
import HL7

hl7 = HL7.Examples.wikipedia_sample_hl7() |> HL7.new!()

splat(hl7, %{~p"PID-99" => "FOO"}) |> get(~p"PID-99")

@Chase-Callahan Chase-Callahan marked this pull request as draft November 7, 2025 16:53
Extends the HL7 API to allow for bulk updates of paths on a
parsed_hl7 data structure. This is a convenience function that
will allow consumers to either statically or dynamically bulk
update HL7 messages.
@Chase-Callahan Chase-Callahan marked this pull request as ready for review November 7, 2025 19:01
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.

Add Support for Bulk Puts to HL7

1 participant