TIUPXAP3 ;SLC/RMO - Link Document to Visit API ;Apr 11, 2018@12:07
Source file <TIUPXAP3.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| LNKVST(TIUDA,TIUVSIT) | ;Entry point to link a document to an existing visit
 ; Input -- TIUDA TIU Document file (#8925) IEN ; Output -- 1=Successful and 0=Failure ; TIUVSIT Visit file (#9000010) IEN  | 
|
| GETVST(TIUDA,TIUVSIT,TIUMVSTF) | ;Get visit to associate with document
 ; Input -- TIUDA TIU Document file (#8925) IEN ; Output -- TIUVSIT Visit file (#9000010) IEN ; TIUMVSTF Multiple Visit Flag ; 1=Multiple Visits  | 
|
| GETVSTQ | ||
| LNKSVST(TIUY,TIUDFN,TIUDA,TIUVSTR) | ;Entry point to link a document via its
 ; SECONDARY VISIT field to a daily ; hospitalization visit ; Input -- TIUDFN Patient file (#2) IEN ; TIUDA TIU Document file (#8925) IEN ; TIUVSTR IEN of visit or visit string ; Output -- TIUY=1 for Successful or ; 0^Message for Failure  | 
| RPC Name | Call Tags | 
|---|---|
| TIU LINK SECONDARY VISIT | LNKSVST |