| GETLST |
GETLST^IBDF18A(CLINIC,INTRFACE,ARY,FILTER,COUNT,MODIFIER,ENCDATE)
--returns any specified selection list for a clinic
--input
CLINIC= Pointer to hospital location file for a clinic.
INTRFACE= name of selection list in package interface
file.
Note: the ICD-10 patch IBD*3.0*63 introduces the new
additional value "DG SELECT ICD DIAGNOSIS CODES"
that can be passed as a parameter, which is
introduced to return either ICD-9 or ICD-10 codes
depends on the encounter date passed in ENCDATE
parameter. This new parameter value works exactly
the same as the existing "DG SELECT ICD-9 DIAGNOSIS
CODES" item from the package interface file to
provide backward compatibility.
ARY= name of array to return list in
FILTER= predefined filters (optional,defalut=1)
1= must be selection list
2= only visit cpts on list
COUNT= number of items already in the ARY
MODIFIER= if modifiers are to be passed, 1=yes send modifiers
ENCDATE = encounter date
--output The format of the returned array is as follows
@ARY@(0)=count of array element (0 if nothing found)
@ARY@(1)=^group header
@ARY@(2) = P1 := cpt or icd code / ien of other items
P2 := user defined text
P3 := quantity (number of occurrences)
P6 := user defined expanded text to send to PCE
P7 := second code or item defined for line item
P8 := third code or item defined for line item
P9 := associated clinical lexicon term
@ARY@(2,"MODIFIER",0)=count of CPT Modifiers for entry
@ARY@(2,"MODIFIER",1)=2 character CPT Modifier value
@ARY@(2,"MODIFIER",2)=2 character CPT Modifier value
@ARY@(2,"MODIFIER",k+1)=2 character CPT Modifier value
@ARY@(k)=^next group header
@ARY@(k+1)=problem ien or cpt or icd code^user defined text
Narrative to Send to PCE (instead of printed text) field
(2.01) in file 357.3, added as piece 6 of @ARY@(n).
If additional codes for an item (diagnosis) are added to
item, they are added as pieces 7 and/or 8 of @ARY@(n).
If a type of visit code is requested and none found, will
automatically look first for blocks named type of visit and
second for filtered codes using regular cpt blocks.
If a diagnosis block it requested and none found will
automatically look for Clinic Common Problem List and
then convert it to look like a diagnosis list.
|