VistA Analysis » VistA Reference » RPCs » TIU LINK TO FLAG

TIU LINK TO FLAG

This RPC is used to link a Progress Note to a Patient Record Flag

Properties

Property Value
Label LINK
MUMPS Implementation TIUPRF2
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
TIUIEN LITERAL   true TIU DOCUMENT IEN (8925)
PRFIEN LITERAL   true Flag IEN (26.11 or 26.15)
ACTIENT LITERAL   true PRF Assignment History IEN (26.14)
DFN LITERAL   true Patient IEN (File 2)

MUMPS Method Description

Property Value
Method LINK^TIUPRF2
Method Comment RPC Link TIU Doc TIUIEN to
Input Parameters TIUIEN, ASSGNDA, ACTIEN, DFN
First Comment
 the PRF action
Code
 N TIUTTL
S TIUTTL=+$G(^TIU(8925,TIUIEN,0))
I 'TIUTTL S TIUY="0^Document does not exist" Q
D UNLINK^TIUPRF1(TIUIEN)
S TIUY=$$STOTIU^DGPFAPI2(DFN,ASSGNDA,ACTIEN,TIUIEN)

CPRS

File Type Description
Pascal File fNotes.pas


Document generated on August 31st 2022, 2:55:43 pm