VistA Analysis » VistA Reference » RPCs » ORQQCN DISCONTINUE

ORQQCN DISCONTINUE

Discontinue a consult or deny a consult request.

Properties

Property Value
Label DC
MUMPS Implementation ORQQCN1
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
CONSULT ID LITERAL 16 true Internal file number of the consult/request.
PROVIDER ID LITERAL 16 true Internal file number of the person discontinuing/denying the consult.Points to NEW PERSON file (#200)
DATE OF ACTION LITERAL 16 true Date of the discontinuance/denial of the consult.
ACTION TYPE LITERAL 16 true 'DC' for discontinue, 'DY' for deny
COMMENTS WORD PROCESSING   true Array of comments related to the discontinuance/denial of the consult.

MUMPS Method Description

Property Value
Method DC^ORQQCN1
Method Comment Discontinue or Deny a consult
Input Parameters GMRCO, GMRCORNP, GMRCAD, GMRCACTM, ORCOM
First Comment
GMRCO - Internal file number of consult from File 123
GMRCORNP - Provider who Discontinued or Denied consult
GMRCAD - Date/Time Consult was discontinued or denied.
GMRCACTM - If consult is 'DENIED' passed in as 'DY'; if consult is Discontinued passed in as 'DC'.
ORCOM - Array containing explanation of why consult was denied. Passed as the following form :
ARRAY(1)="xxx xxx xxx",ARRAY(2)="XXX XXX",ARRAY(3)="XXX XXX xx", etc.
Comment is a required field when consult is denied or discontinued.
Code
 S Y=$$DC^GMRCGUIA(GMRCO,GMRCORNP,GMRCAD,GMRCACTM,.ORCOM)

CPRS

File Type Description
Pascal File Consults/rConsults.pas


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