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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: MDPS1

Package: Clinical Procedures

Routine: MDPS1


Information

MDPS1 ; HOIFO/NCA - CP/Medicine Report Generator ;5/17/10 08:57

Source Information

Source file <MDPS1.m>

Call Graph

Call Graph

Call Graph Total: 16

Package Total Call Graph
Clinical Procedures 4 EN^MDARP3  ($$DEMO,$$HOSP,GETDATA,HDR,HSHDR,SET)^MDPS2  ($$CHKMED,$$GETAMDT,$$PRO,HDR)^MDPS3  GP^MDPS4  
Text Integration Utility 3 EXTRACT^TIULQ  CANDO^TIUSRVA  TGET^TIUSRVR1  
Kernel 2 $$FMTE^XLFDT  $$UP^XLFSTR  
Medicine 2 DTIME^MCARP  EN^MCARPS3  
VA FileMan 2 NOW^%DTC  ($$GET1,GETS)^DIQ  
Consult Request Tracking 1 DT^GMRCSLM2  
Health Summary 1 CKP^GMTSUP  
Toolkit 1 $$GET^XPAR  

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: 7

Package Total Caller Graph
Clinical Procedures 2 MDPS4  MDPS5  
Enterprise Health Management Platform 2 HMPDJ03  HMPDMC  
Virtual Patient Record 2 VPRDJ03  VPRDMC  
Medicine 1 MCARPS2  

Entry Points

Name Comments DBIA/ICR reference
EN1(MDGLO,MDDFN,MDSDT,MDEDT,MDMAX,MDPSC,MDALL) ; Return the List of Completed Studies
; Input: MDGLO - Return Global Array (Required)
; MDDFN - Patient DFN (Required)
; MDSDT - Start Date in FM Internal Format (Optional)
; MDEDT - End Date in FM Internal Format (Optional)
; MDMAX - Number of studies to return (Optional)
; MDPSC - Procedure Summary Code (Optional)
; MDALL - Return the all text reports with
; the procedures list (Optional)
; (Returns all studies for Patient, if no MDSDT, MDEDT,and MDMAX.)
GET702(MDGLO,MDDFN,MDC,MDSDT,MDEDT,MDMAX) ; Gather the new 702 entries
CPA ; Abnormal Report - Health Summary Component
CPB ; Brief Report - Health Summary Component
CPC ; Full Caption Report - Health Summary Component
CPF ; Full Report - Health Summary Component
CPS ; One Line Summary Report
PR702 ; Return the Result Text for File 702 records
NXT
PR690 ; Return the Result text for File 690 Medicine report record
PRINT ; Print the text for Display
GETARY(MDG,MDCON) ; Get the Medicine Result
SETLINE(MDG,MDGL) ; Set Global Lines

External References

Name Field # of Occurrence
NOW^%DTC SETLINE+2
$$GET1^DIQ GET702+3, GET702+12, GET702+18, GET702+19, PR702+6, PR702+7, PR702+8
GETS^DIQ GETARY+3
DT^GMRCSLM2 PR702+23
CKP^GMTSUP CPA+6, CPB+6, CPB+9, CPF+6, CPS+6, PRINT+5, PRINT+10, PRINT+11, PRINT+13
DTIME^MCARP SETLINE+2
EN^MCARPS3 EN1+20
EN^MDARP3 EN1+19
$$DEMO^MDPS2 SETLINE+11
$$HOSP^MDPS2 SETLINE+9
GETDATA^MDPS2 PR690+9, GETARY+8
HDR^MDPS2 CPB+7
HSHDR^MDPS2 CPA+8, CPF+8, CPS+8
SET^MDPS2 CPA+4, CPB+4, CPF+4, CPS+4
$$CHKMED^MDPS3 PR702+17
$$GETAMDT^MDPS3 PR702+19
$$PRO^MDPS3 GETARY+7
HDR^MDPS3 PRINT+6
GP^MDPS4 EN1+18
EXTRACT^TIULQ GET702+6
CANDO^TIUSRVA PR702+12
TGET^TIUSRVR1 PR702+14, GETARY+12
$$FMTE^XLFDT SETLINE+2
$$UP^XLFSTR GET702+8
$$GET^XPAR PR702+20

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"No Procedure Data for the patient."
  • Line Location: CPA+6
