Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  Found Entries |  All
Print Page as PDF
Global: ^AUPNVAMI

Package: IHS Patient

Global: ^AUPNVAMI


Information

FileMan FileNo FileMan Filename Package
9000010.62 V AMI IHS Patient

Description

Directly Accessed By Routines, Total: 9

Package Total Routines
Patient Care Component 5 APCDEWHA    APCDVDSB    APCDVDSG    APCDVDSP    APCHS61    
GUI Objects 2 BGOVAMI    BGOVAMI1    
Health Summary Components 1 BHSAMI    
IHS Mods To Text Integration Utilities 1 BTIUVAMI    

Accessed By FileMan Db Calls, Total: 2

Package Total Routines
GUI Objects 1 BGOVAMI    
Patient Care Component 1 APCHS61    

Pointed To By FileMan Files, Total: 2

Package Total FileMan Files
IHS Patient 2 V AMI(#9000010.62)[1208]    V DELIVERY(#9000010.64)[1208]    

Pointer To FileMan Files, Total: 8

Package Total FileMan Files
IHS Patient 3 PATIENT(#9000001)[.02]    V AMI(#9000010.62)[1208]    VISIT(#9000010)[.03]    
Scheduling 2 CLINIC STOP(#40.7)[1203]    HOSPITAL LOCATION(#44)[1215]    
DRG Grouper 1 ICD DIAGNOSIS(#80)[#9000010.6214(.04)#9000010.6214(.05)]    
Kernel 1 NEW PERSON(#200)[.06.09.13.165.021202120412171219#9000010.6213(.04)#9000010.6214(.06)#9000010.6214(.09)]    
Utility Tables 1 PROVIDER NARRATIVE(#9999999.27)[#9000010.6214(.03)]    

Fields, Total: 44

Field # Name Loc Type Details
.01 ARRIVAL DATE/TIME 0;1 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 01, 2013
  • CROSS-REFERENCE:  9000010.62^B
    1)= S ^AUPNVAMI("B",$E(X,1,30),DA)=""
    2)= K ^AUPNVAMI("B",$E(X,1,30),DA)
  • CROSS-REFERENCE:  9000010.62^AV9^MUMPS
    1)= S:$D(APCDLOOK) DIC("DR")=""
    2)= Q
  • CROSS-REFERENCE:  9000010.62^AATOO^MUMPS
    1)= I $P(^AUPNVAMI(DA,0),U,2)]"",$P(^(0),U,3)]"" S ^AUPNVAMI("AA",$P(^AUPNVAMI(DA,0),U,2),X,(9999999-$P(+^AUPNVSIT($P(^AUPNVAMI(DA,0),U,3),0),".",1)),DA)=""
    2)= I $P(^AUPNVAMI(DA,0),U,2)]"",$P(^(0),U,3)]"" K ^AUPNVAMI("AA",$P(^AUPNVAMI(DA,0),U,2),X,(9999999-$P(+^AUPNVSIT($P(^AUPNVAMI(DA,0),U,3),0),".",1)),DA)
    This cross-reference is used for searches in sequence by patient, measurement type, inverted visit date, and internal entry number.
    "AA",PATIENT,TYPE,VISIT,DA
.02 PATIENT NAME 0;2 POINTER TO PATIENT FILE (#9000001)
************************REQUIRED FIELD************************
PATIENT(#9000001)

  • LAST EDITED:  JUL 08, 1991
  • HELP-PROMPT:  Enter the patient name.
  • DESCRIPTION:  
    Patient Name.
    UNEDITABLE
  • CROSS-REFERENCE:  9000010.62^AC
    1)= S ^AUPNVAMI("AC",$E(X,1,30),DA)=""
    2)= K ^AUPNVAMI("AC",$E(X,1,30),DA)
  • CROSS-REFERENCE:  9000010.62^AATOO2^MUMPS
    1)= I $P(^AUPNVAMI(DA,0),U,1)]"",$P(^(0),U,3)]"" S ^AUPNVAMI("AA",X,$P(^AUPNVAMI(DA,0),U,1),(9999999-$P(+^AUPNVSIT($P(^AUPNVAMI(DA,0),U,3),0),".",1)),DA)=""
    2)= I $P(^AUPNVAMI(DA,0),U,1)]"",$P(^(0),U,3)]"" K ^AUPNVAMI("AA",X,$P(^AUPNVAMI(DA,0),U,1),(9999999-$P(+^AUPNVSIT($P(^AUPNVAMI(DA,0),U,3),0),".",1)),DA)
