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: EDPBWS

Package: Emergency Department Integration Software

Routine: EDPBWS


Information

EDPBWS ;SLC/KCM - Worksheet Configuration Calls ;7/27/12 4:22pm

Source Information

Source file <EDPBWS.m>

Entry Points

Name Comments DBIA/ICR reference
LOADALL(EDPSITE,AREA,EDPROLE) ; load all worksheet configurations for an area
GETROLES(EDPSITE,AREA) ; get list of roles
GETSECTS(AREA,EDPXML,ROLE) ; get list of sections
GETCMPTS(AREA,EDPXML,IEN,ROLE) ; get list of components
GETWORKS(EDPSITE,IEN,REQ,EDPXML) ; get worksheet given IEN
LDWSLIST(EDPSITE,AREA,ROLE) ; load brief worksheet list
; ROLE (optional) - If no role is passed, all worksheets for an AREA/SITE will be returned.
LSTROLES(AREA,ARRAY) ; list roles for an area
LSTCMPTS(AREA,ARRAY,IEN,ROLE) ; list components for an area
BLDCMPTS(IEN,CNT,MOREDAT,ARRAY) ;
; IEN - component IEN
; CNT - simple counter
; MOREDAT - If MOREDAT is passed, return more information
; This is used to differentiate between a 'list'
; style of call, versus a full 'get' on a specific entry
LSTSECTS(AREA,ARRAY,ROLE) ; list sections for an area
LSTWKS(EDPSITE,AREA,ARRAY) ; list worksheet configurations for an area
GETWKS(EDPSITE,WKS,REQ,ARRAY) ;
; if REQ("data") is passed, build component data along with definition
BLDCDATA(IEN,REQ,ARRAY) ;
; IEN - IEN of the component, from file 232.72
; REQ - Parameter list from call in EDPCTRL
; ARRAY - XML ARRAY to continue building XML
LOADERR(PARAM,SEQ,CSEQ,ARRAY) ;
SAVEWORK(REQ1,REQ2,EDPSITE,AREA) ; save worksheet configuration
SECCOMP(WSID,DATA) ; adds/updates sections and components in a given worksheet
; REQ2("worksheet",counter)=sectionID^Sequence (for section)^InitiallyOpen^componentID^Sequence (for component)^Editable^IncludeInSummary^VisibilityTrigger
FILEDAT(FIL,IENS,SEQ,ID,P03,NEW,CSUM,CVIS) ; filer for section and component data
; this can be used for both section and component due to the similarities in the file structures
SETFDA(F,IENS,FD,VAL) ;
WSERR(ERRTXT) ;
VAL(ARRY,ITEM) ;return value from array, given ARRY (array name), and ITEM (subscript)

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^EDPB(232.5 - [#232.5] GET1^DIQ
^EDPB(232.6 - [#232.6] GET1^DIQ
^EDPB(232.72 - [#232.72] GET1^DIQ
232.727 GET1^DIQ
^EDPB(232.73 - [#232.73] GET1^DIQ
^EDPB(232.74 - [#232.74] GET1^DIQ
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call