STANDARD DATA DICTIONARY #59.1 -- OUTPATIENT AMIS DATA FILE 9/29/25 PAGE 1
STORED IN ^PS(59.1, *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 7.0)
DATA NAME GLOBAL DATA
ELEMENT TITLE LOCATION TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is used to store outpatient pharmacy AMIS data
DD ACCESS: @
WR ACCESS: @
DEL ACCESS: @
LAYGO ACCESS: @
CROSS
REFERENCED BY: DATE(B)
59.1,.01 DATE 0;1 DATE (Required)
INPUT TRANSFORM: S %DT="E" D ^%DT S X=Y K:Y<1 X S:$D(X) DINUM=X
LAST EDITED: MAR 10, 1988
DESCRIPTION:
This field is used to indicate the date of the AMIS data.
TECHNICAL DESCR:
date.
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
CROSS-REFERENCE: 59.1^B
1)= S ^PS(59.1,"B",$E(X,1,30),DA)=""
2)= K ^PS(59.1,"B",$E(X,1,30),DA)
59.1,1 DIVISION 1;0 POINTER Multiple #59.11 (Add New Entry without Asking)
DESCRIPTION:
This sub file is used to indicate AMIS sorted by division.
TECHNICAL DESCR:
sub file.
59.11,.01 DIVISION 0;1 POINTER TO OUTPATIENT SITE FILE (#59) (Required)
INPUT TRANSFORM: S:$D(X) DINUM=X
LAST EDITED: MAR 10, 1988
DESCRIPTION:
This field is used to indicate the divsion within outpatient that the AMIS data is for.
TECHNICAL DESCR:
pointer.
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
CROSS-REFERENCE: 59.11^B
1)= S ^PS(59.1,DA(1),1,"B",$E(X,1,30),DA)=""
2)= K ^PS(59.1,DA(1),1,"B",$E(X,1,30),DA)
59.11,1 INPATIENT 0;2 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
LAST EDITED: MAR 10, 1988
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate if the patient is considered an inpatient.
59.11,2 SC 0;3 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate if the patient is considered service connected.
59.11,3 FEE SC 0;4 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate if the patient is FEE service connected.
59.11,4 A&A 0;5 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate A&A.
59.11,5 FEE A&A 0;6 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate FEE A&A.
59.11,6 OTHER 0;7 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate other types.
59.11,7 CNTLD 0;8 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate if medication was for a controled substance.
59.11,8 METH 0;9 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate if the medication was for some type of methadone.
59.11,9 PAT REQ 0;10 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate patient requests.
59.11,10 FEE 0;11 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate if the provider was a FEE provider.
59.11,11 STAFF 0;12 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate if the provider was staff provider.
59.11,12 DOM 0;13 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate if the patient was a domiciliary patient.
59.11,13 NEW 0;14 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This feld is used to indicate if this was a new prescription.
59.11,14 REFILL 0;15 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate if the medication was a refill.
59.11,15 WINDOW 0;16 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate if the prescription was dispensed by window.
59.11,16 MAIL 0;17 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field is used to indicate if the medication was dispensed by mail.
59.11,17 NVA 0;18 NUMBER
INPUT TRANSFORM: K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
LAST EDITED: NOV 12, 2003
HELP-PROMPT: Type a Number between 0 and 999999, 0 Decimal Digits
DESCRIPTION:
This field will be used to hold the Non-Va Prescription counts for this division.
TECHNICAL DESCR: This field is populated by ^PSOAMIS0 (Outpatient AMIS Compile/Re-Compile). It is the Count of
Prescriptions with a status of Non-Va.
59.1,2 REPORT QUEUED 2;1 SET
'1' FOR YES;
'0' FOR NO;
LAST EDITED: APR 07, 1993
HELP-PROMPT: This Data should not be entered using FileMan.
DESCRIPTION:
This field is used to indicate if the recompile has been queued to run.
TECHNICAL DESCR:
set of codes.
FILES POINTED TO FIELDS
OUTPATIENT SITE (#59) DIVISION:DIVISION (#.01)
INPUT TEMPLATE(S):
PRINT TEMPLATE(S):
SORT TEMPLATE(S):
FORM(S)/BLOCK(S):