VistA Analysis » VistA Reference » RPCs » ORQQPX REMINDER DETAIL

ORQQPX REMINDER DETAIL

Returns the details of a clinical reminder.

Properties

Property Value
Label REMDET
MUMPS Implementation ORQQPX
Return Type ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
PATIENT ID LITERAL 16 true Patient identifier from Patient file [#2].
CLINICAL REMINDER ID LITERAL 16 true Clinical reminder identifier (ien) from PCE REMINDER/MAINTENANCE ITEM file[#811.9].

MUMPS Method Description

Property Value
Method REMDET^ORQQPX
Method Comment return detail for a pt's clinical reminder
Input Parameters ORPT, ORIEN
First Comment
 ORY - return array
ORPT - patient DFN
ORIEN - clinical reminder (811.9 ien)
Code
 K ^TMP("PXRHM",$J)
D MAIN^PXRM(ORPT,ORIEN,5) ; 5 returns all reminder info
N CR,I,J,ORTXT S I=1
S ORTXT="",ORTXT=$O(^TMP("PXRHM",$J,ORIEN,ORTXT)) Q:ORTXT="" D
.S J=0 F S J=$O(^TMP("PXRHM",$J,ORIEN,ORTXT,"TXT",J)) Q:J="" D
..S ORY(I)=^TMP("PXRHM",$J,ORIEN,ORTXT,"TXT",J),I=I+1
K ^TMP("PXRHM",$J)

CPRS

File Type Description
Pascal File rReminders.pas


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