1 -- use of parameters and types is to be consistent with their definitions in clause 3
3 ISO-10161-ILL-1 DEFINITIONS EXPLICIT TAGS ::=
6 -- ISO-10161-ILL-1 refers to the ILL ISO standard 10161 version 1
7 -- and version 2 as specified in ISO standard 10161 Amendment 1
28 Status-Or-Error-Report,
32 -- The tagging scheme used in the APDU definitions is as follows:
33 -- each named type that is a component type of an APDU definition is assigned a different tag
34 -- that is unique within the set of APDU definitions. Where these component types themselves
35 -- have structure, the tagging within such type definitions has only local scope.
37 ILL-Request ::= [APPLICATION 1] SEQUENCE {
38 protocol-version-num [0] IMPLICIT INTEGER {
42 transaction-id [1] IMPLICIT Transaction-Id,
43 service-date-time [2] IMPLICIT Service-Date-Time,
44 requester-id [3] IMPLICIT System-Id OPTIONAL,
45 -- mandatory when using store-and-forward communications
46 -- optional when using connection-oriented communications
47 responder-id [4] IMPLICIT System-Id OPTIONAL,
48 -- mandatory when using store-and-forward communications
49 -- optional when using connection-oriented communications
50 transaction-type [5] IMPLICIT Transaction-Type DEFAULT 1,
51 delivery-address [6] IMPLICIT Delivery-Address OPTIONAL,
52 delivery-service Delivery-Service OPTIONAL,
53 billing-address [8] IMPLICIT Delivery-Address OPTIONAL,
54 iLL-service-type [9] IMPLICIT SEQUENCE SIZE (1..5) OF
56 -- this sequence is a list, in order of preference
57 responder-specific-service [10] EXTERNAL OPTIONAL,
58 -- use direct reference style
59 requester-optional-messages [11] IMPLICIT Requester-Optional-Messages-Type,
60 search-type [12] IMPLICIT Search-Type OPTIONAL,
61 supply-medium-info-type [13] IMPLICIT SEQUENCE SIZE (1..7) OF
62 Supply-Medium-Info-Type OPTIONAL,
63 -- this sequence is a list, in order of preference,
64 -- with a maximum number of 7 entries
65 place-on-hold [14] IMPLICIT Place-On-Hold-Type DEFAULT 3,
66 client-id [15] IMPLICIT Client-Id OPTIONAL,
67 item-id [16] IMPLICIT Item-Id,
68 supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL,
69 cost-info-type [18] IMPLICIT Cost-Info-Type OPTIONAL,
70 copyright-compliance [19] ILL-String OPTIONAL,
71 third-party-info-type [20] IMPLICIT Third-Party-Info-Type OPTIONAL,
72 -- mandatory when initiating a FORWARD service or an
73 -- ILL-REQUEST service for a partitioned ILL sub-
74 -- transaction or when initiating an ILL-REQUEST service for
75 -- an ILL sub-transaction if the received ILL-REQUEST
76 -- included an "already-tried-list";optional otherwise
77 retry-flag [21] IMPLICIT BOOLEAN DEFAULT FALSE,
78 forward-flag [22] IMPLICIT BOOLEAN DEFAULT FALSE,
79 requester-note [46] ILL-String OPTIONAL,
80 forward-note [47] ILL-String OPTIONAL,
81 iLL-request-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
84 Forward-Notification ::= [APPLICATION 2] SEQUENCE {
85 protocol-version-num [0] IMPLICIT INTEGER {
89 transaction-id [1] IMPLICIT Transaction-Id,
90 service-date-time [2] IMPLICIT Service-Date-Time,
91 requester-id [3] IMPLICIT System-Id OPTIONAL,
92 -- mandatory when using store-and-forward communications
93 -- optional when using connection-oriented communications
94 responder-id [4] IMPLICIT System-Id,
95 -- mandatory in this APDU
96 responder-address [24] IMPLICIT System-Address OPTIONAL,
97 intermediary-id [25] IMPLICIT System-Id,
98 notification-note [48] ILL-String OPTIONAL,
99 forward-notification-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
102 Shipped ::= [APPLICATION 3] SEQUENCE {
103 protocol-version-num [0] IMPLICIT INTEGER {
107 transaction-id [1] IMPLICIT Transaction-Id,
108 service-date-time [2] IMPLICIT Service-Date-Time,
109 requester-id [3] IMPLICIT System-Id OPTIONAL,
110 -- mandatory when using store-and-forward communications
111 -- optional when using connection-oriented communications
112 responder-id [4] IMPLICIT System-Id OPTIONAL,
113 -- mandatory when using store-and-forward communications
114 -- optional when using connection-oriented communications
115 responder-address [24] IMPLICIT System-Address OPTIONAL,
116 intermediary-id [25] IMPLICIT System-Id OPTIONAL,
117 supplier-id [26] IMPLICIT System-Id OPTIONAL,
118 client-id [15] IMPLICIT Client-Id OPTIONAL,
119 transaction-type [5] IMPLICIT Transaction-Type DEFAULT 1,
120 supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL,
121 shipped-service-type [27] IMPLICIT Shipped-Service-Type,
122 responder-optional-messages [28] IMPLICIT Responder-Optional-Messages-Type
124 supply-details [29] IMPLICIT Supply-Details,
125 return-to-address [30] IMPLICIT Postal-Address OPTIONAL,
126 responder-note [46] ILL-String OPTIONAL,
127 shipped-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
130 ILL-Answer ::= [APPLICATION 4] SEQUENCE {
131 protocol-version-num [0] IMPLICIT INTEGER {
135 transaction-id [1] IMPLICIT Transaction-Id,
136 service-date-time [2] IMPLICIT Service-Date-Time,
137 requester-id [3] IMPLICIT System-Id OPTIONAL,
138 -- mandatory when using store-and-forward communications
139 -- optional when using connection-oriented communications
140 responder-id [4] IMPLICIT System-Id OPTIONAL,
141 -- mandatory when using store-and-forward communications
142 -- optional when using connection-oriented communications
143 transaction-results [31] IMPLICIT Transaction-Results,
144 results-explanation [32] CHOICE {
145 conditional-results [1] Conditional-Results,
146 -- chosen if transaction-results=CONDITIONAL
147 retry-results [2] Retry-Results,
148 -- chosen if transaction-results=RETRY
149 unfilled-results [3] Unfilled-Results,
150 --chosen if transaction-results=UNFILLED
151 locations-results [4] Locations-Results,
152 -- chosen if transaction-results=LOCATIONS-PROVIDED
153 will-supply-results [5] Will-Supply-Results,
154 -- chosen if transaction-results=WILL-SUPPLY
155 hold-placed-results [6] Hold-Placed-Results,
156 -- chosen if transaction-results=HOLD-PLACED
157 estimate-results [7] Estimate-Results
158 -- chosen if transaction-results=ESTIMATE
160 -- optional if transaction-results equals RETRY, UNFILLED,
161 -- WILL-SUPPLY or HOLD-PLACED;
162 -- required if transaction-results equals CONDITIONAL,
163 -- LOCATIONS-PROVIDED or ESTIMATE
164 responder-specific-results [33] EXTERNAL OPTIONAL,
165 -- this type is mandatory if results-explanation
166 -- chosen for any result
167 -- has the value "responder-specific".
168 supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL,
169 send-to-list [23] IMPLICIT Send-To-List-Type OPTIONAL,
170 already-tried-list [34] IMPLICIT Already-Tried-List-Type OPTIONAL,
171 responder-optional-messages [28] IMPLICIT Responder-Optional-Messages-Type
173 responder-note [46] ILL-String OPTIONAL,
174 ill-answer-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
177 Conditional-Reply ::= [APPLICATION 5] SEQUENCE {
178 protocol-version-num [0] IMPLICIT INTEGER {
182 transaction-id [1] IMPLICIT Transaction-Id,
183 service-date-time [2] IMPLICIT Service-Date-Time,
184 requester-id [3] IMPLICIT System-Id OPTIONAL,
185 -- mandatory when using store-and-forward communications
186 -- optional when using connection-oriented communications
187 responder-id [4] IMPLICIT System-Id OPTIONAL,
188 -- mandatory when using store-and-forward communications
189 -- optional when using connection-oriented communications
190 answer [35] IMPLICIT BOOLEAN,
191 requester-note [46] ILL-String OPTIONAL,
192 conditional-reply-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
195 Cancel ::= [APPLICATION 6] SEQUENCE {
196 protocol-version-num [0] IMPLICIT INTEGER {
200 transaction-id [1] IMPLICIT Transaction-Id,
201 service-date-time [2] IMPLICIT Service-Date-Time,
202 requester-id [3] IMPLICIT System-Id OPTIONAL,
203 -- mandatory when using store-and-forward communications
204 -- optional when using connection-oriented communications
205 responder-id [4] IMPLICIT System-Id OPTIONAL,
206 -- mandatory when using store-and-forward communications
207 -- optional when using connection-oriented communications
208 requester-note [46] ILL-String OPTIONAL,
209 cancel-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
212 Cancel-Reply ::= [APPLICATION 7] SEQUENCE {
213 protocol-version-num [0] IMPLICIT INTEGER {
217 transaction-id [1] IMPLICIT Transaction-Id,
218 service-date-time [2] IMPLICIT Service-Date-Time,
219 requester-id [3] IMPLICIT System-Id OPTIONAL,
220 -- mandatory when using store-and-forward communications
221 -- optional when using connection-oriented communications
222 responder-id [4] IMPLICIT System-Id OPTIONAL,
223 -- mandatory when using store-and-forward communications
224 -- optional when using connection-oriented communications
225 answer [35] IMPLICIT BOOLEAN,
226 responder-note [46] ILL-String OPTIONAL,
227 cancel-reply-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
230 Received ::= [APPLICATION 8] SEQUENCE {
231 protocol-version-num [0] IMPLICIT INTEGER {
235 transaction-id [1] IMPLICIT Transaction-Id,
236 service-date-time [2] IMPLICIT Service-Date-Time,
237 requester-id [3] IMPLICIT System-Id OPTIONAL,
238 -- mandatory when using store-and-forward communications
239 -- optional when using connection-oriented communications
240 responder-id [4] IMPLICIT System-Id OPTIONAL,
241 -- mandatory when using store-and-forward communications
242 -- optional when using connection-oriented communications
243 supplier-id [26] IMPLICIT System-Id OPTIONAL,
244 supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL,
245 date-received [36] IMPLICIT ISO-Date,
246 shipped-service-type [27] IMPLICIT Shipped-Service-Type,
247 requester-note [46] ILL-String OPTIONAL,
248 received-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
251 Recall ::= [APPLICATION 9] SEQUENCE {
252 protocol-version-num [0] IMPLICIT INTEGER {
256 transaction-id [1] IMPLICIT Transaction-Id,
257 service-date-time [2] IMPLICIT Service-Date-Time,
258 requester-id [3] IMPLICIT System-Id OPTIONAL,
259 -- mandatory when using store-and-forward communications
260 -- optional when using connection-oriented communications
261 responder-id [4] IMPLICIT System-Id OPTIONAL,
262 -- mandatory when using store-and-forward communications
263 -- optional when using connection-oriented communications
264 responder-note [46] ILL-String OPTIONAL,
265 recall-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
268 Returned ::= [APPLICATION 10] SEQUENCE {
269 protocol-version-num [0] IMPLICIT INTEGER {
273 transaction-id [1] IMPLICIT Transaction-Id,
274 service-date-time [2] IMPLICIT Service-Date-Time,
275 requester-id [3] IMPLICIT System-Id OPTIONAL,
276 -- mandatory when using store-and-forward communications
277 -- optional when using connection-oriented communications
278 responder-id [4] IMPLICIT System-Id OPTIONAL,
279 -- mandatory when using store-and-forward communications
280 -- optional when using connection-oriented communications
281 supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL,
282 date-returned [37] IMPLICIT ISO-Date,
283 returned-via [38] Transportation-Mode OPTIONAL,
284 insured-for [39] IMPLICIT Amount OPTIONAL,
285 requester-note [46] ILL-String OPTIONAL,
286 returned-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
289 Checked-In ::= [APPLICATION 11] SEQUENCE {
290 protocol-version-num [0] IMPLICIT INTEGER {
294 transaction-id [1] IMPLICIT Transaction-Id,
295 service-date-time [2] IMPLICIT Service-Date-Time,
296 requester-id [3] IMPLICIT System-Id OPTIONAL,
297 -- mandatory when using store-and-forward communications
298 -- optional when using connection-oriented communications
299 responder-id [4] IMPLICIT System-Id OPTIONAL,
300 -- mandatory when using store-and-forward communications
301 -- optional when using connection-oriented communications
302 date-checked-in [40] IMPLICIT ISO-Date,
303 responder-note [46] ILL-String OPTIONAL,
304 checked-in-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
307 Overdue ::= [APPLICATION 12] SEQUENCE {
308 protocol-version-num [0] IMPLICIT INTEGER {
312 transaction-id [1] IMPLICIT Transaction-Id,
313 service-date-time [2] IMPLICIT Service-Date-Time,
314 requester-id [3] IMPLICIT System-Id OPTIONAL,
315 -- mandatory when using store-and-forward communications
316 -- optional when using connection-oriented communications
317 responder-id [4] IMPLICIT System-Id OPTIONAL,
318 -- mandatory when using store-and-forward communications
319 -- optional when using connection-oriented communications
320 date-due [41] IMPLICIT Date-Due,
321 responder-note [46] ILL-String OPTIONAL,
322 overdue-extensions [49] SEQUENCE OF Extension OPTIONAL
325 Renew ::= [APPLICATION 13] SEQUENCE {
326 protocol-version-num [0] IMPLICIT INTEGER {
330 transaction-id [1] IMPLICIT Transaction-Id,
331 service-date-time [2] IMPLICIT Service-Date-Time,
332 requester-id [3] IMPLICIT System-Id OPTIONAL,
333 -- mandatory when using store-and-forward communications
334 -- optional when using connection-oriented communications
335 responder-id [4] IMPLICIT System-Id OPTIONAL,
336 -- mandatory when using store-and-forward communications
337 -- optional when using connection-oriented communications
338 desired-due-date [42] IMPLICIT ISO-Date OPTIONAL,
339 requester-note [46] ILL-String OPTIONAL,
340 renew-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
343 Renew-Answer ::= [APPLICATION 14] SEQUENCE {
344 protocol-version-num [0] IMPLICIT INTEGER {
348 transaction-id [1] IMPLICIT Transaction-Id,
349 service-date-time [2] IMPLICIT Service-Date-Time,
350 requester-id [3] IMPLICIT System-Id OPTIONAL,
351 -- mandatory when using store-and-forward communications
352 -- optional when using connection-oriented communications
353 responder-id [4] IMPLICIT System-Id OPTIONAL,
354 -- mandatory when using store-and-forward communications
355 -- optional when using connection-oriented communications
356 answer [35] IMPLICIT BOOLEAN,
357 date-due [41] IMPLICIT Date-Due OPTIONAL,
358 responder-note [46] ILL-String OPTIONAL,
359 renew-answer-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
362 Lost ::= [APPLICATION 15] SEQUENCE {
363 protocol-version-num [0] IMPLICIT INTEGER {
367 transaction-id [1] IMPLICIT Transaction-Id,
368 service-date-time [2] IMPLICIT Service-Date-Time,
369 requester-id [3] IMPLICIT System-Id OPTIONAL,
370 -- mandatory when using store-and-forward communications
371 -- optional when using connection-oriented communications
372 responder-id [4] IMPLICIT System-Id OPTIONAL,
373 -- mandatory when using store-and-forward communications
374 -- optional when using connection-oriented communications
375 note [46] ILL-String OPTIONAL,
376 lost-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
379 Damaged ::= [APPLICATION 16] SEQUENCE {
380 protocol-version-num [0] IMPLICIT INTEGER {
384 transaction-id [1] IMPLICIT Transaction-Id,
385 service-date-time [2] IMPLICIT Service-Date-Time,
386 requester-id [3] IMPLICIT System-Id OPTIONAL,
387 -- mandatory when using store-and-forward communications
388 -- optional when using connection-oriented communications
389 responder-id [4] IMPLICIT System-Id OPTIONAL,
390 -- mandatory when using store-and-forward communications
391 -- optional when using connection-oriented communications
392 damaged-details [5] IMPLICIT Damaged-Details OPTIONAL,
393 -- this parameter may only be present in APDU's with a
394 -- protocol-version-num value of 2 or greater
395 note [46] ILL-String OPTIONAL,
396 damaged-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
399 Message ::= [APPLICATION 17] SEQUENCE {
400 protocol-version-num [0] IMPLICIT INTEGER {
404 transaction-id [1] IMPLICIT Transaction-Id,
405 service-date-time [2] IMPLICIT Service-Date-Time,
406 requester-id [3] IMPLICIT System-Id OPTIONAL,
407 -- mandatory when using store-and-forward communications
408 -- optional when using connection-oriented communications
409 responder-id [4] IMPLICIT System-Id OPTIONAL,
410 -- mandatory when using store-and-forward communications
411 -- optional when using connection-oriented communications
412 note [46] ILL-String,
413 message-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
416 Status-Query ::= [APPLICATION 18] SEQUENCE {
417 protocol-version-num [0] IMPLICIT INTEGER {
421 transaction-id [1] IMPLICIT Transaction-Id,
422 service-date-time [2] IMPLICIT Service-Date-Time,
423 requester-id [3] IMPLICIT System-Id OPTIONAL,
424 -- mandatory when using store-and-forward communications
425 -- optional when using connection-oriented communications
426 responder-id [4] IMPLICIT System-Id OPTIONAL,
427 -- mandatory when using store-and-forward communications
428 -- optional when using connection-oriented communications
429 note [46] ILL-String OPTIONAL,
430 status-query-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
433 Status-Or-Error-Report ::= [APPLICATION 19] SEQUENCE {
434 protocol-version-num [0] IMPLICIT INTEGER {
438 transaction-id [1] IMPLICIT Transaction-Id,
439 service-date-time [2] IMPLICIT Service-Date-Time,
440 requester-id [3] IMPLICIT System-Id OPTIONAL,
441 -- mandatory when using store-and-forward communications
442 -- optional when using connection-oriented communications
443 responder-id [4] IMPLICIT System-Id OPTIONAL,
444 -- mandatory when using store-and-forward communications
445 -- optional when using connection-oriented communications
446 reason-no-report [43] IMPLICIT Reason-No-Report OPTIONAL,
447 -- mandatory if no report is present;
448 -- not present otherwise
449 status-report [44] IMPLICIT Status-Report OPTIONAL,
450 error-report [45] IMPLICIT Error-Report OPTIONAL,
451 note [46] ILL-String OPTIONAL,
452 status-or-error-report-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
455 Expired ::= [APPLICATION 20] SEQUENCE {
456 protocol-version-num [0] IMPLICIT INTEGER {
460 transaction-id [1] IMPLICIT Transaction-Id,
461 service-date-time [2] IMPLICIT Service-Date-Time,
462 requester-id [3] IMPLICIT System-Id OPTIONAL,
463 -- mandatory when using store-and-forward communications
464 -- optional when using connection-oriented communications
465 responder-id [4] IMPLICIT System-Id OPTIONAL,
466 -- mandatory when using store-and-forward communications
467 -- optional when using connection-oriented communications
468 expired-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
471 Account-Number ::= ILL-String
473 Already-Forwarded ::= SEQUENCE {
474 responder-id [0] IMPLICIT System-Id,
475 responder-address [1] IMPLICIT System-Address OPTIONAL
478 Already-Tried-List-Type ::= SEQUENCE OF System-Id
480 Amount ::= SEQUENCE {
481 currency-code [0] IMPLICIT PrintableString (SIZE (3)) OPTIONAL,
482 -- values defined in ISO 4217-1981
483 monetary-value [1] IMPLICIT AmountString (SIZE (1..10))
486 AmountString ::= PrintableString (FROM ("1"|"2"|"3"|"4"|"5"|"6"|"7"|"8"|"9"|"0"|" "|"."|","))
488 Client-Id ::= SEQUENCE {
489 client-name [0] ILL-String OPTIONAL,
490 client-status [1] ILL-String OPTIONAL,
491 client-identifier [2] ILL-String OPTIONAL
494 Conditional-Results ::= SEQUENCE {
495 conditions [0] IMPLICIT ENUMERATED {
496 cost-exceeds-limit (13),
498 prepayment-required (15),
499 lacks-copyright-compliance (16),
500 library-use-only (22),
501 no-reproduction (23),
502 client-signature-required (24),
503 special-collections-supervision-required (25),
505 responder-specific (28),
506 proposed-delivery-service (30)
508 date-for-reply [1] IMPLICIT ISO-Date OPTIONAL,
509 locations [2] IMPLICIT SEQUENCE OF Location-Info OPTIONAL,
510 proposed-delivery-service Delivery-Service OPTIONAL
511 -- this parameter specifies a proposed delivery service the
512 -- acceptance of which is a condition of supply. It may be a
513 -- physical service or an electronic service. This parameter
514 -- may only be present in APDUs with a
515 -- protocol-version-num value of 2 or greater
518 Cost-Info-Type ::= SEQUENCE {
519 account-number [0] Account-Number OPTIONAL,
520 maximum-cost [1] IMPLICIT Amount OPTIONAL,
521 reciprocal-agreement [2] IMPLICIT BOOLEAN DEFAULT FALSE,
522 will-pay-fee [3] IMPLICIT BOOLEAN DEFAULT FALSE,
523 payment-provided [4] IMPLICIT BOOLEAN DEFAULT FALSE
526 Current-State ::= ENUMERATED {
537 nOT-RECEIVED-OVERDUE (11),
547 Damaged-Details ::= SEQUENCE {
548 document-type-id [0] IMPLICIT OBJECT IDENTIFIER OPTIONAL,
549 -- identifies an OSI document type registered in accordance
550 -- with ISO 9834-2, for use in an automated environment
551 damaged-portion CHOICE {
552 complete-document [1] IMPLICIT NULL,
553 specific-units [2] IMPLICIT SEQUENCE
555 -- the nature and extent of a "unit" is implicit in the
556 -- value of document-type-id if one is supplied
560 Date-Due ::= SEQUENCE {
561 date-due-field [0] IMPLICIT ISO-Date,
562 renewable [1] IMPLICIT BOOLEAN DEFAULT TRUE
565 Delivery-Address ::= SEQUENCE {
566 postal-address [0] IMPLICIT Postal-Address OPTIONAL,
567 electronic-address [1] IMPLICIT System-Address OPTIONAL
570 Delivery-Service ::= CHOICE {
571 physical-delivery [7] Transportation-Mode,
572 electronic-delivery [50] IMPLICIT SEQUENCE OF Electronic-Delivery-Service
573 -- electronic-delivery may only be present in APDUs
574 -- with a protocol-version-num value of 2 or greater
577 Electronic-Delivery-Service ::= SEQUENCE {
578 -- the first four parameters are intended to be used in an automated
580 e-delivery-service [0] IMPLICIT SEQUENCE {
581 -- identifies the kind of electronic delivery service, e.g.
582 -- MOTIS IPM,FTAM, etc., using the assigned object
583 -- identifier for the standard e.g. {joint-iso-ccitt mhs-motis
585 e-delivery-mode [0] IMPLICIT OBJECT IDENTIFIER,
586 e-delivery-parameters [1] ANY DEFINED BY e-delivery-mode
588 document-type [1] IMPLICIT SEQUENCE {
589 document-type-id [2] IMPLICIT OBJECT IDENTIFIER,
590 -- identifies an OSI document type registered in accordance
592 document-type-parameters [3] ANY DEFINED BY document-type-id
593 -- any parameters relating to the registered document type
595 e-delivery-description [4] ILL-String OPTIONAL,
596 -- holds a human readable name or description of the
597 -- required electronic delivery service and document type;
598 -- this may also be used to identify an electronic delivery
599 -- service for which there is no object identifier.
600 -- This parameter may be present instead of, or in addition
601 -- to, the previous 4 parameters
602 e-delivery-details [5] CHOICE {
603 e-delivery-address [0] IMPLICIT System-Address,
604 e-delivery-id [1] IMPLICIT System-Id
606 name-or-code [6] ILL-String OPTIONAL,
607 -- holds a human-readable identifier or correlation
608 -- information for the document as shipped, e.g. a directory
609 -- and/or file name or message-id
610 delivery-time [7] IMPLICIT ISO-Time OPTIONAL
611 -- holds the requester's preferred delivery time or
612 -- the responder's proposed or actual delivery time
615 Error-Report ::= SEQUENCE {
616 correlation-information [0] ILL-String,
617 report-source [1] IMPLICIT Report-Source,
618 user-error-report [2] User-Error-Report OPTIONAL,
619 -- mandatory if report-source is "user"; not present otherwise
620 provider-error-report [3] Provider-Error-Report OPTIONAL
621 -- mandatory if report-source is "provider"; not
625 Estimate-Results ::= SEQUENCE {
626 cost-estimate [0] ILL-String,
627 locations [1] IMPLICIT SEQUENCE OF Location-Info OPTIONAL
630 Extension ::= SEQUENCE {
631 identifier [0] IMPLICIT INTEGER,
632 critical [1] IMPLICIT BOOLEAN DEFAULT FALSE,
633 item [2] ANY DEFINED BY identifier
636 General-Problem ::= ENUMERATED {
637 unrecognized-APDU (1),
639 badly-structured-APDU (3),
640 protocol-version-not-supported (4),
644 History-Report ::= SEQUENCE {
645 date-requested [0] IMPLICIT ISO-Date OPTIONAL,
646 author [1] ILL-String OPTIONAL,
647 title [2] ILL-String OPTIONAL,
648 author-of-article [3] ILL-String OPTIONAL,
649 title-of-article [4] ILL-String OPTIONAL,
650 date-of-last-transition [5] IMPLICIT ISO-Date,
651 most-recent-service [6] IMPLICIT ENUMERATED {
654 fORWARD-NOTIFICATION (2),
657 cONDITIONAL-REPLY (5),
669 sTATUS-OR-ERROR-REPORT (19),
672 date-of-most-recent-service [7] IMPLICIT ISO-Date,
673 initiator-of-most-recent-service [8] IMPLICIT System-Id,
674 shipped-service-type [9] IMPLICIT Shipped-Service-Type OPTIONAL,
675 -- If the information is available, i.e. if a SHIPPED or
676 -- RECEIVED APDU has been sent or received, then the
677 -- value in this parameter shall be supplied.
678 -- Value must contain the most current information, e.g. if a
679 -- requester has received a SHIPPED APDU and then
680 -- invokes a RECEIVED.request, then the value from the
681 -- RECEIVED.request is used
682 transaction-results [10] IMPLICIT Transaction-Results OPTIONAL,
683 -- If the information is available, i.e. if an ILL-ANWSER
684 -- APDU has been sent or received, then the value in this
685 -- parameter shall be supplied.
686 most-recent-service-note [11] ILL-String OPTIONAL
687 -- If the information is available, i.e. if a note has been
688 -- supplied in the most recent service primitive, then the
689 -- value in this parameter shall be supplied.
692 Hold-Placed-Results ::= SEQUENCE {
693 estimated-date-available [0] IMPLICIT ISO-Date,
694 hold-placed-medium-type [1] IMPLICIT Medium-Type OPTIONAL,
695 locations [2] IMPLICIT SEQUENCE OF Location-Info OPTIONAL
698 ILL-APDU-Type ::= ENUMERATED {
700 fORWARD-NOTIFICATION (2),
703 cONDITIONAL-REPLY (5),
717 sTATUS-OR-ERROR-REPORT (19),
721 ILL-Service-Type ::= ENUMERATED {
723 copy-non-returnable (2),
726 responder-specific (5)
729 ILL-String ::= CHOICE {
731 -- may contain any ISO registered G (graphic) and C
732 -- (control) character set
735 -- may not include leading or trailing spaces
736 -- may not consist only of space (" ") or non-printing
739 Intermediary-Problem ::= ENUMERATED {
740 cannot-send-onward (1)
743 ISO-Date ::= VisibleString
744 -- conforms to ISO 8601
749 ISO-Time ::= VisibleString
750 -- conforms to ISO 8601
754 -- local time of person or institution invoking service
756 Item-Id ::= SEQUENCE {
757 item-type [0] IMPLICIT ENUMERATED {
762 held-medium-type [1] IMPLICIT Medium-Type OPTIONAL,
763 call-number [2] ILL-String OPTIONAL,
764 author [3] ILL-String OPTIONAL,
765 title [4] ILL-String OPTIONAL,
766 sub-title [5] ILL-String OPTIONAL,
767 sponsoring-body [6] ILL-String OPTIONAL,
768 place-of-publication [7] ILL-String OPTIONAL,
769 publisher [8] ILL-String OPTIONAL,
770 series-title-number [9] ILL-String OPTIONAL,
771 volume-issue [10] ILL-String OPTIONAL,
772 edition [11] ILL-String OPTIONAL,
773 publication-date [12] ILL-String OPTIONAL,
774 publication-date-of-component [13] ILL-String OPTIONAL,
775 author-of-article [14] ILL-String OPTIONAL,
776 title-of-article [15] ILL-String OPTIONAL,
777 pagination [16] ILL-String OPTIONAL,
778 national-bibliography-no [17] EXTERNAL OPTIONAL,
779 iSBN [18] ILL-String (SIZE (10)) OPTIONAL,
780 -- must conform to ISO 2108-1978
781 iSSN [19] ILL-String (SIZE (8)) OPTIONAL,
782 -- must conform to ISO 3297-1986
783 system-no [20] EXTERNAL OPTIONAL,
784 additional-no-letters [21] ILL-String OPTIONAL,
785 verification-reference-source [22] ILL-String OPTIONAL
788 Location-Info ::= SEQUENCE {
789 location-id [0] IMPLICIT System-Id,
790 location-address [1] IMPLICIT System-Address OPTIONAL,
791 location-note [2] ILL-String OPTIONAL
794 Locations-Results ::= SEQUENCE {
795 reason-locs-provided [0] IMPLICIT Reason-Locs-Provided OPTIONAL,
796 locations [1] IMPLICIT SEQUENCE OF Location-Info
799 Medium-Type ::= ENUMERATED {
802 film-or-video-recording (4),
804 machine-readable (6),
808 Name-Of-Person-Or-Institution ::= CHOICE {
809 name-of-person [0] ILL-String,
810 name-of-institution [1] ILL-String
813 Person-Or-Institution-Symbol ::= CHOICE {
814 person-symbol [0] ILL-String,
815 institution-symbol [1] ILL-String
818 Place-On-Hold-Type ::= ENUMERATED {
821 according-to-responder-policy (3)
824 Postal-Address ::= SEQUENCE {
825 name-of-person-or-institution [0] Name-Of-Person-Or-Institution OPTIONAL,
826 extended-postal-delivery-address [1] ILL-String OPTIONAL,
827 street-and-number [2] ILL-String OPTIONAL,
828 post-office-box [3] ILL-String OPTIONAL,
829 city [4] ILL-String OPTIONAL,
830 region [5] ILL-String OPTIONAL,
831 country [6] ILL-String OPTIONAL,
832 postal-code [7] ILL-String OPTIONAL
835 Provider-Error-Report ::= CHOICE {
836 general-problem [0] IMPLICIT General-Problem,
837 transaction-id-problem [1] IMPLICIT Transaction-Id-Problem,
838 state-transition-prohibited [2] IMPLICIT State-Transition-Prohibited
841 Reason-Locs-Provided ::= ENUMERATED {
848 volume-issue-not-yet-available (7),
854 cost-exceeds-limit (13),
857 responder-specific (28)
860 Reason-No-Report ::= ENUMERATED {
865 Reason-Unfilled ::= ENUMERATED {
872 volume-issue-not-yet-available (7),
878 cost-exceeds-limit (13),
880 prepayment-required (15),
881 lacks-copyright-compliance (16),
882 not-found-as-cited (17),
883 locations-not-found (18),
886 mandatory-messaging-not-supported (21),
887 expiry-not-supported (22) ,
888 requested-delivery-services-not-supported (23),
889 preferred-delivery-time-not-possible (24),
891 responder-specific (28)
894 Report-Source ::= ENUMERATED {
899 Requester-Optional-Messages-Type ::= SEQUENCE {
900 can-send-RECEIVED [0] IMPLICIT BOOLEAN,
901 can-send-RETURNED [1] IMPLICIT BOOLEAN,
902 requester-SHIPPED [2] IMPLICIT ENUMERATED {
907 requester-CHECKED-IN [3] IMPLICIT ENUMERATED {
914 Responder-Optional-Messages-Type ::= SEQUENCE {
915 can-send-SHIPPED [0] IMPLICIT BOOLEAN,
916 can-send-CHECKED-IN [1] IMPLICIT BOOLEAN,
917 responder-RECEIVED [2] IMPLICIT ENUMERATED {
922 responder-RETURNED [3] IMPLICIT ENUMERATED {
929 Retry-Results ::= SEQUENCE {
930 reason-not-available [0] IMPLICIT ENUMERATED {
934 volume-issue-not-yet-available (7),
936 cost-exceeds-limit (13),
938 prepayment-required (15),
939 lacks-copyright-compliance (16),
940 not-found-as-cited (17),
943 responder-specific (28)
945 retry-date [1] IMPLICIT ISO-Date OPTIONAL,
946 locations [2] IMPLICIT SEQUENCE OF Location-Info OPTIONAL
949 Search-Type ::= SEQUENCE {
950 level-of-service [0] ILL-String (SIZE (1)) OPTIONAL,
951 need-before-date [1] IMPLICIT ISO-Date OPTIONAL,
952 expiry-flag [2] IMPLICIT ENUMERATED {
953 need-Before-Date (1),
957 -- value of "need-Before-Date" indicates that
958 -- need-before-date also specifies transaction expiry
960 expiry-date [3] IMPLICIT ISO-Date OPTIONAL
961 -- alternative expiry date can be used only when expiry-flag
962 -- is set to "Other-Date"
965 Security-Problem ::= ILL-String
967 Send-To-List-Type ::= SEQUENCE OF SEQUENCE {
968 system-id [0] IMPLICIT System-Id,
969 account-number [1] Account-Number OPTIONAL,
970 system-address [2] IMPLICIT System-Address OPTIONAL
973 Service-Date-Time ::= SEQUENCE {
974 date-time-of-this-service [0] IMPLICIT SEQUENCE {
975 date [0] IMPLICIT ISO-Date,
976 time [1] IMPLICIT ISO-Time OPTIONAL
977 -- mandatory for 2nd and subsequent services
978 -- invoked for a given
979 -- ILL-transaction on the same day
981 date-time-of-original-service [1] IMPLICIT SEQUENCE {
982 date [0] IMPLICIT ISO-Date,
983 time [1] IMPLICIT ISO-Time OPTIONAL
987 Shipped-Service-Type ::= ILL-Service-Type (loan | copy-non-returnable)
988 -- subtype of ILL-Service-Type
990 State-Transition-Prohibited ::= SEQUENCE {
991 aPDU-type [0] IMPLICIT ILL-APDU-Type,
992 current-state [1] IMPLICIT Current-State
995 Status-Report ::= SEQUENCE {
996 user-status-report [0] IMPLICIT History-Report,
997 provider-status-report [1] IMPLICIT Current-State
1000 Supplemental-Item-Description ::= SEQUENCE OF EXTERNAL
1001 -- the syntax of supplementary item description information is defined outside this standard
1003 Supply-Details ::= SEQUENCE {
1004 date-shipped [0] IMPLICIT ISO-Date OPTIONAL,
1005 date-due [1] IMPLICIT Date-Due OPTIONAL,
1006 chargeable-units [2] IMPLICIT INTEGER (1..9999) OPTIONAL,
1007 cost [3] IMPLICIT Amount OPTIONAL,
1008 shipped-conditions [4] IMPLICIT ENUMERATED {
1009 library-use-only (22),
1010 no-reproduction (23),
1011 client-signature-required (24),
1012 special-collections-supervision-required (25),
1015 shipped-via CHOICE {
1016 physical-delivery [5] Transportation-Mode,
1017 electronic-delivery [50] IMPLICIT
1018 Electronic-Delivery-Service
1020 -- electronic-delivery may only be present in APDUs with a
1021 -- protocol-version-num value of 2 or greater
1022 insured-for [6] IMPLICIT Amount OPTIONAL,
1023 return-insurance-require [7] IMPLICIT Amount OPTIONAL,
1024 no-of-units-per-medium [8] IMPLICIT SEQUENCE OF Units-Per-Medium-Type
1028 Supply-Medium-Info-Type ::= SEQUENCE {
1029 supply-medium-type [0] IMPLICIT Supply-Medium-Type,
1030 medium-characteristics [1] ILL-String OPTIONAL
1033 Supply-Medium-Type ::= ENUMERATED {
1037 film-or-video-recording (4),
1038 audio-recording (5),
1039 machine-readable (6),
1043 System-Address ::= SEQUENCE {
1044 telecom-service-identifier [0] ILL-String OPTIONAL,
1045 telecom-service-address [1] ILL-String OPTIONAL
1048 System-Id ::= SEQUENCE {
1049 --at least one of the following must be present
1050 person-or-institution-symbol [0] Person-Or-Institution-Symbol OPTIONAL,
1051 name-of-person-or-institution [1] Name-Of-Person-Or-Institution OPTIONAL
1054 Third-Party-Info-Type ::= SEQUENCE {
1055 permission-to-forward [0] IMPLICIT BOOLEAN DEFAULT FALSE,
1056 permission-to-chain [1] IMPLICIT BOOLEAN DEFAULT FALSE,
1057 permission-to-partition [2] IMPLICIT BOOLEAN DEFAULT FALSE,
1058 permission-to-change-send-to-list [3] IMPLICIT BOOLEAN DEFAULT FALSE,
1059 initial-requester-address [4] IMPLICIT System-Address OPTIONAL,
1060 -- mandatory when initiating a FORWARD service or an
1061 -- ILL-REQUEST service for a partitioned ILL
1062 -- sub-transaction; optional otherwise
1063 preference [5] IMPLICIT ENUMERATED {
1067 send-to-list [6] IMPLICIT Send-To-List-Type OPTIONAL,
1068 already-tried-list [7] IMPLICIT Already-Tried-List-Type OPTIONAL
1069 -- mandatory when initiating a FORWARD service, or when
1070 -- initiating an ILL-REQUEST service for an ILL
1071 -- sub-transaction if the received ILL-REQUEST included an
1072 -- "already-tried-list"; optional otherwise
1075 Transaction-Id ::= SEQUENCE {
1076 initial-requester-id [0] IMPLICIT System-Id OPTIONAL,
1077 -- mandatory for sub-transactions; not called
1078 -- "requester-id" to distinguish id of initial-requester
1079 --from id of requester of sub-transaction if there is one
1080 transaction-group-qualifier [1] ILL-String,
1081 transaction-qualifier [2] ILL-String,
1082 sub-transaction-qualifier [3] ILL-String OPTIONAL
1083 -- mandatory for sub-transactions
1086 Transaction-Id-Problem ::= ENUMERATED {
1087 duplicate-transaction-id (1),
1088 invalid-transaction-id (2),
1089 unknown-transaction-id (3)
1092 Transaction-Results ::= ENUMERATED {
1096 locations-provided (4),
1102 Transaction-Type ::= ENUMERATED {
1108 Transportation-Mode ::= ILL-String
1110 Unable-To-Perform ::= ENUMERATED {
1112 resource-limitation (2),
1116 Unfilled-Results ::= SEQUENCE {
1117 reason-unfilled [0] IMPLICIT Reason-Unfilled,
1118 locations [1] IMPLICIT SEQUENCE OF Location-Info OPTIONAL
1121 Units-Per-Medium-Type ::= SEQUENCE {
1122 medium [0] Supply-Medium-Type,
1123 no-of-units [1] INTEGER (1..9999)
1126 User-Error-Report ::= CHOICE {
1127 already-forwarded [0] IMPLICIT Already-Forwarded,
1128 intermediary-problem [1] IMPLICIT Intermediary-Problem,
1129 security-problem [2] Security-Problem,
1130 unable-to-perform [3] IMPLICIT Unable-To-Perform
1134 Will-Supply-Results ::= SEQUENCE {
1135 reason-will-supply [0] ENUMERATED {
1141 being-processed-for-supply (26),
1143 responder-specific (28),
1144 electronic-delivery (30)
1146 supply-date [1] ISO-Date OPTIONAL,
1147 return-to-address [2] Postal-Address OPTIONAL,
1148 locations [3] IMPLICIT SEQUENCE OF Location-Info OPTIONAL,
1149 electronic-delivery-service [4] Electronic-Delivery-Service OPTIONAL
1150 -- if present, this must be one of the services proposed by
1154 EDIFACTString ::= VisibleString
1155 (FROM ("A"|"B"|"C"|"D"|"E"|"F"|"G"|"H"|
1156 "I"|"J"|"K"|"L"|"M"|"N"|"O"|"P"|"Q"|"R"|"S"|"T"|"U"|
1157 "V"|"W"|"X"|"Y"|"Z"|"a"|"b"|"c"|"d"|"e"|"f"|"g"|"h"|
1158 "i"|"j"|"k"|"l"|"m"|"n"|"o"|"p"|"q"|"r"|"s"|"t"|"u"|
1159 "v"|"w"|"x"|"y"|"z"|"1"|"2"|"3"|"4"|"5"|"6"|"7"|"8"|
1160 "9"|"0"|" "|"."|","|"-"|"("|")"|"/"|"="|"!"|"""|"%"|"&"|
1161 "*"|";"|"<"|">"|"'"|"+"|":"|"?"))