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: PXCOMPACT

Package: PCE Patient Care Encounter

Routine: PXCOMPACT


Information

PXCOMPACT ;ALB/BPA,CMC - Routine for COMPACT Act APIs;05/06/2024@12:01

Source Information

Source file <PXCOMPACT.m>

Entry Points

Name Comments DBIA/ICR reference
GETSTDT(DFN) ;
; Retrieve the start date from the zero level of the most current episode sequence
; DFN is the Patient ID
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription
    GETIPDT(DFN) ;
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription
    GETEOC(DFN) ;
    ; Get the Episode of Care number assigned to the patient
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription
    GETEOCSEQ(DFN) ;
    ; Get the current/last Episode of Care sequence
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription
    GETPOINTRSEQ(DFN,PXENC,PXTY) ;
    ; Get the pointer sequence from the episode of care
    ; DFN - Internal Patient ID *required
    ; PXENC - Internal Encounter ID (VISIT or PTF) *required
    ; PXTY - Inpatient or Outpatient
    GETBENTYP(DFN) ;
    SETSTDT(DFN,PXNWSTDT) ;
    ; Set a new start date for the current / most recent episode of care
    ; DFN - Patient ID
    ; PXNWSTDT - New start date (VA format)
    ;
    SETENDDT(DFN,PXENDDT,PXENDSRC,PXAUTH,PXCOMM) ;
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription
    NEWEOC(DFN,PXENC,PXTY,PXSTDT,PXSRC) ;
    ; API to input a new Episode of Care
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription
    CHGTYPSTAT(DFN,PXTY,PXCHNGDT) ;
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription
    VISIT(ENC,PXTY,PXEOCNUM,DFN) ;
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription
    SETVSTFLG(DFN,PXENC,PXVAL) ;
    VALDFN(DFN,PXERRMSG) ;
    VALUSR(PXAUTH,PXERRMSG) ;
    ASC(DFN) ;
    ; Determine if patient is currently in an acute suicidal crisis
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription
    DISPLAY(DFN) ;
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription
    ADMIT(DFN,STARTDT,ADMIT,PTF) ;
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription
    REOPNEOC(PXEOCNUM,PXEOCSEQ,STARTDT) ;
  • ICR #7327
    • Status: Active
    • Usage: Controlled Subscription

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    818.01 GET1^DIQ
    Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call