Difference between revisions of "TMG ORDER DIALOG INFORMATION"

From VistApedia
Jump to: navigation, search
(Created page with " This will be an analysis of an order dialog that appears in CPRS. We will start with the order area in CPRS. File:TMG_OR_screenshot_1.png This information is loaded vi...")
(No difference)

Revision as of 17:22, 30 December 2022

This will be an analysis of an order dialog that appears in CPRS.

We will start with the order area in CPRS.

TMG OR screenshot 1.png

This information is loaded via RPC


 ORWDX WRLST
 Called at: 11:26:13 AM
  
 Params ------------------------------------------------------------------
 literal	0
  
 Results -----------------------------------------------------------------
 3;1001;0;M^Add New Orders
 159;1105;43;A^Allergies
 23;117;38;D^Diet
 129;130;21;D^Meds, Inpatient
 173;145;48;D^Meds, Non-VA
 147;140;4;D^Meds, Outpatient
 130;180;22;D^IV Fluids
 2;120;5;D^Lab Tests
 1;160;29;D^Imaging
 51;110;11;D^Consult
 52;112;42;D^Procedure
 48;171;12;D^Vitals
 16021;22700;5;D^TMG Lab Order
 15996;0;13;D^TMG Pap
 16009;0;13;D^TMG Surgical Path
 16016;0;13;D^Low Dose CT Order
 49;999;13;D^Text Only Order
  
 Elapsed Time: 44 ms

This list, on server is derived from XPAR list 'ORWOR WRITE ORDERS LIST' (because my system doesn't have data for ORWDX WRITE ORDERS') list is obtained via:

 D GETLST^XPAR(.ORX,"ALL^^SRV.`7","ORWOR WRITE ORDERS LIST","Q",.ORERR)

If we click on TMG Pap in list above, this dialog will be shown:

TMG OR Screen Shot 2.png


In the list above 15996;0;13;D^TMG Pap has first part with IEN=15996.

CPRS creates the dialog by getting components list from server via RPC ORWDXM PROMPTS

---

ORWDXM PROMPTS
Called at: 12:12:56 PM
 
Params ------------------------------------------------------------------
literal	15996
 
Results -----------------------------------------------------------------
~ID15994^0^0^Specimen Source:^S^C:Cervix;CE:Cervical/Endocervical;CV:Cervic/Vaginal;E:Endocervical;EV:Endocervical/Vaginal;V:Vaginal;^^^^^
~ID15995^0^0^LMP Date^F^::E^^^^^
~ID16008^0^0^Hysterectomy?^S^Y:Yes;N:No;U:Unknown;^^^^^
~ID15998^0^0^Patient on hormones?^S^Y:Yes;N:No;U:Unknown;^^^^^
~ID15999^0^0^On Contraceptions?^S^Y:Yes;N:No;U:Unknown;^^^^^
~ID16000^0^0^Pregnant?^Y^^^^^^
~ID16001^0^0^Postpartum?^S^Y:Yes;N:No;U:Unknown;^^^^^
~ID16002^0^0^Date of last pap^D^::E^^^^^
~ID16005^0^0^Last pap results^F^::E^^^^^
~ID16004^0^0^Clinical History^W^^^^^^
~ID16006^0^0^HPVH^S^HPVH1:HPVH, if results are positive;HPVH2:HPVH, regardless of results;^^^^^
~ID16007^0^0^Diagnosis^S^RG:Routine GYN (Z01.411);NAF:No Abnormal Finding (Z01.419);NCS:Noncovered Service. Signed ABN.;RSPC:Routine Screening Pap/Cervix (Z12.4);RSPV:Routine Screening Pap/Vaginal (Z12.72);HREB:High Risk Exposure/Bodily Fluid (Z77.21);^^^^^
~ID16020^1^0^Ordering Provider^S^KEVIN:Dr. Kevin Toppenberg;DEE:Dr. Dee Toppenberg;^^^^^
 
Elapsed Time: 41 ms

---


This is from ORDER DIALOG file, as follows:

