Print Page as PDF
Access to XUMFXHL7 parsing routine ICR (4981)

Access to XUMFXHL7 parsing routine    ICR (4981)

Name Value
NUMBER 4981
IA # 4981
DATE CREATED 2007/05/01
CUSTODIAL PACKAGE KERNEL
USAGE Private
TYPE Routine
ROUTINE XUMFXHL7
NAME Access to XUMFXHL7 parsing routine
GENERAL DESCRIPTION
This agreement allows the subscribing package access to
routine XUMFXHL7 used to parse HL7 segments.
STATUS Pending
DURATION Till Otherwise Agreed
ID XUMFXHL7
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
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)