VistA Analysis » VistA Reference » RPCs » SDOE GET PRIMARY DIAGNOSIS

SDOE GET PRIMARY DIAGNOSIS

This Remote Procedure Call (RPC) returns the internal entry numberof 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 systemfor these ‘old’ encounters.

Properties

Property Value
Label GETPDX
MUMPS Implementation SDOERPC
Return Type SINGLE VALUE

Input Parameters

Name Type Maximum Data Length Required Description
ENCOUNTER IEN LITERAL   true This is the internal entry number of an entry in the OUTPATIENTENCOUNTER [#409.68 - ^SCE] file.


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