DG PATIENT TREATMENT DATA (442)    REMOTE PROCEDURE (8994)

Name Value
NAME DG PATIENT TREATMENT DATA
TAG RPC
ROUTINE DGPTFAPI
RETURN VALUE TYPE ARRAY
AVAILABILITY PUBLIC
DESCRIPTION
This RPC will return data from the Patient Treatment (#45) file.
 RESULTS(0) - 1 (entry found) OR -1 (error) 
 RESULTS(1) - Type of Disposition (#72)^Place of Disposition (#75)^ 
              Principal Diagnosis (#79)^Coding System Version (pointer to
              ICD Coding Systems #80.4 file) 
 RESULTS(2) - DX 2^DX 3^...^DX 24 (Secondary Diagnosis 2 through Secondary
              Diagnosis 24) 
 RESULTS(3) - POA 1^POA 2^...^POA 25 (Present on Admission indicators for
              Principal Diagnosis and Secondary Diagnosis 2 through 
              Secondary Diagnosis 24) 
 
Input: 
 PTFNUMBR - The Patient Treatment IFN (.001 of the #45 file record) 
  RESULTS - Results array (passed by reference) 
    
Output: 
    RESULTS - Results array (passed by reference) with the following 
              nodes.  
INPUT PARAMETER
  • PTFNUMBER
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The Patient Treatment IFN (.001 of the #45 file record)