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 |  FileMan Files Accessed Via FileMan Db Call |  Local Variables |  All
Print Page as PDF
Routine: LA7VORC

Package: Automated Lab Instruments

Routine: LA7VORC


Information

LA7VORC ;VA/DALOI/JMC - LAB ORC Segment message builder ; 19-Nov-2014 13:22 ; MKK

Source Information

Source file <LA7VORC.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Automated Lab Instruments 5 $$CHKDT^LA7VHLU1  $$FACDNS^LA7VHLU2  $$CHKDATA^LA7VHLU3  ($$INST,$$XAD,$$XON)^LA7VHLU4  $$XCN^LA7VHLU9  
Kernel 1 $$FMTHL7^XLFDT  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 6

Package Total Caller Graph
Automated Lab Instruments 6 LA7CORU  LA7VOBR  LA7VORM1  LA7VORM3  LA7VORU  LA7VORUB  

Entry Points

Name Comments DBIA/ICR reference
ORC7(LA7DUR,LA7DURU,LA76205,LA7FS,LA7ECH) ; Build ORC-7 sequence - Quantity/Timing
; Call with LA7DUR = collection duration
; LA7DURU = duration units (pointer to #64.061)
; LA76205 = test urgency
; LA7FS = HL field separator
; LA7ECH = HL encoding characters
ORC5(LA7VAL,LA7FS,LA7ECH) ; Build ORC-5 sequence - Order status
; Call with LA7VAL = order status
; LA7FS = HL field separator
; LA7ECH = HL encoding characters
; Returns ORC-5 sequence
ORC3(LA7VAL,LA7FS,LA7ECH) ; Build ORC-3 sequence - Filler order number
; Call with LA7VAL = accession number/UID
; LA7VAL("NMSP") = application namespace (optional)
; LA7VAL("SITE") = placer facility
; LA7FS = HL field separator
; LA7ECH = HL encoding characters
;
ORC13(LA7J,LA7FS,LA7ECH) ; Build ORC-13 sequence - Enterer's location
; Call with LA7J = variable pointer to file #4 or #44
; LA7FS = HL field separator
; LA7ECH = HL encoding characters
ORC4(LA7VAL,LA7FS,LA7ECH) ; Build ORC-4 sequence - Placer group number
; Call with LA7VAL = LEDI - shipping manifest number
; LA7FS = HL field separator
; LA7ECH = HL encoding characters
; Returns ORD-4 sequence
ORC21(LA74,LA7FS,LA7ECH) ; Build ORC-21 sequence - Ordering facility name
; Call with LA74 = ien of institution in file #4
; LA7FS = HL field separator
; LA7ECH = HL encoding characters
ORC9(LA7DT) ; Build ORC-9 sequence - date/time of transaction
; Call with LA7DT = order date/time
ORC2(LA7VAL,LA7FS,LA7ECH) ; Build ORC-2 sequence - Placer order number
; Call with LA7VAL = accession number/UID
; LA7VAL("NMSP") = application namespace (optional)
; LA7VAL("SITE") = placer facility
; LA7FS = HL field separator
; LA7ECH = HL encoding characters
;
ORC1(LA7TYP) ; Build ORC-1 sequence - Order control
; Call with LA7TYP = order type from table 0119
ORC22(LA74,LA7DT,LA7FS,LA7ECH) ; Build ORC-22 sequence - Ordering facility address
; Call with LA74 = ien of institution in file #4
; if null/undefined then use Kernel Site file.
; LA7DT = "as of" date in FileMan format
; LA7FS = HL field separator
; LA7ECH = HL encoding characters
ORC23(LA74,LA7DT,LA7FS,LA7ECH) ; Build ORC-23 sequence - Ordering facility phone number
; Call with LA74 = ien of institution in file #4
; if null/undefined then use Kernel Site file.
; LA7DT = "as of" date in FileMan format
; LA7FS = HL field separator
; LA7ECH = HL encoding characters
ORC12(LA7DUZ,LA7DIV,LA7FS,LA7ECH,LA7IDTYP) ; Build ORC-12 sequence - Ordering provider
; Call with LA7DUZ = DUZ of ordering provider
; LA7DIV = Facility (division) of provider
; LA7FS = HL field separator
; LA7ECH = HL encoding characters
; LA7IDTYP = id type to return (0:DUZ 1:VPID 2:NPI)
;
; Returns ORC-12 sequence
; Also used to build OBR-16 sequence
ORC17(LA74,LA7FS,LA7ECH) ; Build ORC-17 sequence - Entering organization
; Call with LA74 = ien of institution in file #4
; if null/undefined then use Kernel Site file.
; LA7FS = HL field separator
; LA7ECH = HL encoding characters
ORC24(LA7200,LA7DT,LA7FS,LA7ECH) ; Build ORC-24 sequence - Ordering provider address
; Call with LA7200 = ien of provider in file #200
; LA7DT = "as of" date in FileMan format
; LA7FS = HL field separator
; LA7ECH = HL encoding characters

External References

Name Field # of Occurrence
$$GET1^DIQ ORC7+13, ORC7+17, ORC12+16, ORC13+14, ORC13+21, ORC13+23
$$CHKDT^LA7VHLU1 ORC9+5
$$FACDNS^LA7VHLU2 ORC2+12, ORC3+12, ORC13+28
$$CHKDATA^LA7VHLU3 ORC2+9, ORC3+9, ORC4+8, ORC7+14, ORC7+18, ORC13+22
$$INST^LA7VHLU4 ORC13+30, ORC17+8
$$XAD^LA7VHLU4 ORC22+9
$$XON^LA7VHLU4 ORC21+7
$$XCN^LA7VHLU9 ORC12+15
$$FMTHL7^XLFDT ORC9+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^SC - [#44] GET1^DIQ
^LAB(62.05 - [#62.05] GET1^DIQ
^LAB(64.061 - [#64.061] GET1^DIQ

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
LA7200 ORC24~
LA74 ORC13+7~, ORC13+9*, ORC13+14*, ORC13+17*, ORC13+27, ORC13+28, ORC13+30, ORC17~, ORC17+8, ORC21~
, ORC21+7, ORC22~, ORC22+9, ORC23~
LA744 ORC13+7~, ORC13+9*, ORC13+13*, ORC13+14, ORC13+20, ORC13+21, ORC13+23
LA76205 ORC7~, ORC7+16, ORC7+17
LA7DIV ORC12~, ORC12+15
LA7DT ORC9~, ORC9+5*, ORC9+6, ORC22~, ORC22+9, ORC23~, ORC24~
LA7DUR ORC7~, ORC7+12, ORC7+14
LA7DURU ORC7~, ORC7+12, ORC7+13
LA7DUZ ORC12~, ORC12+15, ORC12+16
LA7ECH ORC2~, ORC2+9, ORC2+10, ORC2+12, ORC2+13, ORC2+14, ORC3~, ORC3+9, ORC3+10, ORC3+12
, ORC3+13, ORC3+14, ORC4~, ORC4+8, ORC5~, ORC7~, ORC7+14, ORC7+18, ORC12~, ORC12+15
, ORC12+16, ORC12+17, ORC13~, ORC13+22, ORC13+24, ORC13+28, ORC13+29, ORC13+30, ORC13+31, ORC13+32
, ORC17~, ORC17+8, ORC21~, ORC21+7, ORC22~, ORC22+9, ORC23~, ORC24~
LA7FS ORC2~, ORC2+9, ORC2+12, ORC3~, ORC3+9, ORC3+12, ORC4~, ORC4+8, ORC5~, ORC7~
, ORC7+14, ORC7+18, ORC12~, ORC12+15, ORC13~, ORC13+22, ORC13+28, ORC13+30, ORC17~, ORC17+8
, ORC21~, ORC21+7, ORC22~, ORC22+9, ORC23~, ORC24~
LA7IDTYP ORC12~, ORC12+10*
LA7J ORC13~, ORC13+12, ORC13+13, ORC13+17
LA7ORC12 ORC12+14~, ORC12+16*, ORC12+17*, ORC12+18
LA7PRV ORC12+14~, ORC12+15*, ORC12+16
LA7TYP ORC1~, ORC1+3
LA7VAL ORC2~, ORC2+9, ORC3~, ORC3+9, ORC4~, ORC4+8, ORC5~, ORC5+8
LA7VAL("NMSP" ORC2+10, ORC3+10
LA7VAL("SITE" ORC2+11, ORC2+12, ORC3+11, ORC3+12
LA7X ORC2+12*, ORC2+13, ORC2+14, ORC3+7~, ORC3+12*, ORC3+13, ORC3+14, ORC7+9~, ORC7+13*, ORC7+14
, ORC7+17*, ORC7+18, ORC13+7~
LA7Y ORC2+7~, ORC2+9*, ORC2+10*, ORC2+13*, ORC2+14*, ORC2+15, ORC3+7~, ORC3+9*, ORC3+10*, ORC3+13*
, ORC3+14*, ORC3+16, ORC4+6~, ORC4+8*, ORC4+10, ORC5+6~, ORC5+8*, ORC5+10, ORC7+9~, ORC7+10*
, ORC7+14*, ORC7+18*, ORC7+20, ORC13+7~, ORC13+9*, ORC13+22*, ORC13+24*, ORC13+29*, ORC13+32*, ORC13+34
, ORC23+9~, ORC23+11*, ORC23+13, ORC24+8~, ORC24+10*, ORC24+12
LA7Z ORC13+7~, ORC13+21*, ORC13+22, ORC13+23*, ORC13+24, ORC13+28*, ORC13+29, ORC13+30*, ORC13+31*, ORC13+32
LAXY ORC2+7~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Local Variables |  All