write_hl7s: writes hl7s with random data.

View source: R/write_hl7s.R

write_hl7sR Documentation

writes hl7s with random data.

Description

write_hl7s function writes hl7 files with random data that generates for A09 transactions. This function writes the headers MSH, EVENT, PID, PV1, PV2

Usage

write_hl7s(write_to_file = TRUE, nr_files, return = TRUE)

Arguments

write_to_file

is a binary input TRUE/FALSE with TRUE as default, FALSE prints to screen

nr_files

is an integer greater than 0, if missing, function writes single file.

return

is a binary input TRUE/FALSE. TRUE would deliver an input a list

Value

returns a data.frame with hl7 data with a next line as a seperator


rHL7 documentation built on March 18, 2022, 5:59 p.m.