STANDARD DATA DICTIONARY #101.45 -- AP DIALOG CONFIG FILE                                                         6/27/25    PAGE 1
STORED IN ^ORD(101.45,  (14 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                    (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains the information for the configuration of the AP Dialog for CPRS for AP ordering. There is one AP Dialog form
which can be reused for any orderable item for AP. This configuration will allow for control over default values, the ability to
find controls/prompts, and to build prompt assistance elements (builder blocks) that aid the user in populating the specimen
description or word processing fields such as clinical history.  


              DD ACCESS: @
              RD ACCESS: #
              WR ACCESS: #
             DEL ACCESS: #
           LAYGO ACCESS: #
           AUDIT ACCESS: @

SECONDARY KEY:      A (#148)
  Uniqueness Index: C (#1625)
       File, Field: 1) ORDERABLE ITEM (101.45,.04)


INDEXED BY:    ORDERABLE ITEM (AOI), NAME (B), ORDERABLE ITEM (C)


    LAST MODIFIED: SEP 20,2022@22:14:58

101.45,.01    NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$G(ORAPDLGEDIT)!($L(X)>72!($L(X)<2)) X
              MAXIMUM LENGTH:   72
              LAST EDITED:      FEB 24, 2022 
              HELP-PROMPT:      Answer must be 2-72 characters in length. 
              DESCRIPTION:
                                The name field is set automatically to match the name of the orderable item.  

              EXECUTABLE HELP:  I $G(ORAPDLGEDIT) W "     You may not edit the name."
              CROSS-REFERENCE:  ^^TRIGGER^101.45^.05 
                                1)= X ^DD(101.45,.01,1,1,1.3) I X S X=DIV S Y(1)=$S($D(^ORD(101.45,D0,0)):^(0),1:"") S X=$P(Y(1),U,
                                5),X=X S DIU=X K Y S X=DIV N DIERR S X=+$$EXTERNAL^DIDU(101.45,.05,"",DIU) X ^DD(101.45,.01,1,1,1.4
                                )

                                1.3)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(0)=X N DIERR S Y(1)=$S($D(^ORD(101.45,D0,0)):^(0),1:"") S X
                                =$$EXTERNAL^DIDU(101.45,.05,"",$P(Y(1),U,5))=""

                                1.4)= S DIH=$G(^ORD(101.45,DIV(0),0)),DIV=X S $P(^(0),U,5)=DIV,DIH=101.45,DIG=.05 D ^DICR

                                2)= Q
                                3)= You cannot change this field.
                                CREATE CONDITION)= NATIONAL STANDARD=""
                                CREATE VALUE)= +NATIONAL STANDARD
                                DELETE VALUE)= NO EFFECT
                                FIELD)= NATIONAL STANDARD
                                NOREINDEX)= 0
                                Sets the NATIONAL STANDARD field to NO if it's not already set.  


              FIELD INDEX:      B (#1339)    REGULAR    IR    LOOKUP & SORTING
                  Short Descr:  B Cross Reference
                  Description:  This is the B cross reference redone as a new style cross reference.  
                    Set Logic:  S ^ORD(101.45,"B",$E(X,1,72),DA)=""
                   Kill Logic:  K ^ORD(101.45,"B",$E(X,1,72),DA)
                   Whole Kill:  K ^ORD(101.45,"B")
                         X(1):  NAME  (101.45,.01)  (Subscr 1)  (Len 72)  (forwards)


101.45,.02    ALLOW OTHER SPECIMENS  0;2 SET

                                '0' FOR FALSE; 
                                '1' FOR TRUE; 
              LAST EDITED:      FEB 24, 2022 
              HELP-PROMPT:      Select TRUE to allow users to enter any specimen for this orderable item configuration. 
              DESCRIPTION:      By allowing the item of 'OTHER' to display as a choice in the specimen selection you will be
                                allowing the user to select any entry from file 61 as a specimen for the selected orderable item.
                                If there are no default specimens configured then 'OTHER' will display regardless of the value 
                                stored here.  


101.45,.03    RESTRICT MULTIPLE SPECIMEN 0;3 SET

                                '0' FOR FALSE; 
                                '1' FOR TRUE; 
              LAST EDITED:      FEB 24, 2022 
              HELP-PROMPT:      For multi specimen orders select TRUE to force the user in selecting multiple specimens of the same 
                                specimen. 
              DESCRIPTION:      When an orderable item is assigned multiple specimens it will, when this field is true, hide all
                                other specimens when the user selects one specimen from the list. When this happens the down arrow
                                for the combobox in the GUI is changed to a plus sign "+" meaning that the user can only add a
                                duplicate specimen to the order rather than the others in this configuration. In order to change
                                the currently selected specimen the user would need to delete all selections. Likewise, when this
                                field is not set the user will be allowed to associate all configured specimens with their order.  


101.45,.04    ORDERABLE ITEM         0;4 POINTER TO ORDERABLE ITEMS FILE (#101.43) (Required) (Key field)

              INPUT TRANSFORM:  S DIC("S")="I $$OK4CPRS^ORWLRAP1(Y)" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X
              LAST EDITED:      MAR 15, 2022 
              HELP-PROMPT:      Select an orderable item associated with a surgical pathology, cytology, or electron microscopy 
                                type lab test. 
              DESCRIPTION:      This is the laboratory orderable item defined by the screen as being associated with a surgical
                                pathology, cytology, or electron microscopy lab test.  

              SCREEN:           S DIC("S")="I $$OK4CPRS^ORWLRAP1(Y)"
              EXPLANATION:      Only orderable items associated with a lab test that is mapped to a LR CPRS PARAMETERS entry (via t
                                he CPRS SCREEN field).
              FIELD INDEX:      AOI (#1338)    MUMPS    IR    ACTION
                  Short Descr:  Update Name Field
                  Description:  This cross reference updates the NAME Field (#.01) with the name of the orderable item.  
                    Set Logic:  D SETNAME^ORAPDLG(DA,X1,X2)
                   Kill Logic:  D KILLNAME^ORAPDLG(DA,X1,X2)
                         X(1):  ORDERABLE ITEM  (101.45,.04)  (forwards)

              FIELD INDEX:      C (#1625)    REGULAR    IR    LOOKUP & SORTING
                   Unique for:  Key A (#148), File #101.45
                  Short Descr:  Uniqueness Index for Key 'A' of File #101.45
                  Description:  This index is on the Orderable Item field.  
                    Set Logic:  S ^ORD(101.45,"C",X,DA)=""
                   Kill Logic:  K ^ORD(101.45,"C",X,DA)
                   Whole Kill:  K ^ORD(101.45,"C")
                         X(1):  ORDERABLE ITEM  (101.45,.04)  (Subscr 1)


101.45,.05    NATIONAL STANDARD      0;5 SET (BOOLEAN Data Type)

              LAST EDITED:      FEB 24, 2022 
              HELP-PROMPT:      Enter YES if the anatomic pathology order dialog is a national standard. 
              DESCRIPTION:      Indicates this anatomic pathology order dialog is a national standard and should not be modified,
                                since it is subject to being changed by future patches.  

              WRITE AUTHORITY:  ^
                                UNEDITABLE
              NOTES:            TRIGGERED by the NAME field of the AP DIALOG CONFIG File 


101.45,.06    INACTIVE               0;6 SET (BOOLEAN Data Type)

              LAST EDITED:      FEB 24, 2022 
              HELP-PROMPT:      Enter YES if you want to prevent this dialog from showing in CPRS. 
              DESCRIPTION:
                                When set to Yes this order dialog will not be available in CPRS.  


101.45,1      ORDER PROMPTS          1;0 SET Multiple #101.451

              LAST EDITED:      FEB 24, 2022 
              DESCRIPTION:      Order Prompts refer to fields originally part of the Laboratory Order Dialog and have logic
                                associated to them outside of AP.  


101.451,.01     ORDER PROMPT           0;1 SET (Multiply asked)

                                  'OPURG' FOR URGENCY; 
                                  'OPCDT' FOR COLLECTION DATE/TIME; 
                                  'OPSSB' FOR SPECIMEN SUBMITTED BY; 
                                  'OPCTY' FOR COLLECTION TYPE; 
                                  'OPHOF' FOR HOW OFTEN; 
                                  'OPSPH' FOR SURGEON/PROVIDER; 
                                  'OPODC' FOR ORDER COMMENT; 
                LAST EDITED:      JUL 13, 2022 
                HELP-PROMPT:      Select the dialog control (legacy) in which you wish to apply configuration for. 
                DESCRIPTION:      Order Prompts refer to fields originally part of the Laboratory Order Dialog and have logic
                                  associated to them outside of AP.  

                CROSS-REFERENCE:  101.451^B 
                                  1)= S ^ORD(101.45,DA(1),1,"B",$E(X,1,30),DA)=""
                                  2)= K ^ORD(101.45,DA(1),1,"B",$E(X,1,30),DA)


101.451,.02     HIDE                   0;2 SET

                                  '0' FOR FALSE; 
                                  '1' FOR TRUE; 
                LAST EDITED:      FEB 24, 2022 
                HELP-PROMPT:      Select TRUE to hide the associated control from view which prevents the user from changing the 
                                  default response. If the associated control is required but not valued it will NOT be hidden. 
                DESCRIPTION:      If an order prompt is required but hidden and not given a default value either through here or
                                  legacy lab, then it will show regardless of this setting.  


101.451,.03     REQUIRED               0;3 SET

                                  '0' FOR FALSE; 
                                  '1' FOR TRUE; 
                LAST EDITED:      FEB 24, 2022 
                HELP-PROMPT:      Select TRUE to make this control required which will prevent an order from being accepted if the 
                                  associated control is not valued. 
                DESCRIPTION:      If an order prompt is required it will prevent an order from being accepted if the associated
                                  control is not valued.  


101.451,.04     DEFAULT                0;4 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>80!($L(X)<1) X
                MAXIMUM LENGTH:   80
                LAST EDITED:      JUL 06, 2022 
                HELP-PROMPT:      Answer must be 1-80 characters in length. 
                DESCRIPTION:      This value will be used as what would be the user's response if the user is unable to change it
                                  when the associated control is presented to them (if it is hidden). This value must be
                                  appropriate with the prompt, for example, Specimen Submitted by is a free text control so
                                  anything typed here could be populated in this control; however, a default of NOW for Urgency
                                  would not update the control as NOW is not a lab urgency.  




101.45,2      PAGES                  2;0 Multiple #101.452

              DESCRIPTION:      A page represents a word processing field for the order. Each page must be labeled (PAGE NAME) and
                                have a RESPONSE ID. If no additional configuration is provided then it will just be a word
                                processing field; otherwise, builder blocks can be created to assist with populating the word
                                processing field.  


101.452,.01     PAGE#                  0;1 NUMBER (Multiply asked)

                INPUT TRANSFORM:  K:+X'=X!(X>4)!(X<1)!(X?.E1"."1N.N) X S:$D(X) DINUM=X
                LAST EDITED:      JUL 08, 2022 
                HELP-PROMPT:      Type a number between 1 and 4, 0 decimal digits. This number does not determine placement within 
                                  the GUI. 
                DESCRIPTION:
                                  This is the page number which is used to identify internally this page configuration.  

                NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

                CROSS-REFERENCE:  101.452^B 
                                  1)= S ^ORD(101.45,DA(1),2,"B",$E(X,1,30),DA)=""
                                  2)= K ^ORD(101.45,DA(1),2,"B",$E(X,1,30),DA)


101.452,.02     PAGE NAME              0;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
                LAST EDITED:      FEB 24, 2022 
                HELP-PROMPT:      Type a response of 1-50 characters. This value will be used as the tab caption within the GUI. 
                DESCRIPTION:
                                  This value will be used as the tab caption for this page configuration in the GUI.  


101.452,.03     HIDE                   0;3 SET

                                  '0' FOR FALSE; 
                                  '1' FOR TRUE; 
                LAST EDITED:      FEB 24, 2022 
                HELP-PROMPT:      Select TRUE to hide a page which saves the configuration but prevents it from being used in the 
                                  GUI. 
                DESCRIPTION:
                                  If true then this page will NOT be sent over to the GUI to be rendered and included in the order.  


101.452,.04     REQUIRED               0;4 SET

                                  '0' FOR FALSE; 
                                  '1' FOR TRUE; 
                LAST EDITED:      FEB 24, 2022 
                HELP-PROMPT:      Select TRUE to make a page required which will prevent an order from being accepted if left 
                                  blank. 
                DESCRIPTION:      If true this page will prevent an order from being accepted if the associated control(s) (builder
                                  block or word processing) is not valued.  


101.452,.05     RESPONSE ID            0;5 FREE TEXT (Required)

                INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
                LAST EDITED:      FEB 24, 2022 
                HELP-PROMPT:      Type a response of 1-20 characters that matches an entry in the ORDER DIALOG file ID field. 
                DESCRIPTION:      Select the ORDER DIALOG this page will be linked to. This ORDER DIALOG should be a word
                                  processing type and must have an ID; otherwise, it cannot be saved to the order.  


101.452,.06     WP TITLE               0;6 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
                MAXIMUM LENGTH:   30
                LAST EDITED:      FEB 24, 2022 
                HELP-PROMPT:      Answer must be 1-30 characters in length. 
                DESCRIPTION:      This optional value will populate a label presented just above the word processing field within
                                  the page.  


101.452,1       BUILDER BLOCK          1;0 Multiple #101.4521

                LAST EDITED:      FEB 24, 2022 
                DESCRIPTION:
                                  This configuration represents an object used to assist the user in populating a free text field.  


101.4521,.01      PG BLOCK TITLE         0;1 FREE TEXT (Multiply asked)

                  INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
                  LAST EDITED:      FEB 24, 2022 
                  HELP-PROMPT:      Type a response of 1-50 characters that will populate the object's caption. 
                  DESCRIPTION:
                                    This value will populate the object's caption.  

                  CROSS-REFERENCE:  101.4521^B 
                                    1)= S ^ORD(101.45,DA(2),2,DA(1),1,"B",X,DA)=""
                                    2)= K ^ORD(101.45,DA(2),2,DA(1),1,"B",X,DA)