FILE: ORDER DIALOG (#101.41)
Entry #15996,
    .01-NAME : TMG OTP
      2-DISPLAY TEXT : TMG THIN PREP
      4-TYPE : dialog
      5-DISPLAY GROUP : NURSING (`13 in #100.98)
      6-SIGNATURE REQUIRED : ORES
      7-PACKAGE : ORDER ENTRY/RESULTS REPORTING (`35 in #9.4)
      9-ASK FOR ANOTHER ORDER : NO
     10-ITEMS : <MULTIPLE-VALUED>
         Entry #1
            .01-SEQUENCE : 1
              2-ITEM : TMG OTP SOURCE (`15994 in #101.41)
              4-DISPLAY TEXT : Specimen Source:
              6-REQUIRED : NO
             21-ORDER TEXT SEQUENCE : 1
             24-LEADING TEXT : Specimen Source:
             26-START NEW LINE : YES
         Entry #2
            .01-SEQUENCE : 2
              2-ITEM : TMG OTP LMP DATE (`15995 in #101.41)
              4-DISPLAY TEXT : LMP Date
              6-REQUIRED : NO
             21-ORDER TEXT SEQUENCE : 2
             24-LEADING TEXT : LMP Date:
             26-START NEW LINE : YES
         Entry #3
            .01-SEQUENCE : 3
              2-ITEM : TMG OTP YNU (`16008 in #101.41)
              4-DISPLAY TEXT : Hysterectomy?
             21-ORDER TEXT SEQUENCE : 3
             24-LEADING TEXT : Hysterectomy:
             26-START NEW LINE : YES
         Entry #4
            .01-SEQUENCE : 4
              2-ITEM : TMG OTP HORMONES (`15998 in #101.41)
              4-DISPLAY TEXT : Patient on hormones?
             21-ORDER TEXT SEQUENCE : 4
             24-LEADING TEXT : Hormones:
             26-START NEW LINE : YES
         Entry #5
            .01-SEQUENCE : 5
              2-ITEM : TMG OTP CONTRACEPTIONS (`15999 in #101.41)
              4-DISPLAY TEXT : On Contraceptions?
             21-ORDER TEXT SEQUENCE : 5
             24-LEADING TEXT : Contraceptions:
             26-START NEW LINE : YES
         Entry #6
            .01-SEQUENCE : 6
              2-ITEM : TMG OTP PREGNANT (`16000 in #101.41)
              4-DISPLAY TEXT : Pregnant?
             21-ORDER TEXT SEQUENCE : 6
             24-LEADING TEXT : Pregnant:
             26-START NEW LINE : YES
         Entry #7
            .01-SEQUENCE : 7
              2-ITEM : TMG OTP POST PARTUM (`16001 in #101.41)
              4-DISPLAY TEXT : Postpartum?
             21-ORDER TEXT SEQUENCE : 7
             24-LEADING TEXT : Postpartum:
             26-START NEW LINE : YES
         Entry #8
            .01-SEQUENCE : 8
              2-ITEM : TMG OTP LAST PAP (`16002 in #101.41)
              4-DISPLAY TEXT : Date of last pap
             21-ORDER TEXT SEQUENCE : 8
             24-LEADING TEXT : Date of last pap:
             26-START NEW LINE : YES
         Entry #9
            .01-SEQUENCE : 9
              2-ITEM : TMG OTP LAST PAP RESULTS (`16005 in #101.41)
              4-DISPLAY TEXT : Last pap results
             21-ORDER TEXT SEQUENCE : 9
             24-LEADING TEXT : Last Pap Results:
             26-START NEW LINE : YES
         Entry #10
            .01-SEQUENCE : 10
              2-ITEM : TMG OTP CLINICAL HISTORY (`16004 in #101.41)
              4-DISPLAY TEXT : Clinical History
             21-ORDER TEXT SEQUENCE : 10
             24-LEADING TEXT : Clinical History:
             26-START NEW LINE : YES
        Entry #11
            .01-SEQUENCE : 11
              2-ITEM : TMG OTP HPVH (`16006 in #101.41)
              4-DISPLAY TEXT : HPVH
             21-ORDER TEXT SEQUENCE : 11
             24-LEADING TEXT : HPVH:
             26-START NEW LINE : YES
         Entry #12
            .01-SEQUENCE : 12
              2-ITEM : TMG OTP DIAG (`16007 in #101.41)
              4-DISPLAY TEXT : Diagnosis
              7-MULTIPLE VALUED : YES
            7.1-MAX NUMBER OF MULTIPLES : 4
            7.2-TITLE : DX:
             21-ORDER TEXT SEQUENCE : 12
             24-LEADING TEXT : Diagnosis:
             26-START NEW LINE : YES
         Entry #13
            .01-SEQUENCE : 14
              2-ITEM : TMG PROVIDER (`16020 in #101.41)
              4-DISPLAY TEXT : Ordering Provider
              6-REQUIRED : YES
             21-ORDER TEXT SEQUENCE : 13
             24-LEADING TEXT : !! ORDERING PROVIDER IS:
             25-TRAILING TEXT : !!
             26-START NEW LINE : YES
     54-LISTBOX TEXT : TMG Pap
     99-TIMESTAMP : 66331,48573
 -------------------------------