VistA Analysis » VistA Reference » RPCs » ORQQCN ATTACH MED RESULTS

ORQQCN ATTACH MED RESULTS

Allows a med result to be attached to a procedure request.

Properties

Property Value
Label MEDCOMP
MUMPS Implementation ORQQCN3
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
Consult IEN LITERAL 16 true Consult (procedure) IEN in file 123.
Result pointer LITERAL 24 true Variable pointer to medicine result.
Date LITERAL 16 true Date the result was attached.
date        
Resp Person LITERAL 16   Pointer to file 200, for the person attaching the result.
Alerts to LITERAL 254   Semicolon-delimited list of user DUZs to send alerts to for this action.

MUMPS Method Description

Property Value
Method MEDCOMP^ORQQCN3
Method Comment Attach a medicine result to a consult
Input Parameters GMRCO, GMRCRSLT, GMRCAD, GMRCORNP, ORALTO
First Comment
GMRCO - Internal file number of consult from File 123
GMRCRSLT - pointer to medicine result
GMRCAD - Date/Time Consult was resulted.
GMRCORNP - Provider who attached the result to the consult
ORALTO - array of alert recipient IENs
Code
 Q:+$G(GMRCO)=0
N ORDUZ,X,I
I $G(ORALTO)'="" D
.F I=1:1 S X=$P(ORALTO,";",I) Q:X="" S ORDUZ(X)=""
D MEDCOMP^GMRCMED(GMRCO,GMRCRSLT,GMRCAD,GMRCORNP,.ORDUZ)

CPRS

File Type Description
Pascal File Consults/rConsults.pas


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