Improve error reporting for ICU chains YAZ-707
[yaz-moved-to-github.git] / src / item-req.asn
1 Z39.50-extendedService-ItemOrder-ItemRequest-1 DEFINITIONS ::=
2 BEGIN
3 IMPORTS
4         Transaction-Id,
5         Service-Date-Time,
6         System-Id,
7         Transaction-Type,
8         Delivery-Address,
9         ILL-Service-Type,
10         Requester-Optional-Messages-Type,
11         Search-Type,
12         Supply-Medium-Info-Type,
13         Place-On-Hold-Type,
14         Client-Id,
15         Item-Id,
16         Supplemental-Item-Description,
17         Cost-Info-Type,
18         ILL-String,
19         Third-Party-Info-Type,
20         Extension
21 FROM ISO-10161-ILL-1;
22
23 ItemRequest ::=SEQUENCE {
24         protocol-version-num    [0]     IMPLICIT INTEGER {
25                                 version-1 (1),
26                                 version-2 (2)
27                                 },
28         transaction-id          [1]     IMPLICIT Transaction-Id OPTIONAL,
29         service-date-time       [2]     IMPLICIT Service-Date-Time OPTIONAL,
30         requester-id            [3]     IMPLICIT System-Id OPTIONAL,
31         responder-id            [4]     IMPLICIT System-Id OPTIONAL,
32         transaction-type        [5]     IMPLICIT Transaction-Type DEFAULT 1,
33         delivery-address        [6]     IMPLICIT Delivery-Address OPTIONAL, 
34         delivery-service                Delivery-Service OPTIONAL,
35         billing-address         [8]     IMPLICIT Delivery-Address OPTIONAL,
36         iLL-service-type        [9]     IMPLICIT SEQUENCE SIZE (1..5) OF 
37                                         ILL-Service-Type OPTIONAL,
38         responder-specific-service      [10]    EXTERNAL OPTIONAL,
39                 -- use direct reference style
40         requester-optional-messages     [11]    IMPLICIT Requester-Optional-Messages-Type OPTIONAL,
41         search-type             [12]    IMPLICIT Search-Type OPTIONAL,
42         supply-medium-info-type [13]    IMPLICIT SEQUENCE SIZE (1..7) OF
43                                 Supply-Medium-Info-Type OPTIONAL,
44         place-on-hold           [14]    IMPLICIT Place-On-Hold-Type DEFAULT 3,
45         client-id               [15]    IMPLICIT Client-Id OPTIONAL,     
46         item-id                 [16]    IMPLICIT Item-Id OPTIONAL,
47         supplemental-item-description   [17]    IMPLICIT Supplemental-Item-Description OPTIONAL,
48         cost-info-type          [18]    IMPLICIT Cost-Info-Type OPTIONAL,
49         copyright-compliance    [19]    ILL-String OPTIONAL,
50         third-party-info-type   [20]    IMPLICIT Third-Party-Info-Type OPTIONAL,
51         retry-flag              [21]    IMPLICIT BOOLEAN DEFAULT FALSE,
52         forward-flag            [22]    IMPLICIT BOOLEAN DEFAULT FALSE,
53         requester-note          [46]    ILL-String OPTIONAL,
54         forward-note            [47]    ILL-String OPTIONAL,
55         iLL-request-extensions  [49]    IMPLICIT SEQUENCE OF Extension OPTIONAL
56         }
57 END
58