DGHBPUTL ;ALB/PWC,JAM - Health Benefit Plan Utility Routine ;5/22/13 11:50am
Source file <DGHBPUTL.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
GETHBP(DFN) | ;Return all records in HBP sub-file #25.01 in HBP array
; returns current information in HBP("CUR",PLAN NAME)=ENTIRE DATA FROM 25.01 DA ; returns current information in HBP("CUR",PLAN NAME,"IEN")=PLAN CODE ; returns history information in HBP("HIS",DA,DTTM)=PLAN NAME^ENTIRE DATA FROM 25.02 DA |
|
HBP1 | ||
GETDETL(HBPNUM) | ;Return detail for each HBP in an array for display purposes
|
|
GETPLAN | ; Return all Health Benefit Plans from file #25.11 in array
|
|
SETPLAN(DFN,PLAN,SITE) | ;Set Health Benefit Plan and History into file 25.01 and 25.02 for input DFN
; Current data plans will also be filed into the history so that history will contain all ; additions and deletions for the patient |
|
DELPLAN(DFN,PLAN,SITE) | ;Delete Health Benefit Plan and set History into file 25.01 and 25.02 for input DFN
|
|
HL7UPD(DFN,DGHBP,MSHDATE) | ; Store HL7 Health Benefit Plan (HBP) data in PATIENT file (#2)
|
|
STORCUR(DFN,STORDATA) | ; Store Current data
|
|
STORHIS(DFN,STORDATA,ACTION) | ; Store History data
|
|
DELCUR(DFN,HBPCODE) | ; Delete entry from Current data
|