Package org.hl7.fhir.r5.model
Class SubscriptionStatus
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.BaseResource
org.hl7.fhir.r5.model.Resource
org.hl7.fhir.r5.model.DomainResource
org.hl7.fhir.r5.model.SubscriptionStatus
- 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
The SubscriptionStatus resource describes the state of a Subscription during notifications. It is not persisted.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<CodeableConcept> A record of errors that occurred when the server processed a notification.protected Integer64Type
The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated.Detailed information about events relevant to this subscription notification.protected Enumeration
<Enumerations.SubscriptionStatusCodes> The status of the subscription, which marks the server state for managing the subscription.protected Reference
The reference to the Subscription which generated this notification.protected CanonicalType
The reference to the SubscriptionTopic for the Subscription which generated this notification.The type of event being conveyed with this notification.Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionConstructorSubscriptionStatus
(SubscriptionStatus.SubscriptionNotificationType type, Reference subscription) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddError()
copy()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getError()
long
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) getTopic()
getType()
String[]
getTypesForProperty
(int hash, String name) boolean
hasError()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasTopic()
boolean
boolean
hasType()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setError
(List<CodeableConcept> theError) setEventsSinceSubscriptionStart
(long value) setNotificationEvent
(List<SubscriptionStatus.SubscriptionStatusNotificationEventComponent> theNotificationEvent) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setSubscription
(Reference value) setTopicElement
(CanonicalType value) protected SubscriptionStatus
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getStandardsStatus, getText, hasContained, hasExtension, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setStandardsStatus, setText
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, getSourcePackage, getWebPath, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, hasSourcePackage, hasWebPath, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta, setSourcePackage, setWebPath
Methods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, 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. -
type
The type of event being conveyed with this notification. -
eventsSinceSubscriptionStart
The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated. This number is NOT incremented for handshake and heartbeat notifications. -
notificationEvent
Detailed information about events relevant to this subscription notification. -
subscription
The reference to the Subscription which generated this notification. -
topic
The reference to the SubscriptionTopic for the Subscription which generated this notification. -
error
A record of errors that occurred when the server processed a notification.
-
-
Constructor Details
-
SubscriptionStatus
public SubscriptionStatus()Constructor -
SubscriptionStatus
public SubscriptionStatus(SubscriptionStatus.SubscriptionNotificationType type, Reference subscription) 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.
-
getTypeElement
- Returns:
type
(The type of event being conveyed with this notification.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
hasTypeElement
-
hasType
-
setTypeElement
public SubscriptionStatus setTypeElement(Enumeration<SubscriptionStatus.SubscriptionNotificationType> value) - Parameters:
value
-type
(The type of event being conveyed with this notification.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
getType
- Returns:
- The type of event being conveyed with this notification.
-
setType
- Parameters:
value
- The type of event being conveyed with this notification.
-
getEventsSinceSubscriptionStartElement
- Returns:
eventsSinceSubscriptionStart
(The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated. This number is NOT incremented for handshake and heartbeat notifications.). This is the underlying object with id, value and extensions. The accessor "getEventsSinceSubscriptionStart" gives direct access to the value
-
hasEventsSinceSubscriptionStartElement
-
hasEventsSinceSubscriptionStart
-
setEventsSinceSubscriptionStartElement
- Parameters:
value
-eventsSinceSubscriptionStart
(The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated. This number is NOT incremented for handshake and heartbeat notifications.). This is the underlying object with id, value and extensions. The accessor "getEventsSinceSubscriptionStart" gives direct access to the value
-
getEventsSinceSubscriptionStart
- Returns:
- The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated. This number is NOT incremented for handshake and heartbeat notifications.
-
setEventsSinceSubscriptionStart
- Parameters:
value
- The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated. This number is NOT incremented for handshake and heartbeat notifications.
-
getNotificationEvent
- Returns:
notificationEvent
(Detailed information about events relevant to this subscription notification.)
-
setNotificationEvent
public SubscriptionStatus setNotificationEvent(List<SubscriptionStatus.SubscriptionStatusNotificationEventComponent> theNotificationEvent) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasNotificationEvent
-
addNotificationEvent
-
addNotificationEvent
-
getNotificationEventFirstRep
public SubscriptionStatus.SubscriptionStatusNotificationEventComponent getNotificationEventFirstRep()- Returns:
- The first repetition of repeating field
notificationEvent
, creating it if it does not already exist {3}
-
getSubscription
- Returns:
subscription
(The reference to the Subscription which generated this notification.)
-
hasSubscription
-
setSubscription
- Parameters:
value
-subscription
(The reference to the Subscription which generated this notification.)
-
getTopicElement
- Returns:
topic
(The reference to the SubscriptionTopic for the Subscription which generated this notification.). This is the underlying object with id, value and extensions. The accessor "getTopic" gives direct access to the value
-
hasTopicElement
-
hasTopic
-
setTopicElement
- Parameters:
value
-topic
(The reference to the SubscriptionTopic for the Subscription which generated this notification.). This is the underlying object with id, value and extensions. The accessor "getTopic" gives direct access to the value
-
getTopic
- Returns:
- The reference to the SubscriptionTopic for the Subscription which generated this notification.
-
setTopic
- Parameters:
value
- The reference to the SubscriptionTopic for the Subscription which generated this notification.
-
getError
- Returns:
error
(A record of errors that occurred when the server processed a notification.)
-
setError
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasError
-
addError
-
addError
-
getErrorFirstRep
- Returns:
- The first repetition of repeating field
error
, creating it if it does not already exist {3}
-
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
-
removeChild
- Overrides:
removeChild
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
- Returns:
- the FHIR type name of the instance (not the java class name)
-
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
-