Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: SCDXUTL1

Package: Scheduling

Routine: SCDXUTL1


Information

SCDXUTL1 ;ALB/JRP - GENERAL UTILITY ROUTINES;10-MAY-1996

Source Information

Source file <SCDXUTL1.m>

Entry Points

Name Comments DBIA/ICR reference
GETDTRNG(EARLIEST,LATEST,HELPBGN,HELPEND) ;Prompt user for a date range
REPEAT(CHAR,TIMES) ;Repeat a string
INSERT(INSTR,OUTSTR,COLUMN,LENGTH) ;Insert a string into another string
DIAG(SDPOE,SCDXARRY) ;Get diagnoses from V POV file
; Note: Returns Dx from children (if any)
PRIMPDX(SDPOE) ; return pointer to ICD9 for primary dx of parent encounter
; Note: Includes
; SDPOE - encounter (parent)
; return:
; if one: ptr to ICD DIAGNOSIS file (ICD9)^pointer to V POV file
; if none: no prim dx
; if two+: -1 (error)
KIDS(SDOE,SCKIDS) ;return children of parent
; Input - SDOE = ptr to 409.68
; Output- @SCKIDS@(kid ptr to 409.68) array
Info |  Source |  Entry Points