| TITLE | VALUE | |
|---|---|---|
| NAME | DSIC GET VISITS ONLY | |
| DESCRIPTION | Using SELECTED^VSIT this retrieves all visits for the date range. | |
| TAG | VST | |
| ROUTINE | DSICVT0 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | DFN | |
| DESCRIPTION | This is the pointer value to the Patient file | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 12 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
| INPUT PARAMETER | BEG | |
| DESCRIPTION | Optional - this is the starting date for the search in internal fileman date/time format of the visit. If not passed, then a date of T-365 will be used. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | NO | |
| MAXIMUM DATA LENGTH | 14 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
| INPUT PARAMETER | END | |
| DESCRIPTION | Optional - this is the ending date/time for the search in internal fileman format. If not passed, then a date of DT+.5 will be used. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | NO | |
| MAXIMUM DATA LENGTH | 14 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 4 |
| INPUT PARAMETER | ZLOC | |
| DESCRIPTION | Kept for backward compatibility. Do not use. See SCR parameter. Optional - you can look for visits for specific locations (file 44). The ZLOC array is expected to be in the format ZLOC(ien)="" where ien is the pointer to file 44. | |
| PARAMETER TYPE | LIST | |
| REQUIRED | NO | |
| MAXIMUM DATA LENGTH | 15 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 5 |
| INPUT PARAMETER | CAT | |
| DESCRIPTION | This flag controls whether service categories should be screened or not. It is optional, the default value is to screen entries. I +CAT then do not screen entries. I '$G(CAT) then screen entries to exclude those whose service category is E,D,X,N, or C | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | NO | |
| MAXIMUM DATA LENGTH | 1 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 6 |
| INPUT PARAMETER | SCR | |
| DESCRIPTION | SCR - optional - added 7/3/2002 - sgm passed by reference format: SCR(subscript) = code ^ value where code = C for hospital location #44 D for medical center division #40.8 S for 3-digit stop code from file 40.7 (not ien) value = for codes C,D - any unique lookup value or ien for code S - 3-digit stop code (not ien to 40.7) | |
| PARAMETER TYPE | LIST | |
| REQUIRED | NO | |
| MAXIMUM DATA LENGTH | 250 | |
| RETURN VALUE TYPE | GLOBAL ARRAY | |
| RETURN PARAMETER DESCRIPTION | The data is passed to the broker in the ^TMP("DSIC",$J,"VSIT",#) where ^TMP("DSIC",$J,"VSIT",#) = p1^p2^p3^p4^p5^p6 where p1 := A (if admission) or V (if visit) p2 := visit file pointer (#9000010) p3 := visit/admission external date/time p4 := location name (file 44) p5 := visit/admission internal fileman date/time p6 := pointer to location (file 44) Or it will return -1^No Patient DFN or -1^No visits found | |
| AVAILABILITY | AGREEMENT | |
| INACTIVE | ||
| CLIENT MANAGER | ||
| WORD WRAP ON | TRUE | |
| VERSION | ||
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | ||