HLEMDD ;ALB/CJM-HL7 - M CODE FOUND IN THE DD'S ;02/04/2004
Source file <HLEMDD.m>
Package | Total | Call Graph |
---|---|---|
Health Level Seven | 1 | ($$I,$$STATNUM)^HLEMU |
Kernel | 1 | ($$FMADD,$$NOW)^XLFDT |
Name | Comments | DBIA/ICR reference |
---|---|---|
URGENCY(EVENT,URGENT,ACTION,REVIEW) | ;
|
|
STATUS(IEN,STATUS) | ;
|
|
HOUR(FMDATE) | ;returns the hour (1-24
|
|
YEAR(FMDATE) | ;returns the year (i.e., "2003", not in FM format)
|
|
SETPURGE(EVENT,WHEN,TYPE) | ;
|
|
SETPKG(ETYPE,PACKAGE,OLDNAME) | ;
|
|
DEFAULT(PROFILE,DUZ,DEFAULT) | ;
|
|
DAY(FMDATE) | ;returns the day (1 - 31)
|
|
SETID(IEN) | ;sets the value of the ID field in the EVENT
|
|
MONTH(FMDATE) | ;returns the month (1-12)
|
|
ADDSTAT(NEWTIME,OLDSITE,SITE,TYPE,STATUS,COUNT) | ;
|
|
DELSTAT(SITE,TYPE,STATUS,COUNT) | ;
|
|
KILLAH(IEN) | ;kills the AH x~ref on file 776.4 or a particular event=ien
|
|
DELPURGE(EVENT,WHEN,TYPE) | ;
|
|
CSTATUS(EVENT,STATUS) | ;
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(9.4 - [#9.4] | SETPKG+8 |
^HLEV("AC" | SETPKG+11!, SETPKG+12* |
^HLEV(776.3 - [#776.3] | SETPURGE+12, DELPURGE+12, SETPKG+9*, SETPKG+10 |
^HLEV(776.4 - [#776.4] | KILLAH+4, KILLAH+7!, SETID+5, SETID+6*, STATUS+7, STATUS+10*, STATUS+11*, URGENCY+4*, URGENCY+5*, URGENCY+6* , CSTATUS+7*, CSTATUS+8*, SETPURGE+15*, DELPURGE+15! |
^HLEV(776.5 - [#776.5] | DEFAULT+9, DEFAULT+10*, DEFAULT+11!, DEFAULT+12*, DEFAULT+14! |
Name | Line Occurrences |
---|---|
$$DAY | ADDSTAT+22 |
$$HOUR | ADDSTAT+22 |
$$MONTH | ADDSTAT+22 |
$$YEAR | ADDSTAT+22 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACTION | URGENCY~, URGENCY+4, URGENCY+5 |
COUNT | ADDSTAT~, ADDSTAT+18*, ADDSTAT+23, ADDSTAT+24, ADDSTAT+25, ADDSTAT+26, ADDSTAT+27, DELSTAT~, DELSTAT+13*, DELSTAT+17 |
DAY | ADDSTAT+21~, ADDSTAT+22*, ADDSTAT+25, ADDSTAT+26 |
DEFAULT | DEFAULT~, DEFAULT+5, DEFAULT+6 |
DUZ | DEFAULT~, DEFAULT+4, DEFAULT+9, DEFAULT+11, DEFAULT+12, DEFAULT+14, CSTATUS+8 |
ETYPE | SETPKG~, SETPKG+5, SETPKG+9, SETPKG+10, SETPKG+12 |
EVENT | URGENCY~, URGENCY+3, URGENCY+4, URGENCY+5, URGENCY+6, CSTATUS~, CSTATUS+5, CSTATUS+7, CSTATUS+8, SETPURGE~ , SETPURGE+7, SETPURGE+15, DELPURGE~, DELPURGE+7, DELPURGE+15 |
FMDATE | YEAR~, YEAR+1, MONTH~, MONTH+1, DAY~, DAY+1, HOUR~, HOUR+1 |
HOUR | ADDSTAT+21~, ADDSTAT+22*, ADDSTAT+26 |
IEN | KILLAH~, KILLAH+1, KILLAH+4, KILLAH+7, SETID~, SETID+4, SETID+5, SETID+6, STATUS~, STATUS+4 , STATUS+7, STATUS+10, STATUS+11 |
INDEX | ADDSTAT+14~, ADDSTAT+15*, ADDSTAT+23, ADDSTAT+24, ADDSTAT+25, ADDSTAT+26, ADDSTAT+27, DELSTAT+15~, DELSTAT+16*, DELSTAT+17 |
LOCATION | KILLAH+2~, KILLAH+5*, KILLAH+6 |
MONTH | ADDSTAT+21~, ADDSTAT+22*, ADDSTAT+24, ADDSTAT+25, ADDSTAT+26 |
NAME | SETPKG+7~, SETPKG+8*, SETPKG+9, SETPKG+12 |
NEWTIME | ADDSTAT~, ADDSTAT+12, ADDSTAT+22 |
NEXT | KILLAH+2~, KILLAH+3*, KILLAH+4*, KILLAH+5 |
NODE | STATUS+6~, STATUS+7*, STATUS+8, SETPKG+7~, SETPKG+10*, SETPKG+11, SETPKG+12 |
OLDNAME | SETPKG~, SETPKG+11 |
OLDSITE | ADDSTAT~, ADDSTAT+20 |
PACKAGE | SETPKG~, SETPKG+6, SETPKG+8 |
>> PDATE | SETPURGE+14*, SETPURGE+15, DELPURGE+14*, DELPURGE+15 |
PROF | DEFAULT+7~, DEFAULT+8*, DEFAULT+9*, DEFAULT+10, DEFAULT+11 |
PROFILE | DEFAULT~, DEFAULT+3, DEFAULT+12, DEFAULT+14 |
PWHEN | SETPURGE+11~, DELPURGE+11~ |
REVIEW | STATUS+6~, STATUS+8*, STATUS+9, URGENCY~, URGENCY+6 |
SITE | ADDSTAT~, ADDSTAT+12, DELSTAT~, DELSTAT+10 |
STATUS | STATUS~, STATUS+5, STATUS+10, STATUS+11, ADDSTAT~, ADDSTAT+12, ADDSTAT+27, DELSTAT~, DELSTAT+10, CSTATUS~ , CSTATUS+6 |
TYPE | ADDSTAT~, ADDSTAT+12, DELSTAT~, DELSTAT+10, SETPURGE~, SETPURGE+9, SETPURGE+12, DELPURGE~, DELPURGE+9, DELPURGE+12 |
URGENT | URGENCY~, URGENCY+4, URGENCY+5 |
WAIT | SETPURGE+11~, SETPURGE+12*, SETPURGE+13, SETPURGE+14, DELPURGE+11~, DELPURGE+12*, DELPURGE+13, DELPURGE+14 |
WHEN | SETPURGE~, SETPURGE+8, SETPURGE+14, DELPURGE~, DELPURGE+8, DELPURGE+14 |
YEAR | ADDSTAT+21~, ADDSTAT+22*, ADDSTAT+23, ADDSTAT+24, ADDSTAT+25, ADDSTAT+26 |