lib/Biblio/ILL/ISO/asn.pm

filter: Statementstmt 100% 3 / 3 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 3 / 3 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« lib/Biblio/ILL/ISO/TransportationMode.pm ↑ Summary
1 package Biblio::ILL::ISO::asn;
2  
3 =head1 NAME
4  
5 Biblio::ILL::ISO::asn
6  
7 =cut
8  
9 =head1 VERSION
10  
11 Version 0.03
12  
13 =cut
14  
15 3 our $VERSION = '0.03';
16 #---------------------------------------------------------------------------
17 # Mods
18 # 0.03 - 2003.10.26 - Added POD documentation
19 # 0.02 - 2003.07.17 - Changed Date-Time from EXPLICIT SEQUENCE to SEQUENCE,
20 # to bring it in line with the nlc-bnc ASN.1
21 # 0.01 - 2003.07.15 - original version (nlc-bnc version whacked to be
22 # parsable by Convert::ASN1)
23 #---------------------------------------------------------------------------
24  
25 =head1 DESCRIPTION
26  
27 Biblio::ILL::ISO::asn contains the ASN.1 definitions, accessible through $desc.
28  
29 =head1 USES
30  
31 None.
32  
33 =head1 USED IN
34  
35 Biblio::ILL::ISO::ISO
36  
37 =cut
38  
39 3 our $desc = <<'_END_OF_ASN_';
40  
41 -- use of parameters and types is to be consistent with their definitions in clause 3
42  
43 -- ISO-10161-ILL-1 DEFINITIONS EXPLICIT TAGS ::=
44  
45 --BEGIN
46 -- ISO-10161-ILL-1 refers to the ILL ISO standard 10161 version 1
47 -- and version 2 as specified in ISO standard 10161 Amendment 1
48  
49 ILL-APDU ::= CHOICE {
50 iLL-Request ILL-Request,
51 forward-Notification Forward-Notification,
52 shipped Shipped,
53 iLL-Answer ILL-Answer,
54 conditional-Reply Conditional-Reply,
55 cancel Cancel,
56 cancel-Reply Cancel-Reply,
57 received Received,
58 recall Recall,
59 returned Returned,
60 checked-In Checked-In,
61 overdue Overdue,
62 renew Renew,
63 renew-Answer Renew-Answer,
64 lost Lost,
65 damaged Damaged,
66 message Message,
67 status-Query Status-Query,
68 status-Or-Error-Report Status-Or-Error-Report,
69 expired Expired
70 }
71  
72 -- The tagging scheme used in the APDU definitions is as follows:
73 -- each named type that is a component type of an APDU definition is assigned a different tag
74 -- that is unique within the set of APDU definitions. Where these component types themselves
75 -- have structure, the tagging within such type definitions has only local scope.
76  
77 ILL-Request ::= [APPLICATION 1] EXPLICIT SEQUENCE {
78 protocol-version-num [0] IMPLICIT INTEGER, -- {
79 -- version-1 (1),
80 -- version-2 (2)
81 --},
82 transaction-id [1] IMPLICIT Transaction-Id,
83 service-date-time [2] IMPLICIT Service-Date-Time,
84 requester-id [3] IMPLICIT System-Id OPTIONAL,
85 -- mandatory when using store-and-forward communications
86 -- optional when using connection-oriented communications
87 responder-id [4] IMPLICIT System-Id OPTIONAL,
88 -- mandatory when using store-and-forward communications
89 -- optional when using connection-oriented communications
90 transaction-type [5] IMPLICIT Transaction-Type, --DEFAULT 1,
91 delivery-address [6] IMPLICIT Delivery-Address OPTIONAL,
92 delivery-service Delivery-Service OPTIONAL,
93 billing-address [8] IMPLICIT Delivery-Address OPTIONAL,
94 iLL-service-type [9] IMPLICIT SEQUENCE OF ILL-Service-Type, -- SIZE (1..5)
95 -- this sequence is a list, in order of preference
96 -- DC - 'EXTERNAL' is not supported in Convert::ASN1
97 -- responder-specific-service [10] EXTERNAL OPTIONAL,
98 -- -- use direct reference style
99 requester-optional-messages [11] IMPLICIT Requester-Optional-Messages-Type,
100 search-type [12] IMPLICIT Search-Type OPTIONAL,
101 supply-medium-info-type [13] IMPLICIT SEQUENCE OF Supply-Medium-Info-Type OPTIONAL, -- SIZE (1..7)
102 -- this sequence is a list, in order of preference,
103 -- with a maximum number of 7 entries
104 place-on-hold [14] IMPLICIT Place-On-Hold-Type, --DEFAULT 3,
105 client-id [15] IMPLICIT Client-Id OPTIONAL,
106 item-id [16] IMPLICIT Item-Id,
107 -- DC - 'EXTERNAL' definition (see Supplemental-Item-Description)
108 -- supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL,
109 cost-info-type [18] IMPLICIT Cost-Info-Type OPTIONAL,
110 copyright-compliance [19] ILL-String OPTIONAL,
111 third-party-info-type [20] IMPLICIT Third-Party-Info-Type OPTIONAL,
112 -- mandatory when initiating a FORWARD service or an
113 -- ILL-REQUEST service for a partitioned ILL sub-
114 -- transaction or when initiating an ILL-REQUEST service for
115 -- an ILL sub-transaction if the received ILL-REQUEST
116 -- included an "already-tried-list";optional otherwise
117 retry-flag [21] IMPLICIT BOOLEAN, -- DEFAULT FALSE,
118 forward-flag [22] IMPLICIT BOOLEAN, -- DEFAULT FALSE,
119 requester-note [46] ILL-String OPTIONAL,
120 forward-note [47] ILL-String OPTIONAL,
121 iLL-request-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
122 --iLL-request-extensions [49] IMPLICIT SEQUENCE OF Extension
123 }
124  
125 Forward-Notification ::= [APPLICATION 2] SEQUENCE {
126 protocol-version-num [0] IMPLICIT INTEGER, -- {
127 -- version-1 (1),
128 -- version-2 (2)
129 -- },
130 transaction-id [1] IMPLICIT Transaction-Id,
131 service-date-time [2] IMPLICIT Service-Date-Time,
132 requester-id [3] IMPLICIT System-Id OPTIONAL,
133 -- mandatory when using store-and-forward communications
134 -- optional when using connection-oriented communications
135 responder-id [4] IMPLICIT System-Id,
136 -- mandatory in this APDU
137 responder-address [24] IMPLICIT System-Address OPTIONAL,
138 intermediary-id [25] IMPLICIT System-Id,
139 notification-note [48] ILL-String OPTIONAL,
140 forward-notification-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
141 }
142  
143 Shipped ::= [APPLICATION 3] SEQUENCE {
144 protocol-version-num [0] IMPLICIT INTEGER, -- {
145 -- version-1 (1),
146 -- version-2 (2)
147 -- },
148 transaction-id [1] IMPLICIT Transaction-Id,
149 service-date-time [2] IMPLICIT Service-Date-Time,
150 requester-id [3] IMPLICIT System-Id OPTIONAL,
151 -- mandatory when using store-and-forward communications
152 -- optional when using connection-oriented communications
153 responder-id [4] IMPLICIT System-Id OPTIONAL,
154 -- mandatory when using store-and-forward communications
155 -- optional when using connection-oriented communications
156 responder-address [24] IMPLICIT System-Address OPTIONAL,
157 intermediary-id [25] IMPLICIT System-Id OPTIONAL,
158 supplier-id [26] IMPLICIT System-Id OPTIONAL,
159 client-id [15] IMPLICIT Client-Id OPTIONAL,
160 transaction-type [5] IMPLICIT Transaction-Type, --DEFAULT 1,
161 -- DC - 'EXTERNAL' definition (see Supplemental-Item-Description)
162 -- supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL,
163 shipped-service-type [27] IMPLICIT Shipped-Service-Type,
164 responder-optional-messages [28] IMPLICIT Responder-Optional-Messages-Type
165 OPTIONAL,
166 supply-details [29] IMPLICIT Supply-Details,
167 return-to-address [30] IMPLICIT Postal-Address OPTIONAL,
168 responder-note [46] ILL-String OPTIONAL,
169 shipped-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
170 }
171  
172 ILL-Answer ::= [APPLICATION 4] SEQUENCE {
173 protocol-version-num [0] IMPLICIT INTEGER, -- {
174 -- version-1 (1),
175 -- version-2 (2)
176 -- },
177 transaction-id [1] IMPLICIT Transaction-Id,
178 service-date-time [2] IMPLICIT Service-Date-Time,
179 requester-id [3] IMPLICIT System-Id OPTIONAL,
180 -- mandatory when using store-and-forward communications
181 -- optional when using connection-oriented communications
182 responder-id [4] IMPLICIT System-Id OPTIONAL,
183 -- mandatory when using store-and-forward communications
184 -- optional when using connection-oriented communications
185 transaction-results [31] IMPLICIT Transaction-Results,
186 results-explanation [32] Results-Explanation OPTIONAL,
187 -- dc hmm
188 -- optional if transaction-results equals RETRY, UNFILLED,
189 -- WILL-SUPPLY or HOLD-PLACED;
190 -- required if transaction-results equals CONDITIONAL,
191 -- LOCATIONS-PROVIDED or ESTIMATE
192 -- DC - 'EXTERNAL' is not supported in Convert::ASN1
193 -- responder-specific-results [33] EXTERNAL OPTIONAL,
194 -- this type is mandatory if results-explanation
195 -- chosen for any result
196 -- has the value "responder-specific".
197 -- DC - 'EXTERNAL' definition (see Supplemental-Item-Description)
198 -- supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL,
199 send-to-list [23] IMPLICIT Send-To-List-Type OPTIONAL,
200 already-tried-list [34] IMPLICIT Already-Tried-List-Type OPTIONAL,
201 responder-optional-messages [28] IMPLICIT Responder-Optional-Messages-Type
202 OPTIONAL,
203 responder-note [46] ILL-String OPTIONAL,
204 ill-answer-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
205 }
206  
207 Conditional-Reply ::= [APPLICATION 5] SEQUENCE {
208 protocol-version-num [0] IMPLICIT INTEGER, -- {
209 -- version-1 (1),
210 -- version-2 (2)
211 -- },
212 transaction-id [1] IMPLICIT Transaction-Id,
213 service-date-time [2] IMPLICIT Service-Date-Time,
214 requester-id [3] IMPLICIT System-Id OPTIONAL,
215 -- mandatory when using store-and-forward communications
216 -- optional when using connection-oriented communications
217 responder-id [4] IMPLICIT System-Id OPTIONAL,
218 -- mandatory when using store-and-forward communications
219 -- optional when using connection-oriented communications
220 answer [35] IMPLICIT BOOLEAN,
221 requester-note [46] ILL-String OPTIONAL,
222 conditional-reply-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
223 }
224  
225 Cancel ::= [APPLICATION 6] SEQUENCE {
226 protocol-version-num [0] IMPLICIT INTEGER, -- {
227 -- version-1 (1),
228 -- version-2 (2)
229 -- },
230 transaction-id [1] IMPLICIT Transaction-Id,
231 service-date-time [2] IMPLICIT Service-Date-Time,
232 requester-id [3] IMPLICIT System-Id OPTIONAL,
233 -- mandatory when using store-and-forward communications
234 -- optional when using connection-oriented communications
235 responder-id [4] IMPLICIT System-Id OPTIONAL,
236 -- mandatory when using store-and-forward communications
237 -- optional when using connection-oriented communications
238 requester-note [46] ILL-String OPTIONAL,
239 cancel-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
240 }
241  
242 Cancel-Reply ::= [APPLICATION 7] SEQUENCE {
243 protocol-version-num [0] IMPLICIT INTEGER, -- {
244 -- version-1 (1),
245 -- version-2 (2)
246 -- },
247 transaction-id [1] IMPLICIT Transaction-Id,
248 service-date-time [2] IMPLICIT Service-Date-Time,
249 requester-id [3] IMPLICIT System-Id OPTIONAL,
250 -- mandatory when using store-and-forward communications
251 -- optional when using connection-oriented communications
252 responder-id [4] IMPLICIT System-Id OPTIONAL,
253 -- mandatory when using store-and-forward communications
254 -- optional when using connection-oriented communications
255 answer [35] IMPLICIT BOOLEAN,
256 responder-note [46] ILL-String OPTIONAL,
257 cancel-reply-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
258 }
259  
260 Received ::= [APPLICATION 8] SEQUENCE {
261 protocol-version-num [0] IMPLICIT INTEGER, -- {
262 -- version-1 (1),
263 -- version-2 (2)
264 -- },
265 transaction-id [1] IMPLICIT Transaction-Id,
266 service-date-time [2] IMPLICIT Service-Date-Time,
267 requester-id [3] IMPLICIT System-Id OPTIONAL,
268 -- mandatory when using store-and-forward communications
269 -- optional when using connection-oriented communications
270 responder-id [4] IMPLICIT System-Id OPTIONAL,
271 -- mandatory when using store-and-forward communications
272 -- optional when using connection-oriented communications
273 supplier-id [26] IMPLICIT System-Id OPTIONAL,
274 -- DC - 'EXTERNAL' definition (see Supplemental-Item-Description)
275 -- supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL,
276 date-received [36] IMPLICIT ISO-Date,
277 shipped-service-type [27] IMPLICIT Shipped-Service-Type,
278 requester-note [46] ILL-String OPTIONAL,
279 received-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
280 }
281  
282 Recall ::= [APPLICATION 9] SEQUENCE {
283 protocol-version-num [0] IMPLICIT INTEGER, -- {
284 -- version-1 (1),
285 -- version-2 (2)
286 -- },
287 transaction-id [1] IMPLICIT Transaction-Id,
288 service-date-time [2] IMPLICIT Service-Date-Time,
289 requester-id [3] IMPLICIT System-Id OPTIONAL,
290 -- mandatory when using store-and-forward communications
291 -- optional when using connection-oriented communications
292 responder-id [4] IMPLICIT System-Id OPTIONAL,
293 -- mandatory when using store-and-forward communications
294 -- optional when using connection-oriented communications
295 responder-note [46] ILL-String OPTIONAL,
296 recall-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
297 }
298  
299 Returned ::= [APPLICATION 10] SEQUENCE {
300 protocol-version-num [0] IMPLICIT INTEGER, -- {
301 -- version-1 (1),
302 -- version-2 (2)
303 -- },
304 transaction-id [1] IMPLICIT Transaction-Id,
305 service-date-time [2] IMPLICIT Service-Date-Time,
306 requester-id [3] IMPLICIT System-Id OPTIONAL,
307 -- mandatory when using store-and-forward communications
308 -- optional when using connection-oriented communications
309 responder-id [4] IMPLICIT System-Id OPTIONAL,
310 -- mandatory when using store-and-forward communications
311 -- optional when using connection-oriented communications
312 -- DC - 'EXTERNAL' definition (see Supplemental-Item-Description)
313 -- supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL,
314 date-returned [37] IMPLICIT ISO-Date,
315 returned-via [38] Transportation-Mode OPTIONAL,
316 insured-for [39] IMPLICIT Amount OPTIONAL,
317 requester-note [46] ILL-String OPTIONAL,
318 returned-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
319 }
320  
321 Checked-In ::= [APPLICATION 11] SEQUENCE {
322 protocol-version-num [0] IMPLICIT INTEGER, -- {
323 -- version-1 (1),
324 -- version-2 (2)
325 -- },
326 transaction-id [1] IMPLICIT Transaction-Id,
327 service-date-time [2] IMPLICIT Service-Date-Time,
328 requester-id [3] IMPLICIT System-Id OPTIONAL,
329 -- mandatory when using store-and-forward communications
330 -- optional when using connection-oriented communications
331 responder-id [4] IMPLICIT System-Id OPTIONAL,
332 -- mandatory when using store-and-forward communications
333 -- optional when using connection-oriented communications
334 date-checked-in [40] IMPLICIT ISO-Date,
335 responder-note [46] ILL-String OPTIONAL,
336 checked-in-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
337 }
338  
339 Overdue ::= [APPLICATION 12] SEQUENCE {
340 protocol-version-num [0] IMPLICIT INTEGER, -- {
341 -- version-1 (1),
342 -- version-2 (2)
343 -- },
344 transaction-id [1] IMPLICIT Transaction-Id,
345 service-date-time [2] IMPLICIT Service-Date-Time,
346 requester-id [3] IMPLICIT System-Id OPTIONAL,
347 -- mandatory when using store-and-forward communications
348 -- optional when using connection-oriented communications
349 responder-id [4] IMPLICIT System-Id OPTIONAL,
350 -- mandatory when using store-and-forward communications
351 -- optional when using connection-oriented communications
352 date-due [41] IMPLICIT Date-Due,
353 responder-note [46] ILL-String OPTIONAL,
354 overdue-extensions [49] SEQUENCE OF Extension OPTIONAL
355 }
356  
357 Renew ::= [APPLICATION 13] SEQUENCE {
358 protocol-version-num [0] IMPLICIT INTEGER, -- {
359 -- version-1 (1),
360 -- version-2 (2)
361 -- },
362 transaction-id [1] IMPLICIT Transaction-Id,
363 service-date-time [2] IMPLICIT Service-Date-Time,
364 requester-id [3] IMPLICIT System-Id OPTIONAL,
365 -- mandatory when using store-and-forward communications
366 -- optional when using connection-oriented communications
367 responder-id [4] IMPLICIT System-Id OPTIONAL,
368 -- mandatory when using store-and-forward communications
369 -- optional when using connection-oriented communications
370 desired-due-date [42] IMPLICIT ISO-Date OPTIONAL,
371 requester-note [46] ILL-String OPTIONAL,
372 renew-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
373 }
374  
375 Renew-Answer ::= [APPLICATION 14] SEQUENCE {
376 protocol-version-num [0] IMPLICIT INTEGER, -- {
377 -- version-1 (1),
378 -- version-2 (2)
379 -- },
380 transaction-id [1] IMPLICIT Transaction-Id,
381 service-date-time [2] IMPLICIT Service-Date-Time,
382 requester-id [3] IMPLICIT System-Id OPTIONAL,
383 -- mandatory when using store-and-forward communications
384 -- optional when using connection-oriented communications
385 responder-id [4] IMPLICIT System-Id OPTIONAL,
386 -- mandatory when using store-and-forward communications
387 -- optional when using connection-oriented communications
388 answer [35] IMPLICIT BOOLEAN,
389 date-due [41] IMPLICIT Date-Due OPTIONAL,
390 responder-note [46] ILL-String OPTIONAL,
391 renew-answer-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
392 }
393  
394 Lost ::= [APPLICATION 15] SEQUENCE {
395 protocol-version-num [0] IMPLICIT INTEGER, -- {
396 -- version-1 (1),
397 -- version-2 (2)
398 -- },
399 transaction-id [1] IMPLICIT Transaction-Id,
400 service-date-time [2] IMPLICIT Service-Date-Time,
401 requester-id [3] IMPLICIT System-Id OPTIONAL,
402 -- mandatory when using store-and-forward communications
403 -- optional when using connection-oriented communications
404 responder-id [4] IMPLICIT System-Id OPTIONAL,
405 -- mandatory when using store-and-forward communications
406 -- optional when using connection-oriented communications
407 note [46] ILL-String OPTIONAL,
408 lost-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
409 }
410  
411 Damaged ::= [APPLICATION 16] SEQUENCE {
412 protocol-version-num [0] IMPLICIT INTEGER, -- {
413 -- version-1 (1),
414 -- version-2 (2)
415 -- },
416 transaction-id [1] IMPLICIT Transaction-Id,
417 service-date-time [2] IMPLICIT Service-Date-Time,
418 requester-id [3] IMPLICIT System-Id OPTIONAL,
419 -- mandatory when using store-and-forward communications
420 -- optional when using connection-oriented communications
421 responder-id [4] IMPLICIT System-Id OPTIONAL,
422 -- mandatory when using store-and-forward communications
423 -- optional when using connection-oriented communications
424 damaged-details [51] IMPLICIT Damaged-Details OPTIONAL,
425 -- this parameter may only be present in APDUs with a
426 -- protocol-version-num value of 2 or greater
427 note [46] ILL-String OPTIONAL,
428 damaged-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
429 }
430  
431 Message ::= [APPLICATION 17] SEQUENCE {
432 protocol-version-num [0] IMPLICIT INTEGER, -- {
433 -- version-1 (1),
434 -- version-2 (2)
435 -- },
436 transaction-id [1] IMPLICIT Transaction-Id,
437 service-date-time [2] IMPLICIT Service-Date-Time,
438 requester-id [3] IMPLICIT System-Id OPTIONAL,
439 -- mandatory when using store-and-forward communications
440 -- optional when using connection-oriented communications
441 responder-id [4] IMPLICIT System-Id OPTIONAL,
442 -- mandatory when using store-and-forward communications
443 -- optional when using connection-oriented communications
444 note [46] ILL-String,
445 message-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
446 }
447  
448 Status-Query ::= [APPLICATION 18] SEQUENCE {
449 protocol-version-num [0] IMPLICIT INTEGER, -- {
450 -- version-1 (1),
451 -- version-2 (2)
452 -- },
453 transaction-id [1] IMPLICIT Transaction-Id,
454 service-date-time [2] IMPLICIT Service-Date-Time,
455 requester-id [3] IMPLICIT System-Id OPTIONAL,
456 -- mandatory when using store-and-forward communications
457 -- optional when using connection-oriented communications
458 responder-id [4] IMPLICIT System-Id OPTIONAL,
459 -- mandatory when using store-and-forward communications
460 -- optional when using connection-oriented communications
461 note [46] ILL-String OPTIONAL,
462 status-query-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
463 }
464  
465 Status-Or-Error-Report ::= [APPLICATION 19] SEQUENCE {
466 protocol-version-num [0] IMPLICIT INTEGER, -- {
467 -- version-1 (1),
468 -- version-2 (2)
469 -- },
470 transaction-id [1] IMPLICIT Transaction-Id,
471 service-date-time [2] IMPLICIT Service-Date-Time,
472 requester-id [3] IMPLICIT System-Id OPTIONAL,
473 -- mandatory when using store-and-forward communications
474 -- optional when using connection-oriented communications
475 responder-id [4] IMPLICIT System-Id OPTIONAL,
476 -- mandatory when using store-and-forward communications
477 -- optional when using connection-oriented communications
478 reason-no-report [43] IMPLICIT Reason-No-Report OPTIONAL,
479 -- mandatory if no report is present;
480 -- not present otherwise
481 status-report [44] IMPLICIT Status-Report OPTIONAL,
482 error-report [45] IMPLICIT Error-Report OPTIONAL,
483 note [46] ILL-String OPTIONAL,
484 status-or-error-report-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
485 }
486  
487 Expired ::= [APPLICATION 20] SEQUENCE {
488 protocol-version-num [0] IMPLICIT INTEGER, -- {
489 -- version-1 (1),
490 --version-2 (2)
491 -- },
492 transaction-id [1] IMPLICIT Transaction-Id,
493 service-date-time [2] IMPLICIT Service-Date-Time,
494 requester-id [3] IMPLICIT System-Id OPTIONAL,
495 -- mandatory when using store-and-forward communications
496 -- optional when using connection-oriented communications
497 responder-id [4] IMPLICIT System-Id OPTIONAL,
498 -- mandatory when using store-and-forward communications
499 -- optional when using connection-oriented communications
500 expired-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL
501 }
502  
503 Account-Number ::= ILL-String
504  
505 Already-Forwarded ::= EXPLICIT SEQUENCE {
506 responder-id [0] IMPLICIT System-Id,
507 responder-address [1] IMPLICIT System-Address OPTIONAL
508 }
509  
510 Already-Tried-List-Type ::= SEQUENCE OF System-Id
511  
512 Amount ::= SEQUENCE {
513 currency-code [0] IMPLICIT PrintableString OPTIONAL, --(SIZE (3))
514 -- values defined in ISO 4217-1981
515 monetary-value [1] IMPLICIT AmountString -- (SIZE (1..10))
516 }
517  
518 AmountString ::= PrintableString -- (FROM ("1"|"2"|"3"|"4"|"5"|"6"|"7"|"8"|"9"|"0"|" "|"."|","))
519  
520 Client-Id ::= SEQUENCE {
521 client-name [0] ILL-String OPTIONAL,
522 client-status [1] ILL-String OPTIONAL,
523 client-identifier [2] ILL-String OPTIONAL
524 }
525  
526 Conditional-Results ::= EXPLICIT SEQUENCE {
527 conditions [0] IMPLICIT ENUMERATED {
528 cost-exceeds-limit (13),
529 charges (14),
530 prepayment-required (15),
531 lacks-copyright-compliance (16),
532 library-use-only (22),
533 no-reproduction (23),
534 client-signature-required (24),
535 special-collections-supervision-required (25),
536 other (27),
537 responder-specific (28),
538 proposed-delivery-service (30)
539 }
540 date-for-reply [1] IMPLICIT ISO-Date OPTIONAL,
541 locations [2] IMPLICIT SEQUENCE OF Location-Info OPTIONAL,
542 proposed-delivery-service Delivery-Service OPTIONAL
543 -- this parameter specifies a proposed delivery service the
544 -- acceptance of which is a condition of supply. It may be a
545 -- physical service or an electronic service. This parameter
546 -- may only be present in APDUs with a
547 -- protocol-version-num value of 2 or greater
548 }
549  
550 Cost-Info-Type ::= SEQUENCE {
551 account-number [0] Account-Number OPTIONAL,
552 maximum-cost [1] IMPLICIT Amount OPTIONAL,
553 reciprocal-agreement [2] IMPLICIT BOOLEAN, -- DEFAULT FALSE,
554 will-pay-fee [3] IMPLICIT BOOLEAN, -- DEFAULT FALSE,
555 payment-provided [4] IMPLICIT BOOLEAN -- DEFAULT FALSE
556 }
557  
558 Current-State ::= ENUMERATED {
559 nOT-SUPPLIED (1),
560 pENDING (2),
561 iN-PROCESS (3),
562 fORWARD (4),
563 cONDITIONAL (5),
564 cANCEL-PENDING (6),
565 cANCELLED (7),
566 sHIPPED (8),
567 rECEIVED (9),
568 rENEW-PENDING (10),
569 nOT-RECEIVED-OVERDUE (11),
570 rENEW-OVERDUE (12),
571 oVERDUE (13),
572 rETURNED (14),
573 cHECKED-IN (15),
574 rECALL (16),
575 lOST (17),
576 uNKNOWN (18)
577 }
578  
579 Damaged-Details ::= EXPLICIT SEQUENCE {
580 document-type-id [0] IMPLICIT OBJECT IDENTIFIER OPTIONAL,
581 -- identifies an OSI document type registered in accordance
582 -- with ISO 9834-2, for use in an automated environment
583 damaged-portion CHOICE {
584 complete-document [1] IMPLICIT NULL,
585 specific-units [2] IMPLICIT SEQUENCE
586 OF INTEGER
587 -- the nature and extent of a "unit" is implicit in the
588 -- value of document-type-id if one is supplied
589 }
590 }
591  
592 Date-Due ::= EXPLICIT SEQUENCE {
593 date-due-field [0] IMPLICIT ISO-Date,
594 renewable [1] IMPLICIT BOOLEAN -- DEFAULT TRUE
595 }
596  
597 Date-Time ::= SEQUENCE {
598 date [0] IMPLICIT ISO-Date,
599 time [1] IMPLICIT ISO-Time OPTIONAL
600 }
601  
602 Delivery-Address ::= SEQUENCE {
603 postal-address [0] IMPLICIT Postal-Address OPTIONAL,
604 electronic-address [1] IMPLICIT System-Address OPTIONAL
605 }
606  
607 Delivery-Service ::= CHOICE {
608 physical-delivery [7] Transportation-Mode,
609 electronic-delivery [50] IMPLICIT SEQUENCE OF Electronic-Delivery-Service
610 -- electronic-delivery may only be present in APDUs
611 -- with a protocol-version-num value of 2 or greater
612 }
613  
614 Document-Type ::= EXPLICIT SEQUENCE {
615 document-type-id [2] IMPLICIT OBJECT IDENTIFIER,
616 -- identifies an OSI document type registered in accordance
617 -- with ISO 9834-2
618 document-type-parameters [3] ANY DEFINED BY document-type-id
619 -- any parameters relating to the registered document type
620 }
621  
622 E-Delivery-Service ::= EXPLICIT SEQUENCE {
623 -- identifies the kind of electronic delivery service, e.g.
624 -- MOTIS IPM,FTAM, etc., using the assigned object
625 -- identifier for the standard e.g. {joint-iso-ccitt mhs-motis
626 -- ipms}
627 e-delivery-mode [0] IMPLICIT OBJECT IDENTIFIER,
628 e-delivery-parameters [1] ANY DEFINED BY e-delivery-mode
629 }
630  
631 Electronic-Delivery-Service ::= EXPLICIT SEQUENCE {
632 -- the first four parameters are intended to be used in an automated
633 -- environment
634 e-delivery-service [0] IMPLICIT E-Delivery-Service OPTIONAL,
635 document-type [1] IMPLICIT Document-Type OPTIONAL,
636 e-delivery-description [4] ILL-String OPTIONAL,
637 -- holds a human readable name or description of the
638 -- required electronic delivery service and document type;
639 -- this may also be used to identify an electronic delivery
640 -- service for which there is no object identifier.
641 -- This parameter may be present instead of, or in addition
642 -- to, the previous 4 parameters
643 e-delivery-details [5] CHOICE {
644 e-delivery-address [0] IMPLICIT System-Address,
645 e-delivery-id [1] IMPLICIT System-Id
646 }
647 name-or-code [6] ILL-String OPTIONAL,
648 -- holds a human-readable identifier or correlation
649 -- information for the document as shipped, e.g. a directory
650 -- and/or file name or message-id
651 delivery-time [7] IMPLICIT ISO-Time OPTIONAL
652 -- holds the requester's preferred delivery time or
653 -- the responder's proposed or actual delivery time
654 }
655  
656 Error-Report ::= EXPLICIT SEQUENCE {
657 correlation-information [0] ILL-String,
658 report-source [1] IMPLICIT Report-Source,
659 user-error-report [2] User-Error-Report OPTIONAL,
660 -- mandatory if report-source is "user"; not present otherwise
661 provider-error-report [3] Provider-Error-Report OPTIONAL
662 -- mandatory if report-source is "provider"; not
663 -- present otherwise
664 }
665  
666 Estimate-Results ::= EXPLICIT SEQUENCE {
667 cost-estimate [0] ILL-String,
668 locations [1] IMPLICIT SEQUENCE OF Location-Info OPTIONAL
669 }
670  
671 Extension ::= SEQUENCE {
672 --identifier [0] IMPLICIT INTEGER,
673 identifier [0] OBJECT IDENTIFIER,
674 critical [1] IMPLICIT BOOLEAN, -- DEFAULT FALSE,
675 item [2] ANY DEFINED BY identifier
676 --item [2] APDU-Delivery-Info
677 }
678  
679 General-Problem ::= ENUMERATED {
680 unrecognized-APDU (1),
681 mistyped-APDU (2),
682 badly-structured-APDU (3),
683 protocol-version-not-supported (4),
684 other (5)
685 }
686  
687 History-Report ::= EXPLICIT SEQUENCE {
688 date-requested [0] IMPLICIT ISO-Date OPTIONAL,
689 author [1] ILL-String OPTIONAL,
690 title [2] ILL-String OPTIONAL,
691 author-of-article [3] ILL-String OPTIONAL,
692 title-of-article [4] ILL-String OPTIONAL,
693 date-of-last-transition [5] IMPLICIT ISO-Date,
694 most-recent-service [6] IMPLICIT ENUMERATED {
695 iLL-REQUEST (1),
696 fORWARD (21),
697 fORWARD-NOTIFICATION (2),
698 sHIPPED (3),
699 iLL-ANSWER (4),
700 cONDITIONAL-REPLY (5),
701 cANCEL (6),
702 cANCEL-REPLY (7),
703 rECEIVED (8),
704 rECALL (9),
705 rETURNED (10),
706 cHECKED-IN (11),
707 rENEW-ANSWER (14),
708 lOST (15),
709 dAMAGED (16),
710 mESSAGE (17),
711 sTATUS-QUERY (18),
712 sTATUS-OR-ERROR-REPORT (19),
713 eXPIRED (20)
714 }
715 date-of-most-recent-service [7] IMPLICIT ISO-Date,
716 initiator-of-most-recent-service [8] IMPLICIT System-Id,
717 shipped-service-type [9] IMPLICIT Shipped-Service-Type OPTIONAL,
718 -- If the information is available, i.e. if a SHIPPED or
719 -- RECEIVED APDU has been sent or received, then the
720 -- value in this parameter shall be supplied.
721 -- Value must contain the most current information, e.g. if a
722 -- requester has received a SHIPPED APDU and then
723 -- invokes a RECEIVED.request, then the value from the
724 -- RECEIVED.request is used
725 transaction-results [10] IMPLICIT Transaction-Results OPTIONAL,
726 -- If the information is available, i.e. if an ILL-ANWSER
727 -- APDU has been sent or received, then the value in this
728 -- parameter shall be supplied.
729 most-recent-service-note [11] ILL-String OPTIONAL
730 -- If the information is available, i.e. if a note has been
731 -- supplied in the most recent service primitive, then the
732 -- value in this parameter shall be supplied.
733 }
734  
735 Hold-Placed-Results ::= EXPLICIT SEQUENCE {
736 estimated-date-available [0] IMPLICIT ISO-Date,
737 hold-placed-medium-type [1] IMPLICIT Medium-Type OPTIONAL,
738 locations [2] IMPLICIT SEQUENCE OF Location-Info OPTIONAL
739 }
740  
741 ILL-APDU-Type ::= ENUMERATED {
742 iLL-REQUEST (1),
743 fORWARD-NOTIFICATION (2),
744 sHIPPED (3),
745 iLL-ANSWER (4),
746 cONDITIONAL-REPLY (5),
747 cANCEL (6),
748 cANCEL-REPLY (7),
749 rECEIVED (8),
750 rECALL (9),
751 rETURNED (10),
752 cHECKED-IN (11),
753 oVERDUE (12),
754 rENEW (13),
755 rENEW-ANSWER (14),
756 lOST (15),
757 dAMAGED (16),
758 mESSAGE (17),
759 sTATUS-QUERY (18),
760 sTATUS-OR-ERROR-REPORT (19),
761 eXPIRED (20)
762 }
763  
764 ILL-Service-Type ::= ENUMERATED {
765 loan (1),
766 copy-non-returnable (2),
767 locations (3),
768 estimate (4),
769 responder-specific (5)
770 }
771  
772 ILL-String ::= CHOICE {
773 generalstring GeneralString,
774 -- may contain any ISO registered G (graphic) and C
775 -- (control) character set
776 edifactstring EDIFACTString
777 }
778 -- may not include leading or trailing spaces
779 -- may not consist only of space (" ") or non-printing
780 -- characters
781  
782 Intermediary-Problem ::= ENUMERATED {
783 cannot-send-onward (1)
784 }
785  
786 ISO-Date ::= VisibleString
787 -- conforms to ISO 8601
788 -- length = 8
789 -- fixed
790 -- YYYYMMDD
791  
792 ISO-Time ::= VisibleString
793 -- conforms to ISO 8601
794 -- length = 6,
795 -- fixed
796 -- HHMMSS
797 -- local time of person or institution invoking service
798  
799 Item-Id ::= SEQUENCE {
800 item-type [0] IMPLICIT Item-Type OPTIONAL,
801 held-medium-type [1] IMPLICIT Medium-Type OPTIONAL,
802 call-number [2] ILL-String OPTIONAL,
803 author [3] ILL-String OPTIONAL,
804 title [4] ILL-String OPTIONAL,
805 sub-title [5] ILL-String OPTIONAL,
806 sponsoring-body [6] ILL-String OPTIONAL,
807 place-of-publication [7] ILL-String OPTIONAL,
808 publisher [8] ILL-String OPTIONAL,
809 series-title-number [9] ILL-String OPTIONAL,
810 volume-issue [10] ILL-String OPTIONAL,
811 edition [11] ILL-String OPTIONAL,
812 publication-date [12] ILL-String OPTIONAL,
813 publication-date-of-component [13] ILL-String OPTIONAL,
814 author-of-article [14] ILL-String OPTIONAL,
815 title-of-article [15] ILL-String OPTIONAL,
816 pagination [16] ILL-String OPTIONAL,
817 -- DC - 'EXTERNAL' is not supported in Convert::ASN1
818 -- national-bibliography-no [17] EXTERNAL OPTIONAL,
819 iSBN [18] ILL-String OPTIONAL, -- (SIZE (10))
820 -- must conform to ISO 2108-1978
821 iSSN [19] ILL-String OPTIONAL, -- (SIZE (8))
822 -- must conform to ISO 3297-1986
823 -- DC - 'EXTERNAL' is not supported in Convert::ASN1
824 -- system-no [20] EXTERNAL OPTIONAL,
825 additional-no-letters [21] ILL-String OPTIONAL,
826 verification-reference-source [22] ILL-String OPTIONAL
827 }
828  
829 Item-Type ::= ENUMERATED {
830 monograph (1),
831 serial (2),
832 other (3)
833 }
834  
835 Location-Info ::= EXPLICIT SEQUENCE {
836 location-id [0] IMPLICIT System-Id,
837 location-address [1] IMPLICIT System-Address OPTIONAL,
838 location-note [2] ILL-String OPTIONAL
839 }
840  
841 Locations-Results ::= EXPLICIT SEQUENCE {
842 reason-locs-provided [0] IMPLICIT Reason-Locs-Provided OPTIONAL,
843 locations [1] IMPLICIT SEQUENCE OF Location-Info
844 }
845  
846 Medium-Type ::= ENUMERATED {
847 printed (1),
848 microform (3),
849 film-or-video-recording (4),
850 audio-recording (5),
851 machine-readable (6),
852 other (7)
853 }
854  
855 Name-Of-Person-Or-Institution ::= CHOICE {
856 name-of-person [0] ILL-String,
857 name-of-institution [1] ILL-String
858 }
859  
860 Person-Or-Institution-Symbol ::= CHOICE {
861 person-symbol [0] ILL-String,
862 institution-symbol [1] ILL-String
863 }
864  
865 Place-On-Hold-Type ::= ENUMERATED {
866 yes (1),
867 no (2),
868 according-to-responder-policy (3)
869 }
870  
871 Postal-Address ::= SEQUENCE {
872 name-of-person-or-institution [0] Name-Of-Person-Or-Institution OPTIONAL,
873 extended-postal-delivery-address [1] ILL-String OPTIONAL,
874 street-and-number [2] ILL-String OPTIONAL,
875 post-office-box [3] ILL-String OPTIONAL,
876 city [4] ILL-String OPTIONAL,
877 region [5] ILL-String OPTIONAL,
878 country [6] ILL-String OPTIONAL,
879 postal-code [7] ILL-String OPTIONAL
880 }
881  
882 Provider-Error-Report ::= CHOICE {
883 general-problem [0] IMPLICIT General-Problem,
884 transaction-id-problem [1] IMPLICIT Transaction-Id-Problem,
885 state-transition-prohibited [2] IMPLICIT State-Transition-Prohibited
886 }
887  
888 Reason-Locs-Provided ::= ENUMERATED {
889 in-use-on-loan (1),
890 in-process (2),
891 lost (3),
892 non-circulating (4),
893 not-owned (5),
894 on-order (6),
895 volume-issue-not-yet-available (7),
896 at-bindery (8),
897 lacking (9),
898 not-on-shelf (10),
899 on-reserve (11),
900 poor-condition (12),
901 cost-exceeds-limit (13),
902 on-hold (19),
903 other (27),
904 responder-specific (28)
905 }
906  
907 Reason-No-Report ::= ENUMERATED {
908 temporary (1),
909 permanent (2)
910 }
911  
912 Reason-Not-Available ::= ENUMERATED {
913 in-use-on-loan (1),
914 in-process (2),
915 on-order (6),
916 volume-issue-not-yet-available (7),
917 at-bindery (8),
918 cost-exceeds-limit (13),
919 charges (14),
920 prepayment-required (15),
921 lacks-copyright-compliance (16),
922 not-found-as-cited (17),
923 on-hold (19),
924 other (27),
925 responder-specific (28)
926 }
927  
928 Reason-Unfilled ::= ENUMERATED {
929 in-use-on-loan (1),
930 in-process (2),
931 lost (3),
932 non-circulating (4),
933 not-owned (5),
934 on-order (6),
935 volume-issue-not-yet-available (7),
936 at-bindery (8),
937 lacking (9),
938 not-on-shelf (10),
939 on-reserve (11),
940 poor-condition (12),
941 cost-exceeds-limit (13),
942 charges (14),
943 prepayment-required (15),
944 lacks-copyright-compliance (16),
945 not-found-as-cited (17),
946 locations-not-found (18),
947 on-hold (19),
948 policy-problem (20),
949 mandatory-messaging-not-supported (21),
950 expiry-not-supported (22) ,
951 requested-delivery-services-not-supported (23),
952 preferred-delivery-time-not-possible (24),
953 other (27),
954 responder-specific (28)
955 }
956  
957 Reason-Will-Supply ::= ENUMERATED {
958 in-use-on-loan (1),
959 in-process (2),
960 on-order (6),
961 at-bindery (8),
962 on-hold (19),
963 being-processed-for-supply (26),
964 other (27),
965 responder-specific (28),
966 electronic-delivery (30)
967 }
968  
969 Report-Source ::= ENUMERATED {
970 user (1),
971 provider (2)
972 }
973  
974 Requester-Optional-Messages-Type ::= SEQUENCE {
975 can-send-RECEIVED [0] IMPLICIT BOOLEAN,
976 can-send-RETURNED [1] IMPLICIT BOOLEAN,
977 requester-SHIPPED [2] IMPLICIT ENUMERATED {
978 requires (1),
979 desires (2),
980 neither (3)
981 }
982 requester-CHECKED-IN [3] IMPLICIT ENUMERATED {
983 requires (1),
984 desires (2),
985 neither (3)
986 }
987 }
988  
989 Responder-Optional-Messages-Type ::= EXPLICIT SEQUENCE {
990 can-send-SHIPPED [0] IMPLICIT BOOLEAN,
991 can-send-CHECKED-IN [1] IMPLICIT BOOLEAN,
992 responder-RECEIVED [2] IMPLICIT ENUMERATED {
993 requires (1),
994 desires (2),
995 neither (3)
996 }
997 responder-RETURNED [3] IMPLICIT ENUMERATED {
998 requires (1),
999 desires (2),
1000 neither (3)
1001 }
1002 }
1003  
1004 Results-Explanation ::= CHOICE {
1005 conditional-results [1] Conditional-Results,
1006 -- chosen if transaction-results=CONDITIONAL
1007 retry-results [2] Retry-Results,
1008 -- chosen if transaction-results=RETRY
1009 unfilled-results [3] Unfilled-Results,
1010 --chosen if transaction-results=UNFILLED
1011 locations-results [4] Locations-Results,
1012 -- chosen if transaction-results=LOCATIONS-PROVIDED
1013 will-supply-results [5] Will-Supply-Results,
1014 -- chosen if transaction-results=WILL-SUPPLY
1015 hold-placed-results [6] Hold-Placed-Results,
1016 -- chosen if transaction-results=HOLD-PLACED
1017 estimate-results [7] Estimate-Results
1018 -- chosen if transaction-results=ESTIMATE
1019 }
1020  
1021 Retry-Results ::= EXPLICIT SEQUENCE {
1022 reason-not-available [0] IMPLICIT Reason-Not-Available OPTIONAL,
1023 retry-date [1] IMPLICIT ISO-Date OPTIONAL,
1024 locations [2] IMPLICIT SEQUENCE OF Location-Info OPTIONAL
1025 }
1026  
1027 Search-Type ::= SEQUENCE {
1028 level-of-service [0] ILL-String OPTIONAL, -- (SIZE (1))
1029 need-before-date [1] IMPLICIT ISO-Date OPTIONAL,
1030 expiry-flag [2] IMPLICIT ENUMERATED {
1031 need-Before-Date (1),
1032 other-Date (2),
1033 no-Expiry (3)
1034 } -- DEFAULT 3,
1035 -- value of "need-Before-Date" indicates that
1036 -- need-before-date also specifies transaction expiry
1037 -- date
1038 expiry-date [3] IMPLICIT ISO-Date OPTIONAL
1039 -- alternative expiry date can be used only when expiry-flag
1040 -- is set to "Other-Date"
1041 }
1042  
1043 Security-Problem ::= ILL-String
1044  
1045 Send-To-List-Type ::= SEQUENCE OF SEQUENCE {
1046 system-id [0] IMPLICIT System-Id,
1047 account-number [1] Account-Number OPTIONAL,
1048 system-address [2] IMPLICIT System-Address OPTIONAL
1049 }
1050  
1051 Service-Date-Time ::= SEQUENCE {
1052 date-time-of-this-service [0] IMPLICIT Date-Time,
1053 -- Time is mandatory for 2nd and subsequent services
1054 -- invoked for a given ILL-transaction on the same day
1055 date-time-of-original-service [1] IMPLICIT Date-Time OPTIONAL
1056 }
1057  
1058 Shipped-Conditions ::= ENUMERATED {
1059 library-use-only (22),
1060 no-reproduction (23),
1061 client-signature-required (24),
1062 special-collections-supervision-required (25),
1063 other (27)
1064 }
1065  
1066 Shipped-Service-Type ::= ILL-Service-Type -- (loan | copy-non-returnable)
1067 -- subtype of ILL-Service-Type
1068  
1069 Shipped-Via ::= CHOICE {
1070 physical-delivery [5] Transportation-Mode,
1071 electronic-delivery [50] IMPLICIT Electronic-Delivery-Service
1072 }
1073  
1074 State-Transition-Prohibited ::= EXPLICIT SEQUENCE {
1075 aPDU-type [0] IMPLICIT ILL-APDU-Type,
1076 current-state [1] IMPLICIT Current-State
1077 }
1078  
1079 Status-Report ::= EXPLICIT SEQUENCE {
1080 user-status-report [0] IMPLICIT History-Report,
1081 provider-status-report [1] IMPLICIT Current-State
1082 }
1083  
1084 -- DC - 'EXTERNAL' is not supported in Convert::ASN1
1085 -- Supplemental-Item-Description ::= EXPLICIT SEQUENCE OF EXTERNAL
1086 -- -- the syntax of supplementary item description information is defined outside this standard
1087  
1088 Supply-Details ::= EXPLICIT SEQUENCE {
1089 date-shipped [0] IMPLICIT ISO-Date OPTIONAL,
1090 date-due [1] IMPLICIT Date-Due OPTIONAL,
1091 chargeable-units [2] IMPLICIT INTEGER OPTIONAL, -- (1..9999)
1092 cost [3] IMPLICIT Amount OPTIONAL,
1093 shipped-conditions [4] IMPLICIT Shipped-Conditions OPTIONAL,
1094 shipped-via Shipped-Via OPTIONAL,
1095 -- electronic-delivery may only be present in APDUs with a
1096 -- protocol-version-num value of 2 or greater
1097 insured-for [6] IMPLICIT Amount OPTIONAL,
1098 return-insurance-require [7] IMPLICIT Amount OPTIONAL,
1099 no-of-units-per-medium [8] IMPLICIT SEQUENCE OF Units-Per-Medium-Type OPTIONAL
1100 }
1101  
1102 Supply-Medium-Info-Type ::= EXPLICIT SEQUENCE {
1103 supply-medium-type [0] IMPLICIT Supply-Medium-Type,
1104 medium-characteristics [1] ILL-String OPTIONAL
1105 }
1106  
1107 Supply-Medium-Type ::= ENUMERATED {
1108 printed (1),
1109 photocopy (2),
1110 microform (3),
1111 film-or-video-recording (4),
1112 audio-recording (5),
1113 machine-readable (6),
1114 other (7)
1115 }
1116  
1117 System-Address ::= SEQUENCE {
1118 telecom-service-identifier [0] ILL-String OPTIONAL,
1119 telecom-service-address [1] ILL-String OPTIONAL
1120 }
1121  
1122 System-Id ::= SEQUENCE {
1123 --at least one of the following must be present
1124 person-or-institution-symbol [0] Person-Or-Institution-Symbol OPTIONAL,
1125 name-of-person-or-institution [1] Name-Of-Person-Or-Institution OPTIONAL
1126 }
1127  
1128 Third-Party-Info-Type ::= SEQUENCE {
1129 permission-to-forward [0] IMPLICIT BOOLEAN, -- DEFAULT FALSE,
1130 permission-to-chain [1] IMPLICIT BOOLEAN, -- DEFAULT FALSE,
1131 permission-to-partition [2] IMPLICIT BOOLEAN, -- DEFAULT FALSE,
1132 permission-to-change-send-to-list [3] IMPLICIT BOOLEAN, -- DEFAULT FALSE,
1133 initial-requester-address [4] IMPLICIT System-Address OPTIONAL,
1134 -- mandatory when initiating a FORWARD service or an
1135 -- ILL-REQUEST service for a partitioned ILL
1136 -- sub-transaction; optional otherwise
1137 preference [5] IMPLICIT ENUMERATED {
1138 ordered (1),
1139 unordered (2)
1140 } -- DEFAULT 2,
1141 send-to-list [6] IMPLICIT Send-To-List-Type OPTIONAL,
1142 already-tried-list [7] IMPLICIT Already-Tried-List-Type OPTIONAL
1143 -- mandatory when initiating a FORWARD service, or when
1144 -- initiating an ILL-REQUEST service for an ILL
1145 -- sub-transaction if the received ILL-REQUEST included an
1146 -- "already-tried-list"; optional otherwise
1147 }
1148  
1149 Transaction-Id ::= SEQUENCE {
1150 initial-requester-id [0] IMPLICIT System-Id OPTIONAL,
1151 -- mandatory for sub-transactions; not called
1152 -- "requester-id" to distinguish id of initial-requester
1153 --from id of requester of sub-transaction if there is one
1154 transaction-group-qualifier [1] ILL-String,
1155 transaction-qualifier [2] ILL-String,
1156 sub-transaction-qualifier [3] ILL-String OPTIONAL
1157 -- mandatory for sub-transactions
1158 }
1159  
1160 Transaction-Id-Problem ::= ENUMERATED {
1161 duplicate-transaction-id (1),
1162 invalid-transaction-id (2),
1163 unknown-transaction-id (3)
1164 }
1165  
1166 Transaction-Results ::= ENUMERATED {
1167 conditional (1),
1168 retry (2),
1169 unfilled (3),
1170 locations-provided (4),
1171 will-supply (5),
1172 hold-placed (6),
1173 estimate (7)
1174 }
1175  
1176 Transaction-Type ::= ENUMERATED {
1177 simple (1),
1178 chained (2),
1179 partitioned (3)
1180 }
1181  
1182 Transportation-Mode ::= ILL-String
1183  
1184 Unable-To-Perform ::= ENUMERATED {
1185 not-available (1),
1186 resource-limitation (2),
1187 other (3)
1188 }
1189  
1190 Unfilled-Results ::= EXPLICIT SEQUENCE {
1191 reason-unfilled [0] IMPLICIT Reason-Unfilled,
1192 locations [1] IMPLICIT SEQUENCE OF Location-Info OPTIONAL
1193 }
1194  
1195 Units-Per-Medium-Type ::= EXPLICIT SEQUENCE {
1196 medium [0] Supply-Medium-Type,
1197 no-of-units [1] INTEGER -- (1..9999)
1198 }
1199  
1200 User-Error-Report ::= CHOICE {
1201 already-forwarded [0] IMPLICIT Already-Forwarded,
1202 intermediary-problem [1] IMPLICIT Intermediary-Problem,
1203 security-problem [2] Security-Problem,
1204 unable-to-perform [3] IMPLICIT Unable-To-Perform
1205 }
1206  
1207  
1208 Will-Supply-Results ::= EXPLICIT SEQUENCE {
1209 reason-will-supply [0] Reason-Will-Supply,
1210 supply-date [1] ISO-Date OPTIONAL,
1211 return-to-address [2] Postal-Address OPTIONAL,
1212 locations [3] IMPLICIT SEQUENCE OF Location-Info OPTIONAL,
1213 electronic-delivery-service [4] Electronic-Delivery-Service OPTIONAL
1214 -- if present, this must be one of the services proposed by
1215 -- the requester
1216 }
1217  
1218 EDIFACTString ::= VisibleString
1219 -- (FROM ("A"|"B"|"C"|"D"|"E"|"F"|"G"|"H"|
1220 -- "I"|"J"|"K"|"L"|"M"|"N"|"O"|"P"|"Q"|"R"|"S"|"T"|"U"|
1221 -- "V"|"W"|"X"|"Y"|"Z"|"a"|"b"|"c"|"d"|"e"|"f"|"g"|"h"|
1222 -- "i"|"j"|"k"|"l"|"m"|"n"|"o"|"p"|"q"|"r"|"s"|"t"|"u"|
1223 -- "v"|"w"|"x"|"y"|"z"|"1"|"2"|"3"|"4"|"5"|"6"|"7"|"8"|
1224 -- "9"|"0"|" "|"."|","|"-"|"("|")"|"/"|"="|"!"|"""|"%"|"&"|
1225 -- "*"|";"|"<"|">"|"'"|"+"|":"|"?"))
1226  
1227 -- END '<-- balance the quote from EDIFACTString (just to make emacs happy)
1228  
1229  
1230 -- DC expiriment
1231 ----ILL-APDU-Delivery-Info DEFINITIONS ::=
1232 ---- the object identifier for this extension, registered with
1233 ---- the Interlibrary Loan Application Standards Maintenance
1234 ---- Agency, is 1.0.10161.13.3
1235 --
1236 ----BEGIN
1237 --
1238 ----IMPORTS System-Address, System-Id from ISO-10161-ILL-1;
1239 --
1240 --APDU-Delivery-Info::=SEQUENCE {
1241 -- sender-info [0] IMPLICIT SEQUENCE OF APDU-Delivery-Parameters,
1242 -- recipient-info [1] IMPLICIT SEQUENCE OF APDU-Delivery-Parameters,
1243 -- transponder-info [2] IMPLICIT SEQUENCE OF APDU-Delivery-Parameters OPTIONAL
1244 -- }
1245 --
1246 --APDU-Delivery-Parameters::=SEQUENCE {
1247 -- encoding [0] IMPLICIT SEQUENCE OF APDU-Encoding, -- SIZE (1..3)
1248 -- --provides, in preferred order, the types
1249 -- --of encoding acceptable at the address
1250 -- --indicated in transport
1251 -- transport [1] IMPLICIT System-Address,
1252 -- aliases [2] IMPLICIT SEQUENCE OF System-Id OPTIONAL
1253 -- --provides in unsorted order, the several
1254 -- --System-Ids associated with this
1255 -- --System-Address
1256 -- }
1257 --
1258 --APDU-Encoding::=ENUMERATED {
1259 -- eDIFACT (1),
1260 -- bER-IN-MIME (2),
1261 -- bER (3)
1262 -- }
1263 --
1264 --
1265 --
1266 ----END
1267 _END_OF_ASN_
1268  
1269 =head1 SEE ALSO
1270  
1271 See the README for system design notes.
1272 See the parent class(es) for other available methods.
1273  
1274 For more information on Interlibrary Loan standards (ISO 10160/10161),
1275 a good place to start is:
1276  
1277 http://www.nlc-bnc.ca/iso/ill/main.htm
1278  
1279 =cut
1280  
1281 =head1 AUTHOR
1282  
1283 David Christensen, <DChristensenSPAMLESS@westman.wave.ca>
1284  
1285 =cut
1286  
1287  
1288 =head1 COPYRIGHT AND LICENSE
1289  
1290 Copyright 2003 by David Christensen
1291  
1292 This library is free software; you can redistribute it and/or modify it
1293 under the same terms as Perl itself.
1294  
1295 =cut
1296  
1297 3 1;
« lib/Biblio/ILL/ISO/TransportationMode.pm ↑ Summary