MDCLIO1 ;HINES OIFO/DP - CliO backend driver (Continuation);02 Sep 2005
Source file <MDCLIO1.m>
Package | Total | Call Graph |
---|---|---|
Kernel | 5 | $$FMADD^XLFDT $$UP^XLFSTR $$BASE^XLFUTL HASH^XUSHSHP ($$DECRYP,$$ENCRYP)^XUSRB1 |
Text Integration Utility | 4 | LNGCP^TIUCP REQCOS^TIUSRVA LONGLIST^TIUSRVD (MAKE,SIGN,UPDATE)^TIUSRVP |
VA FileMan | 4 | NOW^%DTC ($$FIND1,FIND)^DIC (FILE,UPDATE)^DIE ($$GET1,GETS)^DIQ |
Clinical Procedures | 2 | ($$FMDT,$$XMLSAFE,DELACL,ENDDOC,NEWDOC,QUICKDOC,SENDMAIL,SETACL,STRIP,XMLADD,XMLDATA,XMLFTR,XMLHDR,XQUERY)^MDCLIO (GETMSG,UPDATERP)^MDCPHL7B |
Order Entry Results Reporting | 1 | GETDCOS^ORWTPN |
Registration | 1 | NOTICE^DGSEC4 |
Toolkit | 1 | ($$GET,DEL,EN,GETLST,NDEL)^XPAR |
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 | 5 | MDCPHL7A MDPOST16 MDPRE16 ^MDC(704.117 ^MDC(704.1211 |
General Medical Record - Vitals | 2 | GMVPXRM GMVUTL |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETPT | ; Does an old style lookup on file 2 so that we don't have to use a PK
|
|
GETESIG | ; Returns record with boolean of proper E-Sig entered
|
|
GETKRDXA(MDPT,MDSTRT,MDSTOP) | ; Returns all actions for patient MDPT active between MDSTRT & MDSTOP
|
|
GETKRDXE(MDTASK,MDSTRT,MDSTOP) | ; Returns all events for Kardex Action MDTASK active between MDSTRT & MDSTOP
|
|
GETGUID(X) | ; Returns a string formatted as a GUID (NO GUARANTEE OF UNIQUENESS)
|
|
ISGUID(MDX) | ; Returns true if X is in the format of a GUID
|
|
PXRMALL | ; Full rebuild of the Clinical Reminders Index - Only Verified sent for rebuild
|
|
PXRMONE(MDIEN) | ; Maintain the Clinical Reminders Index
|
|
LOGSEC | ; Logs a security hit in PIMS
|
|
GETTIUCP | ; Gets a list of CP Class TIU notes - bypass regular lookup stuff and call directly
|
|
GETTIUPN | ; Gets list of all Progress Note Titles
|
|
GETUSER | ; Gets the current users record in ^VA(200,
|
|
GETLST | ; Get a list of observations sent down in P2(0..n)=ID
|
|
GETONE(ID) | ; Get single Observation + Children if any
|
|
LOCATION | ; Get list of wards, clinics and non-stops
|
|
GETSUPPG | ; Get list of supplemental/optional pages for a date range
; P2(0)=Patient DFN ; P2(1)=Start Date ; P2(2)=Stop Date |
|
GETHL7(ID) | ; Get text of HL7 Message from 704.002 entry
|
|
SETACL | ; Sets the ACL for an Item
|
|
DELACL | ; Removes and item from ACL
|
|
SUBMIT | ; Submits an HL7 message back to the queue
|
|
QRYDATE(MDRET,MDSTRT,MDSTOP) | ; Get list of all observations by DATE/TIME
|
|
QRYLST(MDRET,MDDFN,MDITEM,MDSTRT,MDSTOP) | ; Get list of observations by VUID or TERM NAME
|
|
QRYOBS(MDRET,MDID) | ; Return a single observation
|
|
QRYQUAL(MDRET,MDIEN) | ; Returns the qualifiers for obs in MDIEN
|
|
QRYCTX(MDRET,MDID) | ; We need a terminology based context observation relationship here
|
|
GETOBS(MDPAR) | ; Get list of observations by date
|
|
GETBYDT | ; Get list of observations by date
|
|
GETLOG | ; Get list of date/time pairs with data
|
|
GETBYST | ; Get list of observations by patient, status, and date range
|
|
AUDIT(Y) | ; Looks up the audit records for an observation in external format
|
|
QUAL | ; Retrieves all qualifiers for an observation - MDIENS = iens of observation from MDCLIO
|
|
SETS | ; Retrieve the sets this observation belongs to
|
|
GETQUAL | ; Returns qualifiers of type P2(1) for term P2(0)
; Set Y to the IEN of the Term |
|
PROCIEN(Y) | ; Converts CP DEFINITION (procedure) name to IEN
|
|
INSTIEN(Y) | ; Converts CP INSTRUMENT name to IEN
|
|
GETINST | ; Gathers instruments for a procedure
|
|
ADDINST | ; Adds an instrument definition to a procedure
; This is a legacy multiple in file 702.01 so it has to be done in an odd way |
|
DELINST | ; Deletes all instruments from a procedure definition
; This is a legacy multiple in file 702.01 so it has to be done in an odd way |
|
GETVER | ; Get Version Information
|
|
GETVF | ; Get View Filters
|
|
NEWNOTE | ; Returns a new note ID
|
|
CLRNOTE | ; Clears any text in a temporary note P2(0)=Temporary ID
|
|
ADDTEXT | ; Adds P2(1..n) to the note in P2(0)
|
|
SENDMAIL | ; Sends an EMail Message
|
|
GETTIU | ; Gets Privs for note title in P2(0)
|
|
SIGNTIU | ; Signs the note
|
|
GETENT(X) | ; Returns the entity path upward
|
|
OPENPAR | ; Opens and verifies a parameter Entity
|
|
LSTPAR | ; Returns all parameter Values as a Query
; GETLST^XPAR(.List,Entity,Parameter,Format,.Error) |
|
CLRPAR | ; Clears all settings for an entity
|
|
SETPAR | ; Sets a single parameter value
|
|
GETPAR | ; Gets a single parameter value
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | FIND^DIC |
^VA(200 - [#200] | GET1^DIQ |
^MDS(702.01 - [#702.01] | FIND1^DIC |
^MDS(702.09 - [#702.09] | FIND1^DIC |
^MDC(704.002 - [#704.002] | FIND1^DIC |
^MDC(704.101 - [#704.101] | FIND1^DIC, GET1^DIQ |
^MDC(704.1161 - [#704.1161] | GET1^DIQ |
^MDC(704.117 - [#704.117] | FIND1^DIC, GET1^DIQ, GETS^DIQ |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> % | LOCATION+1, SIGNTIU+2, OPENPAR+1*, OPENPAR+2 |
DT | QRYLST+3, QRYLST+4 |
DUZ | GETESIG+6, GETUSER+2, GETTIU+6 |
ID | GETONE~, GETHL7~, GETHL7+1 |
ID(0 | GETONE+1 |
>> IEN | GETHL7+1*, GETHL7+3, GETHL7+4 |
>> MD | PXRMALL+1*, NEWNOTE+1, NEWNOTE+2, NEWNOTE+3 |
MDCNT | QRYCTX+1~, QRYCTX+19*, QRYCTX+20, QRYCTX+21, QRYCTX+22, QRYCTX+23, QRYCTX+24, QRYCTX+25, QRYCTX+26 |
MDCTX | QRYCTX+1~, QRYCTX+3*, QRYCTX+5 |
MDDATA | GETTIUCP+2*, GETTIUCP+4, GETTIUCP+6, GETTIUCP+11!, GETTIUPN+2*, GETTIUPN+4, GETTIUPN+6, GETTIUPN+11! |
MDDFN | PXRMONE+1~, PXRMONE+4*, PXRMONE+5, PXRMONE+8, PXRMONE+9, PXRMONE+11, PXRMONE+12, GETSUPPG+4*, GETSUPPG+7, GETSUPPG+8 , QRYLST~, QRYLST+7, QRYLST+8, QRYCTX+1~, QRYCTX+6*, QRYCTX+11, QRYCTX+12 |
MDDT | PXRMONE+1~, PXRMONE+4*, PXRMONE+5, PXRMONE+8, PXRMONE+9, PXRMONE+11, PXRMONE+12, GETSUPPG+4*, GETSUPPG+6*, GETSUPPG+7* , GETSUPPG+8, QRYCTX+1~, QRYCTX+7*, QRYCTX+8, QRYCTX+9, QRYCTX+11*, QRYCTX+12, GETLOG+6*, GETLOG+7*, GETLOG+8 |
MDENT | LSTPAR+2~ |
>> MDERR | OPENPAR+3, OPENPAR+4, LSTPAR+4, LSTPAR+7, CLRPAR+1, CLRPAR+2, SETPAR+5, SETPAR+7, SETPAR+8 |
MDESIG | SIGNTIU+1~, SIGNTIU+3*, SIGNTIU+11, SIGNTIU+12! |
>> MDFDA( | ADDINST+7*, DELINST+4* |
>> MDFR | GETSUPPG+5*, GETSUPPG+9, GETOBS+3*, GETOBS+5*, GETOBS+6, GETBYDT+3*, GETBYDT+5*, GETBYDT+6, GETLOG+2*, GETLOG+6 , GETBYST+2*, GETBYST+4*, GETBYST+5 |
MDFROM | QRYCTX+1~, QRYCTX+8*, QRYCTX+11 |
MDGBL | PXRMONE+1~, PXRMONE+6*, PXRMONE+8, PXRMONE+9, PXRMONE+11, PXRMONE+12, GETQUAL+4*, GETQUAL+5*, GETQUAL+6, GETQUAL+7 |
>> MDGUID | PXRMONE+4*, PXRMONE+5, PXRMONE+8, PXRMONE+9, PXRMONE+11, PXRMONE+12 |
MDID | GETLST+2*, GETLST+3*, GETLST+4, QRYOBS~, QRYOBS+3, QRYOBS+4, QRYOBS+13, QRYCTX~, QRYCTX+2, QRYCTX+15 |
MDIEN | PXRMONE~, PXRMONE+2, PXRMONE+4, GETSUPPG+8*, GETSUPPG+9, GETSUPPG+10, GETSUPPG+11, QRYOBS+3*, QRYOBS+4, QRYOBS+5 , QRYOBS+6, QRYOBS+7, QRYOBS+8, QRYOBS+9, QRYOBS+12, QRYQUAL~, QRYQUAL+2, QRYCTX+1~, QRYCTX+2*, QRYCTX+3 , QRYCTX+6, QRYCTX+7, GETVF+1~, GETVF+5* |
>> MDIENS | QUAL+2, SETS+2, SETS+3 |
MDINST | ADDINST+2~, ADDINST+4*, ADDINST+6, ADDINST+7 |
MDITEM | QRYLST~, QRYLST+5, QRYLST+6 |
MDLST | LSTPAR+2~ |
MDLST( | LSTPAR+5*, LSTPAR+8, LSTPAR+11 |
MDMSG | SUBMIT+1~, SUBMIT+2*, SUBMIT+3, SUBMIT+5 |
MDNAME | LSTPAR+2~, LSTPAR+8*, LSTPAR+10, LSTPAR+11 |
MDNOTE | SIGNTIU+1~, SIGNTIU+4, SIGNTIU+5, SIGNTIU+9, SIGNTIU+11 |
MDNOW | LOCATION+1~*, LOCATION+5, LOCATION+6, SIGNTIU+1~, SIGNTIU+2*, SIGNTIU+4 |
>> MDOBS | QRYCTX+12*, QRYCTX+13, QRYCTX+14, QRYCTX+16, QRYCTX+22, QRYCTX+23, QRYCTX+24, QRYCTX+25, QRYCTX+26 |
MDPAR | GETOBS~ |
MDPAR(0 | GETOBS+1 |
MDPAR(1 | GETOBS+3 |
MDPAR(2 | GETOBS+4 |
MDPROC | ADDINST+2~, ADDINST+3*, ADDINST+5, ADDINST+7, DELINST+2~, DELINST+3*, DELINST+4 |
MDPT | GETKRDXA~, GETOBS+1*, GETOBS+5, GETOBS+6, GETBYDT+1*, GETBYDT+5, GETBYDT+6, GETLOG+1*, GETLOG+7, GETLOG+8 , GETBYST+1*, GETBYST+4, GETBYST+5 |
MDQUAL | QRYQUAL+1~, QRYQUAL+3*, QRYQUAL+4, QRYQUAL+5, QUAL+1~, QUAL+2*, QUAL+3 |
MDRET | LOGSEC+1, LOGSEC+2, GETTIUCP+1~, GETTIUCP+4, GETTIUPN+1~, GETTIUPN+4, GETHL7+4, GETHL7+5, SUBMIT+5, QRYDATE~ , QRYDATE+1, QRYDATE+5, QRYDATE+6, QRYLST~, QRYLST+2, QRYLST+6, QRYLST+11, QRYLST+12, QRYOBS~, QRYOBS+2 , QRYOBS+4, QRYOBS+6, QRYOBS+7, QRYOBS+8, QRYOBS+10, QRYOBS+11, QRYOBS+12, QRYOBS+13, QRYQUAL~, QRYQUAL+4 , QRYQUAL+5, QRYCTX~, QRYCTX+19, QRYCTX+20, QRYCTX+21, QRYCTX+22, QRYCTX+23, QRYCTX+24, QRYCTX+25, QRYCTX+26 , GETVER+2, GETVER+6*, GETVER+8, GETVER+10, GETTIU+1~, GETTIU+4, GETTIU+5, GETTIU+6, GETTIU+7, GETTIU+8 , GETTIU+9, SIGNTIU+1~, SIGNTIU+9, SIGNTIU+10, SIGNTIU+11, SIGNTIU+13, LSTPAR+4, LSTPAR+6! |
MDRET( | GETTIUCP+6, GETTIUCP+8, GETTIUCP+9, GETTIUPN+6, GETTIUPN+8, GETTIUPN+9, GETVER+6, GETVER+8, GETVER+10, LSTPAR+5 |
MDRET(1 | GETVER+3* |
MDRET(44 | GETTIUCP+5, GETTIUPN+5 |
>> MDROOT | GETPT+2, GETUSER+1*, GETLST+1*, GETLST+4, GETONE+2, GETONE+3, LOCATION+2*, LOCATION+4, LOCATION+7, GETSUPPG+4* , GETSUPPG+11, GETOBS+2*, GETOBS+6, GETBYDT+2*, GETBYDT+6, GETLOG+1*, GETLOG+8, GETBYST+1*, GETBYST+5, AUDIT+1* , GETQUAL+3*, GETQUAL+7, GETINST+2 |
>> MDROOT( | GETUSER+2* |
MDSET | SETS+2~*, SETS+3 |
MDSTAT | PXRMONE+1~, PXRMONE+4*, PXRMONE+7, SUBMIT+1~, SUBMIT+4*, SUBMIT+5, GETLOG+4*, GETLOG+5*, GETLOG+7, GETLOG+8 , GETBYST+1*, GETBYST+4, GETBYST+5 |
MDSTOP | GETKRDXA~, GETKRDXE~, QRYDATE~, QRYDATE+2, QRYLST~, QRYLST+4*, QRYLST+7 |
MDSTRT | GETKRDXA~, GETKRDXE~, QRYDATE~, QRYDATE+2, QRYLST~, QRYLST+3*, QRYLST+7 |
MDTASK | GETKRDXE~ |
MDTERM | QRYLST+1~, QRYLST+5*, QRYLST+6, QRYLST+10, QRYCTX+1~, QRYCTX+16*, QRYCTX+18, GETVF+1~, GETVF+4*, GETVF+5 |
MDTEXT | SIGNTIU+1~, SIGNTIU+9 |
MDTEXT(1208 | SIGNTIU+8* |
MDTEXT(1506 | SIGNTIU+8* |
MDTEXT(2 | SIGNTIU+6* |
MDTMP | QRYOBS+1~, QRYOBS+6!, QRYOBS+10*, QRYOBS+11 |
MDTMP( | QRYOBS+6 |
MDTO | QRYCTX+1~, QRYCTX+9*, QRYCTX+11, GETOBS+4*, GETOBS+5, GETBYDT+4*, GETBYDT+5, GETLOG+3*, GETLOG+7, GETBYST+3* , GETBYST+4 |
MDVALUE | SETPAR+1~, SETPAR+2*, SETPAR+3, SETPAR+4, SETPAR+7, GETPAR+1~, GETPAR+4*, GETPAR+5 |
MDVAU | SIGNTIU+1~ |
>> MDVER | GETVER+8*, GETVER+9, GETVER+10*, GETVER+14, GETVER+15, GETVER+16 |
MDVIEW | GETVF+1~, GETVF+3*, GETVF+4, GETVF+5 |
MDVITAL | PXRMONE+1~, PXRMONE+3*, PXRMONE+8, PXRMONE+9, PXRMONE+11, PXRMONE+12 |
MDVUID | PXRMONE+1~, PXRMONE+2*, PXRMONE+3 |
MDX | GETESIG+4*, GETESIG+5, GETESIG+6, ISGUID~, ISGUID+2, ISGUID+3, SETS+3*, SETS+5 |
MDXID | QRYCTX+1~, QRYCTX+14*, QRYCTX+15, QRYCTX+20, QRYCTX+21 |
MDXROOT | GETVF+1~, GETVF+2*, GETVF+5 |
>> P2( | GETLST+3, GETLST+4, ADDTEXT+1, ADDTEXT+3 |
>> P2("" | ADDTEXT+4 |
>> P2(0 | GETPT+1, GETESIG+3, GETESIG+4, LOGSEC+1, GETTIUCP+2, GETTIUCP+5, GETTIUPN+2, GETTIUPN+5, GETSUPPG+4, SUBMIT+2 , GETBYDT+1, GETLOG+1, GETBYST+1, GETQUAL+2, GETINST+1, ADDINST+3, ADDINST+5, DELINST+3, GETVER+2, GETVER+3 , GETVF+3, CLRNOTE+1, ADDTEXT+2, ADDTEXT+3, GETTIU+4, SIGNTIU+6, OPENPAR+3, LSTPAR+4, CLRPAR+1, SETPAR+5 , SETPAR+7, GETPAR+4 |
>> P2(1 | GETSUPPG+5, SUBMIT+4, GETBYDT+3, GETLOG+2, GETBYST+2, GETQUAL+6, ADDINST+4, ADDINST+6, GETVF+4, GETVF+5 , SIGNTIU+4, LSTPAR+4, CLRPAR+1, SETPAR+5, SETPAR+7, GETPAR+4 |
>> P2(2 | GETSUPPG+4, GETSUPPG+6, GETBYDT+4, GETLOG+3, GETBYST+3, SIGNTIU+4, SETPAR+5, SETPAR+7, GETPAR+4 |
>> P2(3 | GETBYST+1, SIGNTIU+4, SETPAR+2 |
>> P2(4 | SIGNTIU+3 |
>> P2(5 | SIGNTIU+8 |
>> RESULTS | LOGSEC+2, GETTIUCP+1, GETTIUPN+1, SUBMIT+3, SUBMIT+6, ADDINST+5, ADDINST+6, ADDINST+9, DELINST+6, CLRNOTE+2 , ADDTEXT+4, SIGNTIU+5, SIGNTIU+10, SIGNTIU+13, SIGNTIU+14, OPENPAR+4, CLRPAR+2, SETPAR+6, SETPAR+8 |
U | PXRMALL+1, PXRMONE+4, GETTIUCP+5, GETTIUCP+6, GETTIUCP+8, GETTIUCP+9, GETTIUPN+5, GETTIUPN+6, GETTIUPN+8, GETTIUPN+9 , LOCATION+3, LOCATION+5, LOCATION+6, GETSUPPG+10, QRYDATE+4, QRYDATE+5, QRYLST+9, QRYLST+10, QRYLST+11, GETQUAL+6 , GETTIU+8, GETTIU+9, LSTPAR+5 |
X | GETPT+2*, GETESIG+4*, GETGUID~, GETGUID+1*, GETGUID+2*, GETGUID+3*, ISGUID+1~, ISGUID+6, GETLST+4*, GETONE+1* , GETONE+2, GETONE+3, LOCATION+3*, LOCATION+4, LOCATION+5, LOCATION+6, LOCATION+7, GETHL7+5*, GETHL7+6, QRYDATE+2* , QRYDATE+3, QRYLST+7*, QRYLST+8, GETQUAL+2*, GETQUAL+4, GETQUAL+5, GETINST+1*, GETINST+2, DELINST+4*, ADDTEXT+1* , ADDTEXT+3, GETENT~, GETENT+1 |
Y | ISGUID+1~, GETTIUCP+6*, GETTIUCP+8, GETTIUCP+9, GETTIUPN+6*, GETTIUPN+8, GETTIUPN+9, GETONE+3*, QRYDATE+3*, QRYDATE+4 , QRYDATE+5, QRYLST+8*, QRYLST+9, QRYLST+10, QRYLST+11, QRYQUAL+2*, QRYQUAL+3, QRYQUAL+4, QRYQUAL+5, GETOBS+6* , GETBYDT+6*, GETBYST+5*, AUDIT~, AUDIT+1, PROCIEN~, PROCIEN+1, INSTIEN~, INSTIEN+1, GETINST+2*, ADDTEXT+2* , ADDTEXT+3, OPENPAR+2*, OPENPAR+3, LSTPAR+5* |