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 |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All
Print Page as PDF
Global: ^PS(52.46

Package: Outpatient Pharmacy

Global: ^PS(52.46


Information

FileMan FileNo FileMan Filename Package
52.46 ERX EXTERNAL PATIENT Outpatient Pharmacy

Description

Directly Accessed By Routines, Total: 9

Package Total Routines
Outpatient Pharmacy 9 COMMUNICATION    IDENTIFICATION    PSOERX    PSOERXA1    PSOERXC1    PSOERXP1    ^PS(52.46    PSOERXU2
PSOERXX3    

Accessed By FileMan Db Calls, Total: 9

Package Total Routines
Outpatient Pharmacy 9 PSOERX    PSOERX1    PSOERX1A    PSOERX1B    PSOERX1C    PSOERXC1    PSOERXP1    PSOERXU1
PSOERXU2    

Pointed To By FileMan Files, Total: 1

Package Total FileMan Files
Outpatient Pharmacy 1 ERX HOLDING QUEUE(#52.49)[.04]    

Pointer To FileMan Files, Total: 3

Package Total FileMan Files
Kernel 2 STATE(#5)[3.4]    NEW PERSON(#200)[6]    
Registration 1 PATIENT(#2)[1.5]    

Fields, Total: 24

Field # Name Loc Type Details
.01 NAME 0;1 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>107!($L(X)<3)!'(X'?1P.E) X
  • LAST EDITED:  JUL 26, 2017
  • HELP-PROMPT:  Enter the name of the eRx External patient. Answer must be 3-107 characters in length.
  • DESCRIPTION:  
    This is the name of the eRx external pharmacy patient.
  • CROSS-REFERENCE:  52.46^B
    1)= S ^PS(52.46,"B",$E(X,1,30),DA)=""
    2)= K ^PS(52.46,"B",$E(X,1,30),DA)
  • FIELD INDEX:  BN (#1490) REGULAR IR LOOKUP & SORTING
    Short Descr:  Full patient name index
    Description:  This indexes the full patient name as received for an eRx prescription.
    Set Logic:  S ^PS(52.46,"BN",$E(X,1,135),DA)=""
    Kill Logic:  K ^PS(52.46,"BN",$E(X,1,135),DA)
    Whole Kill:  K ^PS(52.46,"BN")
    X(1):  NAME  (52.46,.01)  (Subscr 1)  (Len 135)  (forwards)
.02 LAST NAME 0;2 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  DEC 14, 2016
  • HELP-PROMPT:  Enter the last name of the eRx external patient. Answer must be 3-35 characters in length.
  • DESCRIPTION:  
    This is the last name of the eRx external patient.
.03 FIRST NAME 0;3 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  DEC 14, 2016
  • HELP-PROMPT:  Enter the first name of the eRx external patient. Answer must be 3-35 characters in length.
  • DESCRIPTION:  
    This is the first name of the external pharmacy patient.
.04 MIDDLE NAME 0;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  DEC 14, 2016
  • HELP-PROMPT:  Enter the middle name of the eRx external patient. Answer must be 3-35 characters in length.
  • DESCRIPTION:  
    This is the middle name of the eRx external patient.
.05 SUFFIX 1;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
  • LAST EDITED:  DEC 14, 2016
  • HELP-PROMPT:  Enter the suffix for the eRx external patient. Answer must be 1-10 characters in length.
  • DESCRIPTION:  
    This is the suffix associated with the eRx external patient.
.06 PREFIX 1;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
  • LAST EDITED:  DEC 14, 2016
  • HELP-PROMPT:  Enter the prefix for the eRx external patient. Answer must be 1-10 characters in length.
  • DESCRIPTION:  
    This is the prefix for the eRx external patient.
.07 GENDER 1;3 SET
  • 'M' FOR MALE;
  • 'F' FOR FEMALE;
  • 'O' FOR OTHER;
  • 'N' FOR NOT IDENTIFIED;
  • 'U' FOR UNKNOWN;

  • LAST EDITED:  JAN 22, 2018
  • HELP-PROMPT:  Enter the gender associated with the eRx external patient.
  • DESCRIPTION:  
    This is the patient gender.
.08 DATE OF BIRTH 1;4 DATE

  • INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
  • LAST EDITED:  MAY 16, 2017
  • HELP-PROMPT:  Enter the date of birth for the eRx external patient.
  • DESCRIPTION:  
    The eRx patient date of birth.
  • CROSS-REFERENCE:  52.46^DOB
    1)= S ^PS(52.46,"DOB",$E(X,1,30),DA)=""
    2)= K ^PS(52.46,"DOB",$E(X,1,30),DA)
    This indexes patients by DOB.
.09 ERX EXTERNAL PHARMACY 1;5 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
  • LAST EDITED:  DEC 14, 2016
  • HELP-PROMPT:  Enter the eRx external pharmacy associated with this patient. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the eRx external pharmacy that is associated with this patient.
1.1 FILE ID 2;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
  • LAST EDITED:  DEC 14, 2016
  • HELP-PROMPT:  Enter the file id for this patient. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the file id for the external patient.
1.2 MEDICAL RECORD ID # 2;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
  • LAST EDITED:  DEC 14, 2016
  • HELP-PROMPT:  Enter the medical record identification number. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the medical identification number for this eRx patient.
1.3 ACCOUNT NUMBER 2;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
  • LAST EDITED:  DEC 14, 2016
  • HELP-PROMPT:  Enter the account number associated with this eRx patient. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    This is the patient account number.
1.4 SSN 2;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<1) X
  • LAST EDITED:  MAY 16, 2017
  • HELP-PROMPT:  Enter the SSN for the eRx external patient. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    The SSN sent in for the eRx external patient.
  • CROSS-REFERENCE:  52.46^SSN
    1)= S ^PS(52.46,"SSN",$E(X,1,30),DA)=""
    2)= K ^PS(52.46,"SSN",$E(X,1,30),DA)
    This indexes the patient by his/her social security number.
