VistA Analysis » VistA Reference » RPCs » ORWRA REPORT TEXT

ORWRA REPORT TEXT

This remote procedure call returns an array containinga formattied imaging report. This array matches exactlythe report format on the roll ‘n scroll version of CPRS.

Properties

Property Value
Label RPT
MUMPS Implementation ORWRA
Return Type GLOBAL ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
DFN LITERAL 20 true Internal entry number of patient in the Patient file [^DPT].
EXAMID LITERAL 20 true Imaging exam ID. Format: Inverse FM date/time of Exam_-_Case IENExample: 7049175.8893-1

MUMPS Method Description

Property Value
Method RPT^ORWRA
Method Comment return imaging report
Input Parameters DFN, ORID, ALPHA, OMEGA, DTRANGE, REMOTE, ORMAX, ORFHIE
First Comment
  RPC: ORWRA REPORT TEXT
See RPC definition for details on input and output parameters
-- init locals and globals
Code
 N ID,LCNT,ORVP,EXAMDATE,CASENMBR
S RADATA=$NA(^TMP($J,"RAE3"))
S ROOT=$NA(^TMP("ORXPND",$J))
K @RADATA,@ROOT
S ID=$TR(ORID,"-",U)
S LCNT=0,ORVP=DFN_";DPT("
D XRAYS^ORCXPND1
K @RADATA

CPRS

File Type Description
NOT OSEHRA CPRS  


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