sockets: fix for whether poll is available
[yaz-moved-to-github.git] / src / oclc-ill-req-ext.asn
index 6b44cbc..9226c26 100644 (file)
@@ -1,4 +1,6 @@
-CLCILLRequestExtension DEFINITIONS ::=
+-- Couple of OCLC-specific extensions to their ILL-Request
+
+OCLCILLRequestExtension DEFINITIONS ::=
 --The object identifier is 1.0.10161.13.2
 BEGIN
 IMPORTS ILL-String FROM ISO-10161-ILL-1;
@@ -13,5 +15,31 @@ OCLCILLRequestExtension ::=SEQUENCE {
     affiliations [6] ILL-String OPTIONAL,
     source [7] ILL-String OPTIONAL
 }
+
+-- If present, systemNo should contain an OCLC number. To encode the OCLC
+-- number, use the external object for system number defined by the Library and
+-- Archives Canada.
+-- The object identifier is 1.2.124.10161.2
+
+SystemNo ::= SEQUENCE SIZE (1..10) OF SEQUENCE 
+ system System,
+ recordNo RecordNo 
+} 
+System ::= ENUMERATED { 
+ dobis (1), 
+ candoc (2),
+ oclc (3),
+ rlin (4), 
+ utlas (5),
+ other (6)
+}
+--Do not include the acronym for the system as part of the record number unless
+--"other (6)" is chosen. 
+ RecordNo ::= ILL-String (SIZE (1..50))
+
+
+
 END