| CPLIST(GMRCPT,GMRCPR,GMRCRET) |
This entry point returns a list of Clincial Procedure
requests on file for a given patient.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
GMRCPT |
Input |
This is the patient identifier (DFN).
|
GMRCPR |
Input |
This optional variable is a pointer to the CP
DEFINITION (#702.01) file. If this variable is not passed, all CP requests
will be returned.
|
GMRCRET |
Output |
This required variable is the name of a global array
in which to return the list of CP requests for a patient.
The array is returned in the format:
^global(array)= a^b^c^d^e^f
where: a=date of request b=CP DEFINITION name c=urgency d=status e=consult ien
from file 123 f=CP DEFINITION ien
|
|
$$CPDOC(GMRCDA,TIUDA,ACTION) |
This entry point updates REQUEST/CONSULTATION (#123)
file entries by attaching a TIU document as a result.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
GMRCDA |
Input |
This required variable is the file 123 ien.
|
TIUDA |
Input |
This required variable is the ien from the TIU
DOCUMENT (#8925) file that is to be updated in the consult request (GMRCDA).
|
ACTION |
Input |
This required variable is teh activity to take on the
consult using the TIU document.
The only current implementation is the value of 2 which will update the
consult to partial results and attach the TIU document with the Clinical
Procedure request.
|
$$CPDOC |
Output |
This output variable will return:
1 = successful 0^error = unsuccessful^problem
|
|
$$CPLINK(PROC) |
This entry point is used to determine if a given CP
DEFINITION (#702.01) file entry is linked to any entry in the GMRC PROCEDURE
(#123.3) file.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PROC |
Input |
This required variable is a pointer to the CP
DEFINITION (#702.01) file.
|
$$CPLINK |
Output |
The output of this entry point will be in the form:
1 = currently linked to a GMRC PROCEDURE (#123.3) file entry 0 = not currently
linked to a GMRC PROCEDURE (#123.3) file entry
|
|
CPLINKS(.NAMES,PROC) |
This entry point returns a list of the GMRC PROCEDURE
(#123.3) file entries linked to a given CP DEFINITION.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
NAMES |
Output |
This variable is passed by reference and is returned
as array of GMRC PROCEDUREs linked to a given CP DEFINITION in format:
NAMES(x)=GMRC PROCEDURE name^GMRC PROCEDURE ien
NAMES(1)="EKG^21"
NAMES(2)="EKG PORTABLE^32"
if not currently linked, returned as:
NAMES(1)="-1^not currently linked"
|
PROC |
Input |
This required variable is pointer to the CP
DEFINITION (#702.01) file.
|
|
$$CPROC(PROC) |
This entry point returns the CP Definition that is
mapped to an orderable procedure.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PROC |
['Input', 'VARIABLE SEQUENCE NUMBER: 1'] |
This required variable is a point to the GMRC
Procedure (#123.3) file.
|
$$CPROC |
['Output', 'VARIABLE SEQUENCE NUMBER: 1'] |
The output to this entry point is 0 or the pointer to
the CP Definition (#702.01) file.
|
|