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 |
|---|---|
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.
|
protected StringType |
criteria
The rules that the server should use to determine when to generate notifications for this subscription.
|
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.
|
protected StringType |
reason
A description of why this subscription is defined.
|
static String |
SP_CONTACT |
static String |
SP_CRITERIA |
static String |
SP_PAYLOAD |
static String |
SP_STATUS |
static String |
SP_TAG |
static String |
SP_TYPE |
static String |
SP_URL |
protected Enumeration<Subscription.SubscriptionStatus> |
status
The status of the subscription, which marks the server state for managing the subscription.
|
protected List<Coding> |
tag
A tag to add to any resource that matches the criteria, after the subscription is processed.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Subscription() |
Subscription(StringType criteria,
StringType reason,
Enumeration<Subscription.SubscriptionStatus> status,
Subscription.SubscriptionChannelComponent channel) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected StringType criteria
protected List<ContactPoint> contact
protected StringType reason
protected Enumeration<Subscription.SubscriptionStatus> status
protected StringType error
protected Subscription.SubscriptionChannelComponent channel
protected InstantType end
protected List<Coding> tag
public static final String SP_PAYLOAD
public static final String SP_CRITERIA
public static final String SP_CONTACT
public static final String SP_TAG
public static final String SP_TYPE
public static final String SP_URL
public static final String SP_STATUS
public Subscription()
public Subscription(StringType criteria, StringType reason, Enumeration<Subscription.SubscriptionStatus> status, Subscription.SubscriptionChannelComponent channel)
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 List<ContactPoint> getContact()
contact (Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.)public boolean hasContact()
public ContactPoint addContact()
contact (Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.)public Subscription addContact(ContactPoint t)
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 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 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 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 List<Coding> getTag()
tag (A tag to add to any resource that matches the criteria, after the subscription is processed.)public boolean hasTag()
public Coding addTag()
tag (A tag to add to any resource that matches the criteria, after the subscription is processed.)public Subscription addTag(Coding t)
protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic 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 org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.