VistA Analysis » VistA Reference » RPCs » TIU NOTES

TIU NOTES

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

Properties

Property Value
Label NOTES
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 NOTES^TIUSRVLO
Method Comment Get notes
Input Parameters DFN, EARLY, LATE, PERSON, SEQUENCE
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,3,1,DFN,$G(EARLY),$G(LATE),PERSON,TIUOCC,SEQUENCE)

CPRS

File Type Description
NOT OSEHRA CPRS  


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