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.
|
static ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.StringClientParam |
PAYLOAD
Fluent Client search parameter constant for payload
|
protected StringType |
reason
A description of why this subscription is defined.
|
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_TAG
Search parameter: tag
|
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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.TokenClientParam |
TAG
Fluent Client search parameter constant for tag
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
static ca.uhn.fhir.rest.gclient.UriClientParam |
URL
Fluent Client search parameter constant for url
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Subscription()
Constructor
|
Subscription(StringType criteria,
StringType reason,
Enumeration<Subscription.SubscriptionStatus> status,
Subscription.SubscriptionChannelComponent channel)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, 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, 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_CRITERIA
Description: Rule for server push criteria
Type: string
Path: Subscription.criteria
public static final ca.uhn.fhir.rest.gclient.StringClientParam CRITERIA
Description: Rule for server push criteria
Type: string
Path: Subscription.criteria
public static final String SP_STATUS
Description: requested | active | error | off
Type: token
Path: Subscription.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: requested | active | error | off
Type: token
Path: Subscription.status
public static final String SP_TAG
Description: A tag to add to matching resources
Type: token
Path: Subscription.tag
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TAG
Description: A tag to add to matching resources
Type: token
Path: Subscription.tag
public static final String SP_PAYLOAD
Description: Mimetype to send, or blank for no payload
Type: string
Path: Subscription.channel.payload
public static final ca.uhn.fhir.rest.gclient.StringClientParam PAYLOAD
Description: Mimetype to send, or blank for no payload
Type: string
Path: Subscription.channel.payload
public static final String SP_TYPE
Description: rest-hook | websocket | email | sms | message
Type: token
Path: Subscription.channel.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Description: rest-hook | websocket | email | sms | message
Type: token
Path: Subscription.channel.type
public static final String SP_CONTACT
Description: Contact details for source (e.g. troubleshooting)
Type: token
Path: Subscription.contact
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CONTACT
Description: Contact details for source (e.g. troubleshooting)
Type: token
Path: Subscription.contact
public static final String SP_URL
Description: Where the channel points to
Type: uri
Path: Subscription.channel.endpoint
public static final ca.uhn.fhir.rest.gclient.UriClientParam URL
Description: Where the channel points to
Type: uri
Path: Subscription.channel.endpoint
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 Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty 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.