home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 March / CHIPCD_3_98.iso / software / testsoft / exchange / mtadata / p772.tpl < prev    next >
Text File  |  1997-08-25  |  41KB  |  765 lines

  1. (* $Workfile:   p772.xv2  $ $Revision:   1.0  $ *)
  2.  
  3. (*****************************************************************************)
  4. (* ASN.1 P772 DATA-TYPE TEMPLATE                                             *)
  5. (*                                                                           *)
  6. (* - Defines: Military Messaging Handling System extensions to X.420         *)
  7. (*                                                                           *)
  8. (*****************************************************************************)
  9.  
  10. InformationObject          LABEL     = zapdu               T=special case
  11.                            STRUCTURE = CHOICE              C=none
  12.                            CHILDREN  = { <zmmes, C  0 C,O,0>,
  13.                                          <zmnot, C  1 C,O,0> }
  14.  
  15. (*****************************************************************************)
  16. (* MM Message                                                                *)
  17. (*****************************************************************************)
  18.  
  19. MM                         LABEL     = zmmes               T=0
  20.                            STRUCTURE = SEQUENCE            C=MIL_MESSAGE
  21.                            CHILDREN  = { <zhead, U 17 C,M,0>,
  22.                                          <zbody, U 16 C,M,0> }
  23.  
  24. ForwardedMM                LABEL     = zfpdu               T=MM
  25.                            STRUCTURE = SEQUENCE            C=MIL_MESSAGE
  26.                            CHILDREN  = { <zhead, U 17 C,M,0>,
  27.                                          <zbody, U 16 C,M,0> }
  28.  
  29. (*****************************************************************************)
  30. (* MM Message - HEADING                                                      *)
  31. (*****************************************************************************)
  32.  
  33. Heading                    LABEL     = zhead
  34.                            STRUCTURE = SET
  35.                            CHILDREN  = { <zthmm, A 11 C,M,0>,
  36.                                          <zorig, C  0 C,O,0>,
  37.                                          <zauth, C  1 C,O,0>,
  38.                                          <zprir, C  2 C,D,0>,
  39.                                          <zcpyr, C  3 C,D,0>,
  40.                                          <zbldr, C  4 C,O,0>,
  41.                                          <zinrp, C  5 C,O,0>,
  42.                                          <zobsl, C  6 C,D,0>,
  43.                                          <zxref, C  7 C,D,0>,
  44.                                          <zsubj, C  8 C,O,0>,
  45.                                          <zexpd, C  9 P,O,0>,
  46.                                          <zrptm, C 10 P,O,0>,
  47.                                          <zrpre, C 11 C,O,0>,
  48.                                          <zimpt, C 12 P,D,0>,
  49.                                          <zsens, C 13 P,O,0>,
  50.                                          <zafwd, C 14 P,D,0>,
  51.                                          <zextn, C 15 C,D,0> }
  52.  
  53. (*****************************************************************************)
  54. (* Heading fields                                                            *)
  55. (*****************************************************************************)
  56.  
  57. ThisMMField                LABEL     = zthmm               T=THIS_MM
  58.                            STRUCTURE = SET                 C=MM_IDENTIFIER
  59.                            TAG       = (A 11 C)
  60.                            CHILDREN  = { <zuser, A  0 C,M,0>,
  61.                                          <zurid, U 19 S,M,64> }
  62.  
  63. User                       LABEL     = zuser               T=USER
  64.                            STRUCTURE = SEQUENCE            C=MH_C_OR_NAME
  65.                            TAG       = (A 0 C)
  66.                            CHILDREN  = { <dsatt, U 16 C,M,0>E,
  67.                                          <dddal, U 16 C,O,0>,
  68.                                          <dxatl, U 17 C,O,0>,}
  69.                                          <5nam3, C  0 C,O,0> }
  70.  
  71. LocalMMIdentifier          LABEL     = zurid               T=USER_RELATIVE_I..
  72.                            STRUCTURE = PRINTABLE STRING
  73.  
  74. Originator                 LABEL     = zorig               T=ORIGINATOR
  75.                            STRUCTURE = SET                 C=IM_C_OR_DESCRIP..
  76.                            CHILDREN  = { <dornm, A  0 C,O,0>,
  77.                                          <0ffnm, C  0 P,O,0>,
  78.                                          <0teln, C  1 P,O,32> }
  79.  
  80. AuthorisingUsers           LABEL     = zauth
  81.                            STRUCTURE = SEQUENCE OF
  82.                            LIMIT     = 32767
  83.                            CHILDREN  = { <zaord, U 17 C,O,0> }
  84.  
  85. AuthorisingUser            LABEL     = zaord               T=AUTHORISING_USERS
  86.                            STRUCTURE = SET                 C=IM_C_OR_DESCRIP..
  87.                            CHILDREN  = { <dornm, A  0 C,O,0>,
  88.                                          <0ffnm, C  0 P,O,0>,
  89.                                          <0teln, C  1 P,O,32> }
  90.  
  91. PrimaryRecipients          LABEL     = zprir               T=PRIMARY_RECIPIE..
  92.                            STRUCTURE = SEQUENCE OF
  93.                            LIMIT     = 32767
  94.                            CHILDREN  = { <zrcip, U 17 C,O,0> }
  95.  
  96. Primary Recipient          LABEL     = zrcip               T=PRIMARY_RECIPIE..
  97.                            STRUCTURE = SET                 C=MIL_RECIPIENT_S..
  98.                            CHILDREN  = { <0ords, C  0 C,M,0>,
  99.                                          <0repr, C  1 P,D,0>,
  100.                                          <0rpyr, C  2 P,D,0>,
  101.                                          <zreex, C  3 C,O,0> }
  102.  
  103. CopyRecipients             LABEL     = zcpyr               T=COPY_RECIPIENTS
  104.                            STRUCTURE = SEQUENCE OF
  105.                            LIMIT     = 32767
  106.                            CHILDREN  = { <zccip, U 17 C,O,0> }
  107.  
  108. Copy Recipient             LABEL     = zccip               T=COPY_RECIPIENTS
  109.                            STRUCTURE = SET                 C=MIL_RECIPIENT_S..
  110.                            CHILDREN  = { <0ords, C  0 C,M,0>,
  111.                                          <0repr  C  1 P,D,0>,
  112.                                          <0rpyr, C  2 P,D,0>,
  113.                                          <zreex, C  3 C,O,0> }
  114.  
  115. BlindCopyRecipients        LABEL     = zbldr               T=BLIND_COPY_RECI..
  116.                            STRUCTURE = SEQUENCE OF
  117.                            LIMIT     = 32767
  118.                            CHILDREN  = { <zbcip, U 17 C,O,0> }
  119.  
  120. BlindCopy Recipient        LABEL     = zbcip               T=BLIND_COPY_RECI..
  121.                            STRUCTURE = SET                 C=MIL_RECIPIENT_S..
  122.                            CHILDREN  = { <0ords, C  0 C,M,0>,
  123.                                          <0repr  C  1 P,D,0>,
  124.                                          <0rpyr, C  2 P,D,0>,
  125.                                          <zreex, C  3 C,O,0> }
  126.  
  127. RecipientExtensionsField   LABEL     = zreex               T=special case
  128.                            STRUCTURE = SET OF              C=none
  129.                            CHILDREN  = { <zrext, U 16 C,O,0> }
  130.  
  131. Recipient Extensions       LABEL     = zrext               T=special case
  132.                            STRUCTURE = SEQUENCE            C=none
  133.                            CHILDREN  = { <zreft, U 6 P,M,0>*,
  134.                                          <zrdby, U 0 P,D,0>  }
  135.  
  136. Defining type              LABEL     = zreft               T=special case
  137.                            STRUCTURE = OBJECT IDENTIFIER   C=none
  138.  
  139. Extension Value            LABEL     = zrdby               T=special case
  140.                            STRUCTURE = ANY DEFINED BY      C=none
  141.                            DEFGLABEL = zreft
  142.                            REGISTER  = { <{1 3 26 0 4406 0 2 15},zanrq,U3S,0> }
  143.  
  144. RepliedToMMField           LABEL     = zinrp               T=REPLIED_TO_MM
  145.                            STRUCTURE = SET                 C=MM_IDENTIFIER
  146.                            TAG       = (A 11 C)
  147.                            CHILDREN  = { <zuser, A  0 C,O,0>,
  148.                                          <zurid, U 19 P,M,64> }
  149.  
  150. ObsoletedMMsField          LABEL     = zobsl               T=OBSOLETED_MMS
  151.                            STRUCTURE = SEQUENCE OF
  152.                            LIMIT     = 32767
  153.                            CHILDREN  = { <zipob, A 11 C,O,0> }
  154.  
  155. ObseletedMMsSubfield       LABEL     = zipob               T=OBSOLETED_MMS
  156.                            STRUCTURE = SET                 C=MM_IDENTIFIER
  157.                            TAG       = (A 11 C)
  158.                            CHILDREN  = { <zuser, A  0 C,O,0>,
  159.                                          <zurid, U 19 P,M,64> }
  160.  
  161. RelatedMMsField            LABEL     = zxref               T=RELATED_MMS
  162.                            STRUCTURE = SEQUENCE OF
  163.                            LIMIT     = 32767
  164.                            CHILDREN  = { <zipxr, A 11 C,O,0> }
  165.  
  166. RelatedMMsSubfield         LABEL     = zipxr               T=RELATED_MMS
  167.                            STRUCTURE = SET                 C=MM_IDENTIFIER
  168.                            TAG       = (A 11 C)
  169.                            CHILDREN  = { <zuser, A  0 C,O,0>,
  170.                                          <zurid, U 19 P,M,64> }
  171.  
  172. Subject                    LABEL     = zsubj               T=SUBJECT
  173.                            STRUCTURE = TAG
  174.                            TAG       = (C 8 C)
  175.                            CHILDREN  = { <Ctexs, U 20 S,O,256> }
  176.  
  177. ExpiryDate                 LABEL     = zexpd               T=EXPIRY_TIME
  178.                            STRUCTURE = UTC TIME
  179.  
  180. ReplyTime                  LABEL     = zrptm               T=REPLY_TIME
  181.                            STRUCTURE = UTC TIME
  182.  
  183. ReplyRecipients            LABEL     = zrpre               T=REPLY_RECIPIENTS
  184.                            STRUCTURE = SEQUENCE OF
  185.                            LIMIT     = 32767
  186.                            CHILDREN  = { <zrtus, U 17 C,O,0> }
  187.  
  188. Reply Recipient            LABEL     = zrtus               T=REPLY_RECIPIENTS
  189.                            STRUCTURE = SET                 C=IM_C_OR_DESCRIP..
  190.                            CHILDREN  = { <dornm, A  0 C,O,0>,
  191.                                          <0ffnm, C  0 P,O,0>,
  192.                                          <0teln, C  1 P,O,32> }
  193.  
  194. Importance                 LABEL     = zimpt               T=IMPORTANCE
  195.                            STRUCTURE = ENUMERATED
  196.  
  197. Sensitivity                LABEL     = zsens               T=special case
  198.                            STRUCTURE = ENUMERATED
  199.  
  200. Autoforwarded              LABEL     = zafwd               T=AUTO_FORWARDED
  201.                            STRUCTURE = BOOLEAN
  202.  
  203. Heading Extensions Field   LABEL     = zextn               T=special case
  204.                            STRUCTURE = SET OF              C=none
  205.                            CHILDREN  = { <zhext, U 16 C,O,0> }
  206.  
  207. MMS Extension              LABEL     = zhext               T=special case
  208.                            STRUCTURE = SEQUENCE            C=none
  209.                            CHILDREN  = { <zdeft, U 6 P,M,0>*,
  210.                                          <zadby, U 0 P,D,0>  }
  211.  
  212. Defining type              LABEL     = zdeft               T=special case
  213.                            STRUCTURE = OBJECT IDENTIFIER   C=none
  214.  
  215. Extension Value            LABEL     = zadby               T=special case
  216.                            STRUCTURE = ANY DEFINED BY      C=none
  217.                            DEFGLABEL = zdeft
  218.                            REGISTER  = { <{2 6 1 5 0},znull, U  5 P,0>  ,
  219.                                          <{2 6 1 5 1},zlngs, U 17 C,0>  ,
  220.                                          <{1 3 26 0 4406 0 2 4},zexea,U16C,0>,
  221.                                          <{1 3 26 0 4406 0 2 5},zexai,U23P,0>,
  222.                                          <{1 3 26 0 4406 0 2 6},zdisc,U17C,0>,
  223.                                          <{1 3 26 0 4406 0 2 8},zmsgs,U16C,0>,
  224.                                          <{1 3 26 0 4406 0 2 10},zoref,U19S,0>,
  225.                                          <{1 3 26 0 4406 0 2 0},zppre,U2P,0>,
  226.                                          <{1 3 26 0 4406 0 2 1},zcpre,U2P,0>,
  227.                                          <{1 3 26 0 4406 0 2 2},zmsty,U17C,0>,
  228.                                          <{1 3 26 0 4406 0 2 11},zorin,U16C,0>,
  229.                                          <{1 3 26 0 4406 0 2 9},zcome,U2P,0>,
  230.                                          <{1 3 26 0 4406 0 2 3},zadli,U16C,0>,
  231.                                          <{1 3 26 0 4406 0 2 7},zhain,U16C,0>,
  232.                                          <{1 3 26 0 4406 0 2 12},zpifi,U16C,0>,
  233.                                          <{1 3 26 0 4406 0 2 13},zamid,U19S,0>,
  234.                                          <{1 3 26 0 4406 0 2 14},zorpl,U19S,0>}
  235.  
  236. (*****************************************************************************)
  237. (* Recipient specifier extension                                             *)
  238. (*****************************************************************************)
  239.  
  240. 15acp127NotificationReq    LABEL     = zanrq               T=ACP127_NOTIF_REQ
  241.                            STRUCTURE = BIT STRING
  242.  
  243. (*****************************************************************************)
  244. (* Heading extensions                                                        *)
  245. (*****************************************************************************)
  246.  
  247. Null                       LABEL     = znull               T=special case
  248.                            STRUCTURE = NULL
  249.  
  250. Languages                  LABEL     = zlngs               T=LANGUAGES
  251.                            STRUCTURE = SET OF
  252.                            CHILDREN  = { <zlang, U 19 P,O,2> }
  253.  
  254. Language                   LABEL     = zlang               T=LANGUAGES
  255.                            STRUCTURE = PRINTABLE STRING
  256.  
  257.  
  258. 4exemptedAddress           LABEL     = zexea               T=EXEMPTED_ADDRESS
  259.                            STRUCTURE = SEQUENCE OF
  260.                            CHILDREN  = { <zexad, U 17 C,O,0> }
  261.  
  262. ExemptedAddress            LABEL     = zexad               T=EXEMPTED_ADDRESS
  263.                            STRUCTURE = SET                 C=IM_C_OR_DESCRIP..
  264.                            CHILDREN  = { <dornm, A  0 C,O,0>,
  265.                                          <0ffnm, C  0 P,O,0>,
  266.                                          <0teln, C  1 P,O,32> }
  267.  
  268. 5extendedAuthorisationInfo LABEL     = zexai               T=EXTENDED_AUTH_IN..
  269.                            STRUCTURE = UTC TIME
  270.  
  271. 6DistributionCodes         LABEL     = zdisc               T=DISTRIBUTION_COD..
  272.                            STRUCTURE = SET                 C=DISTRIBUTION_CODE
  273.                            CHILDREN  = { <zsics, C  0 C,O,0>,
  274.                                          <zdixs, C  1 C,O,0> }
  275.  
  276. sics                       LABEL     = zsics               T=SIC
  277.                            STRUCTURE = SEQUENCE OF
  278.                            LIMIT     = 8
  279.                            CHILDREN  = { <zsicc, U 19 P,O,8> }
  280.  
  281. Sic                        LABEL     = zsicc               T=SIC
  282.                            STRUCTURE = PRINTABLE STRING
  283.  
  284. dist-Extensions            LABEL     = zdixs               T=DIST_EXTENSIONS
  285.                            STRUCTURE = SEQUENCE OF
  286.                            CHILDREN  = { <zdiex, U 16 C,O,0> }
  287.  
  288. distributionExtensionField LABEL     = zdiex               T=DIST_EXTENSIONS
  289.                            STRUCTURE = SEQUENCE            C=DISTRIBUTION_EXT
  290.                            CHILDREN  = { <zdity, U  6 P,M,0>*,
  291.                                          <zdivl, U  0 P,M,0> }
  292.  
  293. dist-type                  LABEL     = zdity               T=DIST_TYPE
  294.                            STRUCTURE = OBJECT IDENTIFIER
  295.  
  296. dist-value                 LABEL     = zdivl               T=special case
  297.                            STRUCTURE = ANY DEFINED BY
  298.                            DEFGLABEL = zdity
  299.                            CHILDREN  = { }
  300.  
  301. 8messageInstructions       LABEL     = zmsgs               T=MESSAGE_INSTRUCT..
  302.                            STRUCTURE = SEQUENCE OF
  303.                            CHILDREN  = { <zmsgi, U 19 P,O,69> }
  304.  
  305. messageInstruction         LABEL     = zmsgi               T=MESSAGE_INSTRUCT..
  306.                            STRUCTURE = PRINTABLE STRING
  307.  
  308. 10originatorReference      LABEL     = zoref               T=ORIGINATOR_REFER..
  309.                            STRUCTURE = PRINTABLE STRING
  310.  
  311. 0primaryPrecedence         LABEL     = zppre               T=PRIMARY_PRECEDEN..
  312.                            STRUCTURE = INTEGER             C=oivrenum
  313.  
  314. 1copyPrecedence            LABEL     = zcpre               T=COPY_PRECEDENCE
  315.                            STRUCTURE = INTEGER             C=oivrenum
  316.  
  317. 2MessageType               LABEL     = zmsty               T=MESSAGE_TYPE
  318.                            STRUCTURE = SET                 C=MESSAGE_TYPE
  319.                            CHILDREN  = { <zmstt, C  0 P,M,0>,
  320.                                          <zmsti, C  1 P,O,69> }
  321.  
  322. MessageTypeType            LABEL     = zmstt               T=MESSAGE_TYPE_TYPE
  323.                            STRUCTURE = INTEGER             C=oivrenum
  324.  
  325. MessageTypeIdentifier      LABEL     = zmsti               T=MESSAGE_TYPE_IDE..
  326.                            STRUCTURE = PRINTABLE STRING
  327.  
  328. 11otherRecipientsIndicator LABEL     = zorin               T=OTHER_RECIPIENTS..
  329.                            STRUCTURE = SEQUENCE OF
  330.                            CHILDREN  = { <zorde, U 17 C,O,0> }
  331.  
  332. OtherRecipientDesignator   LABEL     = zorde               T=OTHER_RECIPIENTS..
  333.                            STRUCTURE = SET                 C=RECIPIENT_DESIGN..
  334.                            CHILDREN  = { <zordt, C  0 P,M,0>,
  335.                                          <zordd, C  1 P,M,69> }
  336.  
  337. OtherRecipientDesigType    LABEL     = zordt               T=RCPT_TYPE
  338.                            STRUCTURE = INTEGER
  339.  
  340. OtherRecipientDesigDesig   LABEL     = zordd               T=RCPT_IDENTIFIER
  341.                            STRUCTURE = PRINTABLE STRING
  342.  
  343. 9codressMessage            LABEL     = zcome               T=CODRESS_MESSAGE
  344.                            STRUCTURE = INTEGER
  345.  
  346. 3addressListIndicator      LABEL     = zadli               T=ADDR_LIST_INDICA..
  347.                            STRUCTURE = SEQUENCE OF
  348.                            CHILDREN  = { <zadld, U 17 C,O,0> }
  349.  
  350. addressListDesignator      LABEL     = zadld               T=ADDR_LIST_INDICA..
  351.                            STRUCTURE = SET                 C=ADDR_LIST_DESIG
  352.                            CHILDREN  = { <zlsty, C  0 P,M,0>,
  353.                                          <zlstn, C  1 C,M,0>,
  354.                                          <zalnr, C  2 P,O,0>,
  355.                                          <zalrr, C  3 P,O,0> }
  356.  
  357. AddressListType            LABEL     = zlsty               T=ADDR_LIST_TYPE
  358.                            STRUCTURE = INTEGER             C=oivrenum
  359.  
  360. listName                   LABEL     = zlstn               T=ADDR_LIST_NAME
  361.                            STRUCTURE = SET                 C=IM_C_OR_DESCRIP..
  362.                            CHILDREN  = { <dornm, A  0 C,O,0>,
  363.                                          <0ffnm, C  0 P,O,0>,
  364.                                          <0teln, C  1 P,O,32> }
  365.  
  366. notificationRequest        LABEL     = zalnr               T=NOTIF_REQUEST
  367.                            STRUCTURE = INTEGER             C=oivrenum
  368.  
  369. replyRequest               LABEL     = zalrr               T=REPLY_REQUEST
  370.                            STRUCTURE = INTEGER             C=oivrenum
  371.  
  372. 7handlingInstructions      LABEL     = zhain               T=HANDLING_INSTRUC..
  373.                            STRUCTURE = SEQUENCE OF
  374.                            CHILDREN  = { <zhais, U 19 P,O,69> }
  375.  
  376. HandlingInstructions       LABEL     = zhais               T=HANDLING_INSTRUC..
  377.                            STRUCTURE = PRINTABLE STRING
  378.  
  379. 12pilotForwardingInfo      LABEL     = zpifi               T=PILOT_FORWARDING..
  380.                            STRUCTURE = SEQUENCE OF
  381.                            CHILDREN  = { <zpinf, U 16 C,O,0> }
  382.  
  383. pilotInformation           LABEL     = zpinf               T=PILOT_FORWARDING..
  384.                            STRUCTURE = SEQUENCE            C=PILOT_INFO
  385.                            CHILDREN  = { <zpipr, C  0 P,O,0>,
  386.                                          <zpire, C  1 C,O,0>,
  387.                                          <zpise, C  2 C,O,0>,
  388.                                          <zpiha, C  3 C,O,0> }
  389.  
  390. pilotPrecedence            LABEL     = zpipr               T=PILOT_PRECEDENCE
  391.                            STRUCTURE = INTEGER             C=oivrenum
  392.  
  393. pilotRecipient             LABEL     = zpire               T=PILOT_RECIPIENT
  394.                            STRUCTURE = SEQUENCE OF
  395.                            CHILDREN  = { <zpiro, U 17 C,O,0> }
  396.  
  397. pilotRecipORDescriptor     LABEL     = zpiro               T=PILOT_RECIPIENT
  398.                            STRUCTURE = SET                 C=IM_C_OR_DESCRIP..
  399.                            CHILDREN  = { <dornm, A  0 C,O,0>,
  400.                                          <0ffnm, C  0 P,O,0>,
  401.                                          <0teln, C  1 P,O,32> }
  402.  
  403. pilotSecurity              LABEL     = zpise               T=PILOT_SECURITY
  404.                            STRUCTURE = SET                 C=MH_C_SECURITY_L..
  405.                            CHILDREN  = { <Mspid, U  6 P,O,0>   ,
  406.                                          <Mscls, U  2 P,O,0>   ,
  407.                                          <Mpvmk, U 19 P,O,128> ,
  408.                                          <Mscts, U 17 C,O,0>    }
  409.  
  410. pilotHandling              LABEL     = zpiha               T=PILOT_HANDLING
  411.                            STRUCTURE = SET OF
  412.                            CHILDREN  = { <zpih2, U 19 P,O,69> }
  413.  
  414. Pilothandling2             LABEL     = zpih2               T=PILOT_HANDLING
  415.                            STRUCTURE = PRINTABLE STRING
  416.  
  417. 13acp127MessageIdentifier  LABEL     = zamid               T=ACP127_MESSAGE_ID
  418.                            STRUCTURE = PRINTABLE STRING
  419.  
  420. 14originatorPlad           LABEL     = zorpl               T=ORIGINATOR_PLAD
  421.                            STRUCTURE = PRINTABLE STRING
  422.  
  423. (*****************************************************************************)
  424. (* Military Message body                                                     *)
  425. (*****************************************************************************)
  426.  
  427. MMMessageBody              LABEL     = zbody               T=BODY
  428.                            STRUCTURE = SEQUENCE OF
  429.                            LIMIT     = 32767
  430.                            CHILDREN  = { <zbdyp, U  0 P,O,0> }
  431.  
  432. (*****************************************************************************)
  433. (* Body parts 1 & 10 are 84 P2 only !                                        *)
  434. (*****************************************************************************)
  435. BodyPart                   LABEL     = zbdyp               T=special case
  436.                            STRUCTURE = CHOICE
  437.                            CHILDREN  = { <0ia5t, C   0 C,O,0>,
  438.                                          <0tlxb, C   1 C,O,0>,
  439.                                          <0g3fx, C   3 C,O,0>,
  440.                                          <0g4c1, C   4 C,O,0>,
  441.                                          <0ttxb, C   5 C,O,0>,
  442.                                          <0vidt, C   6 C,O,0>,
  443.                                          <0natd, C   7 C,O,0>,
  444.                                          <0encr, C   8 C,O,0>,
  445.                                          <0msgb, C   9 C,O,0>,
  446.                                          <0sfdb, C  10 C,O,0>,
  447.                                          <0mixd, C  11 C,O,0>,
  448.                                          <06937, C  13 C,O,0>,
  449.                                          <0bild, C  14 S,O,0>,
  450.                                          <zedef, C  15 C,O,0>,
  451.                                          <0usan, C 310 C,O,0>,
  452.                                          <0unid, U   0 P,O,0> }
  453.  
  454. ExternallyDefinedBodyPart  LABEL     = zedef               T=BODY
  455.                            STRUCTURE = SEQUENCE            C=EXTERN_DEF_BD_PRT
  456.                            TAG       = (C 15 C)
  457.                            CHILDREN  = { <zepar, C 0 C,O,0>,
  458.                                          <zedat, U 8 C,M,0> }
  459.  
  460. ExternallyDefinedParams    LABEL     = zepar               T=special_case
  461.                            STRUCTURE = SEQUENCE
  462.                            CHILDREN  = { <zdrfp, U 6 P,M,0>,
  463.                                          <0encd, U 0 P,M,0> }
  464.  
  465. ExternallyDefinedData      LABEL     = zedat               T=0
  466.                            STRUCTURE = SEQUENCE
  467.                            TAG       = (U 8 C)
  468.                            CHILDREN  = { <zdrfd, U 6 P,M,0>,
  469.                                          <0encd, U 0 P,M,0> }
  470.  
  471. Direct Reference           LABEL     = zdrfp               T=special_case
  472.                            STRUCTURE = OBJECT IDENTIFIER
  473.  
  474. Direct Reference           LABEL     = zdrfd               T=special_case
  475.                            STRUCTURE = OBJECT IDENTIFIER
  476.  
  477. (*****************************************************************************)
  478. (* Military Notification                                                     *)
  479. (*****************************************************************************)
  480.  
  481. MN                         LABEL     = zmnot               T=0
  482.                            STRUCTURE = SET                 C=MIL_NOTIF
  483.                            CHILDREN  = { <zrcho, C  0 C,M,0>,
  484.                                          <zsbmm, A 11 C,M,0>,
  485.                                          <zmnof, C  1 C,O,0>,
  486.                                          <zmprf, C  2 C,O,0>,
  487.                                          <znoex, C  3 C,O,0> }
  488.  
  489. RecipientChoice            LABEL     = zrcho               T=special case
  490.                            STRUCTURE = CHOICE
  491.                            TAG       = (C 0 C)
  492.                            CHILDREN  = { <znrif, C  0 C,O,0>,
  493.                                          <zrcif, C  1 C,O,0>,
  494.                                          <zontf, C  2 C,O,0> }
  495.  
  496. NonReceiptFields           LABEL     = znrif               T=special case
  497.                            STRUCTURE = SET
  498.                            CHILDREN  = { <zreas, C  0 P,M,0>,
  499.                                          <zdrea, C  1 P,O,0>,
  500.                                          <zafcm, C  2 S,O,256>,
  501.                                          <zremm, C  3 C,O,0>,
  502.                                          <znrne, C  4 C,O,0> }
  503.  
  504. NonRecepitReason           LABEL     = zreas               T=NON_RECEIPT_REASON
  505.                            STRUCTURE = ENUMERATED
  506.  
  507. Discard Reason             LABEL     = zdrea               T=DISCARD_REASON
  508.                            STRUCTURE = ENUMERATED
  509.  
  510. Auto-forwardComment        LABEL     = zafcm               T=AUTO_FORWARD_COM..
  511.                            STRUCTURE = PRINTABLE STRING
  512.  
  513. Returned MM                LABEL     = zremm               T=RETURNED_MM
  514.                            STRUCTURE = SEQUENCE            C=MIL_MESSAGE
  515.                            CHILDREN  = { <zhead, U 17 C,M,0>,
  516.                                          <zbody, U 16 C,M,0> }
  517.  
  518. NRNExtensionsField         LABEL     = znrne               T=special case
  519.                            STRUCTURE = SET OF
  520.                            CHILDREN  = { <zeext, U 16 C,O,0> }
  521.  
  522. Notification Extensions    LABEL     = zeext               T=special case
  523.                            STRUCTURE = SEQUENCE            C=none
  524.                            CHILDREN  = { <zeeft, U 6 P,M,0>*,
  525.                                          <zedby, U 0 P,D,0>  }
  526.  
  527. Defining type              LABEL     = zeeft               T=special case
  528.                            STRUCTURE = OBJECT IDENTIFIER   C=none
  529.  
  530. Extension Value            LABEL     = zedby               T=special case
  531.                            STRUCTURE = ANY DEFINED BY      C=none
  532.                            DEFGLABEL = zneft
  533.                            REGISTER  = { }
  534.  
  535. ReceiptFields              LABEL     = zrcif
  536.                            STRUCTURE = SET
  537.                            CHILDREN  = { <zrctm, C  0 P,M,0>,
  538.                                          <zackm, C  1 P,D,0>,
  539.                                          <zrinf, C  2 P,D,256>,
  540.                                          <zrnex, C  3 C,O,0> }
  541.  
  542. AcknowledegmentModeField   LABEL     = zackm               T=ACKNOWLEDGEMENT..
  543.                            STRUCTURE = ENUMERATED
  544.  
  545. SupplReceiptInfoField      LABEL     = zrinf               T=SUPPLEMENTARY_R..
  546.                            STRUCTURE = PRINTABLE STRING
  547.  
  548. RNExtensionsField          LABEL     = zrnex               T=special case
  549.                            STRUCTURE = SET OF
  550.                            CHILDREN  = { <zeext, U 16 C,O,0> }
  551.  
  552. OtherNotificationTypeFlds  LABEL     = zontf               T=special case
  553.                            STRUCTURE = SET OF
  554.                            CHILDREN  = { <znext, U 16 C,O,0> }
  555.  
  556. Other Notif Extensions     LABEL     = znext               T=special case
  557.                            STRUCTURE = SEQUENCE            C=none
  558.                            CHILDREN  = { <zneft, U 6 P,M,0>*,
  559.                                          <zndby, U 0 P,D,0>  }
  560.  
  561. Defining type              LABEL     = zneft               T=special case
  562.                            STRUCTURE = OBJECT IDENTIFIER   C=none
  563.  
  564. Extension Value            LABEL     = zndby               T=special case
  565.                            STRUCTURE = ANY DEFINED BY      C=none
  566.                            DEFGLABEL = zneft
  567.                            REGISTER  = { <{1 3 26 0 4406 0 9 0},zanre,U17C,0>}
  568.  
  569. SubjectMMField             LABEL     = zsbmm               T=SUBJECT_MM
  570.                            STRUCTURE = SET                 C=MM_IDENTIFIER
  571.                            TAG       = (A 11 C)
  572.                            CHILDREN  = { <zuser, A  0 C,M,0>,
  573.                                          <zurid, U 19 P,M,64> }
  574.  
  575. MNOriginatorField          LABEL     = zmnof               T=MN_ORIGINATOR
  576.                            STRUCTURE = SET                 C=IM_C_OR_DESCRIP..
  577.                            CHILDREN  = { <dornm, A  0 C,O,0>,
  578.                                          <0ffnm, C  0 P,O,0>,
  579.                                          <0teln, C  1 P,O,32> }
  580.  
  581. MMPreferredRecipientField  LABEL     = zmprf               T=MN_PREFERRED_
  582.                            STRUCTURE = SET                 C=IM_C_OR_DESCRIP..
  583.                            CHILDREN  = { <dornm, A  0 C,O,0>,
  584.                                          <0ffnm, C  0 P,O,0>,
  585.                                          <0teln, C  1 P,O,32> }
  586.  
  587. NotificationExtensionsFld  LABEL     = znoex               T=special case
  588.                            STRUCTURE = SET OF
  589.                            CHILDREN  = { <zeext, U 16 C,O,0> }
  590.  
  591. (*****************************************************************************)
  592. (* Notification extensions                                                   *)
  593. (*****************************************************************************)
  594.  
  595. 0acp127NotificationResp    LABEL     = zanre               T=ACP127_NOTIF_RSP
  596.                            STRUCTURE = SET                 C=ACP127_NOTIF_RSP
  597.                            CHILDREN  = { <zanty, C  0 S,M,0>,
  598.                                          <zrctm, C  1 P,M,0>,
  599.                                          <zadli, C  2 C,O,0>,
  600.                                          <zarec, C  3 S,O,128>,
  601.                                          <zasup, C  4 S,O,128> }
  602.  
  603. Acp127NotificationType     LABEL     = zanty               T=ACP127_NOTIF_TYPE
  604.                            STRUCTURE = BIT STRING
  605.  
  606. ReceiptTime                LABEL     = zrctm               T=RECEIPT_TIME
  607.                            STRUCTURE = UTC TIME
  608.  
  609. AddressListIndicators      LABEL     = zadls               T=ADDR_LIST_INDIC..
  610.                            STRUCTURE = SEQUENCE OF
  611.                            CHILDREN  = { <zadld, U 17 C,O,0> }
  612.  
  613. Acp127Recipient            LABEL     = zarec               T=ACP127_RECIPIENT
  614.                            STRUCTURE = PRINTABLE STRING
  615.  
  616. Acp127SuppInfo             LABEL     = zasup               T=ACP127_SUPP_INFO
  617.                            STRUCTURE = PRINTABLE STRING
  618.  
  619. (*****************************************************************************)
  620. (* Externally-defined body parts                                             *)
  621. (*****************************************************************************)
  622.  
  623. adatp3BodyPartParameters   LABEL     = zad3p               T=ADATP3_PARAMS
  624.                            STRUCTURE = INTEGER
  625.  
  626. adatp3BodyPartDataLine     LABEL     = zad3l               T=special case
  627.                            STRUCTURE = IA5 STRING
  628.  
  629. adatp3BodyPartDataSet      LABEL     = zad3s               T=special case
  630.                            STRUCTURE = SEQUENCE OF
  631.                            CHILDREN  = { <zads3, U 22 P,O,0> }
  632.  
  633. adatp3BodyPartDataLine     LABEL     = zads3               T=ADATP3_SET
  634.                            STRUCTURE = IA5 STRING
  635.  
  636. CorrectionsBodyPartParms   LABEL     = zcorp               T=CORRECTIONS_PARAMETERS
  637.                            STRUCTURE = INTEGER
  638.  
  639. CorrectionsBodyPartData    LABEL     = zcord               T=CORRECTIONS_DATA
  640.                            STRUCTURE = IA5 STRING
  641.  
  642. ForwardEncryptParameters   LABEL     = zfwep               T=FWD_ENC_PARMS
  643.                            STRUCTURE = SET                 C=DELIVERY_ENVELOPE
  644.                            CHILDREN  = { <3mdtm, C 0 P,O,0>,
  645.                                          <zomdf, C 1 C,O,0> }
  646.  
  647. ForwardEncryptedData       LABEL     = zfwed               T=FWD_ENC_DATA
  648.                            STRUCTURE = BIT STRING
  649.  
  650. MMMessageParameters        LABEL     = zmmmp               T=MM_MESSAGE_PARAMETERS
  651.                            STRUCTURE = SET                 C=DELIVERY_ENVELOPE
  652.                            CHILDREN  = { <3mdtm, C 0 P,O,0>,
  653.                                          <zomdf, C 1 C,O,0> }
  654.  
  655. acp127BodyPartParameters   LABEL     = z127p               T=ACP127_PARAMETERS
  656.                            STRUCTURE = INTEGER
  657.  
  658. acp127BodyPartData         LABEL     = z127d
  659.                            STRUCTURE = SEQUENCE OF
  660.                            CHILDREN  = { <z127s, U 22 P,O,65535> }
  661.  
  662. acp127BodyPartDataString   LABEL     = z127s               T=ACP127_DATA
  663.                            STRUCTURE = IA5 STRING
  664.  
  665. ExternalADatP3Parms        LABEL     = zeadp               T=special_case
  666.                            STRUCTURE = UNTAGGED CHOICE
  667.                            CHILDREN  = { <zad3p, U  2 P,O,0> }
  668.  
  669. (*****************************************************************************)
  670. (* ADatP3 Data is unusual in that the top-level node is an untagged choice.  *)
  671. (* We cannot therefore use the generic body part code as that would mean     *)
  672. (* having an untagged choice as the child of an untagged choice. We must     *)
  673. (* use special case code. Make the top-level node the choice directly.       *)
  674. (*****************************************************************************)
  675. ExternalADatP3Data         LABEL     = zeadd               T=special_case
  676.                            STRUCTURE = UNTAGGED CHOICE
  677.                            CHILDREN  = { <zad3l, C  0 P,O,0>,
  678.                                          <zad3s, C  1 C,O,0> }
  679.  
  680. ExternalCorrectionsParms   LABEL     = zecop               T=special_case
  681.                            STRUCTURE = UNTAGGED CHOICE
  682.                            CHILDREN  = { <zcorp, U  2 P,O,0> }
  683.  
  684. ExternalCorrectionsData    LABEL     = zecod               T=special_case
  685.                            STRUCTURE = UNTAGGED CHOICE
  686.                            CHILDREN  = { <zcord, U 22 P,O,0> }
  687.  
  688. ExternalFwdEncParms        LABEL     = zefwp               T=special_case
  689.                            STRUCTURE = UNTAGGED CHOICE
  690.                            CHILDREN  = { <zfwep, U 17 C,O,0> }
  691.  
  692. ExternalFwdEncData         LABEL     = zefwd               T=special_case
  693.                            STRUCTURE = UNTAGGED CHOICE
  694.                            CHILDREN  = { <zfwed, U  3 P,O,0> }
  695.  
  696. ExternalMMMessageParms     LABEL     = zemmp               T=special_case
  697.                            STRUCTURE = UNTAGGED CHOICE
  698.                            CHILDREN  = { <zmmmp, U 17 C,O,0> }
  699.  
  700. ExternalMMMessageData      LABEL     = zemmd               T=special_case
  701.                            STRUCTURE = UNTAGGED CHOICE
  702.                            CHILDREN  = { <zfpdu, U 16 C,O,0> }
  703.  
  704. ExternalACP127Parameters   LABEL     = ze27p               T=special_case
  705.                            STRUCTURE = UNTAGGED CHOICE
  706.                            CHILDREN  = { <z127p, U  2 P,O,0> }
  707.  
  708. ExternalACP127Data         LABEL     = ze27d               T=special_case
  709.                            STRUCTURE = UNTAGGED CHOICE
  710.                            CHILDREN  = { <z127d, U 16 C,O,0> }
  711.  
  712. (*****************************************************************************)
  713. (* Extensions from US Supplement to ACP123                                   *)
  714. (*****************************************************************************)
  715. ForwardedMSPParameters     LABEL     = zfwmp               T=FWD_MSP_PARMS
  716.                            STRUCTURE = SET                 C=DELIVERY_ENVELOPE
  717.                            CHILDREN  = { <3mdtm, C 0 P,O,0>,
  718.                                          <zomdf, C 1 C,O,0> }
  719.  
  720. ForwardedMSPData           LABEL     = zfwmd               T=FWD_MSP_DATA
  721.                            STRUCTURE = ANY
  722.                            CHILDREN  = { }
  723.  
  724. ExternalFwdMSPParms        LABEL     = zefmp               T=special_case
  725.                            STRUCTURE = UNTAGGED CHOICE
  726.                            CHILDREN  = { <zfwmp, U 17 C,O,0> }
  727.  
  728. ExternalFwdMSPData         LABEL     = zefmd               T=special_case
  729.                            STRUCTURE = UNTAGGED CHOICE
  730.                            CHILDREN  = { <zfwmd, U  3 P,O,0> }
  731.  
  732. (*****************************************************************************)
  733. (* Nodes copied from P3.TPL and X400COM.TPL to allow Conversion to encode    *)
  734. (* Delivery Envelope (ie. by ref to RDI.XV2, not RDI.TPL)                    *)
  735. (*****************************************************************************)
  736. OtherMessageDeliveryFields LABEL     = zomdf
  737.                            STRUCTURE = SET
  738.                            CHILDREN  = { <Mdcnt, U  0 P,M,0> ,
  739.                                          <z3ori, A  0 C,M,0> ,
  740.                                          <Meits, C  1 C,O,0> ,
  741.                                          <Mprio, A  7 P,D,0> ,
  742.                                          <3dflg, C  2 P,O,16>,
  743.                                          <3orcp, C  3 C,O,0> ,
  744.                                          <ztrcp, C  4 C,M,0> ,
  745.                                          <Mircp, C  5 C,O,0> ,
  746.                                          <Mceit, C  6 C,O,0> ,
  747.                                          <3mstm, C  7 P,M,0> ,
  748.                                          <Mcnti, C  8 P,O,16>,
  749.                                          <3dxtf, C  9 C,D,0>  }
  750.  
  751. OriginatorName             LABEL     = z3ori
  752.                            STRUCTURE = SEQUENCE
  753.                            CHILDREN  = { <dsatt, U 16 C,M,0>E,
  754.                                          <dddal, U 16 C,O,0>,
  755.                                          <dxatl, U 17 C,O,0>,}
  756.                                          <5nam3, C  0 C,O,0> }
  757.  
  758. ThisRecipientName          LABEL     = ztrcp
  759.                            STRUCTURE = SEQUENCE
  760.                            CHILDREN  = { <dsatt, U 16 C,M,0>E,
  761.                                          <dddal, U 16 C,O,0>,
  762.                                          <dxatl, U 17 C,O,0>,}
  763.                                          <5nam3, C  0 C,O,0> }
  764. !
  765.