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 |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  Found Entries |  All
Print Page as PDF
Global: ^AUPNVTXC

Package: IHS Patient

Global: ^AUPNVTXC


Information

FileMan FileNo FileMan Filename Package
9000010.39 V TREATMENT CONTRACT IHS Patient

Description

Directly Accessed By Routines, Total: 5

Package Total Routines
Clinical Scheduling for Windows 1 BSDX41E    
GUI Objects 1 BGOVTXC    
Health Summary Components 1 BHSFAM1    
Local Area Programs 1 AZAXDPM1    
Patient Care Component 1 APCHS8    

Pointed To By FileMan Files, Total: 1

Package Total FileMan Files
IHS Patient 1 V TREATMENT CONTRACT(#9000010.39)[1208]    

Pointer To FileMan Files, Total: 6

Package Total FileMan Files
IHS Patient 3 PATIENT(#9000001)[.02]    VISIT(#9000010)[.03]    V TREATMENT CONTRACT(#9000010.39)[1208]    
Scheduling 2 CLINIC STOP(#40.7)[1203]    HOSPITAL LOCATION(#44)[1215]    
Kernel 1 NEW PERSON(#200)[.051202120412171219]    

Fields, Total: 21

Field # Name Loc Type Details
.01 CONTRACT TYPE 0;1 SET
************************REQUIRED FIELD************************
  • 'M' FOR MENTAL HEALTH;
  • 'P' FOR PAIN;

  • LAST EDITED:  JAN 30, 2001
  • DESCRIPTION:  
    This is the entry in the Exam file that represents what type of exam was done at the encounter.
  • TECHNICAL DESCR:  
    APCDALVR Variable = APCDALVR("APCDTEX")
  • CROSS-REFERENCE:  9000010.39^B
    1)= S ^AUPNVTXC("B",$E(X,1,30),DA)=""
    2)= K ^AUPNVTXC("B",$E(X,1,30),DA)
  • CROSS-REFERENCE:  9000010.39^AV9^MUMPS
    1)= S:$D(APCDLOOK) DIC("DR")=""
    2)= Q
  • CROSS-REFERENCE:  9000010.39^AATOO^MUMPS
    1)= I $P(^AUPNVTXC(DA,0),U,2)]"",$P(^(0),U,3)]"" S ^AUPNVTXC("AA",$P(^AUPNVTXC(DA,0),U,2),X,(9999999-$P(+^AUPNVSIT($P(^AUPNVTXC(DA,0),U,3),0),".",1)),DA)=""
    2)= I $P(^AUPNVTXC(DA,0),U,2)]"",$P(^(0),U,3)]"" K ^AUPNVTXC("AA",$P(^AUPNVTXC(DA,0),U,2),X,(9999999-$P(+^AUPNVSIT($P(^AUPNVTXC(DA,0),U,3),0),".",1)),DA)
    This cross-reference is used for searches in sequence by patient, Exam pointer, inverted visit date, and internal entry number.
.019 EXAM CODE COMPUTED

  • MUMPS CODE:  X ^DD(9000010.39,.019,9.3) S X=$P(Y(9000010.39,.019,101),U,2) S D0=Y(9000010.39,.019,80)
    9.2 = S Y(9000010.39,.019,80)=$S($D(D0):D0,1:""),Y(9000010.39,.019,1)=$S($D(^AUPNVTXC(D0,0)):^(0),1:"")
    9.3 = X ^DD(9000010.39,.019,9.2) S D0=$P(Y(9000010.39,.019,1),U,1) S:'$D(^AUTTEXAM(+D0,0)) D0=-1 S Y(9000010.39,.019,101)=$S($D(^AUTTEXAM(D0,0)):^(0),1:"")
  • ALGORITHM:  EXAM:CODE
