VAFCTFU2 ;BHM/CMC,CKN-Utilities for the Treating Facility file 391.91, CONTINUED ;2/2/21 10:41
Source file <VAFCTFU2.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| TFL(LIST,PT) | ;for this PT [patient] (either DFN, ICN or EDIPI) return the list of treating facilities
; CALLED FROM RPC VAFC LOCAL GET CORRESPONDINGIDS ; PT values --> |
|
| GETICN(EDIPI) | ;return the ICN when EDIPI is passed
|
|
| SET(TFIEN,ARY,CTR) | ;This sets the array with the treating facility list.
; Ex ARY(1)=<ID> ^ <ID TYPE> ^ <Assigning Authority> ^ <Assigning Facility> ^ <ID Status> |
|
| QUERYTF(PAT,ARY) | ;a query for Treating Facility.
|
|
| QUERYTFQ | ||
| NEWTF(RESULT,DFN,EDIPI) | ;
; for MPIC_2019 ; called from RPC: VAFC NEW NC TREATING FACILITY ; Input: ; DFN: Vista Patient Identifier will be the PATIENT file (#2) IEN (aka DFN) ; example of DFN="7168937" |
| RPC Name | Call Tags |
|---|---|
| VAFC LOCAL GETCORRESPONDINGIDS | TFL |
| VAFC NEW NC TREATING FACILITY | NEWTF |
| FileNo | Call Tags |
|---|---|
| ^DGCN(391.92 - [#391.92] | GET1^DIQ, GETS^DIQ |