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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: ECXNUT1

Package: DSS Extracts

Routine: ECXNUT1


Information

ECXNUT1 ;ALB/JRC Nutrition DSS Extract ; 9/4/09 8:59am

Source Information

Source file <ECXNUT1.m>

Entry Points

Name Comments DBIA/ICR reference
GETMEALS ;get patient meals
; variable names: ordate - regular diet order date
; sdate - diet order npo/withhold date
; norder - "sf" or "so" order date
; note: there is a relationship
; between "sf", "so" and regular diets
; adate - admission date
; ddate - discharge date
INPPD
INPSF ;create supplemental feeding meals if they exist
INPSO ;create standing order meals if they exist
INPTF ;Get inpatient tube feedings
OPRM ;Get outpatient recurring meals
OPSO ;Get outpatient standing orders
OPSF ;Get outpatient supplemental feedings
OPTF ;Get outpatient tube feedings
OPSM ;Get outpatient special meals
OPGM ;Get outpatient guest meals
GETDATES() ;Get admit, discharge, npo/withhold dates,for "inp", "sf" and "so"
; return in string i.e. stop date^admission date^discharge date
; input: ecxadm - movement file ien
; fhdfn - nutrition patient file (#115)
NEWORDER(TYPE,DATE) ;Look for new order for inpatient meal type if exist
; Input ecxadm - movement #
; fhdfn - nutrition file (#115) fhdfn
; date - starting order date to begin lookup
; type - meal type "sf", "so", or "pd"
; Output: new order date and time for specific meal type
MEALCHK ;CHECK IF MEAL IS ON HOLD

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^OR(100 - [#100] GET1^DIQ
^FH(111 - [#111] GET1^DIQ
115.01 GET1^DIQ
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call