pub struct SubscriptionTopicNotificationShapeBuilder { /* private fields */ }
Expand description
Builder for SubscriptionTopicNotificationShape
.
Implementations§
Source§impl SubscriptionTopicNotificationShapeBuilder
impl SubscriptionTopicNotificationShapeBuilder
Sourcepub fn id(self, value: String) -> SubscriptionTopicNotificationShapeBuilder
pub fn id(self, value: String) -> SubscriptionTopicNotificationShapeBuilder
Unique id for inter-element referencing
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Sourcepub fn extension(
self,
value: Vec<Extension>,
) -> SubscriptionTopicNotificationShapeBuilder
pub fn extension( self, value: Vec<Extension>, ) -> SubscriptionTopicNotificationShapeBuilder
Additional content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Sourcepub fn modifier_extension(
self,
value: Vec<Extension>,
) -> SubscriptionTopicNotificationShapeBuilder
pub fn modifier_extension( self, value: Vec<Extension>, ) -> SubscriptionTopicNotificationShapeBuilder
Extensions that cannot be ignored even if unrecognized
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element’s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Sourcepub fn resource(
self,
value: String,
) -> SubscriptionTopicNotificationShapeBuilder
pub fn resource( self, value: String, ) -> SubscriptionTopicNotificationShapeBuilder
FHIRTypes; URL of the Resource that is the focus (main) resource in a notification shape
URL of the Resource that is the type used in this shape. This is the ‘focus’ resource of the topic (or one of them if there are more than one) and the root resource for this shape definition. It will be the same, a generality, or a specificity of SubscriptionTopic.resourceTrigger.resource or SubscriptionTopic.eventTrigger.resource when they are present.
URL of the Resource that is the type used in this shape. Relative URLs are relative to the StructureDefinition root of the implemented FHIR version (e.g., http://hl7.org/fhir/StructureDefinition). For example, ‘Patient’ maps to http://hl7.org/fhir/StructureDefinition/Patient. For more information, see ElementDefinition.type.code.
Sourcepub fn resource_ext(
self,
value: FieldExtension,
) -> SubscriptionTopicNotificationShapeBuilder
pub fn resource_ext( self, value: FieldExtension, ) -> SubscriptionTopicNotificationShapeBuilder
Extension field.
Sourcepub fn include(
self,
value: Vec<Option<String>>,
) -> SubscriptionTopicNotificationShapeBuilder
pub fn include( self, value: Vec<Option<String>>, ) -> SubscriptionTopicNotificationShapeBuilder
Include directives, rooted in the resource for this shape
Search-style _include directives, rooted in the resource for this shape. Servers SHOULD include resources listed here, if they exist and the user is authorized to receive them. Clients SHOULD be prepared to receive these additional resources, but SHALL function properly without them.
Sourcepub fn include_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> SubscriptionTopicNotificationShapeBuilder
pub fn include_ext( self, value: Vec<Option<FieldExtension>>, ) -> SubscriptionTopicNotificationShapeBuilder
Extension field.
Sourcepub fn rev_include(
self,
value: Vec<Option<String>>,
) -> SubscriptionTopicNotificationShapeBuilder
pub fn rev_include( self, value: Vec<Option<String>>, ) -> SubscriptionTopicNotificationShapeBuilder
Reverse include directives, rooted in the resource for this shape
Search-style _revinclude directives, rooted in the resource for this shape. Servers SHOULD include resources listed here, if they exist and the user is authorized to receive them. Clients SHOULD be prepared to receive these additional resources, but SHALL function properly without them.
Sourcepub fn rev_include_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> SubscriptionTopicNotificationShapeBuilder
pub fn rev_include_ext( self, value: Vec<Option<FieldExtension>>, ) -> SubscriptionTopicNotificationShapeBuilder
Extension field.
Sourcepub fn build(self) -> Result<SubscriptionTopicNotificationShape, BuilderError>
pub fn build(self) -> Result<SubscriptionTopicNotificationShape, BuilderError>
Builds a new SubscriptionTopicNotificationShape
.
§Errors
If a required field has not been initialized.