Changeset 636 for FOIAVistA/tag/r/REGISTRATION-DGQE-DG-DPT-GRPX-VAD-VAF-VAS-VAT-VAU--VA-VIC--DGBT--DGJ--DGYA--VALM/DGPFUT.m
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (14 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/REGISTRATION-DGQE-DG-DPT-GRPX-VAD-VAF-VAS-VAT-VAU--VA-VIC--DGBT--DGJ--DGYA--VALM/DGPFUT.m
r628 r636 1 DGPFUT ;ALB/RPM - PRF UTILITIES ; 6/7/05 3:13pm 2 ;;5.3;Registration;**425,554,650**;Aug 13, 1993;Build 3 1 DGPFUT ;ALB/RPM - PRF UTILITIES ;7:46 PM 30 Jan 2008 2 ;;5.3;Registration;**425,554,650,VWEHR1**;WorldVistA 30-Jan-08 3 ; 4 ;Modified from FOIA VISTA, 5 ;Copyright 2008 WorldVistA. Licensed under the terms of the GNU 6 ;General Public License See attached copy of the License. 7 ; 8 ;This program is free software; you can redistribute it and/or modify 9 ;it under the terms of the GNU General Public License as published by 10 ;the Free Software Foundation; either version 2 of the License, or 11 ;(at your option) any later version. 12 ; 13 ;This program is distributed in the hope that it will be useful, 14 ;but WITHOUT ANY WARRANTY; without even the implied warranty of 15 ;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 ;GNU General Public License for more details. 17 ; 18 ;You should have received a copy of the GNU General Public License along 19 ;with this program; if not, write to the Free Software Foundation, Inc., 20 ;51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 3 21 ; 4 22 Q ;no direct entry 5 23 ; 6 ANSWER(DGDIRA,DGDIRB,DGDIR0,DGDIRH,DGDIRS) 24 ANSWER(DGDIRA,DGDIRB,DGDIR0,DGDIRH,DGDIRS) ;wrap FileMan Classic Reader call 7 25 ; 8 26 ; Input … … 175 193 ;This function verifies that a given patient has a valid national 176 194 ;Integration Control Number. 177 ; 195 ; 178 196 ; Supported DBIA #2701: The supported DBIA is used to access MPI 179 197 ; APIs to retrieve ICN and determine if ICN … … 207 225 ;TREATED value immediately prior to the date for the treating facility 208 226 ;passed as the second parameter. The most recent treating facility 209 ;will be returned when the second parameter is missing, null, or zero. 227 ;will be returned when the second parameter is missing, null, or zero. 210 228 ; 211 229 ; Input: … … 237 255 . ;find entry for previous treating facility 238 256 . S DGNAM="DGDARR" 239 . S DGARR=$QUERY(@DGNAM@(""),-1) 257 . ; 258 . ;WV/EHR REVERSE $Q REPLACEMENT; SO 01/12/08 ;VWEHR1 259 . ; 260 . ;S DGARR=$QUERY(@DGNAM@(""),-1) 261 . S DGARR=$$Q^VWUTIL($NA(@DGNAM@("")),-1) 262 . ; 263 . ;END CHANGE 264 . ; 240 265 . I DGLTF,DGARR]"" D 241 266 . . I $QS(DGARR,2)'=DGLTF D 242 . . . F S DGARR=$QUERY(@DGARR,-1) Q:+$QS(DGARR,2)=DGLTF 243 . . S DGARR=$QUERY(@DGARR,-1) 267 . . . ; 268 . . . ;WV/EHR REVERSE $Q REPLACEMENT; SO 01/12/08 ;VWEHR1 269 . . . ; 270 . . . ;F S DGARR=$QUERY(@DGARR,-1) Q:+$QS(DGARR,2)=DGLTF 271 . . . F S DGARR=$$Q^VWUTIL($NA(@DGARR),-1) Q:+$QS(DGARR,2)=DGLTF 272 . . . ; 273 . . . ;END CHANGE 274 . . . ; 275 . . ; 276 . . ;WV/EHR REVERSE $Q REPLACEMENT; SO 01/12/08 ;VWEHR1 277 . . ; 278 . . ;S DGARR=$QUERY(@DGARR,-1) 279 . . S DGARR=$$Q^VWUTIL($NA(@DGARR),-1) 280 . . ; 281 . . ;END CHANGE 282 . . ; 244 283 ; 245 284 Q $S($G(DGARR)]"":+$QS(DGARR,2),1:0)
Note:
See TracChangeset
for help on using the changeset viewer.