DGPFAAH ;ALB/RPM - PRF ASSIGNMENT HISTORY API'S ; 4/8/04 4:13pm
Source file <DGPFAAH.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
GETALL(DGPFIEN,DGPFIENS) | ;retrieve list of history IENs for an assignment
|
|
GETALLDT(DGPFIEN,DGPFIENS) | ;retrieve list of history IENs for an assignment
|
|
GETHIST(DGPFIEN,DGPFAH,DGDBRS) | ;retrieve a single assignment history record
|
|
GETFIRST(DGPFIEN) | ;get IEN of the initial assignment
|
|
GETLAST(DGPFIEN) | ;determine IEN of last assignment history record
|
|
GETADT(DGPFIEN) | ;get the initial assignment date
|
|
FNDHIST(DGAIEN,DGADT) | ;Find Assignment
; This function finds a patient record flag assignment record. |
|
STOHIST(DGPFAH,DGPFERR) | ;
|
|
GETDBRS | ; called from GETHIST
; expects DGFLDS() to contain GETS^DIQ(26.14) with all fields "**" ; Return sorted by DBRS#: ; DGPFAH("DBRS",inc) = p1^p2^p3^p4^p5 ; p1=DBRS# p2=Other p3=date_int;ext p4=status_int;ext ; p5=site_int;ext |
FileNo | Call Tags |
---|---|
^DGPF(26.14 - [#26.14] | GETS^DIQ, VFIELD^DILFD |