Class Subscription
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionDetails where to send notifications when resources are received that meet the criteria.protected List<ContactPoint>
Contact details for a human to contact about the subscription.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for contactprotected StringType
The rules that the server should use to determine when to generate notifications for this subscription.static final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for criteriaprotected InstantType
The time for the server to turn the subscription off.protected StringType
A record of the last error that occurred when the server processed a notification.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for payloadprotected StringType
A description of why this subscription is defined.static final String
Search parameter: contactstatic final String
Search parameter: criteriastatic final String
Search parameter: payloadstatic final String
Search parameter: statusstatic final String
Search parameter: typestatic final String
Search parameter: urlprotected Enumeration<Subscription.SubscriptionStatus>
The status of the subscription, which marks the server state for managing the subscription.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for typestatic final ca.uhn.fhir.rest.gclient.UriClientParam
Fluent Client search parameter constant for urlFields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionConstructorSubscription
(Enumeration<Subscription.SubscriptionStatus> status, StringType reason, StringType criteria, Subscription.SubscriptionChannelComponent channel) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyValues
(Subscription dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getEnd()
getError()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
hasEnd()
boolean
boolean
hasError()
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setContact
(List<ContactPoint> theContact) setCriteria
(String value) setCriteriaElement
(StringType value) setEndElement
(InstantType value) setErrorElement
(StringType value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setReasonElement
(StringType value) protected Subscription
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, 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, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
status
The status of the subscription, which marks the server state for managing the subscription. -
contact
Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting. -
end
The time for the server to turn the subscription off. -
reason
A description of why this subscription is defined. -
criteria
The rules that the server should use to determine when to generate notifications for this subscription. -
error
A record of the last error that occurred when the server processed a notification. -
channel
Details where to send notifications when resources are received that meet the criteria. -
SP_PAYLOAD
Search parameter: payloadDescription: The mime-type of the notification payload
Type: token
Path: Subscription.channel.payload
- See Also:
-
PAYLOAD
Fluent Client search parameter constant for payloadDescription: The mime-type of the notification payload
Type: token
Path: Subscription.channel.payload
-
SP_CRITERIA
Search parameter: criteriaDescription: The search rules used to determine when to send a notification
Type: string
Path: Subscription.criteria
- See Also:
-
CRITERIA
Fluent Client search parameter constant for criteriaDescription: The search rules used to determine when to send a notification
Type: string
Path: Subscription.criteria
-
SP_CONTACT
Search parameter: contactDescription: Contact details for the subscription
Type: token
Path: Subscription.contact
- See Also:
-
CONTACT
Fluent Client search parameter constant for contactDescription: Contact details for the subscription
Type: token
Path: Subscription.contact
-
SP_TYPE
Search parameter: typeDescription: The type of channel for the sent notifications
Type: token
Path: Subscription.channel.type
- See Also:
-
TYPE
Fluent Client search parameter constant for typeDescription: The type of channel for the sent notifications
Type: token
Path: Subscription.channel.type
-
SP_URL
Search parameter: urlDescription: The uri that will receive the notifications
Type: uri
Path: Subscription.channel.endpoint
- See Also:
-
URL
Fluent Client search parameter constant for urlDescription: The uri that will receive the notifications
Type: uri
Path: Subscription.channel.endpoint
-
SP_STATUS
Search parameter: statusDescription: The current state of the subscription
Type: token
Path: Subscription.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The current state of the subscription
Type: token
Path: Subscription.status
-
-
Constructor Details
-
Subscription
public Subscription()Constructor -
Subscription
public Subscription(Enumeration<Subscription.SubscriptionStatus> status, StringType reason, StringType criteria, Subscription.SubscriptionChannelComponent channel) Constructor
-
-
Method Details
-
getStatusElement
- Returns:
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 value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
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 value
-
getStatus
- Returns:
- The status of the subscription, which marks the server state for managing the subscription.
-
setStatus
- Parameters:
value
- The status of the subscription, which marks the server state for managing the subscription.
-
getContact
- Returns:
contact
(Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.)
-
setContact
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasContact
-
addContact
-
addContact
-
getContactFirstRep
- Returns:
- The first repetition of repeating field
contact
, creating it if it does not already exist
-
getEndElement
- Returns:
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 value
-
hasEndElement
-
hasEnd
-
setEndElement
- Parameters:
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 value
-
getEnd
- Returns:
- The time for the server to turn the subscription off.
-
setEnd
- Parameters:
value
- The time for the server to turn the subscription off.
-
getReasonElement
- Returns:
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 value
-
hasReasonElement
-
hasReason
-
setReasonElement
- Parameters:
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 value
-
getReason
- Returns:
- A description of why this subscription is defined.
-
setReason
- Parameters:
value
- A description of why this subscription is defined.
-
getCriteriaElement
- Returns:
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 value
-
hasCriteriaElement
-
hasCriteria
-
setCriteriaElement
- Parameters:
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 value
-
getCriteria
- Returns:
- The rules that the server should use to determine when to generate notifications for this subscription.
-
setCriteria
- Parameters:
value
- The rules that the server should use to determine when to generate notifications for this subscription.
-
getErrorElement
- Returns:
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 value
-
hasErrorElement
-
hasError
-
setErrorElement
- Parameters:
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 value
-
getError
- Returns:
- A record of the last error that occurred when the server processed a notification.
-
setError
- Parameters:
value
- A record of the last error that occurred when the server processed a notification.
-
getChannel
- Returns:
channel
(Details where to send notifications when resources are received that meet the criteria.)
-
hasChannel
-
setChannel
- Parameters:
value
-channel
(Details where to send notifications when resources are received that meet the criteria.)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-