Home > Class Reference > HSLIB namespace > HS.IHE.DSUB.Subscriber.Subscription

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(), CancellationAddressIndexCheck(), CancellationAddressIndexCheckUnique(), CancellationAddressIndexDelete(), CancellationAddressIndexExists(), CancellationAddressIndexOpen(), CancellationAddressIndexSQLCheckUnique(), CancellationAddressIndexSQLExists(), CancellationAddressIndexSQLFindPKeyByConstraint(), CancellationAddressIndexSQLFindRowIDByConstraint(), CancellationAddressIsValid(), CancellationAddressLogicalToDisplay(), CancellationAddressLogicalToOdbc(), CancellationAddressNormalize(), CancellationAddressSet()

Methods

classmethod PatientIDForSubscriptionURL(pSubscriptionURL As %String) as %String [ Language = objectscript ]
classmethod SubscriptionForURL(pSubscriptionURL As %String) as %String [ Language = objectscript ]

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 (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 window