101.4521,.02      REQUIRED               0;2 SET

                                    '0' FOR FALSE; 
                                    '1' FOR TRUE; 
                  LAST EDITED:      FEB 24, 2022 
                  HELP-PROMPT:      Select TRUE to make this object required which will prevent the order from being accepted if 
                                    not valued. 
                  DESCRIPTION:
                                    If true this will prevent an order from being accepted if the object is not valued.  


101.4521,.03      LIST                   0;3 SET

                                    '0' FOR FALSE; 
                                    '1' FOR TRUE; 
                  LAST EDITED:      FEB 24, 2022 
                  HELP-PROMPT:      Select TRUE to make this object a list type. A page can only support one list. 
                  DESCRIPTION:      If true then this object will be displayed as a multi selectable list with checkboxes. Only one
                                    object pre page can be a list.  


101.4521,.04      DEFAULT                0;4 FREE TEXT

                  INPUT TRANSFORM:  K:$L(X)>150!($L(X)<1) X
                  MAXIMUM LENGTH:   150
                  LAST EDITED:      FEB 24, 2022 
                  HELP-PROMPT:      Type 1 to 150 characters that, if matches a value in the values list, will be auto selected on 
                                    creation. 
                  DESCRIPTION:
                                    This value will be used as what would be the user's response if left unchanged.  


