MDXMLFM1 ; HOIFO/DP/NCA - Data -> XML Utilities ; [01-10-2003 09:14]
Source file <MDXMLFM1.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 |
Package | Total | Caller Graph |
---|---|---|
Clinical Procedures | 1 | MDKRPC2 |
Name | Comments | DBIA/ICR reference |
---|---|---|
LOADALL(IENLIST,DD,FLDS) | ; Load complete dataset
|
|
LOADONE(IEN,DD,FLDS) | ; Load single record as dataset
|
|
LOADFILE(MDNUM,MDROOT,MDFLDS) | ; Bulk load file MDNUM into XML
|
|
BLDFLD(RESULTS,DD,FLDS) | ; Add a field or field^field to the FLDS array
|
|
BLDXML(DD,IEN,FLDS,MDFDAT) | ; Builds an XML Record based on DD, IEN, and FLDS
; Note: this is a standalone module requiring DD and IEN ; so that it can be easily used by the custom query routines |
|
XMLCMT(COMMENT) | ; Add a comment to a document
|
|
XMLHDR(TAG) | ; Add a header tag to the global
|
|
XMLFTR(TAG) | ; Add a footer tag to the global
|
|
XMLDATA(TAG,X) | ; Add a data element to the global
|
|
XMLPT(X) | ; Add a standard pt identifier node
|
|
XMLWP(TAG,X) | ; Add text in array @X to the global
|
|
XMLDT(TAG,X) | ; Add date or date/time to the global
|
|
XMLIDS(TAG,IDS,CLOSE) | ; Add a data element to the global with ids
|
|
XMLADD(X) | ; Add to the global
|
|
ADDERR(X) | ;
|
|
XMLOK(RESULTS) | ; Build an XML OK message
|
|
XMLERR(ERRMSG) | ; Build an XML error Message to return
|
|
XMLDATE(X) | ; Transform Y into XML safe date
|
|
XMLSAFE(X) | ; Transform X into XML safe data
|
|
TAGSAFE(X) | ; Transform X into XML tag
|
|
NEWDOC(ROOT,COMMENT) | ; Start a new document
|
|
ENDDOC(ROOT) | ; End this document
|
|
TRNSLT(X,X1,X2) | ; Translate every Y to Z in X
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | XMLPT+1, XMLPT+2, XMLPT+3, XMLPT+4 |
^TMP("MD_TEMP" | LOADFILE+7 |
Name | Line Occurrences |
---|---|
$$TAGSAFE | LOADFILE+26, XMLHDR+1, XMLDATA+1, XMLWP+1, XMLDT+1, XMLIDS+1 |
$$TRNSLT | XMLSAFE+1, XMLSAFE+2, XMLSAFE+3, XMLSAFE+4, XMLSAFE+5 |
$$XMLSAFE | XMLDATA+3, XMLIDS+4, XMLERR+5, XMLERR+9 |
BLDXML | LOADALL+8, LOADONE+7 |
ENDDOC | LOADALL+9, LOADONE+8 |
NEWDOC | LOADALL+5, LOADONE+5 |
XMLADD | XMLCMT+1, XMLHDR+2, XMLDATA+2, XMLDATA+3, XMLWP+2, XMLWP+4, XMLDT+2, XMLIDS+7, NEWDOC+2 |
XMLCMT | NEWDOC+3 |
XMLDATA | LOADALL+6, LOADONE+6, LOADFILE+32, LOADFILE+43, BLDXML+8, BLDXML+17, BLDXML+26 |
XMLDT | LOADFILE+42 |
XMLFTR | LOADFILE+45, BLDXML+23, BLDXML+27, XMLWP+5, ENDDOC+1 |
XMLHDR | LOADFILE+35, BLDXML+4, BLDXML+20, XMLFTR+1, XMLWP+3, NEWDOC+4 |
XMLIDS | XMLPT+9, XMLDT+12 |
XMLWP | LOADFILE+41 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CLOSE | XMLIDS~, XMLIDS+5 |
COMMENT | XMLCMT~, XMLCMT+1, NEWDOC~, NEWDOC+3 |
DD | LOADALL~, LOADALL+8, LOADONE~, LOADONE+7, BLDFLD~, BLDFLD+7, BLDFLD+9, BLDXML~, BLDXML+12, BLDXML+22 |
ERRMSG | XMLERR~, XMLERR+4, XMLERR+5, XMLERR+6, XMLERR+7 |
FLDS | LOADALL~, LOADALL+8, LOADONE~, LOADONE+7, BLDFLD~, BLDFLD+1, BLDFLD+2*, BLDXML~ |
FLDS( | BLDXML+6, BLDXML+8, BLDXML+9, BLDXML+11, BLDXML+17, BLDXML+19, BLDXML+20, BLDXML+23, BLDXML+26 |
IDS | XMLIDS~ |
IDS( | XMLIDS+2, XMLIDS+3, XMLIDS+4 |
IEN | LOADONE~, LOADONE+7, BLDXML~, BLDXML+5 |
IENLIST | LOADALL~, LOADALL+7 |
>> MDATA | LOADFILE+39*, LOADFILE+41, LOADFILE+42, LOADFILE+43 |
>> MDERR("" | ADDERR+1 |
>> MDERROR( | ADDERR+1* |
MDFDAT | LOADALL+7*, LOADALL+8, BLDXML~, BLDXML+26 |
MDFLD | LOADFILE+36*, LOADFILE+37, LOADFILE+38, LOADFILE+39, LOADFILE+40, LOADFILE+44*, BLDFLD+3*, BLDFLD+4, BLDFLD+5, BLDFLD+6 , BLDFLD+7, BLDFLD+8, BLDFLD+9, BLDXML+3~, BLDXML+5*, BLDXML+6*, BLDXML+8, BLDXML+9, BLDXML+11, BLDXML+12 , BLDXML+17, BLDXML+19, BLDXML+20, BLDXML+22, BLDXML+23, BLDXML+26 |
MDFLDS | LOADFILE~, LOADFILE+11*, LOADFILE+17 |
>> MDFMT | BLDXML+9*, BLDXML+13 |
MDHDR | LOADFILE+6~ |
MDIDS | LOADFILE+6~ |
MDIEN | LOADALL+4~*, LOADALL+7*, LOADALL+8, LOADFILE+6~, LOADFILE+15*, LOADFILE+16*, LOADFILE+17, LOADFILE+21*, LOADFILE+22 |
MDIENS | LOADFILE+33*, LOADFILE+34, LOADFILE+36, LOADFILE+39, LOADFILE+44, LOADFILE+46*, BLDXML+3~, BLDXML+5*, BLDXML+8, BLDXML+12 , BLDXML+22 |
MDKTR | BLDXML+3~, BLDXML+5*, BLDXML+8*, BLDXML+25*, BLDXML+26 |
MDNAME | LOADFILE+6~, LOADFILE+8*, LOADFILE+32 |
MDNODE | LOADFILE+6~ |
MDNUM | LOADFILE~, LOADFILE+8, LOADFILE+10, LOADFILE+17, LOADFILE+21, LOADFILE+22, LOADFILE+23, LOADFILE+24, LOADFILE+25, LOADFILE+26 , LOADFILE+27, LOADFILE+28, LOADFILE+33, LOADFILE+36, LOADFILE+38, LOADFILE+39, LOADFILE+40, LOADFILE+44, LOADFILE+46 |
>> MDPTR | LOADFILE+25*, LOADFILE+28 |
MDROOT | LOADFILE~, LOADFILE+9*, LOADFILE+10*, LOADFILE+16 |
>> MDTAG | LOADFILE+23*, LOADFILE+26, LOADFILE+38*, LOADFILE+41, LOADFILE+42, LOADFILE+43 |
MDTEMP | LOADFILE+6~, LOADFILE+7*, LOADFILE+17, LOADFILE+21, LOADFILE+22, LOADFILE+26, LOADFILE+27, LOADFILE+28, LOADFILE+33, LOADFILE+36 , LOADFILE+38, LOADFILE+39, LOADFILE+40, LOADFILE+44, LOADFILE+46 |
>> MDTYPE | LOADFILE+24*, LOADFILE+27, LOADFILE+40*, LOADFILE+41, LOADFILE+42 |
RESULTS | BLDFLD~, BLDXML+21, BLDXML+22, XMLADD+1, XMLOK~, XMLOK+1, XMLOK+2, XMLOK+3, XMLOK+4, XMLERR+1 , XMLERR+2, XMLERR+3, XMLERR+5, XMLERR+7, XMLERR+9, XMLERR+10, XMLERR+11, NEWDOC+1 |
RESULTS( | BLDFLD+3!, BLDFLD+4*, BLDFLD+5*, BLDFLD+6*, BLDFLD+7*, BLDFLD+8*, BLDFLD+9* |
ROOT | NEWDOC~, NEWDOC+4, ENDDOC~, ENDDOC+1 |
TAG | XMLHDR~, XMLHDR+1*, XMLHDR+2, XMLFTR~, XMLFTR+1, XMLDATA~, XMLDATA+1*, XMLDATA+2, XMLDATA+3, XMLWP~ , XMLWP+1*, XMLWP+2, XMLWP+3, XMLWP+5, XMLDT~, XMLDT+1*, XMLDT+2, XMLDT+12, XMLIDS~, XMLIDS+1* , XMLIDS+4*, XMLIDS+5*, XMLIDS+6*, XMLIDS+7 |
U | BLDXML+26, XMLPT+1, XMLPT+2, XMLPT+3, XMLPT+4 |
X | LOADFILE+22*, LOADFILE+23, LOADFILE+24, LOADFILE+25, LOADFILE+26, LOADFILE+27, LOADFILE+28, BLDXML+3~, BLDXML+12*, BLDXML+13* , BLDXML+14, BLDXML+15*, BLDXML+16, BLDXML+17, BLDXML+22*, XMLDATA~, XMLDATA+2, XMLDATA+3, XMLPT~, XMLPT+1 , XMLPT+2, XMLPT+3, XMLPT+4, XMLPT+9, XMLWP~, XMLWP+2, XMLWP+4, XMLDT~, XMLDT+2, XMLDT+4 , XMLDT+5, XMLDT+6, XMLDT+7, XMLDT+8*, XMLDT+9, XMLDT+10, XMLDT+11, XMLDT+12, XMLIDS+2*, XMLIDS+3 , XMLIDS+4, XMLADD~, XMLADD+1, ADDERR~, ADDERR+1, XMLERR+8*, XMLERR+9, XMLDATE~, XMLDATE+2, XMLDATE+3 , XMLDATE+4*, XMLDATE+5, XMLSAFE~, XMLSAFE+1*, XMLSAFE+2*, XMLSAFE+3*, XMLSAFE+4*, XMLSAFE+5*, XMLSAFE+6, TAGSAFE~ , TAGSAFE+1*, TAGSAFE+2, TRNSLT~, TRNSLT+2, TRNSLT+3, TRNSLT+4*, TRNSLT+5* |
X(1 | XMLPT+1*, XMLDT+4* |
X(2 | XMLPT+2*, XMLDT+5* |
X(3 | XMLPT+3*, XMLDT+6* |
X(4 | XMLPT+6*, XMLDT+9* |
X(5 | XMLPT+7*, XMLDT+10* |
X(6 | XMLPT+8*, XMLDT+11* |
X1 | TRNSLT~, TRNSLT+2, TRNSLT+4 |
X2 | TRNSLT~, TRNSLT+4 |
Y | BLDFLD+2*, BLDFLD+3, BLDFLD+4, BLDFLD+6, BLDFLD+8, BLDXML+3~, BLDXML+13, BLDXML+14*, BLDXML+16*, BLDXML+21* , BLDXML+22, XMLPT+4*, XMLPT+5, XMLWP+4*, XMLIDS+3*, XMLIDS+4, XMLDATE+1~, XMLDATE+2*, XMLDATE+5*, XMLDATE+6 , TRNSLT+1~, TRNSLT+3*, TRNSLT+4*, TRNSLT+5*, TRNSLT+6 |
Y(1 | XMLPT+5*, XMLPT+6 |
Y(2 | XMLPT+5*, XMLPT+7 |
Y(3 | XMLPT+5*, XMLPT+8 |