1.5 LINKED VISTA PATIENT 2;5 POINTER TO PATIENT FILE (#2) PATIENT(#2)

  • LAST EDITED:  DEC 15, 2016
  • HELP-PROMPT:  Enter the Vista patient that matches this eRx external patient.
  • DESCRIPTION:  
    This is the vista patient that matches the incoming eRx external patient.
1.6 PLACE/LOCATION QUALIFIER 2;6 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
  • LAST EDITED:  DEC 15, 2016
  • HELP-PROMPT:  Enter the place/location qualifier associated with this eRx patient. Answer must be 1-3 characters in length.
  • DESCRIPTION:  
    This is the place/location qualifier as passed in by the external source.
1.7 PATIENT RELATIONSHIP 1;7 SET
  • '1' FOR MEMBER;
  • '2' FOR SPOUSE;
  • '3' FOR CHILD/DEPENDENT;
  • '4' FOR OTHER;

  • LAST EDITED:  APR 17, 2017
  • HELP-PROMPT:  Enter the patient relationship to the cardholder.
  • DESCRIPTION:  
    This is the relationship of the patient to the cardholder.
2 COMMUNICATION 3;0 Multiple #52.462 52.462

  • DESCRIPTION:  
    This multiple holds the communication values for an eRx external person.
3.1 ADDRESS LINE 1 4;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  DEC 15, 2016
  • HELP-PROMPT:  Enter the first line of the address. Answer must be 1-35 characters in length.
  • DESCRIPTION:  
    Address line 1 for the eRx patient.
3.2 ADDRESS LINE 2 4;2 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  DEC 15, 2016
  • HELP-PROMPT:  Enter address line 2 for the eRx patient. Answer must be 3-35 characters in length.
  • DESCRIPTION:  
    Address line 2 for the eRx patient.
3.3 CITY 4;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>35!($L(X)<3) X
  • LAST EDITED:  DEC 15, 2016
  • HELP-PROMPT:  Enter the city associated with the eRx patient. Answer must be 3-35 characters in length.
  • DESCRIPTION:  
    This is the city identified for the eRx patient.
3.4 STATE 4;4 POINTER TO STATE FILE (#5) STATE(#5)

  • LAST EDITED:  DEC 15, 2016
  • HELP-PROMPT:  Enter the state where this patient resides.
  • DESCRIPTION:  
    This is the state associated with the eRx external patient.
3.5 ZIP CODE 4;5 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>9!($L(X)<5) X
  • LAST EDITED:  APR 26, 2017
  • HELP-PROMPT:  Enter the zip code associated with the incoming eRx patient. Answer must be 5-9 characters in length.
  • DESCRIPTION:  
    This is the zip code for the eRx external patient.
5 IDENTIFICATION 5;0 Multiple #52.465 52.465

  • DESCRIPTION:  
    This multiple contains the identification values for an eRx external person.
6 LAST LOCKED BY 6;1 POINTER TO NEW PERSON FILE (#200) NEW PERSON(#200)

  • LAST EDITED:  MAY 24, 2018
  • HELP-PROMPT:  Enter the name of the user who last locked this eRx patient.
  • DESCRIPTION:  
    This field keeps track of the last user who succesfully locked the eRx patient. This field is used primarily in the patient centric view.

External References

Name Field # of Occurrence
^%DT .08+1
$$FMTE^DILIBF ID.08+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(52.46 - [#52.46] IXBNSL+1*, IXBNKL+1!, IXBNKEIC+1!, .01(XREF 1S), .01(XREF 1K), .08(XREF 1S), .08(XREF 1K), 1.4(XREF 1S), 1.4(XREF 1K)

Naked Globals

Name Field # of Occurrence
^(1 ID.08+1
^(2 ID1.4+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT .08+1*
>> DA IXBNSL+1, IXBNKL+1, .01(XREF 1S), .01(XREF 1K), .08(XREF 1S), .08(XREF 1K), 1.4(XREF 1S), 1.4(XREF 1K)
U ID.08+1, ID1.4+1
X IXBNSL+1, IXBNKL+1, .01+1!, .01(XREF 1S), .01(XREF 1K), .02+1!, .03+1!, .04+1!, .05+1!, .06+1!
, .08+1*!, .08(XREF 1S), .08(XREF 1K), .09+1!, 1.1+1!, 1.2+1!, 1.3+1!, 1.4+1!, 1.4(XREF 1S), 1.4(XREF 1K)
, 1.6+1!, 3.1+1!, 3.2+1!, 3.3+1!, 3.5+1!
>> Y .08+1
Info |  Desc |  Directly Accessed By Routines |  Accessed By FileMan Db Calls |  Pointed To By FileMan Files |  Pointer To FileMan Files |  Fields |  Found Entries |  External References |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All