Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: PXRMVSTX

Package: Clinical Reminders

Routine: PXRMVSTX


Information

PXRMVSTX ;SLC/PKR - Routines for building taxonomies for value sets. ;09/16/2014

Source Information

Source file <PXRMVSTX.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
Clinical Reminders 6 $$VNAME^PXRMINTR  SEND^PXRMMSG  $$VCSYS^PXRMTAXD  ($$CRETAX,$$SAVETC)^PXRMTXIM  CDETAILC^PXRMTXIN  POSTSAVE^PXRMTXSM  
VA FileMan 5 BROWSE^DDBR  EN^DDIOL  $$GET1^DID  UPDATE^DIE  ^DIR  
Kernel 2 ($$FMTE,$$NOW)^XLFDT  $$UP^XLFSTR  
Lexicon Utility 1 ($$CSDATA,$$CSYS,$$PERIOD)^LEXU  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Clinical Reminders 2 PXRMTAXL  PXRMVSLM  

Entry Points

Name Comments DBIA/ICR reference
BLDCODEL(VSIEN,TAXIEN) ;Populate the code list.
BLDTAX(VSIEN) ;Build a taxonony from a value set.
CHKCODE(LEXSAB,CODE) ;Verify that a code is in the Lexicon.
CMPALL(OUTTYPE) ;Find all taxonomies generated from a value set and compare
CMPTXVS(TAXIEN,VSOID,NL,OUTPUT) ;For taxonomies that were generated from a
GVSCODES(VSIEN,NODE) ;Get the codes in a value set.
GETNAME(VSIEN) ;
GETNAM
INICLOG(IEN,TEXT) ;Initialize the change log.
SCSYS(VSIEN) ;Scan the coding systems in the value set to determine if it

External References

Name Field # of Occurrence
BROWSE^DDBR CMPALL+10
EN^DDIOL GETNAM+6
$$GET1^DID GETNAME+4
UPDATE^DIE INICLOG+6
^DIR GETNAM
$$CSDATA^LEXU CHKCODE+3
$$CSYS^LEXU BLDCODEL+8, CMPTXVS+36, CMPTXVS+48
$$PERIOD^LEXU CHKCODE+4
$$VNAME^PXRMINTR GETNAM+7
SEND^PXRMMSG CMPALL+18
$$VCSYS^PXRMTAXD SCSYS+14
$$CRETAX^PXRMTXIM BLDTAX+17
$$SAVETC^PXRMTXIM BLDCODEL+15
CDETAILC^PXRMTXIN CMPTXVS+42, CMPTXVS+53
POSTSAVE^PXRMTXSM BLDCODEL+17
$$FMTE^XLFDT BLDTAX+11, CMPTXVS+15, CMPTXVS+16
$$NOW^XLFDT INICLOG+3
$$UP^XLFSTR GETNAME+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Could not save terms."
  • Line Location: BLDCODEL+16
Function Call: WRITE
  • Prompt: !,"Created taxonomy ",NAME
  • Line Location: BLDTAX+19
Function Call: WRITE
  • Prompt: !,"Populating the code list ..."
  • Line Location: BLDTAX+20
Function Call: WRITE
  • Prompt: !,"Lexicon does not recognize the ",LEXSAB," code: ",CODE
  • Line Location: CHKCODE+6
Function Call: WRITE
  • Prompt: !,"It will not be added to the taxonomy."
  • Line Location: CHKCODE+7
Function Call: WRITE
  • Prompt: !
  • Line Location: GETNAM+0
Function Call: WRITE
  • Prompt: !,"Scanning the coding systems used in the value set ..."
  • Line Location: SCSYS+3
Function Call: WRITE
  • Prompt: !,"No coding systems were found, cannot create a taxonomy."
  • Line Location: SCSYS+6
Function Call: WRITE
  • Prompt: !," ",$P(TEMP,U,1)," is not a supported coding system."
  • Line Location: SCSYS+13
Function Call: WRITE
  • Prompt: !," Will import ",$P(TEMP,U,1)," codes into the taxonomy."
  • Line Location: SCSYS+14
Function Call: WRITE
  • Prompt: !,"No supported coding systems were found, cannot create a taxonomy."
  • Line Location: SCSYS+15
Routine Call
  • DIE
  • Line Location:
    • INICLOG+6
