Skip to contents

Build a character vector from segment functions for export as HL7 text files The function only accepts objects from the segment functions MSH(), OBR(), etc. The first segment must be MSH().

Usage

build_hl7(...)

Arguments

...

segment functions MSH(), OBR(), etc.

Value

character vector of length equal to the number of segment functions and of class 'hl7vector'

Examples

build_hl7(MSH(), PID())
#> MSH|^~\&
#> PID