MAKEIT(SEGNAME,.SEGARR,.FIRST245,.ADTLNODE) |
Builds an HL7 segment
Notes : Validity & existance of input is assumed
: Assumes no single element contained in SEGARR is greater
than 245 characters
: Continuation nodes are added at element boundaries
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
SEGNAME |
Input |
Name of segment being built
|
SEGARR |
Input |
Array continue segment data (pass by value)
SEGARR(X) = Value for sequence N
SEGARR(X,Y) = Repetition Y of sequence X
SEGARR(X,Y,Z) = Component Z of repetition Y of sequence X
SEGARR(X,Y,Z,A) = Subcomponent A of component Z of
repetition Y of sequence X
|
FIRST245 |
Both |
Variable to return first 245 characters of segment in
(pass by value)
|
ADTLNODE |
Both |
Array for continuation nodes (pass by value)
ADTLNODE(1..n) = Continuation of segment
|
Assumed Input |
Input |
HL7 encoding chars (output of INIT^HLFNC2 or
INIT^HLTRANS)
|
|