HMPLIST ;HOIFO/DP,ASMR/RRB - List Manager;02 Nov 2012
Source file <HMPLIST.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(TARGET,NAME,FORMAT,PARAMS) | ; OlD sKOoL entry point
|
|
RPC(RESULT,NAME,FORMAT,PARAMS) | ; Accessed via HMP LIST Remote Procedure
|
|
VALUE(NAME,ID) | ; Return the item from a list by ID
|
|
EDIT | ; Edit a list definition
|
|
DISPLAY | ; Display a list definition
|
|
DEFAULT | ; Just return as is, a simple array
|
|
UNKNOWN | ; You've got no idea, and neither do I
|
|
JSON | ; Convert @TARGET@(1..n) to JSON
|
|
XML | ; Convert @TARGET@(1..n) to XML
|
|
XMLSAFE(X) | ; Transform X into XML safe data
; Strip off the spaces and make life easier |
|
JSONSAFE(X) | ; Transform X into JSON safe data
; Strip the spaces |
|
TRNSLT(X,X1,X2) | ; Translate every Y to Z in X
|
|
LIST(NAME) | ; Return List by name
|
|
ALL(RETURN) | ; Return All lists in RETURN()
|
|
COLS(LIST) | ; Return the col names (ID^Name) + any custom col specs
|
|
CODE(LIST) | ; Return Generation Code for a list
|
|
SET(DD,FLD) | ; Build a list from a Set Of Codes DD and Field number combination
|
|
REBUILD(NAME) | ;
|
|
DQ | ; Called via Taskman to build any list that has expired
|
|
ADD(X) | ; Adds an item to the list automatically
|
|
WARDS | ; Get list of wards, clinics and non-stops
|
|
CLINICS | ; Get Active Clinics
|
|
LOC(TYPES) | ; Build list of locations by type
|
|
INPT | ; Rebuild the inpatient list
|
|
ERR | ; This is the application specific error trap for the DQ loop
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | LIST^DIC |
^HMPD(800000.2 - [#800000.2] | FIND1^DIC, GET1^DIQ, LIST^DIC |