EC GETENCDXS (925)    REMOTE PROCEDURE (8994)

Name Value
NAME EC GETENCDXS
TAG ENCDXS
ROUTINE ECUERPC1
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
DESCRIPTION
Returns a patient encounter primary and secondary diagnosis codes from 
Event Capture Patient File (#721).
INPUT PARAMETER
  • ECARY
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    DESCRIPTION:   
    Input variable ECARY has the following pieces of data separated by
    up-arrows.
     
      1. ECDFN - Patient IEN (#200)
      2. ECDT  - Procedure date and time (fileman format)
      3. ECL   - Location IEN
      4. EC4   - Clinic IEN
    
RETURN PARAMETER DESCRIPTION
Returns an array with patient encounter diagnosis information.
 
  1. Primary/secondary flag (1-primary, 0-secondary)
  2. DX IEN
  3. DX code and description