VDT |
Input |
Visit Date/Time in FM format.
|
DFN |
Input |
Patient File Pointer.
|
PRAM |
Input |
The routine ^VSIT uses extrinsic functions. VSIT(0) will be passed
to the parameter PRAM. $$GET(VDT,DFN,PRAM,.VSIT)
VSIT(0) A string of characters which defines how the visit processor
will function.
F - Force adding a new entry
I - Interactive mode
E - Use pt's primary eligibility if not passed on call
w/VSIT("ELG")
N - Allow creation of a new visit
D - Look back "n" number of days for a match, default is one.
e.g. VSIT(0)="D5" (look back 5 days)
M - Impose criteria on matching or creation of visits.
Used the VSIT("XXX") array:
- If trying to match with existing visit, matching elements
must equal their corresponding field.
- If creating a new visit, will use array elements as defaults
or stuff values depending if in interactive mode or not
and the exact field.
|
VSIT |
Input |
Array w/mnemonic subscript.
|
VSIT(IEN) |
Input |
NUMBER (internal entry number)
|
VSIT(VDT) |
Input |
VISIT/ADMID DATE&TIME (date)
|
VSIT(CDT) |
Input |
DATE VISIT CREATED (date)
|
VSIT(TYP) |
Input |
TYPE (set)
|
VSIT(BIL) |
Input |
THIRD PARTY BILLED (set)
|
VSIT(PAT) |
Input |
PATIENT (pointer to PATIENT file #2)
(IHS file DINUM'ed to PATIENT file #2)
|
VSIT(INS) |
Input |
LOC.OF ENCOUNTER (pointer to LOCATION file #9999999.06)
(IHS file DINUM'ed to INSTITUTION file #4)
|
VSIT(SVC) |
Input |
SERVICE CATEGORY (set)
|
VSIT(CLN) |
Input |
CLINIC (pointer to CLINIC STOP file #40.7)
|
VSIT(CTR) |
Input |
DEPENDENT ENTRY COUNTER (number)
|
VSIT(DEL) |
Input |
DELETE FLAG (set)
|
VSIT(LNK) |
Input |
PARENT VISIT LINK (pointer to VISIT file)
|
VSIT(MDT) |
Input |
DATE LAST MODIFIED (date)
|
VSIT(XDT) |
Input |
DATE VISIT EXPORTED (date)
|
VSIT(MFI) |
Input |
MFI STATUS (set)
|
VSIT(LOS) |
Input |
LEVEL OF SERVICE (pointer to CPT CODE file)
|
VSIT(COD) |
Input |
CHECK OUT DATE & TIME (date)
|
VSIT(ELG) |
Input |
ELIGIBILITY (pointer to ELIGIBILITY CODE file #8)
|
VSIT(LOC) |
Input |
HOSPITAL LOCATION (pointer to HOSPITAL LOCATION file #44)
|
VSIT(USR) |
Input |
CREATED BY USER (pointer to USER file #200)
|
VSIT(OPT) |
Input |
OPTION USED TO CREATE (pointer to OPTION file #19)
|
VSIT(AMT) |
Input |
AMOUNT BILLED (number)
|
VSIT(OUT) |
Input |
OUTSIDE LOCATION (free text)
|
VSIT(SC) |
Input |
SERVICE CONNECTED (set)
|
VSIT(AO) |
Input |
AGENT ORANGE EXPOSURE (set)
|
VSIT(IR) |
Input |
IONIZING RADIATION EXPOSURE (set)
|
VSIT(EC) |
Input |
PERSIAN GULF EXPOSURE (set)
|