STANDARD DATA DICTIONARY #414.03 -- COTS INVENTORY SUBSCRIPTION CONTROL FILE 3/24/25 PAGE 1 STORED IN ^PRCV(414.03, *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 5.1) DATA NAME GLOBAL DATA ELEMENT TITLE LOCATION TYPE ----------------------------------------------------------------------------------------------------------------------------------- In the event that an external system needs to be notified when an event of some type occurs, a publish/subscribe interface allows messages to be sent to that system when the event occurs. This file contains a list of active subscriptions, and records are added or deleted in response to "subscribe" or "cancel" messages received from the external system. More than one type of subscription is supported. DD ACCESS: @ RD ACCESS: @ WR ACCESS: @ DEL ACCESS: @ LAYGO ACCESS: @ AUDIT ACCESS: @ PRIMARY KEY: A (#60) Uniqueness Index: C (#582) File, Field: 1) STATION (414.03,.01) 2) SUBSCRIPTION (414.03,.02) 3) SUBSCRIPTION TYPE (414.03,.03) CROSS REFERENCED BY: SUBSCRIPTION TYPE(AC) INDEXED BY: STATION & SUBSCRIPTION & SUBSCRIPTION TYPE (C) 414.03,.01 STATION 0;1 POINTER TO ADMIN. ACTIVITY SITE PARAMETER FILE (#411) (Key field) LAST EDITED: MAR 15, 2005 HELP-PROMPT: This must be the station number or 0 if none DESCRIPTION: This is the station number associated with the IFCAP object being moniored. It is required, but may be 0. RECORD INDEXES: C (#582) 414.03,.02 SUBSCRIPTION 0;2 FREE TEXT (Key field) INPUT TRANSFORM: K:$L(X)>50!($L(X)<1) X LAST EDITED: MAR 15, 2005 HELP-PROMPT: This is the entity associated with the subscription DESCRIPTION: This is the object (e.g., fund control point) being monitored. This field is an identifying string (required) and field .03 identifies the type of objct. The format of the string depends on the object type. RECORD INDEXES: C (#582) 414.03,.03 SUBSCRIPTION TYPE 0;3 SET (Key field) '1' FOR FCP Running Balance; LAST EDITED: MAR 15, 2005 HELP-PROMPT: This is the type of entity controlling the subscription DESCRIPTION: This field is a code that specifies the subscription type. The interpretation of field .02 depends on the value of this code. These two fields are intended to provide support for multiple types of subscriptions within the one file. CROSS-REFERENCE: 414.03^AC 1)= S ^PRCV(414.03,"AC",$E(X,1,30),DA)="" 2)= K ^PRCV(414.03,"AC",$E(X,1,30),DA) This cross-reference is used to sort subscriptions by type. RECORD INDEXES: C (#582) 414.03,1 CREATED 0;4 DATE INPUT TRANSFORM: S %DT="ESTXR" D ^%DT S X=Y K:X<1 X LAST EDITED: MAR 10, 2005 HELP-PROMPT: This is the date/time the subscription was created DESCRIPTION: This is the date/time that this subscription was created. 414.03,2 ACTIVE 0;5 SET '1' FOR YES; '0' FOR NO; LAST EDITED: MAR 10, 2005 HELP-PROMPT: Set to 'NO' to inactivate the subscription 414.03,3 SUBSCRIPTION MID 0;6 NUMBER INPUT TRANSFORM: K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1.N) X LAST EDITED: MAR 10, 2005 HELP-PROMPT: This is the MID of the subscription request (QSB) DESCRIPTION: This is the message control ID (MID) of the HL7 message requesting that this subscription be created. 414.03,10 ATTRIBUTE SET 1;0 Multiple #414.031 DESCRIPTION: This subfile is used to store attribute values for the object associated with the subscription. Since the file is designed to work with various types of objects, attributes are stored as simple key/value pairs, where both the key and value are free text. 414.031,.01 FISCAL YEAR 0;1 FREE TEXT INPUT TRANSFORM: K:$L(X)>2!($L(X)<2)!'(X?2N) X LAST EDITED: MAR 10, 2005 HELP-PROMPT: Enter the 2 digit fiscal year DESCRIPTION: Financial applications frequently need to assign a fiscal year to an object itself. Accordingly, the fiscal year is stored here in an optional field. Applications not needing this field can leave it blank. CROSS-REFERENCE: 414.031^B 1)= S ^PRCV(414.03,DA(1),1,"B",$E(X,1,30),DA)="" 2)= K ^PRCV(414.03,DA(1),1,"B",$E(X,1,30),DA) 414.031,1 ATTRIBUTE 1;0 Multiple #414.0311 LAST EDITED: FEB 14, 2005 414.0311,.01 ATTRIBUTE 0;1 NUMBER (Multiply asked) INPUT TRANSFORM: K:+X'=X!(X>9999999)!(X<0)!(X?.E1"."1.N) X LAST EDITED: FEB 14, 2005 HELP-PROMPT: Enter a numeric attribute key (0 decimal digits) CROSS-REFERENCE: 414.0311^B 1)= S ^PRCV(414.03,DA(2),1,DA(1),1,"B",$E(X,1,30),DA)="" 2)= K ^PRCV(414.03,DA(2),1,DA(1),1,"B",$E(X,1,30),DA) 414.0311,1 VALUE 0;2 FREE TEXT INPUT TRANSFORM: K:$L(X)>45!($L(X)<1) X LAST EDITED: FEB 14, 2005 HELP-PROMPT: Answer must be 1-45 characters in length FILES POINTED TO FIELDS ADMIN. ACTIVITY SITE PARAMETER (#411) STATION (#.01) File #414.03 Record Indexes: C (#582) RECORD REGULAR IR LOOKUP & SORTING Unique for: Key A (#60), File #414.03 Short Descr: Uniqueness Index for Key 'A' of File #414.03 Set Logic: S ^PRCV(414.03,"C",X(1),X(2),X(3),DA)="" Kill Logic: K ^PRCV(414.03,"C",X(1),X(2),X(3),DA) Whole Kill: K ^PRCV(414.03,"C") X(1): STATION (414.03,.01) (Subscr 1) X(2): SUBSCRIPTION (414.03,.02) (Subscr 2) X(3): SUBSCRIPTION TYPE (414.03,.03) (Subscr 3) INPUT TEMPLATE(S): PRINT TEMPLATE(S): SORT TEMPLATE(S): FORM(S)/BLOCK(S):