.03 VISIT 0;3 POINTER TO VISIT FILE (#9000010)
************************REQUIRED FIELD************************
VISIT(#9000010)

  • INPUT TRANSFORM:  S DIC("S")="I $P(^(0),U,5)=$P(^AUPNVAMI(DA,0),U,2)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  • LAST EDITED:  MAR 09, 1988
  • HELP-PROMPT:  Enter the encounter from the Visit file. Always stuffed.
  • SCREEN:  S DIC("S")="I $P(^(0),U,5)=$P(^AUPNVAMI(DA,0),U,2)"
  • EXPLANATION:  VISIT MUST BE FOR CURRENT PATIENT
    UNEDITABLE
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  9000010.62^AD
    1)= S ^AUPNVAMI("AD",$E(X,1,30),DA)=""
    2)= K ^AUPNVAMI("AD",$E(X,1,30),DA)
    This is used for programmed lookup by visit internal entry number.
  • CROSS-REFERENCE:  9000010.62^AA^MUMPS
    1)= Q:$P(^AUPNVAMI(DA,0),U,2)=""  S ^AUPNVAMI("AA",$P(^AUPNVAMI(DA,0),U,2),$P(^AUPNVAMI(DA,0),U,1),(9999999-$P(+^AUPNVSIT(X,0),".",1)),DA)=""
    2)= Q:$P(^AUPNVAMI(DA,0),U,2)=""  K ^AUPNVAMI("AA",$P(^AUPNVAMI(DA,0),U,2),$P(^AUPNVAMI(DA,0),U,1),(9999999-$P(+^AUPNVSIT(X,0),".",1)),DA)
    This cross-reference is used for searches in sequence by patient, measurement type, inverted visit date, and internal entry number.
    "AA",PATIENT,TYPE,VISIT,DA
  • CROSS-REFERENCE:  9000010.62^AV10^MUMPS
    1)= D ADD^AUPNVSIT
    2)= D SUB^AUPNVSIT
    This cross-reference is used to add "1" to the Dependent Entry Count field (#.09) of the related Visit file (9000010) entry to indicate that there is a file (in this case measurement) pointing to the Visit.
    When the measurement entry is deleted, this cross-reference is used to subtract "1" from the Dependent Entry Count field (#.09) of the related Visit file (9000010) entry.
.04 ONSET SYMPTOMS 0;4 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 01, 2013
.05 ONSET SYMPTOMS D/T ENTERED 0;5 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 01, 2013
.06 ONSET SYMPTOMS ENTERED BY 0;6 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  MAR 01, 2013
.07 EKG DONE (DATE/TIME) 0;7 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 01, 2013
.08 EKG DATE/TIME ENTERED 0;8 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 01, 2013
.09 EKG ENTERED BY 0;9 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  MAR 01, 2013
.11 FIBRINOLYTIC THERAPY INITIATED 0;11 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 01, 2013
.12 FIBRINOLYTIC THER D/T ENTERED 0;12 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 01, 2013
.13 FIBRINOLYTIC THER ENTERED BY 0;13 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  MAR 01, 2013
.14 DID NOT INITIATE FIBRINOLYTIC 0;14 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 01, 2013
.15 DID NOT INIT FIB D/T ENTERED 0;15 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 01, 2013
.16 DID NOT INIT FIB ENTERED BY 0;16 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  JAN 14, 2014
.17 DID NOT INIT FIB REASON 0;17 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>100!($L(X)<1) X
  • OUTPUT TRANSFORM:  S Y=$$CONCPT^AUPNVUTL(Y)
  • LAST EDITED:  MAR 12, 2014
  • HELP-PROMPT:  Answer must be 1-100 characters in length.
1 COMMENT (DATE/TIME ARRIVAL) 1;0 WORD-PROCESSING #9000010.621
2 ONSET SYMPTOMS TEXT 2;0 WORD-PROCESSING #9000010.622
3 EKG COMMENT 3;0 WORD-PROCESSING #9000010.623
4 FIBRINOLYTIC THERAPY COMMENT 4;0 WORD-PROCESSING #9000010.624
5.01 ENTERED IN ERROR? 5;1 SET
  • '1' FOR YES;

  • LAST EDITED:  MAR 01, 2013
5.02 ENTERED IN ERROR BY 5;2 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  MAR 01, 2013
5.03 DATE/TIME ENTERED IN ERROR 5;3 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAR 01, 2013
5.04 REASON ENTERED IN ERROR 5;4 SET
  • '1' FOR DUPLICATE;
  • '2' FOR ENTERED IN ERROR;
  • '3' FOR OTHER;

  • LAST EDITED:  MAR 01, 2013
5.05 REASON IF OTHER 5;5 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>100!($L(X)<1) X
  • LAST EDITED:  MAR 01, 2013
  • HELP-PROMPT:  Answer must be 1-100 characters in length.
1101 EKG DONE SNOMED 11;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  APR 30, 2018
  • HELP-PROMPT:  Answer must be 1-30 characters in length.
1101.019 EKG DONE SNOMED TEXT COMPUTED

  • MUMPS CODE:  S Y(9000010.62,1101.019,1)=$S($D(^AUPNVAMI(D0,11)):^(11),1:"") S X=$P(Y(9000010.62,1101.019,1),U,1),X=$$CONCPT^AUPNVUTL(X)
  • ALGORITHM:  AUPNPT(#1101)
1102 PCI PROCEDURE DONE 11;2 SET
  • '1' FOR YES;
  • '0' FOR NO;

  • LAST EDITED:  APR 30, 2018
1103 DATE/TIME PCI PROC INITIATED 11;3 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAY 10, 2018
1201 EVENT DATE & TIME 12;1 DATE

  • INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X I $D(X),$E(X,1,12)>$E($$NOW^XLFDT,1,12) K X
  • LAST EDITED:  JAN 27, 2011
  • HELP-PROMPT:  Enter the date and time
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • CROSS-REFERENCE:  9000010.62^AB
    1)= S ^AUPNVAMI("AB",$E(X,1,30),DA)=""
    2)= K ^AUPNVAMI("AB",$E(X,1,30),DA)
    This is in place of the "B" xref on the GMRV VITAL MEASUREMENT .01 field.
  • CROSS-REFERENCE:  9000010.62^AE^MUMPS
    1)= Q:$P(^AUPNVAMI(DA,0),U,2)=""  S ^AUPNVAMI("AE",$P(^AUPNVAMI(DA,0),U,2),$P(^AUPNVAMI(DA,0),U,1),9999999-X,DA)=""
    2)= Q:$P(^AUPNVAMI(DA,0),U,2)=""  K ^AUPNVAMI("AE",$P(^AUPNVAMI(DA,0),U,2),$P(^AUPNVAMI(DA,0),U,1),9999999-X,DA)
    Used for flowsheets.  Cross-reference by patient,vitals type,date/time vitals take,ien of vital ent ry "AE",PATIENT,TYPE,DATE/TIME VITALS TAKEN,DA
