ex_hl7 v1.0.0 HL7.Segment.Builder behaviour

Behavior representing a module used to build HL7 segments based on their segment ID.

Link to this section Summary

Link to this section Callbacks

Link to this callback

segment_module(arg1)

segment_module(HL7.Type.segment_id()) :: {:ok, module()} | :error
Link to this callback

segment_spec(arg1)

segment_spec(HL7.Type.segment_id()) :: {:ok, HL7.Segment.spec()} | :error