VistA Analysis » VistA Reference » RPCs » TIU SUMMARIES

TIU SUMMARIES

This API gets lists of Discharge Summaries for a patient, with optional parameters for STATUS, EARLY DATE/TIME, and LATE DATE/TIME.

Properties

Property Value
Label SUMMARY
MUMPS Implementation TIUSRVLO
Return Type GLOBAL ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
DFN LITERAL 20 true This is the pointer to the patient file.

MUMPS Method Description

Property Value
Method SUMMARY^TIUSRVLO
Method Comment Get Summaries
Input Parameters DFN, EARLY, LATE
Code
 N TIUPREF,TIUOCC S TIUPREF=$$PERSPRF^TIULE(DUZ)
S TIUOCC=$P(TIUPREF,U,10),PERSON=$S(+$G(PERSON):+$G(PERSON),1:+$G(DUZ))
S SEQUENCE=$S($G(SEQUENCE)]"":$G(SEQUENCE),1:"D")
D CONTEXT(.TIUY,244,1,DFN,$G(EARLY),$G(LATE),PERSON,TIUOCC,SEQUENCE)

CPRS

File Type Description
Pascal File rTIU.pas


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