VistA Analysis » VistA Reference » RPCs » ORQQCN FORWARD

ORQQCN FORWARD

Forwards a consult to a subservice of the forwarding service, as definedin file 123.5

Properties

Property Value
Label FR
MUMPS Implementation ORQQCN1
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
CONSULT ID LITERAL 16 true Consult IEN from file 123
TO SERVICE LITERAL 16 true Service to which the consult is to be forwarded. Pointer to file 123.5
FORWARDER LITERAL 16 true Person performing the forwarding action. If null, defaults to user DUZ.Points to NEW PERSON file, #200.
ATTENTION OF LITERAL 16   Person to whose attention the consult is being forwarded in thedestination service. Pointer to NEW PERSON file, #200.
URGENCY LITERAL 16   Urgency of the request, as defined in PROTOCOL file.
COMMENTS LIST     Comments related to the forwarding action.

MUMPS Method Description

Property Value
Method FR^ORQQCN1
Method Comment Forward consult/request to another service
Input Parameters GMRCO, GMRCSS, GMRCORNP, GMRCATTN, GMRCURGI, ORDATE, ORCOM
First Comment
GMRCO - IEN of consult from File 123
GMRCSS - Service to which consult is being forwarded
GMRCATTN - Provider whose attention consult is sent to. Can be "" or pointer to File 200
GMRCURGI - Urgency of the request
GMRCORNP - Person who is responsible for forwarding the consult
ORCOM is the comments array explaining the forwarding action
passed in as ORCOM(1)="Xxxx Xxxxx...",ORCOM(2)="Xxxx Xx Xxx...", ORCOM(3)="Xxxxx Xxx Xx...", etc.
Code
 S:+$G(GMRCATTN)=0 GMRCATTN=""
S Y=$$FR^GMRCGUIA(GMRCO,GMRCSS,GMRCORNP,GMRCATTN,GMRCURGI,.ORCOM,ORDATE)

CPRS

File Type Description
Pascal File Consults/rConsults.pas


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