LA7VPID ;DALOI/JMC - HL7 PID/PV1 segment builder utility ;08/03/09 15:59
Source file <LA7VPID.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
PID(LRDFN,LA7EXTID,LA7ARRAY,LA7PIDSN,HL,LA7ALTID) | ; Build PID segment
; Call with LRDFN = Lab DFN, passed by value ; LA7EXTID = to return as external patient id, id used by non-VA systems (optional) ; LA7ARRAY = array to return PID array, pass by reference ; LA7PIDSN = PID id counter, passed by value ; HL = HL7 variable array, pass by reference ; LA7ALTID = return alternate patient id, id used by non-va systems (optional) |
|
PV1(LRDFN,LA7ARRAY,LA7FS,LA7ECH) | ; Build PV1 segment
; Call with LRDFN = ien of entry in File #63 ; LA7ARRAY = array to return PV1 array, pass by reference ; LA7FS = HL field separator ; LA7ECH = HL encoding characters |
|
F2PID | ; Build patient identifier field on file #2 patient
|
|
NF2PID | ; Build patient identifier field on non-file #2 patient
|
|
ICN(DFN,LA7ECH) | ; Send ICN from MPI
; Call with DFN = internal entry number of patient in PATIENT #2 file. ; LA7ECH = HL7 encoding characters. |
FileNo | Call Tags |
---|---|
^LRT(67 - [#67] | GET1^DIQ |