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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: SDSCAPI

Package: Scheduling

Routine: SDSCAPI


Information

SDSCAPI ;ALB/JDS/JAM/RBS - Automated Service Connection Designation Review ; 4/16/07 10:39am

Source Information

Source file <SDSCAPI.m>

Entry Points

Name Comments DBIA/ICR reference
SC(SDFN,SDXS,SDENC,SDVST) ; Determine if SC based on DXS codes
; Input:
; SDFN = Patient ien, file #2 [Required, if SDENC or SDVST undefined]
; SDXS = Diagnosis code array [Optional, if SDENC defined]
; SDENC = Encounter ien, file #409.68 [Optional]
; SDVST = Visit ien, field #9000010 [Optional]
  • ICR #4990
    • Status: Active
    • Usage: Supported
    OPT2 ; enter with no DXS defined; get ICD9 for visit/encounter
    OPT3 ; enter with DXS defined
    STORE ; Save the information for this encounter.
    ST(SDENC,SDXS) ;Reviews the diagnosis codes for an encounter and then
  • ICR #4990
    • Status: Active
    • Usage: Supported
    ELIG ;Compile list of service connected eligibility codes
    MATCH(SDIEN31,SDXIEN,SDATE,SDENC) ;ICD9 matching code
    ; - api should be changed to lexicon in next version
    ; Input:
    ; SDIEN31 = File #31 [Required]
    ; SDXIEN = Diagnosis code ien, file #80 [Required]
    ; SDATE = Encounter date, [Optional] [Required for lexicon]
    ; SDENC = Encounter ien, file #409.68 [Required]

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^SDSC(409.48 - [#409.48] Classic Fileman Calls
    ^AUPNVSIT - [#9000010] GET1^DIQ
    Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call