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

Package: My HealtheVet

Routine: MHV7BU


Information

MHV7BU ;WAS/EFJ - HL7 message builder UTILITY ; [12/14/06 11:10am]

Source Information

Source file <MHV7BU.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Kernel 2 $$FMTHL7^XLFDT  ($$HLNAME,$$NAMEFMT)^XLFNAME  
My HealtheVet 1 $$ESCAPE^MHV7U  
Registration 1 $$SITE^VASITE  

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

Package Total Caller Graph
My HealtheVet 6 MHV7B1B  MHV7B1R  MHV7B1R2  MHV7B8  MHV7B9A  MHV7BUS  

Entry Points

Name Comments DBIA/ICR reference
PID3(PID,ICN,DFN,SSN) ;Build PID3 - Patient Identifier List
; Populates PID array with Patient Identifier List Entries for
; ICN, DFN, and SSN.
FMTNAME(NAME,SUBSEG,HL,DATATYPE) ;Format comma/space delimited name
; Populates SUBSEG array with formatted and escaped name components
; based on the DATATYPE passed. XCN types and XPN types differ in
; that XCN has an ID in the first component effectively shifting the
; name components by one.
FMTNAME2(IEN,FILE,SUBSEG,HL,DATATYPE) ;Lookup and format name
; Looks up name components based on IEN and FILE passed.
; Populates SUBSEG array with formatted and escaped name components
; based on the DATATYPE passed. XCN types and XPN types differ in
; that XCN has an ID in the first component effectively shifting the
; name components by one.
FMTNAME3(IEN,FILE,SUBSEG,HL,DATATYPE) ;Lookup and format name
FMTHL7(DT) ;Convert Fileman formatted dates to HL7 format
; Handles imprecise dates properly because $$FMTHL7^XLFDT does not.
; Strips Timezone offset

External References

Name Field # of Occurrence
$$ESCAPE^MHV7U FMTNAME+26, FMTNAME+27, FMTNAME+28, FMTNAME+29, FMTNAME+30, FMTNAME+31, FMTNAME2+28, FMTNAME2+29, FMTNAME2+30, FMTNAME2+31
, FMTNAME2+32, FMTNAME2+33, FMTNAME3+30, FMTNAME3+31, FMTNAME3+32, FMTNAME3+33, FMTNAME3+34, FMTNAME3+35
$$SITE^VASITE PID3+14
$$FMTHL7^XLFDT FMTHL7+12
$$HLNAME^XLFNAME FMTNAME3+29
$$NAMEFMT^XLFNAME FMTNAME+25, FMTNAME2+27

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DATATYPE FMTNAME~, FMTNAME+24, FMTNAME2~, FMTNAME2+25, FMTNAME3~, FMTNAME3+27
DFN PID3~, PID3+26, PID3+28
DT FMTHL7~, FMTHL7+12*, FMTHL7+13*, FMTHL7+14*, FMTHL7+15*, FMTHL7+16*, FMTHL7+17
FILE FMTNAME2~, FMTNAME2+26, FMTNAME3~, FMTNAME3+28
HL FMTNAME~, FMTNAME+26, FMTNAME+27, FMTNAME+28, FMTNAME+29, FMTNAME+30, FMTNAME+31, FMTNAME2~, FMTNAME2+28, FMTNAME2+29
, FMTNAME2+30, FMTNAME2+31, FMTNAME2+32, FMTNAME2+33, FMTNAME3~, FMTNAME3+30, FMTNAME3+31, FMTNAME3+32, FMTNAME3+33, FMTNAME3+34
, FMTNAME3+35
ICN PID3~, PID3+16, PID3+18
IDCNT PID3+13~, PID3+15*, PID3+17*, PID3+18, PID3+19, PID3+20, PID3+21, PID3+22, PID3+23, PID3+24
, PID3+27*, PID3+28, PID3+29, PID3+30, PID3+31, PID3+32, PID3+33, PID3+34, PID3+37*, PID3+38
, PID3+39, PID3+40, PID3+41, PID3+42, PID3+43, PID3+44
IEN FMTNAME2~, FMTNAME2+26, FMTNAME3~, FMTNAME3+28
NAME FMTNAME~, FMTNAME+25*, FMTNAME+26, FMTNAME+27, FMTNAME+28, FMTNAME+29, FMTNAME+30, FMTNAME+31, FMTNAME2+24~, FMTNAME2+27*
, FMTNAME2+28, FMTNAME2+29, FMTNAME2+30, FMTNAME2+31, FMTNAME2+32, FMTNAME2+33, FMTNAME3+26~, FMTNAME3+29*, FMTNAME3+30, FMTNAME3+31
, FMTNAME3+32, FMTNAME3+33, FMTNAME3+34, FMTNAME3+35
NAME("FIELD" FMTNAME2+26*, FMTNAME3+28*
NAME("FILE" FMTNAME2+26*, FMTNAME3+28*
NAME("IENS" FMTNAME2+26*, FMTNAME3+28*
OFFSET FMTNAME+23~, FMTNAME+24*, FMTNAME+26, FMTNAME+27, FMTNAME+28, FMTNAME+29, FMTNAME+30, FMTNAME+31, FMTNAME2+24~, FMTNAME2+25*
, FMTNAME2+28, FMTNAME2+29, FMTNAME2+30, FMTNAME2+31, FMTNAME2+32, FMTNAME2+33, FMTNAME3+26~, FMTNAME3+27*, FMTNAME3+30, FMTNAME3+31
, FMTNAME3+32, FMTNAME3+33, FMTNAME3+34, FMTNAME3+35
PID PID3~
PID(3 PID3+18*, PID3+19*, PID3+20*, PID3+21*, PID3+22*, PID3+23*, PID3+24*, PID3+28*, PID3+29*, PID3+30*
, PID3+31*, PID3+32*, PID3+33*, PID3+34*, PID3+38*, PID3+39*, PID3+40*, PID3+41*, PID3+42*, PID3+43*
, PID3+44*
SSN PID3~, PID3+36, PID3+38
STATION PID3+13~, PID3+14*, PID3+23, PID3+33, PID3+43
SUBSEG FMTNAME~, FMTNAME2~, FMTNAME3~
SUBSEG(1 FMTNAME+26*, FMTNAME2+28*, FMTNAME3+30*
SUBSEG(2 FMTNAME+27*, FMTNAME2+29*, FMTNAME3+31*
SUBSEG(3 FMTNAME+28*, FMTNAME2+30*, FMTNAME3+32*
SUBSEG(4 FMTNAME+29*, FMTNAME2+31*, FMTNAME3+33*
SUBSEG(5 FMTNAME+30*, FMTNAME2+32*, FMTNAME3+34*
SUBSEG(6 FMTNAME+31*, FMTNAME2+33*, FMTNAME3+35*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Local Variables  | All