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.TokenClientParam |
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_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
|
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(Enumeration<Subscription.SubscriptionStatus> status,
StringType reason,
StringType criteria,
Subscription.SubscriptionChannelComponent channel)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected Enumeration<Subscription.SubscriptionStatus> status
protected List<ContactPoint> contact
protected InstantType end
protected StringType reason
protected StringType criteria
protected StringType error
protected Subscription.SubscriptionChannelComponent channel
public static final String SP_PAYLOAD
Description: The mime-type of the notification payload
Type: token
Path: Subscription.channel.payload
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PAYLOAD
Description: The mime-type of the notification payload
Type: token
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 ca.uhn.fhir.rest.gclient.StringClientParam CRITERIA
Description: The search rules used to determine when to send a notification
Type: string
Path: Subscription.criteria
public static final String SP_CONTACT
Description: Contact details for the subscription
Type: token
Path: Subscription.contact
public static final ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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.)protected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base 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 String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty 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 interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic Subscription copy()
copy in class DomainResourcepublic void copyValues(Subscription dst)
protected 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–2021 Health Level 7. All rights reserved.