📄 isoill_9702.asn1
字号:
-- use of parameters and types is to be consistent with their definitions in clause 3ISO-10161-ILL-1 DEFINITIONS EXPLICIT TAGS ::=BEGIN-- ISO-10161-ILL-1 refers to the ILL ISO standard 10161 version 1-- and version 2 as specified in ISO standard 10161 Amendment 1ILL-APDU ::= CHOICE { ILL-Request, Forward-Notification, Shipped, ILL-Answer, Conditional-Reply, Cancel, Cancel-Reply, Received, Recall, Returned, Checked-In, Overdue, Renew, Renew-Answer, Lost, Damaged, Message, Status-Query, Status-Or-Error-Report, Expired }-- The tagging scheme used in the APDU definitions is as follows:-- each named type that is a component type of an APDU definition is assigned a different tag-- that is unique within the set of APDU definitions. Where these component types themselves-- have structure, the tagging within such type definitions has only local scope. ILL-Request ::= [APPLICATION 1] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications transaction-type [5] IMPLICIT Transaction-Type DEFAULT 1, delivery-address [6] IMPLICIT Delivery-Address OPTIONAL, delivery-service Delivery-Service OPTIONAL, billing-address [8] IMPLICIT Delivery-Address OPTIONAL, iLL-service-type [9] IMPLICIT SEQUENCE SIZE (1..5) OF ILL-Service-Type, -- this sequence is a list, in order of preference responder-specific-service [10] EXTERNAL OPTIONAL, -- use direct reference style requester-optional-messages [11] IMPLICIT Requester-Optional-Messages-Type, search-type [12] IMPLICIT Search-Type OPTIONAL, supply-medium-info-type [13] IMPLICIT SEQUENCE SIZE (1..7) OF Supply-Medium-Info-Type OPTIONAL, -- this sequence is a list, in order of preference, -- with a maximum number of 7 entries place-on-hold [14] IMPLICIT Place-On-Hold-Type DEFAULT 3, client-id [15] IMPLICIT Client-Id OPTIONAL, item-id [16] IMPLICIT Item-Id, supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL, cost-info-type [18] IMPLICIT Cost-Info-Type OPTIONAL, copyright-compliance [19] ILL-String OPTIONAL, third-party-info-type [20] IMPLICIT Third-Party-Info-Type OPTIONAL, -- mandatory when initiating a FORWARD service or an -- ILL-REQUEST service for a partitioned ILL sub- -- transaction or when initiating an ILL-REQUEST service for -- an ILL sub-transaction if the received ILL-REQUEST -- included an "already-tried-list";optional otherwise retry-flag [21] IMPLICIT BOOLEAN DEFAULT FALSE, forward-flag [22] IMPLICIT BOOLEAN DEFAULT FALSE, requester-note [46] ILL-String OPTIONAL, forward-note [47] ILL-String OPTIONAL, iLL-request-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Forward-Notification ::= [APPLICATION 2] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id, -- mandatory in this APDU responder-address [24] IMPLICIT System-Address OPTIONAL, intermediary-id [25] IMPLICIT System-Id, notification-note [48] ILL-String OPTIONAL, forward-notification-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Shipped ::= [APPLICATION 3] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-address [24] IMPLICIT System-Address OPTIONAL, intermediary-id [25] IMPLICIT System-Id OPTIONAL, supplier-id [26] IMPLICIT System-Id OPTIONAL, client-id [15] IMPLICIT Client-Id OPTIONAL, transaction-type [5] IMPLICIT Transaction-Type DEFAULT 1, supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL, shipped-service-type [27] IMPLICIT Shipped-Service-Type, responder-optional-messages [28] IMPLICIT Responder-Optional-Messages-Type OPTIONAL, supply-details [29] IMPLICIT Supply-Details, return-to-address [30] IMPLICIT Postal-Address OPTIONAL, responder-note [46] ILL-String OPTIONAL, shipped-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }ILL-Answer ::= [APPLICATION 4] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications transaction-results [31] IMPLICIT Transaction-Results, results-explanation [32] CHOICE { conditional-results [1] Conditional-Results, -- chosen if transaction-results=CONDITIONAL retry-results [2] Retry-Results, -- chosen if transaction-results=RETRY unfilled-results [3] Unfilled-Results, --chosen if transaction-results=UNFILLED locations-results [4] Locations-Results, -- chosen if transaction-results=LOCATIONS-PROVIDED will-supply-results [5] Will-Supply-Results, -- chosen if transaction-results=WILL-SUPPLY hold-placed-results [6] Hold-Placed-Results, -- chosen if transaction-results=HOLD-PLACED estimate-results [7] Estimate-Results -- chosen if transaction-results=ESTIMATE } OPTIONAL, -- optional if transaction-results equals RETRY, UNFILLED, -- WILL-SUPPLY or HOLD-PLACED; -- required if transaction-results equals CONDITIONAL, -- LOCATIONS-PROVIDED or ESTIMATE responder-specific-results [33] EXTERNAL OPTIONAL, -- this type is mandatory if results-explanation -- chosen for any result -- has the value "responder-specific". supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL, send-to-list [23] IMPLICIT Send-To-List-Type OPTIONAL, already-tried-list [34] IMPLICIT Already-Tried-List-Type OPTIONAL, responder-optional-messages [28] IMPLICIT Responder-Optional-Messages-Type OPTIONAL, responder-note [46] ILL-String OPTIONAL, ill-answer-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Conditional-Reply ::= [APPLICATION 5] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications answer [35] IMPLICIT BOOLEAN, requester-note [46] ILL-String OPTIONAL, conditional-reply-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Cancel ::= [APPLICATION 6] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications requester-note [46] ILL-String OPTIONAL, cancel-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Cancel-Reply ::= [APPLICATION 7] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications answer [35] IMPLICIT BOOLEAN, responder-note [46] ILL-String OPTIONAL, cancel-reply-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Received ::= [APPLICATION 8] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications supplier-id [26] IMPLICIT System-Id OPTIONAL, supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL, date-received [36] IMPLICIT ISO-Date, shipped-service-type [27] IMPLICIT Shipped-Service-Type, requester-note [46] ILL-String OPTIONAL, received-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Recall ::= [APPLICATION 9] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-note [46] ILL-String OPTIONAL, recall-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Returned ::= [APPLICATION 10] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications supplemental-item-description [17] IMPLICIT Supplemental-Item-Description OPTIONAL, date-returned [37] IMPLICIT ISO-Date, returned-via [38] Transportation-Mode OPTIONAL, insured-for [39] IMPLICIT Amount OPTIONAL, requester-note [46] ILL-String OPTIONAL, returned-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Checked-In ::= [APPLICATION 11] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications date-checked-in [40] IMPLICIT ISO-Date, responder-note [46] ILL-String OPTIONAL, checked-in-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Overdue ::= [APPLICATION 12] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications date-due [41] IMPLICIT Date-Due, responder-note [46] ILL-String OPTIONAL, overdue-extensions [49] SEQUENCE OF Extension OPTIONAL }Renew ::= [APPLICATION 13] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications desired-due-date [42] IMPLICIT ISO-Date OPTIONAL, requester-note [46] ILL-String OPTIONAL, renew-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Renew-Answer ::= [APPLICATION 14] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications answer [35] IMPLICIT BOOLEAN, date-due [41] IMPLICIT Date-Due OPTIONAL, responder-note [46] ILL-String OPTIONAL, renew-answer-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Lost ::= [APPLICATION 15] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications responder-id [4] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications -- optional when using connection-oriented communications note [46] ILL-String OPTIONAL, lost-extensions [49] IMPLICIT SEQUENCE OF Extension OPTIONAL }Damaged ::= [APPLICATION 16] SEQUENCE { protocol-version-num [0] IMPLICIT INTEGER { version-1 (1), version-2 (2) }, transaction-id [1] IMPLICIT Transaction-Id, service-date-time [2] IMPLICIT Service-Date-Time, requester-id [3] IMPLICIT System-Id OPTIONAL, -- mandatory when using store-and-forward communications
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -