Skip to main content

HS.IHE.DSUB.Subscriber.Subscription

persistent class HS.IHE.DSUB.Subscriber.Subscription extends %Library.Persistent, HS.Types.IHE.DSUB.Subscription, HS.Util.CopyFrom

SQL Table Name: HS_IHE_DSUB_Subscriber.Subscription

Property Inventory

Method Inventory

Properties

property CancellationAddress as %String) [ Required ];
Property methods: CancellationAddressDisplayToLogical(), CancellationAddressGet(), CancellationAddressGetStored(), CancellationAddressIsValid(), CancellationAddressLogicalToDisplay(), CancellationAddressLogicalToOdbc(), CancellationAddressNormalize(), CancellationAddressSet()

Methods

classmethod PatientIDForSubscriptionURL(pSubscriptionURL As %String) as %String
classmethod SubscriptionForURL(pSubscriptionURL As %String) as %String

Queries

query SubscriptionsForPatient(pPatientID As %String, pTerminationTime As %String = "")
SQL Query:
SELECT %ID FROM Subscription WHERE (PatientID = :pPatientID AND ((TerminationTime is null) or TerminationTime>:pTerminationTime))
Subscriptions for pPatientID = ID^^^&oid&ISO where pTerminationTime = now

Indexes

index (CancellationAddressIndex on CancellationAddress) [Unique];
Index methods: CancellationAddressIndexCheck(), CancellationAddressIndexCheckUnique(), CancellationAddressIndexDelete(), CancellationAddressIndexExists(), CancellationAddressIndexOpen(), CancellationAddressIndexSQLCheckUnique(), CancellationAddressIndexSQLExists(), CancellationAddressIndexSQLFindPKeyByConstraint(), CancellationAddressIndexSQLFindRowIDByConstraint()
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (PatientTerminationIndex on PatientID,TerminationTime);
Index methods: PatientTerminationIndexExists()

Inherited Members

Inherited Properties

Inherited Methods

Storage

Storage Model: Storage (HS.IHE.DSUB.Subscriber.Subscription)

^HS.IHE.DSUB.SC158.SubscriptionD(ID)
=
%%CLASSNAME
CancellationAddress
Topic
PatientID
TerminationTime
SubscriptionID
FilterItems
Type
RecipientAddress
FeedbackOpens in a new tab