PSSHRCOM ;WOIFO/AV,TS - Handles common PRE PEPS interface functionality ;09/20/07
Source file <PSSHRCOM.m>
| action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| PARSEMSG(DOCHAND,NODE,HASH,COUNT) | ;
; @DESC Parses the message XML element and stores ; severity, type, drugName and text in HASH parameter |
|
| DRUGLIST(DOCHAND,NODE,HASH,COUNT) | ;
; @DESC Handles reading the interacted drug list and stores to a Hash |
|
| PARSEDRG(DOCHAND,NODE,HASH,COUNT) | ;
; @DESC Parses a drug element and stores values in HASH parameter |
|
| UPPER(PSSTEXT) | ;
; @DESC Converts lowercase characters to uppercase |
|
| GETTEXT(DOCHAND,NODE) | ;
; @DESC Gets text from XML element as a single string |
|
| UNPARSE(ARRY) | ;
; @DESC Creates a single string from an array |
|
| ATRIBUTE(NAME,VALUE) | ;
; @DESC Builds a valid encoded attribute from the name/value pair passed in |
|
| ISPROF(ORDERNUM) | ;
; @DESC Determines if a drug is a profile drug according to ; its orderNumber |
|
| STACK | ;
; @DESC Prints a stack trace |
| Name | Line Occurrences |
|---|---|
| $$GETTEXT | PARSEMSG+22, PARSEMSG+25, PARSEMSG+28, PARSEMSG+31 |
| $$UNPARSE | GETTEXT+12 |
| PARSEDRG | PARSEMSG+19, DRUGLIST+17 |
| >> | Not killed explicitly |
| * | Changed |
| ! | Killed |
| ~ | Newed |
| Name | Field # of Occurrence |
|---|---|
| ARRY | UNPARSE~ |
| ARRY( | UNPARSE+12, UNPARSE+13 |
| COUNT | PARSEMSG~, PARSEMSG+19, PARSEMSG+22, PARSEMSG+25, PARSEMSG+28, PARSEMSG+31, DRUGLIST~, DRUGLIST+20, DRUGLIST+21, DRUGLIST+22 , DRUGLIST+23, DRUGLIST+24, DRUGLIST+25, DRUGLIST+26, PARSEDRG~, PARSEDRG+10, PARSEDRG+11, PARSEDRG+12, PARSEDRG+13, PARSEDRG+17 , PARSEDRG+18, PARSEDRG+19 |
| DOCHAND | PARSEMSG~, PARSEMSG+15, PARSEMSG+16, PARSEMSG+19, PARSEMSG+22, PARSEMSG+25, PARSEMSG+28, PARSEMSG+31, DRUGLIST~, DRUGLIST+14 , DRUGLIST+17, PARSEDRG~, PARSEDRG+10, PARSEDRG+11, PARSEDRG+12, PARSEDRG+13, PARSEDRG+17, PARSEDRG+18, PARSEDRG+19, GETTEXT~ , GETTEXT+10 |
| DRUGS | DRUGLIST+10~, DRUGLIST+16!, DRUGLIST+17 |
| DRUGS( | DRUGLIST+19, DRUGLIST+20, DRUGLIST+21, DRUGLIST+22, DRUGLIST+23, DRUGLIST+24, DRUGLIST+25, DRUGLIST+26 |
| HASH | PARSEMSG~, PARSEMSG+19, DRUGLIST~, PARSEDRG~ |
| HASH( | PARSEMSG+22*, PARSEMSG+25*, PARSEMSG+28*, PARSEMSG+31*, DRUGLIST+20*, DRUGLIST+21*, DRUGLIST+22*, DRUGLIST+23*, DRUGLIST+24*, DRUGLIST+25* , DRUGLIST+26*, PARSEDRG+10*, PARSEDRG+11*, PARSEDRG+12*, PARSEDRG+13*, PARSEDRG+17*, PARSEDRG+18*, PARSEDRG+19* |
| NAME | PARSEMSG+11~, PARSEMSG+16*, PARSEMSG+18, PARSEMSG+21, PARSEMSG+24, PARSEMSG+27, PARSEMSG+30, ATRIBUTE~, ATRIBUTE+9 |
| NODE | PARSEMSG~, PARSEMSG+15, DRUGLIST~, DRUGLIST+14, PARSEDRG~, PARSEDRG+10, PARSEDRG+11, PARSEDRG+12, PARSEDRG+13, PARSEDRG+17 , PARSEDRG+18, PARSEDRG+19, GETTEXT~, GETTEXT+10 |
| ORDERNUM | ISPROF~, ISPROF+7 |
| PSS | PARSEMSG+11~, DRUGLIST+10~, UPPER+7~, ATRIBUTE+7~, ISPROF+5~ |
| PSS("attribute" | ATRIBUTE+9*, ATRIBUTE+10 |
| PSS("child" | PARSEMSG+13*, PARSEMSG+15*, PARSEMSG+16, PARSEMSG+19, PARSEMSG+22, PARSEMSG+25, PARSEMSG+28, PARSEMSG+31, DRUGLIST+11*, DRUGLIST+14* , DRUGLIST+17 |
| PSS("interactedCount" | DRUGLIST+12*, DRUGLIST+17, DRUGLIST+20, DRUGLIST+21, DRUGLIST+22, DRUGLIST+23, DRUGLIST+24, DRUGLIST+25, DRUGLIST+26, DRUGLIST+27* |
| PSS("isProfile" | ISPROF+7*, ISPROF+9 |
| PSS("lower" | UPPER+9*, UPPER+11 |
| PSS("upper" | UPPER+10*, UPPER+11 |
| PSS("upperText" | UPPER+11*, UPPER+12 |
| PSSLOOP | STACK+4~, STACK+5*, STACK+6, STACK+7, STACK+8 |
| PSSTEXT | UPPER~, UPPER+11 |
| QT | ATRIBUTE+7~, ATRIBUTE+8*, ATRIBUTE+9 |
| STRING | UNPARSE+7~, UNPARSE+10*, UNPARSE+13*, UNPARSE+14 |
| TEXT | GETTEXT+8~, GETTEXT+10, GETTEXT+12*, GETTEXT+14 |
| VAL | DRUGLIST+10~, DRUGLIST+18*, DRUGLIST+19*, DRUGLIST+20, DRUGLIST+21, DRUGLIST+22, DRUGLIST+23, DRUGLIST+24, DRUGLIST+25, DRUGLIST+26 , UNPARSE+7~, UNPARSE+9*, UNPARSE+12*, UNPARSE+13 |
| VALUE | ATRIBUTE~, ATRIBUTE+9 |