SDOE GET PRIMARY DIAGNOSIS

TITLEVALUE
NAMESDOE GET PRIMARY DIAGNOSIS
DESCRIPTIONThis Remote Procedure Call (RPC) returns the internal entry number
of the primary diagnosis code (ICD) for an encounter.

Note: For encounters before 10/1/96, this RPC will always return 0.
This primary diagnosis was not retrieved nor stored by the system
for these 'old' encounters.
TAGGETPDX
ROUTINESDOERPC
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERENCOUNTER IEN
DESCRIPTIONThis is the internal entry number of an entry in the OUTPATIENT
ENCOUNTER [#409.68 - ^SCE] file.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTION - IEN to the ICD Diagnosis File (#80) for primary diagnosis.

0 - no primary diagnosis found for encounter
AVAILABILITYPUBLIC
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED