Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: PXDSLK

Package: PCE Patient Care Encounter

Routine: PXDSLK


Information

PXDSLK ;ALB/RBD - COPIED FROM ICDLOOK TO LOOK UP ICD-10 DX CODE;01 May 2014 1:39 PM

Source Information

Source file <PXDSLK.m>

Entry Points

Name Comments DBIA/ICR reference
EN ; Initialize variables
LOOK ; Look-up term
AGAIN ; Try again?
ASK ; Get user input
ASK2
ICD10 ; ICD-10 Search
LK1 ; Lookup
WRT ; Write Output
NXT ; Next
SPACEBAR(PXROOT) ;
SAVSPACE(PXROOT,PXRETV) ;
INPHLP ; Help text controller for ICD-10
QM ; Diagnosis help text
; if calling from outside, set PXPAUSE=1 to pause the display and force the user to press <Enter> to continue
QM1 ; simple help text for 1 question mark
QM2 ; enhanced help text for 2 question marks
QM3 ; further explanation of format when there are multiple returns, displayed for 3 question marks.
MIN2 ; Minimum length of 2 characters message
EXIT ; Clean up environment and quit
X(LEX) ; Evaluate X
Y(LEX) ; Evaluate Y

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Try another"
  • Line Location: AGAIN+2
Function Call: WRITE
  • Prompt: !!,"You have searched for an ICD-10 diagnosis code, do you want to"
  • Line Location: AGAIN+4
Function Call: WRITE
  • Prompt: !!,"SORRY, ICD-9 SPECIAL LOOK-UP NOT IMPLEMENTED."
  • Line Location: ASK2+1
Function Call: WRITE
  • Prompt: !!,"Searching for '",PXTXT,"' requires inspecting ",PXNUMB," records to determine"
  • Line Location: ICD10+7
Function Call: WRITE
  • Prompt: !,"if they match the search criteria. This could take quite some time."
  • Line Location: ICD10+8
Function Call: WRITE
  • Prompt: !,"Please refine the search by including more detail than '",PXTXT,"'.",!
  • Line Location: ICD10+9
Function Call: WRITE
  • Prompt: !,"Do you wish to continue (Y/N)"
  • Line Location: ICD10+11
Function Call: WRITE
  • Prompt: !
  • Line Location: ICD10+11
Function Call: WRITE
  • Prompt: !!,"No records found matching the value entered, revise search or enter ""?"" for",!,"help.",!
  • Line Location: LK1+5
Function Call: WRITE
  • Prompt: !!," Try again later",!
  • Line Location: LK1+9
Function Call: WRITE
  • Prompt: !!," Exiting list",!
  • Line Location: LK1+10
Function Call: WRITE
  • Prompt: !!," No data selected",!
  • Line Location: LK1+16
Function Call: WRITE
  • Prompt: !
  • Line Location: WRT+3
Function Call: WRITE
  • Prompt: !," ICD-10 Diagnosis code: ",?31,PXCODE
  • Line Location: WRT+4
Function Call: WRITE
  • Prompt: !," ICD-10 Diagnosis description:",?31,PXTXT(1)
  • Line Location: WRT+5
Function Call: WRITE
  • Prompt: !,?31,$G(PXTXT(PXI))
  • Line Location: WRT+6
Function Call: WRITE
  • Prompt: " ??"
  • Line Location: SPACEBAR+5
Function Call: WRITE
  • Prompt: !,"Enter code or ""text"" for more information.",!
  • Line Location: QM1+1
Function Call: WRITE
  • Prompt: !,"Enter a ""free text"" term or part of a term such as ""femur fracture"".",!
  • Line Location: QM2+1
Function Call: WRITE
  • Prompt: !," or",!
  • Line Location: QM2+2
Function Call: WRITE
  • Prompt: !,"Enter a ""classification code"" (ICD/CPT etc) to find the single term associated"
  • Line Location: QM2+3
Function Call: WRITE
  • Prompt: !,"with the code.",!
  • Line Location: QM2+4
Function Call: WRITE
  • Prompt: !," or",!
  • Line Location: QM2+5
Function Call: WRITE
  • Prompt: !,"Enter a ""partial code"". Include the decimal when a search criterion includes"
  • Line Location: QM2+6
Function Call: WRITE
  • Prompt: !,"3 characters or more for code searches.",!
  • Line Location: QM2+7
Function Call: WRITE
  • Prompt: !,"Number of Code Matches"
  • Line Location: QM3+1
Function Call: WRITE
  • Prompt: !,"----------------------",!
  • Line Location: QM3+2
Function Call: WRITE
  • Prompt: !,"The ICD-10 Diagnosis Code search will show the user the number of matches"
  • Line Location: QM3+3
Function Call: WRITE
  • Prompt: !,"found, indicate if additional characters in ICD code exist, and the number"
  • Line Location: QM3+4
Function Call: WRITE
  • Prompt: !,"of codes within the category or subcategory that are available for selection."
  • Line Location: QM3+5
Function Call: WRITE
  • Prompt: !,"For example:",!
  • Line Location: QM3+6
Function Call: WRITE
  • Prompt: !,"14 matches found",!
  • Line Location: QM3+7
Function Call: WRITE
  • Prompt: !,"M91. - Juvenile osteochondrosis of hip and pelvis (19)",!
  • Line Location: QM3+8
Function Call: WRITE
  • Prompt: !,"This indicates that 14 unique matches or matching groups have been found and"
  • Line Location: QM3+9
Function Call: WRITE
  • Prompt: !,"will be displayed.",!
  • Line Location: QM3+10
Function Call: WRITE
  • Prompt: !,"M91. - the ""-"" indicates that there are additional characters that specify"
  • Line Location: QM3+11
Function Call: WRITE
  • Prompt: !," unique ICD-10 codes available.",!
  • Line Location: QM3+12
Function Call: WRITE
  • Prompt: !,"(19) Indicates that there are 19 additional ICD-10 codes in the M91"
  • Line Location: QM3+13
Function Call: WRITE
  • Prompt: !," ""family"" that are possible selections.",!
  • Line Location: QM3+14
Function Call: WRITE
  • Prompt: $C(7)," ??",!
  • Line Location: MIN2+1
Function Call: WRITE
  • Prompt: !,"Please enter at least the first two characters of the ICD-10 code or "
  • Line Location: MIN2+2
Function Call: WRITE
  • Prompt: !,"code description to start the search.",!
  • Line Location: MIN2+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ICD9 - [#80] RECALL^DILFD
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call