Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: RAPCE

Package: Radiology Nuclear Medicine

Routine: RAPCE


Information

RAPCE ;HIRMFO/GJC - Interface with PCE APIs for wrkload, visits ; Mar 28, 2025@11:46:40

Source Information

Source file <RAPCE.m>

Entry Points

Name Comments DBIA/ICR reference
COMPLETE(RADFN,RADTI,RACNI) ; When an exam status changes to 'complete'
; Input: RADFN-> Patient DFN, RADTI-> Exam Timestamp, RACNI-> Case IEN
; NOTE: RACNI input param is ignored for exam sets (all cases under
EN2 ;check i-loc's credit method quit if 'no credit'
LON ; lock at P level
NONSET ; non-exam sets
KOUT
ENC(X) ; Set up the '"RAPXAPI",$J,"ENCOUNTER"' nodes
PCE(RADFN,RADTI,RACNI) ; Pass on the information to the PCE software
MULCS(RADFN,RADTI) ; Update the 'Credit recorded' field and the Visit
PROC(X) ; Set up the other '"RAPXAPI",$J,"PROCEDURE"' nodes for this case
; If same procedure repeated in exam set, add to qty of existing
; 'procedure' node. Else, if different provider, create new
; separate 'procedure' nodes
RECDCS(RADFN,RADTI,RACNI) ; Set 'Clinic Stop Recorded' to yes
; (70.03, fld 23)
SETUP ; Setup examination data node information
; If no provider, or inactive CPT, fail
VISIT(RADFN,RADTI,RACNI,RAVSIT) ; Stuff the Visit file pointer passed back
; from $$DATA2PCE^PXAPI() into the Visit field (70.02, fld 6)
CPTMOD(X3) ;CPT Modifiers
; CPT Mods for dupl. procedure+provider will be accounted for
; however, same CPT Mod will overwrite previous CPT Mod
OUTSIDE() ;is this study tied to an outside report?
; input: none (vars RADFN,RADTI,RACNI must exist)
Info |  Source |  Entry Points