Print Page as PDF
SCMSVUT5 ICR (4347)

SCMSVUT5    ICR (4347)

Name Value
NUMBER 4347
IA # 4347
DATE CREATED 2004/02/17
CUSTODIAL PACKAGE SCHEDULING
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE SCMSVUT5
NAME SCMSVUT5
GENERAL DESCRIPTION
Supported calls for parsing of an HL7 segment
Valid after patches DG*5.3*508 and SD*5.3*293 are released.
STATUS Active
KEYWORDS HL7
DURATION Till Otherwise Agreed
ID SCMSVUT5
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
SEGPRSE(SEGMENT,OUTARR,FS)
Parse 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
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
Array to put parsed segment into (full global ref)

OUTARR(0) = Segment name
OUTARR(seq#) = Data (first 245 characters)
OUTARR(seq#,1..n) Continuation nodes
FS Input
HL7 field separator (defaults to ^) (1 character)
SEQPRSE(SEQDATA,OUTARR,ENCODE)
Parse HL7 sequence by component

Notes  : OUTARR is initialized (KILLed) on entry
: Assumes SEQDATA and OUTARR are defined and valid
VARIABLES TYPE VARIABLES DESCRIPTION
SEQDATA Input
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
Array to put parsed sequence into (full global ref)

OUTARR(rep#,comp#) = Data (first 245 characters)
OUTARR(rep#,comp#,1..n) = Continuation nodes
ENCODE Input
HL7 encoding characters (defaults to ~|\&) (4 chars)