101.4521,1        VALUES                 1;0 Multiple #101.45211

                  DESCRIPTION:
                                    These are the possible user selections for this object.  


101.45211,.01       VALUE                  0;1 FREE TEXT (Multiply asked)

                    INPUT TRANSFORM:  K:$L(X)>150!($L(X)<1) X
                    MAXIMUM LENGTH:   150
                    LAST EDITED:      FEB 24, 2022 
                    HELP-PROMPT:      Type 1 to 50 characters that will one of the values selectable by the user for this object. 
                    DESCRIPTION:      The number of values determine the appearance of the builder block element. Having no values
                                      will result in a free text edit field being created, having 1-3 will create a group of radio
                                      buttons (unless those values are very long), anything else (more than 3 or long values) will 
                                      result in a dropdown.  

                    CROSS-REFERENCE:  101.45211^B 
                                      1)= S ^ORD(101.45,DA(3),2,DA(2),1,DA(1),1,"B",$E(X,1,30),DA)=""
                                      2)= K ^ORD(101.45,DA(3),2,DA(2),1,DA(1),1,"B",$E(X,1,30),DA)


101.45211,.02       ASSOCIATE WITH         0;2 SET

                                      'D' FOR DATE; 
                                      'E' FOR EDIT; 
                    LAST EDITED:      FEB 24, 2022 
                    HELP-PROMPT:      Select 'D' to associate this value with a date/time picker or 'E' to associated it with a 
                                      free text field (only works when the control is a radio group). 
                    DESCRIPTION:      When a 'D', a date/time control is created and when an 'E', an edit control is created. The
                                      associated control is linked to the value so when the value is selected this control is
                                      enabled and when not selected this control is cleared and disabled.  


