VistA Analysis » VistA Reference » RPCs » ORWRP2 HS REPORT TEXT

ORWRP2 HS REPORT TEXT

This RPC is used to build the ADHOC Health Summary from an array ofpre-selected health summary components.

Properties

Property Value
Label REPORT
MUMPS Implementation ORWRP2
Return Type GLOBAL ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
COMPS LIST   true The input array is defined as:COMPS(i)=array of subcomponents chosen, value is pointer at^GMT(142,DA(1),1,DA)Additional pieces may be present for components that require additionalparameters such as Headers, Time and Occurrance limits, and selected fileentries, such as selected lab tests. COMPS(i)=segment^OccuranceLimit^TimeLimit^Header^segment^file^ifn^zerothnode of file

MUMPS Method Description

Property Value
Method REPORT^ORWRP2
Method Comment Build Report from array of Components passed in COMPS
Input Parameters ORCOMPS, ORDFN
First Comment
RPC => ORWRP2 HS REPORT TEXT
ORCOMPS(i)=array of subcomponents chosen, value is pointer at ^GMT(142,DA(1),1,DA)
Code
 Q:'$G(ORDFN)
N GMTSEGC,GMTSEG,ORGMTSEG,ORSEGC,ORSEGI
K ^TMP("ORDATA",$J)
D REPORT^GMTSADH5(.ORGMTSEG,.ORSEGC,.ORSEGI,.ORCOMPS,.ORDFN)
Q:'$O(ORGMTSEG(0))
D START^ORWRP(80,"REPORT1^ORWRP2(.ORGMTSEG,.ORSEGC,.ORSEGI,ORDFN)")
S OROOT=$NA(^TMP("ORDATA",$J,1))

CPRS

File Type Description
Pascal File rReports.pas


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