1202 ORDERING PROVIDER 12;2 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • INPUT TRANSFORM:  S DIC("S")="I $D(^VA(200,""AK.PROVIDER"",$P(^(0),U)))",D="AK.PROVIDER" D IX^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  • LAST EDITED:  APR 26, 1994
  • HELP-PROMPT:  Enter the provider.
  • SCREEN:  S DIC("S")="I $D(^VA(200,""AK.PROVIDER"",$P(^(0),U)))"
  • EXPLANATION:  Must be a Provider.
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
1203 CLINIC 12;3 POINTER TO CLINIC STOP FILE (#40.7) CLINIC STOP(#40.7)

  • LAST EDITED:  JUL 09, 1996
1204 ENCOUNTER PROVIDER 12;4 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  SEP 01, 1995
  • HELP-PROMPT:  Enter the provider.
1208 PARENT 12;8 POINTER TO V AMI FILE (#9000010.62) V AMI(#9000010.62)

  • LAST EDITED:  MAY 19, 2016
  • TECHNICAL DESCR:  
    APCDALVR Variable = APCDALVR("APCDTPNT")
1209 EXTERNAL KEY 12;9 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
  • LAST EDITED:  SEP 24, 1996
  • HELP-PROMPT:  Answer must be 1-20 characters in length.
  • TECHNICAL DESCR:  
    APCDALVR Variable = APCDALVR("APCDTEXK")
1210 OUTSIDE PROVIDER NAME 12;10 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  SEP 24, 1996
  • HELP-PROMPT:  Answer must be 1-30 characters in length.
1215 ORDERING LOCATION 12;15 POINTER TO HOSPITAL LOCATION FILE (#44) HOSPITAL LOCATION(#44)

  • LAST EDITED:  FEB 19, 2008
1216 DATE/TIME ENTERED 12;16 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  APR 23, 2012
  • CROSS-REFERENCE:  ^^TRIGGER^9000010.62^1217
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^AUPNVAMI(D0,12)):^(12),1:"") S X=$P(Y(1),U,17),X=X S DIU=X K Y S X=DIV I '$G(APCDVMUX) S X=DUZ X ^DD(9000010.62,1216,1,1,1.4)
    1.4)= S DIH=$G(^AUPNVAMI(DIV(0),12)),DIV=X S $P(^(12),U,17)=DIV,DIH=9000010.62,DIG=1217 D ^DICR
    2)= Q
    CREATE VALUE)= I '$G(APCDVMUX) S X=DUZ
    DELETE VALUE)= NO EFFECT
    FIELD)= #1217
  • CROSS-REFERENCE:  ^^TRIGGER^9000010.62^1218
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^AUPNVAMI(D0,12)):^(12),1:"") S X=$P(Y(1),U,18),X=X S DIU=X K Y S X=DIV I '$G(APCDVMUX) S X=$$NOW^XLFDT X ^DD(9000010.62,1216,1,2,1.4)
    1.4)= S DIH=$G(^AUPNVAMI(DIV(0),12)),DIV=X S $P(^(12),U,18)=DIV,DIH=9000010.62,DIG=1218 D ^DICR
    2)= Q
    CREATE VALUE)= I '$G(APCDVMUX) S X=$$NOW^XLFDT
    DELETE VALUE)= NO EFFECT
    FIELD)= #1218