101.45211,.03       SPECIAL                0;3 NUMBER

                    INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<0)!(X?.E1"."1N.N) X
                    LAST EDITED:      FEB 24, 2022 
                    HELP-PROMPT:      Type a number between 0 and 9999 that equals the IEN of another builder block of this page 
                                      you wish to be made required when this value for this control is selected. 
                    DESCRIPTION:      Special allows a value of one element to require another element. So this field should be
                                      populated with the IEN of the element that needs to be made required when this value is
                                      selected.  


101.45211,.04       DATE RESTRICTION       0;4 SET

                                      'PDT' FOR PAST DATE/TIME; 
                                      'FDT' FOR FUTURE DATE/TIME; 
                                      'PD' FOR PAST DATE ONLY; 
                                      'FD' FOR FUTURE DATE ONLY; 
                    LAST EDITED:      FEB 24, 2022 
                    HELP-PROMPT:      Select a code to configure a date/time picker if the ASSOCIATED WITH field for this value 
                                      equals 'D' and this control is a radio group. 
                    DESCRIPTION:      Only valid if the value is associated with a date/time picker. This can be used to restrict
                                      that associated control to "D" date only or "DT" to allow time ("DT" is used if no choice is
                                      made) - "DT" does not force time, it only allows time.  
                                       
                                      This code also restricts the date range based on the first character of the code (P for Past
                                      and F for Future), this restriction always uses NOW (P = date < NOW and F = date > NOW).  








