EDPLOG ;SLC/KCM - Update ED Log - Update ;2/28/12 08:33am
Source file <EDPLOG.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| UPD(REQ,REMOVE,RESTORE) | ; Update a record
 | 
|
| UPDDIAG | ; process diagnoses
 ; called from UPD^EDPLOG ; expects REC,PCE,IEN,TIME,AREA to be defined ; drp BEGIN EDP*2.0*2  | 
|
| DELDIAG(IEN) | ; delete the diagnosis multiple
 | 
|
| HAVEDIAG() | ; return true if a diagnosis is present
 ; expects REC to be defined  | 
|
| RDY2RMV | ; check required fields & set up so ready to remove
 ; called from UPD, expects REC and IEN and TIME  | 
|
| VAL(X) | ; Returns parameter value or null
 ; HTTP passes HTML-escaped values in an array as REC(param)  | 
|
| NOVAL(X) | ; Returns true if value is empty, 0, or edp.reserved.novalue
 ; expects EDPNOVAL to be defined  | 
|
| OBS(X) | ; Returns 1 or 0, if observation status X
 | 
|
| SETFDA(NODE,P,SUB,FLD) | ; Creates value in FDA & HIST arrays as appropriate
 ; from UPD, expects REC, FDA, HIST to be defined  | 
|
| FAIL(ELEM,MSG) | ; creates failure node for returned XML
 |