1217 ENTERED BY 12;17 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  MAR 01, 2012
  • NOTES:  TRIGGERED by the DATE/TIME ENTERED field of the V AMI File
1218 DATE/TIME LAST MODIFIED 12;18 DATE

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  APR 23, 2012
  • NOTES:  TRIGGERED by the DATE/TIME ENTERED field of the V AMI File
  • CROSS-REFERENCE:  ^^TRIGGER^9000010.62^1219
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^AUPNVAMI(D0,12)):^(12),1:"") S X=$P(Y(1),U,19),X=X S DIU=X K Y S X=DIV I '$G(APCDVMUX) S X=DUZ X ^DD(9000010.62,1218,1,1,1.4)
    1.4)= S DIH=$G(^AUPNVAMI(DIV(0),12)),DIV=X S $P(^(12),U,19)=DIV,DIH=9000010.62,DIG=1219 D ^DICR
    2)= Q
    CREATE VALUE)= I '$G(APCDVMUX) S X=DUZ
    DELETE VALUE)= NO EFFECT
    FIELD)= #1219
1219 LAST MODIFIED BY 12;19 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  MAR 01, 2012
  • NOTES:  TRIGGERED by the DATE/TIME LAST MODIFIED field of the V AMI File
1300 PROTOCOL STANDING ORDERS 13;0 Multiple #9000010.6213 9000010.6213
1400 EKG FINDINGS 14;0 Multiple #9000010.6214 9000010.6214
1500 SYMPTOMS 15;0 Multiple #9000010.6215 9000010.6215
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  Found Entries |  All