101.45,3      SPECIMEN               3;0 POINTER Multiple #101.453

              DESCRIPTION:      When a specimen is added here you will be able to add builder blocks to it to assist the user in
                                creating a specimen description. These specimen will be the only specimen selectable for this order
                                unless 'Other' has been allowed. Additionally, if there are no specimen here then the user will be
                                presented with 'Other' in which they can associate any specimen to this orderable item.  


              INDEXED BY:       SPECIMEN (S)

101.453,.01     SPECIMEN               0;1 POINTER TO TOPOGRAPHY FIELD FILE (#61) (Multiply asked)

                INPUT TRANSFORM:  S:$D(X) DINUM=X
                LAST EDITED:      FEB 24, 2022 
                HELP-PROMPT:      Select a specimen you wish to appear in the specimen dropdown in the order dialog. Only specimen 
                                  in this list can be configured. 
                DESCRIPTION:      When a specimen is added here you will be able to add builder blocks to it to assist the user in
                                  creating a specimen description. These specimen will be the only specimen selectable for this
                                  order unless 'Other' has been allowed. Additionally, if there are no specimen here then the user 
                                  will be presented with 'Other' in which they can associate any specimen to this orderable item.  

                NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

                CROSS-REFERENCE:  101.453^B 
                                  1)= S ^ORD(101.45,DA(1),3,"B",$E(X,1,30),DA)=""
                                  2)= K ^ORD(101.45,DA(1),3,"B",$E(X,1,30),DA)

                FIELD INDEX:      S (#1626)    REGULAR    IR    LOOKUP & SORTING
                    Short Descr:  Specimen Name
                    Description:  Used by the RPC: ORWLRAP1 SPEC to return the default specimen list for an orderable item.  
                      Set Logic:  S ^ORD(101.45,DA(1),3,"S",X,DA)=""
                     Kill Logic:  K ^ORD(101.45,DA(1),3,"S",X,DA)
                     Whole Kill:  K ^ORD(101.45,DA(1),3,"S")
                           X(1):  SPECIMEN  (101.453,.01)  (Subscr 1)  (forwards)
                                    Transform (Storage):  S X=$P($G(^LAB(61,+X,0)),U)


101.453,.02     HIDE FROM DESCRIPTION  0;2 SET

                                  '0' FOR FALSE; 
                                  '1' FOR TRUE; 
                LAST EDITED:      FEB 24, 2022 
                HELP-PROMPT:      Select TRUE if you wish this specimen name to be absent from the specimen description. 
                DESCRIPTION:      If true then the specimen name will not be added to the specimen description. The user is still
                                  able to type it into the specimen description if desired.  


101.453,.03     DESCRIPTION POSITION   0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>6)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      FEB 24, 2022 
                HELP-PROMPT:      Select a number between 0-6 to indicate the piece position you wish to have the specimen name 
                                  appear within the specimen description.  
                DESCRIPTION:      The specimen description is broken up into sections with every other section controlled by an
                                  object represented by a specimen multiple. Therefore, one builder block would result in three
                                  sections of the specimen description (four if the specimen is not hidden) - for each builder
                                  block here is a free text section before and after.  
                                   
                                  Ignoring free text sections you are choosing the order in which the specimen name appears in the
                                  specimen description among the builder blocks.  