.02 PATIENT NAME 0;2 POINTER TO PATIENT FILE (#9000001)
************************REQUIRED FIELD************************
PATIENT(#9000001)

  • LAST EDITED:  JAN 30, 2001
  • TECHNICAL DESCR:  
    APCDALVR Variable = APCDALVR("APCDPAT")
    UNEDITABLE
  • CROSS-REFERENCE:  9000010.39^AC
    1)= S ^AUPNVTXC("AC",$E(X,1,30),DA)=""
    2)= K ^AUPNVTXC("AC",$E(X,1,30),DA)
  • CROSS-REFERENCE:  9000010.39^AATOO2^MUMPS
    1)= I $P(^AUPNVTXC(DA,0),U,3)]"" S ^AUPNVTXC("AA",X,$P(^AUPNVTXC(DA,0),U),(9999999-$P(+^AUPNVSIT($P(^AUPNVTXC(DA,0),U,3),0),".",1)),DA)=""
    2)= I $P(^AUPNVTXC(DA,0),U,3)]"" K ^AUPNVTXC("AA",X,$P(^AUPNVTXC(DA,0),U),(9999999-$P(+^AUPNVSIT($P(^AUPNVTXC(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(^AUPNVTXC(DA,0),U,2)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  • LAST EDITED:  JAN 30, 2001
  • HELP-PROMPT:  Enter the visit date/time for the encounter where the exam was done.
  • DESCRIPTION:  
    This is the encounter in the Visit file that represents when and where the exam was done.
  • TECHNICAL DESCR:  
    APCDALVR Variable = APCDALVR("APCDVSIT")
  • SCREEN:  S DIC("S")="I $P(^(0),U,5)=$P(^AUPNVTXC(DA,0),U,2)"
  • EXPLANATION:  VISIT MUST BE FOR CURRENT PATIENT
    UNEDITABLE
  • CROSS-REFERENCE:  9000010.39^AD
    1)= S ^AUPNVTXC("AD",$E(X,1,30),DA)=""
    2)= K ^AUPNVTXC("AD",$E(X,1,30),DA)
    This cross-reference is used for searches by the visit pointer and internal entry number.
    "AD",VISIT,DA
  • CROSS-REFERENCE:  9000010.39^AA^MUMPS
    1)= Q:$P(^AUPNVTXC(DA,0),U,2)=""  S ^AUPNVTXC("AA",$P(^AUPNVTXC(DA,0),U,2),$P(^AUPNVTXC(DA,0),U),(9999999-$P(+^AUPNVSIT(X,0),".",1)),DA)=""
    2)= Q:$P(^AUPNVTXC(DA,0),U,2)=""  K ^AUPNVTXC("AA",$P(^AUPNVTXC(DA,0),U,2),$P(^AUPNVTXC(DA,0),U),(9999999-$P(+^AUPNVSIT(X,0),".",1)),DA)
    This cross-reference is used for searches in sequence by patient, exam pointer, inverted visit, internal entry number.
    "AA",PATIENT,EXAM,VISIT,DA
  • CROSS-REFERENCE:  9000010.39^AV10^MUMPS
    1)= D ADD^AUPNVSIT
    2)= D SUB^AUPNVSIT
    This cross-reference adds and subtracts from the dependent entry count in the VISIT file.
.04 DATE INITIATED 0;4 DATE

  • INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JAN 30, 2001
  • TECHNICAL DESCR:  
    APCDALVR Variable = APCDALVR("APCDTRES")
.05 PROVIDER 0;5 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  JAN 30, 2001
1201 EVENT DATE AND TIME 12;1 DATE

  • INPUT TRANSFORM:  S %DT="EST" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  JUN 08, 1994
  • HELP-PROMPT:  Enter the date and time the exam was given.
  • DESCRIPTION:  This is the date and time the exam was given by the provider. This date and time may be different from the visit date and time. For example, for clinic appointment visits, the visit date and time is the date and time of
    the appointment, not the time the provider performed the clinical event.  The date may be an imprecise date.
    Date and time may be within 30 days before or after the visit date, with the restriction the date cannot be a future date.
  • TECHNICAL DESCR:  The PCE User Interface, which allows manual entry of data, will be the primary source of the event date and time. The event date prompt defaults to the visit date, and the time is entered to reflect the actual time the
    measurement was done.  The event date does not have to be the visit date, future date.
    If a user wants to enter a historical measurement, the user should use the Historical Encounter entry action to document the historical measurement.  Historical entries will not be eligible for credit.
    PCE Data Sources for automatic (scanning) data capture will be blank unless the event date and time are passed to PCE for filing. APCDALVR Variable = APCDALVR("APCDTCDT")
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:  JUN 08, 1994
  • HELP-PROMPT:  Enter the provider who ordered this exam.
  • DESCRIPTION:  
    This field can be used to document the provider who ordered the exam.
  • TECHNICAL DESCR:  
    The person entered here must hold the "AK.PROVIDER" security key.  APCDALVR Variable = APCDALVR("APCDTPRV")
  • SCREEN:  S DIC("S")="I $D(^VA(200,""AK.PROVIDER"",$P(^(0),U)))"
  • EXPLANATION:  Select ordering 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
  • TECHNICAL DESCR:  
    APCDALVR Variable = APCDALVR("APCDTCLN")
