Print Page as PDF
ORF4 ENTRY POINT ICR (1514)

ORF4 ENTRY POINT    ICR (1514)

Name Value
NUMBER 1514
IA # 1514
DATE CREATED 1996/03/12
CUSTODIAL PACKAGE ORDER ENTRY/RESULTS REPORTING
CUSTODIAL ISC Salt Lake City
USAGE Private
TYPE Routine
ROUTINE ORF4
NAME ORF4 ENTRY POINT
GENERAL DESCRIPTION
Request permission to call ^ORF4 routine to get order
data.

Input variables:
ORUPKG=ptr to package file, ORUSTS=status0^status1^status2...
ORUVP=variable pointer of patient "dfn;DPT("
ORUPRES=pre-defined context 1>All 2>Current 3>DC'ed 4>Expd
5>Exp 6>New 7>Pend 8>Act (OPTIONAL) 9>Expanded
ORDR=1 will put data into ^TMP("OR",$J,"OUT",9999999-ORSTRT,ORIFN)
(OPTIONAL)
ORUSTART=date/time to start looking in FM format (OPTIONAL)
ORUEND=date/time to stop looking in FM format (OPTIONAL)

Output Variables from Order (#100) file:
^TMP("ORR",$J,ORLIST,i)=ORIFN_^_STATUS

or optionally

^TMP("OR",$J,"OUT",Inverse Start Date,IFN,"ORNP") = (field 1)
Internal Current Agent/Provider ^ External Current Agent/Provider
^TMP("OR",$J,"OUT",Inverse Start Date,IFN,"ORSTOP")= (field 22)
Stop Date
^TMP("OR",$J,"OUT",Inverse Start Date,IFN,"ORSTS")= (field  5)
Internal Status ^ External Status
^TMP("OR",$J,"OUT",Inverse Start Date,IFN,"ORSTRT")= (field 21.1)
Current Start Date
^TMP("OR",$J,"OUT",Inverse Start Date,IFN,"ORTX",Line cnt)= (field .11)
Order Text
STATUS Retired
DURATION Till Otherwise Agreed
ID ORF4
COMPONENT/ENTRY POINT ORF4 OR EN
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
HEALTH SUMMARY Salt Lake City