MAGDHLSV ;WOIFO/MLH - IHE-based ADT interface for PACS - PV1 segment ; 08 Jul 2013 11:24 AM
Source file <MAGDHLSV.m>
| 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 |