public class Subscription extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Subscription.SubscriptionChannelComponent |
static class |
Subscription.SubscriptionChannelType |
static class |
Subscription.SubscriptionChannelTypeEnumFactory |
static class |
Subscription.SubscriptionStatus |
static class |
Subscription.SubscriptionStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
static TokenClientParam |
ADD_TAG
Fluent Client search parameter constant for add-tag
|
protected Subscription.SubscriptionChannelComponent |
channel
Details where to send notifications when resources are received that meet the criteria.
|
protected List<ContactPoint> |
contact
Contact details for a human to contact about the subscription.
|
static TokenClientParam |
CONTACT
Fluent Client search parameter constant for contact
|
protected StringType |
criteria
The rules that the server should use to determine when to generate notifications for this subscription.
|
static StringClientParam |
CRITERIA
Fluent Client search parameter constant for criteria
|
protected InstantType |
end
The time for the server to turn the subscription off.
|
protected StringType |
error
A record of the last error that occurred when the server processed a notification.
|
static StringClientParam |
PAYLOAD
Fluent Client search parameter constant for payload
|
protected StringType |
reason
A description of why this subscription is defined.
|
static String |
SP_ADD_TAG
Search parameter: add-tag
|
static String |
SP_CONTACT
Search parameter: contact
|
static String |
SP_CRITERIA
Search parameter: criteria
|
static String |
SP_PAYLOAD
Search parameter: payload
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_TYPE
Search parameter: type
|
static String |
SP_URL
Search parameter: url
|
protected Enumeration<Subscription.SubscriptionStatus> |
status
The status of the subscription, which marks the server state for managing the subscription.
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected List<Coding> |
tag
A tag to add to any resource that matches the criteria, after the subscription is processed.
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
static UriClientParam |
URL
Fluent Client search parameter constant for url
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Subscription()
Constructor
|
Subscription(Enumeration<Subscription.SubscriptionStatus> status,
StringType reason,
StringType criteria,
Subscription.SubscriptionChannelComponent channel)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Enumeration<Subscription.SubscriptionStatus> status
protected List<ContactPoint> contact
protected InstantType end
protected StringType reason
protected StringType criteria
protected StringType error
protected Subscription.SubscriptionChannelComponent channel
protected List<Coding> tag
public static final String SP_PAYLOAD
Description: The mime-type of the notification payload
Type: string
Path: Subscription.channel.payload
public static final StringClientParam PAYLOAD
Description: The mime-type of the notification payload
Type: string
Path: Subscription.channel.payload
public static final String SP_CRITERIA
Description: The search rules used to determine when to send a notification
Type: string
Path: Subscription.criteria
public static final StringClientParam CRITERIA
Description: The search rules used to determine when to send a notification
Type: string
Path: Subscription.criteria
public static final String SP_ADD_TAG
Description: A tag to be added to the resource matching the criteria
Type: token
Path: Subscription.tag
public static final TokenClientParam ADD_TAG
Description: A tag to be added to the resource matching the criteria
Type: token
Path: Subscription.tag
public static final String SP_CONTACT
Description: Contact details for the subscription
Type: token
Path: Subscription.contact
public static final TokenClientParam CONTACT
Description: Contact details for the subscription
Type: token
Path: Subscription.contact
public static final String SP_TYPE
Description: The type of channel for the sent notifications
Type: token
Path: Subscription.channel.type
public static final TokenClientParam TYPE
Description: The type of channel for the sent notifications
Type: token
Path: Subscription.channel.type
public static final String SP_URL
Description: The uri that will receive the notifications
Type: uri
Path: Subscription.channel.endpoint
public static final UriClientParam URL
Description: The uri that will receive the notifications
Type: uri
Path: Subscription.channel.endpoint
public static final String SP_STATUS
Description: The current state of the subscription
Type: token
Path: Subscription.status
public static final TokenClientParam STATUS
Description: The current state of the subscription
Type: token
Path: Subscription.status
public Subscription()
public Subscription(Enumeration<Subscription.SubscriptionStatus> status, StringType reason, StringType criteria, Subscription.SubscriptionChannelComponent channel)
public Enumeration<Subscription.SubscriptionStatus> getStatusElement()
status (The status of the subscription, which marks the server state for managing the subscription.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Subscription setStatusElement(Enumeration<Subscription.SubscriptionStatus> value)
value - status (The status of the subscription, which marks the server state for managing the subscription.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Subscription.SubscriptionStatus getStatus()
public Subscription setStatus(Subscription.SubscriptionStatus value)
value - The status of the subscription, which marks the server state for managing the subscription.public List<ContactPoint> getContact()
contact (Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.)public Subscription setContact(List<ContactPoint> theContact)
this for easy method chainingpublic boolean hasContact()
public ContactPoint addContact()
public Subscription addContact(ContactPoint t)
public ContactPoint getContactFirstRep()
contact, creating it if it does not already existpublic InstantType getEndElement()
end (The time for the server to turn the subscription off.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the valuepublic boolean hasEndElement()
public boolean hasEnd()
public Subscription setEndElement(InstantType value)
value - end (The time for the server to turn the subscription off.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the valuepublic Subscription setEnd(Date value)
value - The time for the server to turn the subscription off.public StringType getReasonElement()
reason (A description of why this subscription is defined.). This is the underlying object with id, value and extensions. The accessor "getReason" gives direct access to the valuepublic boolean hasReasonElement()
public boolean hasReason()
public Subscription setReasonElement(StringType value)
value - reason (A description of why this subscription is defined.). This is the underlying object with id, value and extensions. The accessor "getReason" gives direct access to the valuepublic Subscription setReason(String value)
value - A description of why this subscription is defined.public StringType getCriteriaElement()
criteria (The rules that the server should use to determine when to generate notifications for this subscription.). This is the underlying object with id, value and extensions. The accessor "getCriteria" gives direct access to the valuepublic boolean hasCriteriaElement()
public boolean hasCriteria()
public Subscription setCriteriaElement(StringType value)
value - criteria (The rules that the server should use to determine when to generate notifications for this subscription.). This is the underlying object with id, value and extensions. The accessor "getCriteria" gives direct access to the valuepublic String getCriteria()
public Subscription setCriteria(String value)
value - The rules that the server should use to determine when to generate notifications for this subscription.public StringType getErrorElement()
error (A record of the last error that occurred when the server processed a notification.). This is the underlying object with id, value and extensions. The accessor "getError" gives direct access to the valuepublic boolean hasErrorElement()
public boolean hasError()
public Subscription setErrorElement(StringType value)
value - error (A record of the last error that occurred when the server processed a notification.). This is the underlying object with id, value and extensions. The accessor "getError" gives direct access to the valuepublic String getError()
public Subscription setError(String value)
value - A record of the last error that occurred when the server processed a notification.public Subscription.SubscriptionChannelComponent getChannel()
channel (Details where to send notifications when resources are received that meet the criteria.)public boolean hasChannel()
public Subscription setChannel(Subscription.SubscriptionChannelComponent value)
value - channel (Details where to send notifications when resources are received that meet the criteria.)public List<Coding> getTag()
tag (A tag to add to any resource that matches the criteria, after the subscription is processed.)public Subscription setTag(List<Coding> theTag)
this for easy method chainingpublic boolean hasTag()
public Subscription addTag(Coding t)
public Coding getTagFirstRep()
tag, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Subscription copy()
copy in class DomainResourceprotected Subscription typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.