101.453,1       BUILDER BLOCK          1;0 Multiple #101.4531

                LAST EDITED:      FEB 24, 2022 
                DESCRIPTION:      A builder block represents a selection that can be quickly used to populate a portion of the
                                  specimen description. You can build up to six of these elements per specimen.  Different specimen
                                  for any one orderable item can have different builder elements.  Builder elements will not be 
                                  carried over to other orderable items using the same specimen. If no builder elements are defined
                                  there will still be the free text input that will directly populate the description.  


101.4531,.01      SP BLOCK TITLE         0;1 FREE TEXT (Multiply asked)

                  INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
                  LAST EDITED:      FEB 24, 2022 
                  HELP-PROMPT:      Type 1-20 characters that will appear as this builder element's caption. 
                  DESCRIPTION:      A builder block represents a selection that can be quickly used to populate a portion of the
                                    specimen description. You can build up to six of these elements per specimen. Different
                                    specimen for any one orderable item can have different builder elements. Builder elements will
                                    not be carried over to other orderable items using the same specimen. If no builder elements
                                    are defined there will still be the free text input that will directly populate the
                                    description.  

                  CROSS-REFERENCE:  101.4531^B 
                                    1)= S ^ORD(101.45,DA(2),3,DA(1),1,"B",X,DA)=""
                                    2)= K ^ORD(101.45,DA(2),3,DA(1),1,"B",X,DA)


101.4531,.02      INACTIVATE             0;2 SET

                                    '0' FOR FALSE; 
                                    '1' FOR TRUE; 
                  LAST EDITED:      FEB 24, 2022 
                  HELP-PROMPT:      Select TRUE to prevent this object from being built within the order dialog. 
                  DESCRIPTION:
                                    If true this builder block will not be built within the order dialog.  


101.4531,.03      REQUIRED               0;3 SET

                                    '0' FOR FALSE; 
                                    '1' FOR TRUE; 
                  LAST EDITED:      FEB 24, 2022 
                  HELP-PROMPT:      Select TRUE to make this object required which will prevent the order from being accepted if 
                                    left unvalued. 
                  DESCRIPTION:
                                    If true this object will prevent an order from being accepted if left unvalued.  


101.4531,.04      DEFAULT                0;4 FREE TEXT

                  INPUT TRANSFORM:  K:$L(X)>75!($L(X)<1) X
                  LAST EDITED:      FEB 24, 2022 
                  HELP-PROMPT:      Type a response of 1-75 characters which will be used as the user's response if left unchanged. 
                  DESCRIPTION:
                                    This value will be used as what would be the user's response if left unchanged.  


101.4531,.05      DESCRIPTION POSITION   0;5 NUMBER

                  INPUT TRANSFORM:  K:+X'=X!(X>6)!(X<0)!(X?.E1"."1N.N) X
                  LAST EDITED:      FEB 24, 2022 
                  HELP-PROMPT:      Select a number between 0-6 to indicate the piece position you wish to have this object's value 
                                    appear within the specimen description. 
                  DESCRIPTION:      The specimen description is broken up into sections with every other section controlled by an
                                    object represented by a specimen multiple. Therefore, one builder block would result in three
                                    sections of the specimen description (four if the specimen is not hidden) - for each builder
                                    block here is a free text section before and after.  
                                     
                                    Ignoring free text sections you are choosing the order in which this object's value appears in
                                    the specimen description among other builder blocks.  


101.4531,1        VALUES                 1;0 Multiple #101.45311

                  DESCRIPTION:
                                    These are the possible user selections for this object.  