1204 ENCOUNTER PROVIDER 12;4 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  DEC 19, 1994
  • HELP-PROMPT:  Enter the provider who gave the exam.
  • DESCRIPTION:  
    This is the provider who gave the exam.
  • TECHNICAL DESCR:  
    This person can be any person in the new person file.  The person does not have to hold the "AK.PROVIDER" security key.  APCDALVR Variable = APCDALVR("APCDTEPR")
1208 PARENT 12;8 POINTER TO V TREATMENT CONTRACT FILE (#9000010.39) V TREATMENT CONTRACT(#9000010.39)

  • LAST EDITED:  JUL 09, 1996
  • 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 25, 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 25, 1996
  • HELP-PROMPT:  Answer must be 1-30 characters in length.
  • TECHNICAL DESCR:  
    APCDALVR Variable = APCDALVR("APCDTOPR")
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.39^1217
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^AUPNVTXC(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.39,1216,1,1,1.4)
    1.4)= S DIH=$G(^AUPNVTXC(DIV(0),12)),DIV=X S $P(^(12),U,17)=DIV,DIH=9000010.39,DIG=1217 D ^DICR
    2)= Q
    CREATE VALUE)= I '$G(APCDVMUX) S X=DUZ
    DELETE VALUE)= NO EFFECT
    FIELD)= #1217
  • CROSS-REFERENCE:  ^^TRIGGER^9000010.39^1218
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^AUPNVTXC(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.39,1216,1,2,1.4)
    1.4)= S DIH=$G(^AUPNVTXC(DIV(0),12)),DIV=X S $P(^(12),U,18)=DIV,DIH=9000010.39,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 TREATMENT CONTRACT 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 TREATMENT CONTRACT File
  • CROSS-REFERENCE:  ^^TRIGGER^9000010.39^1219
    1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^AUPNVTXC(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.39,1218,1,1,1.4)
    1.4)= S DIH=$G(^AUPNVTXC(DIV(0),12)),DIV=X S $P(^(12),U,19)=DIV,DIH=9000010.39,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 TREATMENT CONTRACT File
80101 EDITED FLAG 801;1 SET
  • '1' FOR EDITED;

  • LAST EDITED:  JUN 08, 1994
  • HELP-PROMPT:  Answer is automatically entered by PCE filing logic.
  • DESCRIPTION:  
    This field is automatically set to 1 if PCE detects that any original exam data is being edited.
  • TECHNICAL DESCR:  
    PCE filing logic automatically compares the before and after pictures of the record to determine if the edited flag should be set to "1".
80102 DATA SOURCE 801;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>85!($L(X)<2) X
  • LAST EDITED:  JUN 08, 1994
  • HELP-PROMPT:  Answer is automatically entered by the PCE filing logic.
  • DESCRIPTION:  
    This field is populated automatically by the PCE filing logic.  The format of the field is as follows:  Pointer to PCE data source file_"-"_A for Add or E for Edit_" "_DUZ of the person who entered the data_";"...
  • TECHNICAL DESCR:  The PCE filing logic requires a pointer to the PCE Data Source file. If this is not passed, then PCE filing logic will not process the data.
    If the record is a new record, then an "A" is used to specify the source compares the old and new records of information.  An "E" will be automatically used if the filing logic finds the data has been edited.  If "E" is
    used, then the Edited Flag field is automatically set to 1.
    The DUZ is stored in its internal format to represent the user who performed the addition or editing of data for this record.
    Iterations of editing will be concatenated to the previous Data Source value, up to 85 characters.
81101 COMMENTS 811;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
  • LAST EDITED:  JUL 11, 1995
  • HELP-PROMPT:  Enter a comment 1-245 characters in length.
  • DESCRIPTION:  
    This is a comment related to the patient's exam.  The provider may enter this manually via the PCE User Interface.
Info |  Desc |  Directly Accessed By Routines |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  Found Entries |  All