VistA Analysis » VistA Reference » RPCs » DG PATIENT TREATMENT DATA
DG PATIENT TREATMENT DATA
This RPC will return data from the Patient Treatment (#45) file. 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. 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)
Properties
Property | Value |
---|---|
Label | RPC |
MUMPS Implementation | DGPTFAPI |
Return Type | ARRAY |
Input Parameters
Name | Type | Maximum Data Length | Required | Description |
---|---|---|---|---|
PTFNUMBER | LITERAL | true | The Patient Treatment IFN (.001 of the #45 file record) |
Document generated on August 31st 2022, 2:55:43 pm