Function Call: WRITE
  • Prompt: !,"No Procedure Data for the patient."
  • Line Location: CPB+6
Function Call: WRITE
  • Prompt: !,"No Procedure Data for the patient."
  • Line Location: CPF+6
Function Call: WRITE
  • Prompt: !,"No Procedure Data for the patient."
  • Line Location: CPS+6
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: PRINT+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORD(100.01 - [#100.01] GET1^DIQ
^GMR(123 - [#123] GET1^DIQ,  GETS^DIQ
^MDD(702 - [#702] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" GET702+21
^MCAR(697.2 - [#697.2] PR690+6, PR690+7, SETLINE+3, SETLINE+4
^MDD(702 - [#702] GET702+1, GET702+2, PR702+10
^MDS(702.01 - [#702.01] SETLINE+5
^TMP("GMRCR" PR702+21!, PR702+23, PR702+24!
^TMP("MDHSP" EN1+12, CPA+3!, CPA+4, CPA+6, CPA+7, CPA+12!, CPB+3!, CPB+4, CPB+6, CPB+8
CPB+12!, CPF+3!, CPF+4, CPF+6, CPF+7, CPF+12!, CPS+3!, CPS+4, CPS+6, CPS+7
CPS+9!
^TMP("MDPLST" EN1+15!, EN1+24!, GET702+23, GET702+26
^TMP("MDPTXT" GET702+30!, PR702+3!, PR702+13*, PR702+14*, PR702+16, PR690+3!, PR690+5, PRINT+1, PRINT+16!
^TMP("MDREST" GETARY+2!, GETARY+9!
^TMP("MDTIUST" GET702+5!, GET702+7, GET702+10, GET702+11, GET702+13!
^TMP("TIUVIEW" PR702+14!, GETARY+13!

Label References

Name Line Occurrences
@( GET702+33, CPA+11, CPF+11
EN1 CPA+5, CPB+5, CPF+5, CPS+5
GET702 EN1+23
GETARY PR702+18, PR702+22
NXT PR702+13, PR702+14, PR702+18, PR702+22
PRINT NXT+1, NXT+2, PR690+11
SETLINE PR702+24, GETARY+9, GETARY+13

Naked Globals

Name Field # of Occurrence
^( GET702+23*, GET702+26, CPA+7, CPB+8, CPF+7, CPS+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% SETLINE+2!
>> DFN CPA+2, CPA+5, CPB+2, CPB+5, CPF+2, CPF+5, CPS+2, CPS+5, PR690+8, PR690+9
, GETARY+6, GETARY+8, SETLINE+9, SETLINE+11
FFF PR702+2~, PR702+4*, GETARY+14, SETLINE+12
>> GMTS1 CPA+2, CPB+2, CPF+2, CPS+2
>> GMTS2 CPA+2, CPB+2, CPF+2, CPS+2
>> GMTSQIT CPA+6, CPB+6, CPB+9, CPF+6, CPS+6, PRINT+5, PRINT+10, PRINT+11, PRINT+13
IO NXT+1, PR690+11
IOF PRINT+2, PRINT+6
IOSL PRINT+6
MCARGDA GET702+31*, GET702+34!, CPA+9*, CPF+9*, CPF+12!, PR702+1, PR702+5, PR702+13, PR702+14, PR702+16
PR690+1, PR690+4, PR690+5, PR690+8
MCARGRTN GET702+32*, GET702+34!, CPA+10*, CPA+12!, CPF+10*, CPF+12!, PRINT+16!
MCARPPS GET702+31*, GET702+33, GET702+34!, CPA+9*, CPA+11, CPA+12!, CPF+9*, CPF+11, CPF+12!, PRINT+16!
MCPRO GET702+31*, GET702+34!, CPA+9*, CPA+12!, CPF+9*, CPF+12!, PR702+13, PR702+14, PR702+16, PR690+5
PR690+6, PR690+8, PRINT+16!, GETARY+7*, SETLINE+3, SETLINE+5
MDAK PR702+2~, PR702+8*, PR702+20
MDALL EN1~, GET702+30, PR702+3, PR702+14, PR702+18, PR702+22, NXTPR690+3, PR690+10
MDARR EN1+13~, GET702+29!
MDARR( GET702+22*
MDAX PR702+2~
MDC EN1+14*, EN1+18, EN1+19, EN1+20, EN1+23, GET702~, GET702+9
MDCK GETARY+1~, GETARY+4*
MDCK1 SETLINE+1~, SETLINE+6*, SETLINE+13*
MDCLIN PR702+2~, PR702+11*, GETARY+14*, SETLINE+9*, SETLINE+10*, SETLINE+11*, SETLINE+12*, SETLINE+13*
MDCODE EN1+13~, EN1+14*, GET702+7*, GET702+8*, GET702+9, GET702+23
MDCON EN1+13~, GET702+14*, GET702+17, GET702+18, GET702+19, GET702+22, GET702+23, PR702+2~, PR702+7*, PR702+14
PR702+15, PR702+17, PR702+18, PR702+19, PR702+22, PR702+23, GETARY~, GETARY+3
MDCTR EN1+13~, EN1+14*, GET702+25*, GET702+27, GET702+28*
MDCX GETARY+1~
MDCX( GETARY+4
MDDFN EN1~, EN1+11, EN1+18, EN1+19, EN1+20, EN1+23, GET702~, GET702+1
MDDTE EN1+13~, EN1+14*, GET702+10*, GET702+12*, GET702+15, GET702+16, GET702+21, GET702+23
MDDTM SETLINE+1~, SETLINE+2*, SETLINE+9
MDEDT EN1~, EN1+18, EN1+19, EN1+20, EN1+23, GET702~, GET702+16
>> MDF PR690+8*, PR690+9, GETARY+6*, GETARY+8
MDG PR702+16*, PR702+18, PR702+22, PR702+24, PR690+5*, PR690+9, GETARY~, GETARY+9, GETARY+13, GETARY+14
, SETLINE~, SETLINE+9, SETLINE+10, SETLINE+11, SETLINE+12, SETLINE+13
MDGL GETARY+1~, GETARY+2*, GETARY+8, GETARY+9, SETLINE~, SETLINE+6, SETLINE+13
MDGLO EN1~, EN1+11, EN1+12*, EN1+23, GET702~, GET702+28, GET702+30
MDHDR CPA+1~, CPA+10*, CPF+1~, CPF+10*, PR690+9, GETARY+8, SETLINE+7
MDHFLG CPA+1~, CPA+3*, CPF+1~, CPF+3*, PRINT+2, PRINT+5, PRINT+6, PRINT+10, PRINT+11, PRINT+13
MDHR CPA+1~, CPA+7*, CPB+1~, CPB+8*, CPF+1~, CPF+7*, CPS+1~, CPS+7*
MDHSG CPA+1~, CPA+4*, CPA+5, CPB+1~, CPB+4*, CPB+5, CPF+1~, CPF+4*, CPF+5, CPS+1~
CPS+4*, CPS+5
MDIMG EN1+14*, PR702+2~, PR702+4*, PR702+10*, PRINT+9
MDLIM CPA+1~, CPA+5, CPB+1~, CPB+5, CPF+1~, CPF+5, CPS+1~, CPS+5
MDLP EN1+13~, GET702+1*, GET702+2, GET702+3, GET702+12, GET702+23, GET702+26*, GET702+30*
MDLP1 EN1+13~, GET702+26*
MDMAX EN1~, EN1+23, GET702~, GET702+27
MDMCG PR702+2~
MDMED PR702+2~, PR702+15, PR702+17*, PR702+18
MDNAME SETLINE+1~, SETLINE+3*, SETLINE+4, SETLINE+5*
MDPLST EN1+13~, EN1+15*
>> MDPR PR690+8*, PR690+9, GETARY+7*, GETARY+8
MDPRILV PR702+2~, PR702+11*, PR702+12, PR702+13
MDPROC EN1+13~, GET702+3*, GET702+23
MDPSC EN1~, EN1+14
MDPTR PR702+2~
>> MDR PR690+8*, PR690+9, GETARY+6*, GETARY+8
>> MDRDV PR702+18, PR702+22, NXTPR690+10
MDRE PRINT+1~*, PRINT+4
MDREC PR702+2~, PRINT+1*, PRINT+3*, PRINT+4, PRINT+7
MDRMT PR702+2~, PR702+15, PR702+19*
MDRPG PR702+2~, PR702+4*, PRINT+1*, SETLINE+6*, SETLINE+9
MDSC SETLINE+1~, SETLINE+6*, SETLINE+8, SETLINE+13
MDSDT EN1~, EN1+18, EN1+19, EN1+20, EN1+23, GET702~, GET702+15
MDSTAT EN1+13~, GET702+11*, GET702+17, GET702+18*, GET702+19*
MDSTUDY PR702+2~, PR702+5*, PR702+6, PR702+7, PR702+8, PR702+10, PR690+2~, PR690+4*
MDT EN1+13~, GET702+32*, CPA+10*, CPF+1~, CPF+10*, PR690+8*, PR690+9, GETARY+6*, GETARY+8
MDT1 CPC+1*, CPF+10, CPF+12!
MDTITL SETLINE+1~, SETLINE+4*, SETLINE+5*, SETLINE+10
MDTIU PR702+2~, PR702+6*, PR702+9, PR702+12, PR702+14
MDTIUER EN1+13~, EN1+14*, GET702+5*, GET702+6
MDTMP PR690+2~, PR690+6*, PR690+7*, PR690+8
MDTS1 CPA+1~, CPA+5, CPB+1~, CPB+5, CPF+1~, CPF+5, CPS+1~, CPS+5
MDTS2 CPA+1~, CPA+5, CPB+1~, CPB+5, CPF+1~, CPF+5, CPS+1~, CPS+5
MDX EN1+13~, GET702+2*, GET702+4, GET702+6, GET702+7, GET702+10, GET702+11, GET702+14, GET702+23, GET702+26*
, GET702+28
MDX1 GET702+30*, GET702+31, GET702+32, CPA+1~, CPA+7*, CPA+9, CPA+10, CPB+1~, CPB+8*, CPB+10
CPF+1~, CPF+7*, CPF+9, CPF+10, CPS+1~, CPS+7*
MDX3 SETLINE+1~
MDX4 PR702+2~, GETARY+1~, GETARY+4*, GETARY+5, GETARY+6, GETARY+7, GETARY+11, GETARY+12
MDXY PR702+2~, PR702+4*, PR702+15, PR702+20*, PR702+22, PR702+23
>> ORHFS NXT+1, PR690+11
PATID PR702+2~, PR690+2~, PR690+8*, GETARY+6*
RESULTS PR702+2~, PR702+11*, PR702+14, PR702+23*, PR702+24, PR690+2~, GETARY+12*, GETARY+13
U GET702+4, GET702+6, GET702+7, GET702+10, GET702+11, GET702+14, GET702+23, GET702+31, GET702+32, CPA+9
CPA+10, CPB+10, CPF+9, CPF+10, PR702+10, PR702+13, PR690+8, SETLINE+5
>> X SETLINE+2*
Y EN1+13~, GET702+21*, GET702+23
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 |  Naked Globals |  Local Variables  | All