Routine Call
  • DIR
  • Line Location:
    • GETNAM

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PXD(811.2 - [#811.2] GET1^DID

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PXD(811.2 - [#811.2] CMPALL+6, CMPALL+8, CMPTXVS+3, CMPTXVS+8, CMPTXVS+9, CMPTXVS+22, CMPTXVS+41, GETNAM+3
^PXRM(802.1 - [#802.1] BLDCODEL+6, GVSCODES+6, SCSYS+11
^PXRM(802.2 - [#802.2] BLDCODEL+4, BLDCODEL+5, BLDCODEL+10, BLDCODEL+11, BLDTAX+6, BLDTAX+7, BLDTAX+9, CMPTXVS+5, CMPTXVS+6, CMPTXVS+7
, GVSCODES+4, GVSCODES+5, GVSCODES+8, GVSCODES+9, GETNAME+2, SCSYS+4, SCSYS+9, SCSYS+10
^TMP("PXRMCODES" BLDCODEL+2!, BLDCODEL+13*
^TMP("PXRMXMZ" CMPALL+15!, CMPALL+17*, CMPALL+19!
^TMP($J CMPTXVS+21!, CMPTXVS+22*, CMPTXVS+25, CMPTXVS+27, CMPTXVS+28!, CMPTXVS+31, CMPTXVS+35, CMPTXVS+40, CMPTXVS+43, CMPTXVS+47
, CMPTXVS+52, CMPTXVS+54, CMPTXVS+59!, GVSCODES+2!, GVSCODES+10*

Label References

Name Line Occurrences
$$CHKCODE BLDCODEL+12
$$GETNAME BLDTAX+4
$$SCSYS BLDTAX+2
BLDCODEL BLDTAX+22
CMPTXVS CMPALL+9
GETNAM GETNAM+3, GETNAM+7
GVSCODES CMPTXVS+20
INICLOG BLDTAX+24

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CDATA CHKCODE+1~, CHKCODE+3
CODE BLDCODEL+1~, BLDCODEL+11*, BLDCODEL+12, BLDCODEL+13, CHKCODE~, CHKCODE+3, CHKCODE+4, CHKCODE+6, CMPTXVS+4~, CMPTXVS+26*
, CMPTXVS+27*, CMPTXVS+28, CMPTXVS+39*, CMPTXVS+40*, CMPTXVS+41, CMPTXVS+42, CMPTXVS+51*, CMPTXVS+52*, CMPTXVS+53, GVSCODES+1~
, GVSCODES+9*, GVSCODES+10
CODESYS CMPTXVS+4~, CMPTXVS+24*, CMPTXVS+25*, CMPTXVS+27, CMPTXVS+28, CMPTXVS+34*, CMPTXVS+35*, CMPTXVS+36, CMPTXVS+40, CMPTXVS+41
, CMPTXVS+42, CMPTXVS+46*, CMPTXVS+47*, CMPTXVS+48, CMPTXVS+52, CMPTXVS+53
CSYSIEN BLDCODEL+1~, BLDCODEL+5*, BLDCODEL+6, GVSCODES+1~, GVSCODES+5*, GVSCODES+6, SCSYS+2~, SCSYS+10*, SCSYS+11
DESC BLDTAX+1~, BLDTAX+14, BLDTAX+24
DESC(1 BLDTAX+8*
DESC(2 BLDTAX+9*
DESC(3 BLDTAX+10*
DESC(4 BLDTAX+11*
DIR GETNAME+1~
DIR("A" GETNAME+6*
DIR("B" GETNAME+7*
DIR(0 GETNAME+5*
DT CHKCODE+3
DUZ CMPALL+14, CMPALL+18, INICLOG+4
ERRMSG BLDTAX+1~, BLDTAX+17
FDA INICLOG+1~
FDA( INICLOG+3*, INICLOG+4*, INICLOG+5*
FDAIEN INICLOG+1~
FIELDLEN GETNAME+1~, GETNAME+4*, GETNAME+5, GETNAME+7
IEN INICLOG~, INICLOG+2
IENS INICLOG+1~, INICLOG+2*, INICLOG+3, INICLOG+4, INICLOG+5
IND BLDCODEL+1~, BLDCODEL+3*, BLDCODEL+4*, BLDCODEL+5, BLDCODEL+10, BLDCODEL+11, CMPALL+12~, CMPALL+17*, GVSCODES+1~, GVSCODES+3*
, GVSCODES+4*, GVSCODES+5, GVSCODES+8, GVSCODES+9, SCSYS+8*, SCSYS+9*, SCSYS+10
JND BLDCODEL+1~, BLDCODEL+9*, BLDCODEL+10*, BLDCODEL+11, GVSCODES+1~, GVSCODES+7*, GVSCODES+8*, GVSCODES+9
LEXSAB BLDCODEL+1~, BLDCODEL+6*, BLDCODEL+8, BLDCODEL+12, BLDCODEL+13, CHKCODE~, CHKCODE+3, CHKCODE+4, CHKCODE+6, GVSCODES+1~
, GVSCODES+6*, GVSCODES+10, SCSYS+2~, SCSYS+12*, SCSYS+13, SCSYS+14
MSG INICLOG+1~
NAME BLDTAX+1~, BLDTAX+4*, BLDTAX+5, BLDTAX+12, BLDTAX+19, GETNAME+1~, GETNAM+1*, GETNAM+3, GETNAM+4, GETNAM+7
GETNAM+8
NCSYS SCSYS+2~, SCSYS+4*, SCSYS+5
NL CMPALL+3~, CMPALL+4*, CMPALL+9, CMPALL+17, CMPTXVS~, CMPTXVS+10*, CMPTXVS+11*, CMPTXVS+12*, CMPTXVS+13*, CMPTXVS+14*
, CMPTXVS+15*, CMPTXVS+16*, CMPTXVS+17*, CMPTXVS+32*, CMPTXVS+33*, CMPTXVS+36*, CMPTXVS+37*, CMPTXVS+38*, CMPTXVS+42, CMPTXVS+44*
, CMPTXVS+45*, CMPTXVS+48*, CMPTXVS+49*, CMPTXVS+50*, CMPTXVS+53, CMPTXVS+55*, CMPTXVS+56*, CMPTXVS+57*, CMPTXVS+58*
NODE GVSCODES~, GVSCODES+2, GVSCODES+10
OID BLDTAX+1~, BLDTAX+6*, BLDTAX+10, BLDTAX+15
OK SCSYS+2~, SCSYS+8*, SCSYS+14*, SCSYS+15, SCSYS+16
OUTPUT CMPALL+3~, CMPALL+9, CMPTXVS~, CMPTXVS+42, CMPTXVS+53
OUTPUT( CMPALL+17, CMPTXVS+10*, CMPTXVS+11*, CMPTXVS+12*, CMPTXVS+13*, CMPTXVS+14*, CMPTXVS+15*, CMPTXVS+16*, CMPTXVS+17*, CMPTXVS+32*
, CMPTXVS+33*, CMPTXVS+36*, CMPTXVS+37*, CMPTXVS+38*, CMPTXVS+44*, CMPTXVS+45*, CMPTXVS+48*, CMPTXVS+49*, CMPTXVS+50*, CMPTXVS+55*
, CMPTXVS+56*, CMPTXVS+57*, CMPTXVS+58*
OUTTYPE CMPALL~, CMPALL+10, CMPALL+11
PDATA CHKCODE+1~, CHKCODE+4
RESULT CHKCODE+1~, CHKCODE+3*, CHKCODE+4*, CHKCODE+5, CHKCODE+8
SAVEOK BLDCODEL+1~, BLDCODEL+15*, BLDCODEL+16, BLDCODEL+17
SUBJECT CMPALL+12~, CMPALL+13*, CMPALL+18
TAXIEN BLDCODEL~, BLDCODEL+15, BLDCODEL+17, BLDTAX+17*, BLDTAX+18, BLDTAX+22, BLDTAX+24, CMPALL+3~, CMPALL+7*, CMPALL+8*
, CMPALL+9, CMPTXVS~, CMPTXVS+3, CMPTXVS+8, CMPTXVS+9, CMPTXVS+22, CMPTXVS+41
TAXNAME CMPTXVS+4~, CMPTXVS+8*, CMPTXVS+11
TAXVDATE CMPTXVS+4~, CMPTXVS+9*, CMPTXVS+16, CMPTXVS+17
TC BLDCODEL+1~, BLDCODEL+8*, BLDCODEL+13
TEMP SCSYS+2~, SCSYS+11*, SCSYS+12, SCSYS+13, SCSYS+14
TEXT GETNAME+1~, GETNAM+6, INICLOG~
TEXT(1 GETNAM+4*
TEXT(2 GETNAM+5*
TO CMPALL+12~, CMPALL+18
TO( CMPALL+14*
TXDATA BLDTAX+1~, BLDTAX+17
TXDATA("CLASS" BLDTAX+13*
TXDATA("DESC" BLDTAX+14*
TXDATA("NAME" BLDTAX+12*
TXDATA("OID" BLDTAX+15*
TXDATA("VERSI ON DATE" , BLDTAX+16*
U BLDCODEL+6, BLDCODEL+8, BLDTAX+6, BLDTAX+7, BLDTAX+9, CMPTXVS+3, CMPTXVS+6, CMPTXVS+7, CMPTXVS+8, CMPTXVS+9
, CMPTXVS+36, CMPTXVS+48, GVSCODES+6, GETNAME+2, GETNAME+5, SCSYS+4, SCSYS+12, SCSYS+13, SCSYS+14
UID CMPTXVS+4~, CMPTXVS+41*, CMPTXVS+42
VDATE BLDTAX+7*, BLDTAX+11, BLDTAX+16, CMPTXVS+4~, CMPTXVS+7*, CMPTXVS+15, CMPTXVS+17
VSIEN BLDCODEL~, BLDCODEL+4, BLDCODEL+5, BLDCODEL+10, BLDCODEL+11, BLDTAX~, BLDTAX+2, BLDTAX+4, BLDTAX+6, BLDTAX+7
, BLDTAX+9, BLDTAX+22, CMPTXVS+4~, CMPTXVS+5*, CMPTXVS+6, CMPTXVS+7, CMPTXVS+20, GVSCODES~, GVSCODES+4, GVSCODES+5
, GVSCODES+8, GVSCODES+9, GETNAME~, GETNAME+2, SCSYS~, SCSYS+4, SCSYS+9, SCSYS+10
VSNAME BLDTAX+1~, CMPTXVS+4~, CMPTXVS+6*, CMPTXVS+13, GETNAME+1~, GETNAME+2*, GETNAME+3*, GETNAME+7
VSOID CMPALL+3~, CMPALL+5*, CMPALL+6*, CMPALL+8, CMPALL+9, CMPTXVS~, CMPTXVS+3, CMPTXVS+5, CMPTXVS+14
X GETNAME+1~
Y GETNAME+1~, GETNAM+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All