Purpose: Request a new Subscription Control Number
KRN,KDE>W X 2
Purpose: Subscription Update-add/edit a subscriber
Input: HLSCN=Subscription Control Number (required)
HLNN=Logical Link name in file 870 (required)
HLTP=Subscription Type (required)
0=descriptive updates only
2=other (locally defined)
HLAD=Activation date (optional), defaults to 'now'
HLTD=Termination date (optional), default is 'open-ended'
HLRAP=HL7 receiving application
a. The ACTIVATION DATE and TERMINATION DATE fields can be pre-determined
by the subscriber.
b. Setting the TERMINATION DATE field is optional. Setting this field is
effectively setting an expiration date for the subscriber. Messages will
no longer be delivered to this network node as long as the current date is
later than the termination date. If the current subscription has a
Termination Date set and the subscriber changes their mind, the date can
be changed or deleted with a new subscription update message. The current
termination date will be deleted when the variable HLTD is set to 'null.'
c. The Subscription Control Number and the Destination multiple are
UNEDITABLE fields. d. All modifications to existing subscriber records using
results in an update of the Subscriber History multiple.
b. INQUIRE TO FILE ENTRIES:
DESTINATION: CIRN@TEST LLP RECEIVING APPLICATION: CIRN
LOGICAL LINK: TEST LLP TYPE: Patient Clinical and
CREATION DATE/TIME: APR 29, 1997@10:27:57
ACTIVATION DATE/TIME: APR 29, 1997@10:27:57
MODIFICATION DATE/TIME: APR 29, 1997@10:27:57
LAST CREATION DATE/TIME: APR 29, 1997@10:25:07
LAST ACTIVATION DATE/TIME: APR 29, 1997@10:25:07
LAST SUBSCRIPTION TYPE: Patient Clinical and Descriptive
Purpose: Return active subscriber information
HLSCN=Subscription control number
HLTP=Subscription type (optional)
HLCL=HL7 Client Protocol (optional)
HLL=Array of current subscribers (passed by reference)
HLL("LINKS",n)=CLIENT PROTOCOL^LOGICAL LINK^TYPE^CREATION
DATE^ACTIVATION DATE^TERMINATION DATE
a. When HLTP is 'null' all subscribers are returned.
b. Multiple calls can be made to GET. For example, to route a message to
both Clinical and Descriptive subscribers, the first call would have HLTP
set to '0', and in the second call it would be set to '1.' If the HLL
array already exists, it will be appended to.
c. The HL7 Package requires the HLL array to contain both the HL7 Client
Protocol and the Logical Link. In this call, the Client Protocol is optional.
If you pass in the Protocol name, it will be returned in the first piece of
the array. If you are making this call specifically to dynamically route a
message, submit the Client Protocol. If you make this call to retrieve other
information about the subscriber, the first piece of the HLL array will be
(1) Return all subscriber information for SCN #1
KRN,KDE>K HLL D GET^HLSUB(1,,,.HLL)
(2) Return all subscribers using multiple calls and selected 'subscriber
KRN,KDE>K HLL D GET^HLSUB(1,1,"CIRN ROUTER",.HLL)
KRN,KDE>D GET^HLSUB(1,2,"CIRN ROUTER",.HLL)