Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: ABSPOS9

Package: Pharmacy Point of Sale

Routine: ABSPOS9


Information

ABSPOS9 ; IHS/FCS/DRS - NDC # lookup, formatting ;

Source Information

Source file <ABSPOS9.m>

Call Graph

Call Graph Total: 1

Package Total Call Graph
Pharmacy Point of Sale 1 IMPOSS^ABSPOSUE  

Caller Graph

Caller Graph Total: 7

Package Total Caller Graph
Pharmacy Point of Sale 7 ABSPECP3  ABSPER10  ABSPOSBF  ABSPOSBM  ABSPOSI2  ABSPOSIW  ABSPOSQP  

Entry Points

Name Comments DBIA/ICR reference
NDCTEST1(NDC) ; given NDC
NDC11(N) ;EP - given N?11N
NAME(X) ;EP - return drug name as stored in ^APSAMDF
NDCTEST0 ;
FORMTNDC(N) ;EP - given N?11N, lookup format and put "-" in right places
NDCTEST ;
MAKE11N(X) ;EP - given NDC code with "-", convert to ?11N
; it may involve putting an extra 0 in the right place
FMTNDC(N,A,B,C)
FINDNDC(N,F)
NDC10(N) ;EP - given N?10N, find format and format it

External References

Name Field # of Occurrence
IMPOSS^ABSPOSUE NDCTEST0+2, NDCTEST1+10

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: "Comprehensive test of valid NDC #s",!
  • Line Location: NDCTEST+1
Function Call: WRITE
  • Prompt: NDC," Not found",!
  • Line Location: NDCTEST1+7
Function Call: WRITE
  • Prompt: NDC," Ambiguity!",!
  • Line Location: NDCTEST1+15
Function Call: WRITE
  • Prompt: NDC," Not found!",!
  • Line Location: NDCTEST1+16

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^APSAMDF - [#9009037] NAME+5, FINDNDC+5, FORMTNDC+3, NDCTEST0+3, NDCTEST1+5
^APSAMDF("B" NAME+4, FINDNDC+3, NDCTEST+3
^PSDRUG - [#50] NAME+8
^PSDRUG("ZNDC" NAME+7

Label References

Name Line Occurrences
$$FINDNDC NDC11+1, NDC10+2, NDC10+5, NDC10+8, FORMTNDC+2, NDCTEST0+1, NDCTEST1+3, NDCTEST1+12, NDCTEST1+13, NDCTEST1+14
$$FMTNDC NDC11+2, NDC10+3, NDC10+6, NDC10+9, FORMTNDC+5, FORMTNDC+7, FORMTNDC+9, FORMTNDC+11, NDCTEST1+6, NDCTEST1+17
, NDCTEST1+18, NDCTEST1+19
$$MAKE11N NAME+1
NDCTEST0 NDCTEST+3
NDCTEST1 NDCTEST0+5, NDCTEST0+6, NDCTEST0+7, NDCTEST0+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A FMTNDC~, FMTNDC+1
B FMTNDC~, FMTNDC+1
C FMTNDC~, FMTNDC+1
F FINDNDC~, FINDNDC+4, FINDNDC+5, FORMTNDC+2~, FORMTNDC+3*, FORMTNDC+5, FORMTNDC+7, FORMTNDC+9, NDCTEST0+3~*, NDCTEST0+4
, NDCTEST1+1~, NDCTEST1+5~*, NDCTEST1+6
>> I NDCTEST+3*
M NDC10+1~, NDC10+2*, NDC10+4*, NDC10+5, NDC10+7*, NDC10+8
N NDC11~, NDC11+1, NDC11+2, NDC10~, NDC10+2, NDC10+3, NDC10+4, NDC10+6, NDC10+7, NDC10+9
, FMTNDC~, FMTNDC+1, FINDNDC~, FINDNDC+3, FORMTNDC~, FORMTNDC+1*, FORMTNDC+2, FORMTNDC+3, FORMTNDC+5, FORMTNDC+7
, FORMTNDC+9, FORMTNDC+11
NDC NDCTEST+3*, NDCTEST0+1, NDCTEST0+5, NDCTEST0+6, NDCTEST0+7, NDCTEST0+8, NDCTEST1~, NDCTEST1+2, NDCTEST1+3, NDCTEST1+6
, NDCTEST1+7, NDCTEST1+8, NDCTEST1+9, NDCTEST1+10, NDCTEST1+12, NDCTEST1+13, NDCTEST1+14, NDCTEST1+15, NDCTEST1+16, NDCTEST1+17
, NDCTEST1+18, NDCTEST1+19
>> OUTPUT NDCTEST+2*, NDCTEST0+6, NDCTEST0+7, NDCTEST0+8, NDCTEST1+6, NDCTEST1+8, NDCTEST1+17, NDCTEST1+18, NDCTEST1+19
U NAME+5, NAME+8, FINDNDC+5, FORMTNDC+3
X NDC10+1~, NDC10+2*, NDC10+3, NDC10+5*, NDC10+6, NDC10+8*, NDC10+9, MAKE11N~, MAKE11N+2, MAKE11N+3*
, MAKE11N+4*, MAKE11N+5*, MAKE11N+6, NAME~, NAME+1, NAME+2, NAME+7, NAME+9, FINDNDC+3~*, FINDNDC+4
, FINDNDC+5, FINDNDC+6, FORMTNDC+2~*, FORMTNDC+3, FORMTNDC+5, FORMTNDC+7, FORMTNDC+9, NDCTEST0+1~*, NDCTEST0+3, NDCTEST1+1~
, NDCTEST1+3*, NDCTEST1+4, NDCTEST1+5, NDCTEST1+12*, NDCTEST1+15, NDCTEST1+16, NDCTEST1+17
Y NDC10+1~, NAME+1~*, NAME+2*, NAME+3, NAME+4, NDCTEST1+11~, NDCTEST1+13*, NDCTEST1+15, NDCTEST1+16, NDCTEST1+18
Z NDC10+1~, NAME+4~*, NAME+5, NAME+7*, NAME+8, NDCTEST1+11~, NDCTEST1+14*, NDCTEST1+15, NDCTEST1+16, NDCTEST1+19

Marked Items

Name Field # of Occurrence
$T( NDCTEST0+2, NDCTEST1+10
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All