MAGDHLSV ;WOIFO/MLH - IHE-based ADT interface for PACS - PV1 segment ; 08 Jul 2013 11:24 AM
Source file <MAGDHLSV.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
PV1 | ; GOTO entry point from MAGDHLS - patient visit - NOT FOR DIRECT ENTRY
; input: XDFN internal entry number of the patient on global ^DPT/^RADPT ; XEVN event type of this message ; XEVNDT event date/time (FileMan format) ; XYMSG name of array to which to add message elts ; output: @XYMSG input array plus new subtree containing PV1 elts ; function return 0 (success) always |
|
IN | ; SUBROUTINE - patient is now an inpatient
|
|
OUT | ; SUBROUTINE - patient is now an outpatient
|
|
FACILIX(LOCATIONIX,LOCTYPE) | ; FUNCTION - return the facility associated with a ward
; or clinic, if any, otherwise return user's default facility ; ; input: LOCATIONIX = IEN of the ward in WARD LOCATION File (#42), or ; LOCATIONIX = IEN of the clinic in HOSPITAL LOCATION File (#44) ; LOCTYPE = "W" for Ward (#42) or "C" for Clinic (#44) |
FileNo | Call Tags |
---|---|
^GMR(123 - [#123] | GET1^DIQ |
^SC - [#44] | GET1^DIQ |
70.03 | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DGSL(38.1 - [#38.1] | PV1+45 |
^DIC(42 - [#42] | FACILIX+18 |
^SC - [#44] | FACILIX+19, FACILIX+20 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ADMPHY | IN+6~, IN+21*, IN+24*, IN+45, IN+46 |
ADMPHYIX | IN+5~, IN+21*, IN+22, IN+23, IN+24 |
ATTPHY | IN+4~, IN+16*, IN+19*, IN+43 |
ATTPHYIX | IN+3~, IN+16*, IN+17, IN+18, IN+19 |
BDT | PV1+11~ |
CLINIC | OUT+2~, OUT+20*, OUT+21, OUT+22 |
CLINICIX | OUT+1~, OUT+12*, OUT+16*, OUT+19, OUT+20, OUT+22 |
CSIX | PV1+16~ |
DA | FACILIX+9~, FACILIX+24* |
DFN | PV1+29~, PV1+35* |
DIC | FACILIX+9~, FACILIX+24* |
DIQ | FACILIX+9~, FACILIX+24* |
DIQ(0 | FACILIX+24* |
DR | FACILIX+9~, FACILIX+24* |
DTCS | PV1+14~ |
DUZ(2 | FACILIX+22 |
EDT | PV1+12~ |
ERPTSS | PV1+24~ |
EXN | PV1+13~ |
FACILIX | FACILIX+11~, FACILIX+20*, FACILIX+22*, FACILIX+23, FACILIX+24, FACILIX+25, FACILIX+27 |
FACILNAM | FACILIX+12~, FACILIX+25*, FACILIX+27 |
>> GMRCIEN | OUT+15, OUT+16 |
HOSPLOCIX | FACILIX+10~, FACILIX+17*, FACILIX+18*, FACILIX+19, FACILIX+20 |
I | PV1+10~, IN+43*, IN+45*, IN+46* |
LOCATIONIX | FACILIX~, FACILIX+15, FACILIX+16, FACILIX+17, FACILIX+18 |
LOCTYPE | FACILIX~, FACILIX+17 |
MAGLOC | FACILIX+13~ |
MAGLOC(4 | FACILIX+25 |
MAGNME | PV1+9~, IN+19, IN+24 |
MAGNME("FIELD" | IN+18*, IN+23* |
MAGNME("FILE" | IN+18*, IN+23* |
MAGNME("IENS" | IN+18*, IN+23* |
>> RACNI | OUT+9, OUT+11 |
>> RADFN | OUT+8, OUT+11 |
RADSVCIX | IN+7~ |
>> RADTI | OUT+9, OUT+11 |
RAORDR | PV1+23~ |
RAORIX | PV1+22~ |
RASCIX | PV1+20~ |
RASVC | PV1+21~ |
RAXPRT | PV1+25~ |
RAXSET | PV1+18~ |
RAXWRD | PV1+19~ |
RESULT | PV1+27~ |
ROOMBED | IN+2~, IN+15*, IN+30, IN+31, IN+36*, IN+39, IN+40 |
RVDT | PV1+15~ |
SEGIX | PV1+8~, PV1+32*, PV1+33, PV1+34, PV1+40, PV1+43, PV1+45, PV1+48, PV1+49, IN+27 , IN+29, IN+30, IN+31, IN+32, IN+38, IN+39, IN+40, IN+41, IN+43, IN+44 , IN+45, IN+46, OUT+4, OUT+5, OUT+21, OUT+22 |
SUBSCRIPT | OUT+10~, OUT+11*, OUT+12 |
SVC | IN+8~ |
TMP | IN+9~, IN+34*, IN+35 |
U | IN+15, IN+19, IN+24, IN+28, IN+36, IN+37, IN+43, IN+45, IN+46, FACILIX+18 |
VAIN | PV1+26~ |
VAIN(1 | PV1+47 |
VAIN(7 | PV1+40 |
VAINDT | PV1+38~, PV1+39* |
VAIP | PV1+17~, IN+34! |
VAIP("E" | IN+35* |
VAIP(13 | PV1+36, IN+21 |
VAIP(15 | IN+34 |
VAIP(18 | IN+16 |
VAIP(5 | IN+28, IN+37 |
VAIP(6 | IN+15, IN+36 |
VAIP(8 | IN+44 |
VISNO | PV1+28~, PV1+47*, PV1+48 |
WARDIX | IN+11~, IN+28*, IN+32, IN+37*, IN+41 |
WARDNAM | IN+12~, IN+28*, IN+29, IN+32, IN+37*, IN+38, IN+41 |
WARDREC | IN+10~, IN+28*, IN+37* |
X | FACILIX+9~ |
>> XDFN | PV1+34, PV1+35, PV1+43, PV1+45 |
>> XEVN | PV1+49, IN+33, OUT+5 |
>> XEVNDT | PV1+39, OUT+5 |
>> XYMSG | PV1+32, PV1+33, PV1+34, PV1+40, PV1+43, PV1+45, PV1+48, PV1+49, IN+27, IN+29 , IN+30, IN+31, IN+32, IN+38, IN+39, IN+40, IN+41, IN+43, IN+44, IN+45 , IN+46, OUT+4, OUT+5, OUT+21, OUT+22 |