pub struct ExampleScenarioInstanceBuilder { /* private fields */ }
Expand description
Builder for ExampleScenarioInstance
.
Implementations§
Source§impl ExampleScenarioInstanceBuilder
impl ExampleScenarioInstanceBuilder
Sourcepub fn id(self, value: String) -> ExampleScenarioInstanceBuilder
pub fn id(self, value: String) -> ExampleScenarioInstanceBuilder
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>) -> ExampleScenarioInstanceBuilder
pub fn extension(self, value: Vec<Extension>) -> ExampleScenarioInstanceBuilder
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>,
) -> ExampleScenarioInstanceBuilder
pub fn modifier_extension( self, value: Vec<Extension>, ) -> ExampleScenarioInstanceBuilder
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 key(self, value: String) -> ExampleScenarioInstanceBuilder
pub fn key(self, value: String) -> ExampleScenarioInstanceBuilder
ID or acronym of the instance
A unique string within the scenario that is used to reference the instance.
Sourcepub fn key_ext(self, value: FieldExtension) -> ExampleScenarioInstanceBuilder
pub fn key_ext(self, value: FieldExtension) -> ExampleScenarioInstanceBuilder
Extension field.
Sourcepub fn structure_type(self, value: Coding) -> ExampleScenarioInstanceBuilder
pub fn structure_type(self, value: Coding) -> ExampleScenarioInstanceBuilder
InstanceType; Data structure for example
A code indicating the kind of data structure (FHIR resource or some other standard) this is an instance of.
Sourcepub fn structure_type_ext(
self,
value: FieldExtension,
) -> ExampleScenarioInstanceBuilder
pub fn structure_type_ext( self, value: FieldExtension, ) -> ExampleScenarioInstanceBuilder
Extension field.
Sourcepub fn structure_version(self, value: String) -> ExampleScenarioInstanceBuilder
pub fn structure_version(self, value: String) -> ExampleScenarioInstanceBuilder
E.g. 4.0.1
Conveys the version of the data structure instantiated. I.e. what release of FHIR, X12, OpenEHR, etc. is instance compliant with.
Sourcepub fn structure_version_ext(
self,
value: FieldExtension,
) -> ExampleScenarioInstanceBuilder
pub fn structure_version_ext( self, value: FieldExtension, ) -> ExampleScenarioInstanceBuilder
Extension field.
Sourcepub fn structure_profile(
self,
value: ExampleScenarioInstanceStructureProfile,
) -> ExampleScenarioInstanceBuilder
pub fn structure_profile( self, value: ExampleScenarioInstanceStructureProfile, ) -> ExampleScenarioInstanceBuilder
Rules instance adheres to
Refers to a profile, template or other ruleset the instance adheres to.
Sourcepub fn structure_profile_ext(
self,
value: ExampleScenarioInstanceStructureProfileExtension,
) -> ExampleScenarioInstanceBuilder
pub fn structure_profile_ext( self, value: ExampleScenarioInstanceStructureProfileExtension, ) -> ExampleScenarioInstanceBuilder
Extension field.
Sourcepub fn title(self, value: String) -> ExampleScenarioInstanceBuilder
pub fn title(self, value: String) -> ExampleScenarioInstanceBuilder
Label for instance
A short descriptive label the instance to be used in tables or diagrams.
Sourcepub fn title_ext(self, value: FieldExtension) -> ExampleScenarioInstanceBuilder
pub fn title_ext(self, value: FieldExtension) -> ExampleScenarioInstanceBuilder
Extension field.
Sourcepub fn description(self, value: String) -> ExampleScenarioInstanceBuilder
pub fn description(self, value: String) -> ExampleScenarioInstanceBuilder
Human-friendly description of the instance
An explanation of what the instance contains and what it’s for.
Sourcepub fn description_ext(
self,
value: FieldExtension,
) -> ExampleScenarioInstanceBuilder
pub fn description_ext( self, value: FieldExtension, ) -> ExampleScenarioInstanceBuilder
Extension field.
Sourcepub fn content(self, value: Reference) -> ExampleScenarioInstanceBuilder
pub fn content(self, value: Reference) -> ExampleScenarioInstanceBuilder
Example instance data
Points to an instance (typically an example) that shows the data that would corespond to this instance.
If not conveying FHIR data or not using the same version of FHIR as this ExampleScenario instance, the reference must be to a Binary.
Sourcepub fn content_ext(
self,
value: FieldExtension,
) -> ExampleScenarioInstanceBuilder
pub fn content_ext( self, value: FieldExtension, ) -> ExampleScenarioInstanceBuilder
Extension field.
Sourcepub fn version(
self,
value: Vec<Option<ExampleScenarioInstanceVersion>>,
) -> ExampleScenarioInstanceBuilder
pub fn version( self, value: Vec<Option<ExampleScenarioInstanceVersion>>, ) -> ExampleScenarioInstanceBuilder
Snapshot of instance that changes
Represents the instance as it was at a specific time-point.
Not used if an instance doesn’t change
Sourcepub fn version_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> ExampleScenarioInstanceBuilder
pub fn version_ext( self, value: Vec<Option<FieldExtension>>, ) -> ExampleScenarioInstanceBuilder
Extension field.
Sourcepub fn contained_instance(
self,
value: Vec<Option<ExampleScenarioInstanceContainedInstance>>,
) -> ExampleScenarioInstanceBuilder
pub fn contained_instance( self, value: Vec<Option<ExampleScenarioInstanceContainedInstance>>, ) -> ExampleScenarioInstanceBuilder
Resources contained in the instance
References to other instances that can be found within this instance (e.g. the observations contained in a bundle).
Sourcepub fn contained_instance_ext(
self,
value: Vec<Option<FieldExtension>>,
) -> ExampleScenarioInstanceBuilder
pub fn contained_instance_ext( self, value: Vec<Option<FieldExtension>>, ) -> ExampleScenarioInstanceBuilder
Extension field.