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 |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: VPRDPXHF

Package: Virtual Patient Record

Routine: VPRDPXHF


Information

VPRDPXHF ;SLC/MKB -- PCE Health Factors ;8/2/11 15:29

Source Information

Source file <VPRDPXHF.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 2 $$EXTERNAL^DILFD  $$GET1^DIQ  
Kernel 1 ($$NS,$$STA)^XUAF4  
PCE Patient Care Encounter 1 VHF^PXPXRM  
Virtual Patient Record 1 ($$ESC,$$FAC)^VPRD  

Entry Points

Name Comments DBIA/ICR reference
EN(DFN,BEG,END,MAX,IFN) ; -- find a patient's health factors
ADD(X) ; Add a line @VPR@(n)=X
SORT(DFN,START,STOP) ; -- build ^TMP("VPRHF",$J,9999999-DATE,DA)=HF^DATE in range
; from ^PXRMINDX(9000010.23,"PI",DFN,HF,DATE,DA)
EN1(IEN,HF) ; -- return a health factor in HF("attribute")=value
; from EN: expects ^TMP("VPRHF",$J,VPRIDT,IEN)=HF^DATE
XML(HF) ; -- Return patient data as XML in @VPR@(n)
; as <element code='123' displayName='ABC' />

External References

Name Field # of Occurrence
$$EXTERNAL^DILFD EN1+6
$$GET1^DIQ EN1+13, EN1+14
VHF^PXPXRM EN1+3
$$ESC^VPRD XML+6, XML+7
$$FAC^VPRD EN1+12
$$NS^XUAF4 EN1+11
$$STA^XUAF4 EN1+11

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUPNVHF - [#9000010.23] EXTERNAL^DILFD
^AUTTHF - [#9999999.64] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVSIT - [#9000010] EN1+9
^PXRMINDX(9000010.23 EN+8, EN+9, SORT+3, SORT+4, SORT+6
^TMP("VPRHF" EN+7!, EN+10*, EN+15, EN+16, EN+19!, SORT+2!, SORT+6*, EN1+5

Label References

Name Line Occurrences
ADD XML+3, XML+4, XML+8
EN1 EN+11, EN+17
SORT EN+14
XML EN+11, EN+18

Naked Globals

Name Field # of Occurrence
^( EN+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ATT XML+2~, XML+4*, XML+5, XML+6, XML+7
BEG EN~, EN+2*, EN+14
DA SORT+2~, SORT+6*
DATE EN+7~, EN+9*, EN+10, SORT+2~, SORT+4*, SORT+5, SORT+6
DFN EN~, EN+1*, EN+8, EN+9, EN+14, SORT~, SORT+3, SORT+4, SORT+6
END EN~, EN+2*, EN+14
FAC EN1+2~, EN1+10*, EN1+11, EN1+12
HF EN+7~, EN+8*, EN+9, EN+10, SORT+2~, SORT+3*, SORT+4, SORT+6, EN1~, EN1+2!
, XML~
HF( XML+4, XML+5
HF("category" EN1+14*
HF("comment" EN1+7*
HF("encounter" EN1+8*
HF("facility" EN1+11*, EN1+12*
HF("id" EN1+4*
HF("name" EN1+6*
HF("recorded" EN1+5*
HF("severity" EN1+4*
I XML+2~
ID XML+2~
IDT SORT+2~, SORT+5*, SORT+6
IEN EN1~, EN1+3, EN1+4, EN1+5
IFN EN~, EN+6, EN+9, EN+10, EN+11
LOC EN1+2~, EN1+10*, EN1+12
MAX EN~, EN+2*, EN+15, EN+16
START SORT~, SORT+5
STOP SORT~, SORT+5
TMP EN1+2~, EN1+5*, EN1+6, EN1+13, EN1+14
U EN+10, SORT+6, EN1+5, EN1+10, EN1+11, EN1+14, XML+7
VISIT EN1+2~, EN1+8*, EN1+9
>> VPR ADD+2
VPRCNT EN+3~, EN+14*, EN+15, EN+16, EN+18*
VPRF EN1+2~, EN1+3
VPRF("COMMENTS" EN1+7
VPRF("VALUE" EN1+4
VPRF("VISIT" EN1+8
>> VPRI ADD+1*, ADD+2
VPRIDT EN+3~, EN+10*, EN+15*, EN+16, EN1+5
VPRITM EN+3~, EN+8, EN+11, EN+17!, EN+18
VPRN EN+3~, EN+16*, EN+17
>> VPRTOTL XML+3*
X EN1+2~, EN1+13*, EN1+14, XML+2~, XML+5*, XML+6, XML+7, ADD~, ADD+2
X0 EN1+2~, EN1+9*, EN1+10
Y XML+2~, XML+4, XML+5*, XML+6*, XML+7*
Info |  Source |  Call Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All