pub struct ImplementationGuideManifestResourceBuilder { /* private fields */ }
Expand description
Builder for ImplementationGuideManifestResource
.
Implementations§
Source§impl ImplementationGuideManifestResourceBuilder
impl ImplementationGuideManifestResourceBuilder
Sourcepub fn id(self, value: String) -> ImplementationGuideManifestResourceBuilder
pub fn id(self, value: String) -> ImplementationGuideManifestResourceBuilder
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>,
) -> ImplementationGuideManifestResourceBuilder
pub fn extension( self, value: Vec<Extension>, ) -> ImplementationGuideManifestResourceBuilder
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>,
) -> ImplementationGuideManifestResourceBuilder
pub fn modifier_extension( self, value: Vec<Extension>, ) -> ImplementationGuideManifestResourceBuilder
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 reference(
self,
value: Reference,
) -> ImplementationGuideManifestResourceBuilder
pub fn reference( self, value: Reference, ) -> ImplementationGuideManifestResourceBuilder
Location of the resource
Where this resource is found.
Usually this is a relative URL that locates the resource within the implementation guide. If you authoring an implementation guide, and will publish it using the FHIR publication tooling, use a URI that may point to a resource, or to one of various alternative representations (e.g. spreadsheet). The tooling will convert this when it publishes it.
Sourcepub fn reference_ext(
self,
value: FieldExtension,
) -> ImplementationGuideManifestResourceBuilder
pub fn reference_ext( self, value: FieldExtension, ) -> ImplementationGuideManifestResourceBuilder
Extension field.
Sourcepub fn is_example(
self,
value: bool,
) -> ImplementationGuideManifestResourceBuilder
pub fn is_example( self, value: bool, ) -> ImplementationGuideManifestResourceBuilder
Is this an example
If true, indicates the resource is an example instance.
Sourcepub fn is_example_ext(
self,
value: FieldExtension,
) -> ImplementationGuideManifestResourceBuilder
pub fn is_example_ext( self, value: FieldExtension, ) -> ImplementationGuideManifestResourceBuilder
Extension field.
Sourcepub fn profile(
self,
value: Vec<Option<String>>,
) -> ImplementationGuideManifestResourceBuilder
pub fn profile( self, value: Vec<Option<String>>, ) -> ImplementationGuideManifestResourceBuilder
Profile(s) this is an example of
If present, indicates profile(s) the instance is valid against.
Examples:
- StructureDefinition -> Any
- ValueSet -> expansion
- OperationDefinition -> Parameters
- Questionnaire -> QuestionnaireResponse.
Sourcepub fn profile_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> ImplementationGuideManifestResourceBuilder
pub fn profile_ext( self, value: Vec<Option<FieldExtension>>, ) -> ImplementationGuideManifestResourceBuilder
Extension field.
Sourcepub fn relative_path(
self,
value: String,
) -> ImplementationGuideManifestResourceBuilder
pub fn relative_path( self, value: String, ) -> ImplementationGuideManifestResourceBuilder
Relative path for page in IG
The relative path for primary page for this resource within the IG.
Appending ‘rendering’ + “/” + this should resolve to the resource page.
Sourcepub fn relative_path_ext(
self,
value: FieldExtension,
) -> ImplementationGuideManifestResourceBuilder
pub fn relative_path_ext( self, value: FieldExtension, ) -> ImplementationGuideManifestResourceBuilder
Extension field.
Sourcepub fn build(self) -> Result<ImplementationGuideManifestResource, BuilderError>
pub fn build(self) -> Result<ImplementationGuideManifestResource, BuilderError>
Builds a new ImplementationGuideManifestResource
.
§Errors
If a required field has not been initialized.