MD TMDENCOUNTER

TITLEVALUE
NAMEMD TMDENCOUNTER
DESCRIPTIONThis remote procedure will return the existing data in an encounter.
TAGGETENC
ROUTINEMDRPCW1
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSTUDY
DESCRIPTIONThis is the CP Study internal entry number.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONThe result is returned in ^TMP("MDENC",$J) global.

^TMP("MDENC",$J,1)="SC";0/1^0/1;"AO";0/1^0/1;"IR";0/1^0/1;"EC";0/1^0/
1;"MST";0/1^0/1;"HNC";0/1^0/1;"CV";0/1^0/1
P1 = "SC" - Service Connected
P2 = first "^" piece 1 if the condition can be answered
0 if the condition should be null not asked
second "^" piece - If Scheduling has the answer, 1 = yes 0 = no
P3 = "AO" - Agent Orange Exposure
P4 = first "^" piece 1 if the condition can be answered
0 if the condition should be null not asked
second "^" piece - If Scheduling has the answer, 1 = yes 0 = no
P5 = "IR" - Ionizing Radiation Exposure
P6 = first "^" piece 1 if the condition can be answered
0 if the condition should be null not asked
second "^" piece - If Scheduling has the answer, 1 = yes 0 = no
P7 = "EC" - Environmental Contaminants
P8 = first "^" piece 1 if the condition can be answered
0 if the condition should be null not asked
second "^" piece - If Scheduling has the answer, 1 = yes 0 = no
P9 = "HNC" - Head and/or Neck Cancer
P10 = first "^" piece 1 if the condition can be answered
0 if the condition should be null not asked
second "^" piece - If Scheduling has the answer, 1 = yes 0 = no
P11 = "MST" - Military Sexual Trauma
P12 = first "^" piece 1 if the condition can be answered
0 if the condition should be null not asked
second "^" piece - If Scheduling has the answer, 1 = yes 0 = no
P13 = "CV" - Combat Veteran
P14 = first "^" piece 1 if the condition can be answered
0 if the condition should be null not asked
second "^" piece - If Scheduling has the answer, 1 = yes 0 = no

^TMP("MDENC",$J,n)="PRV"^CODE^^NARR^^Primary (1=Yes,0=No)
P1 = "PRV"- Provider segment
P2 = CODE - New Person internal Entry Number
P3 = Null
P4 = NARR - Provider name
P5 = Null
P6 = Primary - 1/0/null (1=Yes,0/Null=No)

="POV"^ICD9 IEN^ICD9 CODE^provider narrative category^
provider narrative (Short Description)^Primary (1=Yes,0/Null=No)
P1 = "POV" - ICD segment
P2 = ICD internal entry number
P3 = ICD9 Code
P4 = Provider Narrative Category
P5 = Short Description
P6 = Primary - 1/0/null (1=Yes,0/Null=No)

="CPT"^CPT IEN^CPT CODE^provider narrative category^
provider narrative (Short Description)^^Quantity
P1 = "CPT" - CPT segment
P2 = CPT internal entry number
P3 = CPT Code
P4 = Provider Narrative Category (CPT Category Grouping)
P5 = Short Description
P6 = null
P7 = Quantity
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED