GLOBAL MAP DATA DICTIONARY #774 -- SUBSCRIPTION CONTROL FILE                                                      3/24/25    PAGE 1
STORED IN ^HLS(774,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                         (VERSION 1.6)   
-----------------------------------------------------------------------------------------------------------------------------------
This file is used to control the flow of messages from one system to another. It is currently used by CIRN to permit sites to
subscribe via HL7 Master File updates to patient information. This subscription 'request' message contains the data necessary to
update the Subscription Control file via the api: 
 
UPD^HLSUB(HLSCN,HLNN,HLTP,HLAD,HLTD,HLRAP,.HLER) 
 
HLSCN-subscription control number HLNN-Logical Link name HLTP-subscription type 
       0-patient descriptive only 
       1-patient clinical and descriptive 
       2-other (locally defined) HLAD-activation date HLTD-termination date (optional) HLRAP-HL7 receiving application HLER-error
messages (pass by reference) 
 
The patient file maintains a pointer to this file. When a clinical event takes place pertaining to a particular patient, the
subscription control number is looked up in the patient file, then a call is made to return the current list of subscribers using: 
 
GET^HLSUB(HLSCN,HLTP,HLCL,.HLL) 
 
HLSCN-subscription control number HLTP-subscription type (null returns ALL) HLCL-HL7 1.6 client protocol (optional, returned in
first piece of return 
     array.  HLL-return array. Always in format HLL("LINKS",n)=CLIENT^LOGICAL 
     LINK^remainder of node data 
 
HL7 1.6, Patch 14 provides additional documentation on the HLL array and dynamic addressing in general.  


CROSS
REFERENCED BY: NUMBER(B), LOGICAL LINK(C)



^HLS(774,D0,0)= (#.01) NUMBER [1N] ^ (#.02) PACKAGE [2F] ^ 
^HLS(774,D0,1)= (#.03) DESCRIPTION [1F] ^ 
^HLS(774,D0,TO,0)=^774.01^^  (#1) DESTINATION
^HLS(774,D0,TO,D1,0)= (#.01) DESTINATION [1F] ^ (#1) RECEIVING APPLICATION [2P:771] ^ (#2) DOMAIN [3P:4.2] ^ (#3) LOGICAL LINK 
                   ==>[4P:870] ^ (#4) TYPE [5S] ^ (#5) CREATION DATE/TIME [6D] ^ (#6) ACTIVATION DATE/TIME [7D] ^ (#7) 
                   ==>TERMINATION DATE/TIME [8D] ^ 
^HLS(774,D0,TO,D1,HX,0)=^774.18DA^^  (#8) MODIFICATION DATE/TIME
^HLS(774,D0,TO,D1,HX,D2,0)= (#.01) MODIFICATION DATE/TIME [1D] ^ (#1) LAST CREATION DATE/TIME [2D] ^ (#2) LAST ACTIVATION 
                         ==>DATE/TIME [3D] ^ (#3) LAST TERMINATION DATE/TIME [4D] ^ (#4) LAST SUBSCRIPTION TYPE [5S] ^ 


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):