Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: HDISVF04

Package: Health Data and Informatics

Routine: HDISVF04


Information

HDISVF04 ;ALB/RMO - 7118.11 File Utilities/API Cont.; 1/10/05@11:37:00

Source Information

Source file <HDISVF04.m>

Entry Points

Name Comments DBIA/ICR reference
GETTERM(HDISTERM,HDISFARY,HDISTIEN) ;Get a Term/Concept Entry by Term/Concept and File/Field
; Input -- HDISTERM Term/Concept Text
; HDISFARY File/Field Array - Pass by HDISFARY(HDIS File/Field file #7115.6 IEN)=""
; Output -- 1=Successful and 0=Failure
; If Successful:
; HDISTIEN HDIS Term/Concept VUID Association file IEN
GETTERMQ
ADDTERM(HDISTERM,HDISVUID,HDISFARY,HDISNTLF,HDISCKTF,HDISEDTM,HDISSTAT,HDISTIEN,HDISERRM) ;Add a New Term/Concept Entry
; Input -- HDISTERM Term/Concept Text
; HDISVUID VUID
; HDISFARY File/Field Array - Pass by HDISFARY(HDIS File/Field file #7115.6 IEN)=""
; HDISNTLF National Standard Flag (Optional- Default 0)
; 1=Yes and 0=No
; HDISCKTF Check for Existing Term/Concept Flag (Optional- Default 1)
; 1=Yes and 0=No
; HDISEDTM Effective Date/Time (Optional- Default NOW)
; HDISSTAT Status (Optional- Default 0)
; 1=Active and 0=Inactive
; Output -- 1=Successful and 0=Failure
; If Successful:
; HDISTIEN HDIS Term/Concept VUID Association file IEN
; If Failure:
; HDISERRM Error Message (Optional)
ADDTERMQ
GETIENS(HDISVUID,HDISIENS) ;Get IENS for a Term/Concept by VUID
; Input -- HDISVUID VUID
; Output -- 1=Successful and 0=Failure
; If Successful:
; HDISIENS Array where HDISIENS(IEN)=Term/Concept field (#.01)
GETIENSQ
GETVUID(HDISTIEN,HDISVUID) ;Get VUID for a Term/Concept by IEN
; Input -- HDISTIEN HDIS Term/Concept VUID Association file IEN
; Output -- 1=Successful and 0=Failure
; If Successful:
; HDISVUID VUID
GETVUIDQ
GETNTLF(HDISTIEN,HDISNTLF) ;Get National Standard Flag for a Term/Concept by IEN
; Input -- HDISTIEN HDIS Term/Concept VUID Association file IEN
; Output -- 1=Successful and 0=Failure
; If Successful:
; HDISNTLF National Standard Flag
GETNTLFQ
GETSTAT(HDISTIEN,HDISDTM,HDISEDTM,HDISSTAT) ;Get Effective Date and Status for a Term/Concept by IEN and Date/Time
; Input -- HDISTIEN HDIS Term/Concept VUID Association file IEN
; HDISDTM Date/Time (Optional- Default NOW for Current)
; Output -- 1=Successful and 0=Failure
; If Successful:
; HDISEDTM Effective Date/Time
; HDISSTAT Status
GETSTATQ
Info |  Source |  Entry Points