Print Page as PDF
DBIA4638-C ICR (4640)

DBIA4638-C    ICR (4640)

Name Value
NUMBER 4640
IA # 4640
DATE CREATED 2005/04/06
CUSTODIAL PACKAGE HEALTH DATA & INFORMATICS
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE HDISVF01
NAME DBIA4638-C
ORIGINAL NUMBER 4638
GENERAL DESCRIPTION
API(s) for retrieval and screening of the file/field
implementation status.
STATUS Active
KEYWORDS DATA STANDARDIZATION
ID HDISVF01
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$GETSTAT(FILE,FIELD,DATE,FAC,DOMAIN,TYPE)
Get file/field implementation status

Notes:

- Values for "not started" status and no date are returned
on bad input or if no entry is found

- If time is not included with the date, the last status
for the given day is returned

- If more than one entry for the same date/time is found,
the higher entry number is returned

Example(s):

1. Get current status for GMRV Vital Qualifier file

>W $$GETSTAT^HDISVF01(120.52)

6^18^3050331.135037

2. Get status of GMRV Vital Qualifier file on 10/1/2004

>W $$GETSTAT^HDISVF01(120.52,"",3041001)

0^^
VARIABLES TYPE VARIABLES DESCRIPTION
FILE Input
File number
FIELD Input
Field number (defaults to .01)
DATE Input
FileMan date/time to return status for (Optional-
defaults to NOW)
FAC Input
Facility number (Optional- defaults to current)
DOMAIN Input
Domain/IP address (Optional- defaults to current)
TYPE Input
Type of system (Optional- defaults to current)

0 = Test     1 = Production
$$GETSTAT Output
StatusCode ^ StatusPointer ^ StatusDate
$$SCREEN(FILE,FIELD,DATE)
Apply screening logic to file/field.

Notes:

- 0 (don't screen) is returned on bad input

- If time is not included with the date, the last status
for the given day is returned

Example(s):

1. Should entries in GMRV Vital Qualifier file be screened

>W $$SCREEN^HDISVF01(120.52)

1

2. Should entries in GMRV Vital Qualifier file on screened on 10/1/2004

>W $$SCREEN^HDISVF01(120.52,"",3041001)

0
VARIABLES TYPE VARIABLES DESCRIPTION
FILE Input
File number
FIELD Input
Field number (defaults to .01)
DATE Input
FileMan date/time to check against (Optional-
defaults to NOW)
$$SCREEN Output
Flag indicating if screening logic should be applied

0 = Don't screen entries during selection

1 = Screen entries during selection