SEGPRSE |
This entry point parses a HL7 segment by field
separator.
Notes : OUTARR is initialized (KILLed) on entry
: Assumes SEGMENT and OUTARR are defined and valid
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
SEGMENT |
Input |
Input : SEGMENT - Array containing HL7 segment to
parse
(full global ref)
SEGMENT = First 245 characters of segment
SEGMENT(1..n) = Continuation nodes
OR
SEGMENT(x) = First 245 characters of segment
SEGMENT(x,1..n) = Continuation nodes
|
OUTARR |
Both |
OUTARR - Array to put parsed segment into (full
global ref)
Output: OUTARR(0) = Segment name
OUTARR(seq#) = Data (first 245 characters)
OUTARR(seq#,1..n) Continuation nodes
|
FS |
Input |
FS - HL7 field separator (defaults to ^) (1
character)
|
|
SEQPRSE |
Parses HL7 component by sequence.
Notes : OUTARR is initialized (KILLed) on entry
: Assumes SEQDATA and OUTARR are defined and valid
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
SEQDATA |
Input |
Input : SEQDATA - Array containing seq to parse
(full global ref)
SEQDATA = First 245 characters of sequence
SEQDATA(1..n) = Continuation nodes
OR
SEQDATA(x) = First 245 characters of sequence
SEQDATA(x,1..n) = Continuation nodes
|
OUTARR |
Both |
OUTARR - Array to put parsed sequence into (full
global ref)
Output : None
OUTARR(rep#,comp#) = Data (first 245 characters)
OUTARR(rep#,comp#,1..n) = Continuation nodes
|
ENCODE |
Input |
ENCODE - HL7 encoding characters (defaults to ~|\&)
(4 chars)
|
|