101.45311,.01       VALUES                 0;1 FREE TEXT (Multiply asked)

                    INPUT TRANSFORM:  K:$L(X)>75!($L(X)<1) X
                    LAST EDITED:      FEB 24, 2022 
                    HELP-PROMPT:      Type 1-75 characters which will appear as a selectable choice for this object. 
                    DESCRIPTION:      The number of values determine the appearance of the builder block element. Having no values
                                      will result in a free text edit field being created, having 1-3 will create a group of radio
                                      buttons (unless those values are very long), anything else (more than 3 or long values) will 
                                      result in a dropdown.  

                    CROSS-REFERENCE:  101.45311^B 
                                      1)= S ^ORD(101.45,DA(3),3,DA(2),1,DA(1),1,"B",X,DA)=""
                                      2)= K ^ORD(101.45,DA(3),3,DA(2),1,DA(1),1,"B",X,DA)


101.45311,.02       SPECIAL                0;2 FREE TEXT

                    INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
                    MAXIMUM LENGTH:   50
                    LAST EDITED:      FEB 24, 2022 
                    HELP-PROMPT:      Type a coded value of 1 to 50 characters to indicate on selection of this value which order 
                                      prompt to change and to what value to change it to (example: URG;1). 
                    DESCRIPTION:      This coded value will be used to select an order prompt and update its value when this value
                                      is selected. An example of "URG;1" would mean that when this value is selected update the
                                      Urgency order prompt with a value of 1 which is STAT.  






101.453,2.1     COLLECTION SAMPLE HIDE     2;1 SET

                                      '0' FOR FALSE; 
                                      '1' FOR TRUE; 
                    LAST EDITED:      FEB 24, 2022 
                    HELP-PROMPT:      Select TRUE if you wish to hide the collection sample for this specimen. If there is no 
                                      default value it will not be hidden. 
                    DESCRIPTION:      If true then this specimen's collection sample will be hidden which will prevent the user
                                      from changing the default value. If there is no default value the associated control will not
                                      be hidden.  


101.453,2.2     COLLECTION SAMPLE DEFAULT  2;2 POINTER TO COLLECTION SAMPLE FILE (#62)

                    LAST EDITED:      FEB 24, 2022 
                    HELP-PROMPT:      Select the collection sample you wish to apply to this specimen. If hidden the user will be 
                                      unable to change this value. 
                    DESCRIPTION:      This is the value for the collection sample for this specimen. This value updates the
                                      associated control after legacy lab. If the control is hidden the user will be unable to
                                      change this value.  




101.45,4      PROMPT CHANGE MESSAGE  4;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
              LAST EDITED:      JUL 13, 2022 
              HELP-PROMPT:      Type a response of 1-245 characters that will be displayed to the user as a warning message when a 
                                specimen builder block is set to change the value of an ORDER PROMPTS control. 
              DESCRIPTION:      The 'PROMPT MESSAGE' is displayed when a specimen builder block is set to change an order prompt
                                value. When this happens you have the option to notify the user of this change. There are three
                                values that you will have access to that can be used in your message: cType = the order prompt such 
                                as URGENCY, oVal = the value of the order prompt before the change, and nVal = is the value of the
                                order prompt after the change, this value is also provided because it could be that the intended
                                change was unsuccessful, thus nVal <> the value to change to even if it does. You can include line
                                breaks by using characters 13,10.  



      FILES POINTED TO                      FIELDS

COLLECTION SAMPLE (#62)           SPECIMEN:COLLECTION SAMPLE DEFAULT (#2.2)

ORDERABLE ITEMS (#101.43)         ORDERABLE ITEM (#.04)

TOPOGRAPHY FIELD (#61)            SPECIMEN:SPECIMEN (#.01)



INPUT TEMPLATE(S):
OR AP DIALOG ACTIVATE ONLY    FEB 24, 2022@09:48  USER #0    
     This template is used by Option ORCM UPDATE AP DIALOGS to update the
     Inactive field in the AP DIALOG CONFIG File (#101.45).
OR AP DIALOG EDIT TEMPLATE    JUL 08, 2022@16:17  USER #0    
     This template is used by Option ORCM UPDATE AP DIALOGS to update entries 
     in the AP DIALOG CONFIG File (#101.45).

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):