pub struct CapabilityStatementRestResource {Show 20 fields
pub id: Option<String>,
pub extension: Option<Vec<Box<Extension>>>,
pub modifierExtension: Option<Vec<Box<Extension>>>,
pub type_: Box<ResourceTypes>,
pub profile: Option<Box<FHIRString>>,
pub supportedProfile: Option<Vec<Box<FHIRString>>>,
pub documentation: Option<Box<FHIRMarkdown>>,
pub interaction: Option<Vec<CapabilityStatementRestResourceInteraction>>,
pub versioning: Option<Box<VersioningPolicy>>,
pub readHistory: Option<Box<FHIRBoolean>>,
pub updateCreate: Option<Box<FHIRBoolean>>,
pub conditionalCreate: Option<Box<FHIRBoolean>>,
pub conditionalRead: Option<Box<ConditionalReadStatus>>,
pub conditionalUpdate: Option<Box<FHIRBoolean>>,
pub conditionalDelete: Option<Box<ConditionalDeleteStatus>>,
pub referencePolicy: Option<Vec<Box<ReferenceHandlingPolicy>>>,
pub searchInclude: Option<Vec<Box<FHIRString>>>,
pub searchRevInclude: Option<Vec<Box<FHIRString>>>,
pub searchParam: Option<Vec<CapabilityStatementRestResourceSearchParam>>,
pub operation: Option<Vec<CapabilityStatementRestResourceOperation>>,
}Expand description
A specification of the restful capabilities of the solution for a specific resource type.
Fields§
§id: Option<String>Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension: Option<Vec<Box<Extension>>>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 manageable, 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.
modifierExtension: Option<Vec<Box<Extension>>>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 manageable, 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).
type_: Box<ResourceTypes>A type of resource exposed via the restful interface.
profile: Option<Box<FHIRString>>A specification of the profile that describes the solution’s overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in Using Profiles.
supportedProfile: Option<Vec<Box<FHIRString>>>A list of profiles that represent different use cases supported by the system. For a server, “supported by the system” means the system hosts/produces a set of resources that are conformant to a particular profile, and allows clients that use its services to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in Using Profiles.
documentation: Option<Box<FHIRMarkdown>>Additional information about the resource type used by the system.
interaction: Option<Vec<CapabilityStatementRestResourceInteraction>>Identifies a restful operation supported by the solution.
versioning: Option<Box<VersioningPolicy>>This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is ‘versioned-update’, then the server supports all the versioning features, including using e-tags for version integrity in the API.
readHistory: Option<Box<FHIRBoolean>>A flag for whether the server is able to return past versions as part of the vRead operation.
updateCreate: Option<Box<FHIRBoolean>>A flag to indicate that the server allows or needs to allow the client to create new identities on the server (that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server.
conditionalCreate: Option<Box<FHIRBoolean>>A flag that indicates that the server supports conditional create.
conditionalRead: Option<Box<ConditionalReadStatus>>A code that indicates how the server supports conditional read.
conditionalUpdate: Option<Box<FHIRBoolean>>A flag that indicates that the server supports conditional update.
conditionalDelete: Option<Box<ConditionalDeleteStatus>>A code that indicates how the server supports conditional delete.
referencePolicy: Option<Vec<Box<ReferenceHandlingPolicy>>>A set of flags that defines how references are supported.
searchInclude: Option<Vec<Box<FHIRString>>>A list of _include values supported by the server.
searchRevInclude: Option<Vec<Box<FHIRString>>>A list of _revinclude (reverse include) values supported by the server.
searchParam: Option<Vec<CapabilityStatementRestResourceSearchParam>>Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation.
operation: Option<Vec<CapabilityStatementRestResourceOperation>>Definition of an operation or a named query together with its parameters and their meaning and type. Consult the definition of the operation for details about how to invoke the operation, and the parameters.
Trait Implementations§
Source§impl Clone for CapabilityStatementRestResource
impl Clone for CapabilityStatementRestResource
Source§fn clone(&self) -> CapabilityStatementRestResource
fn clone(&self) -> CapabilityStatementRestResource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for CapabilityStatementRestResource
impl Default for CapabilityStatementRestResource
Source§fn default() -> CapabilityStatementRestResource
fn default() -> CapabilityStatementRestResource
Source§impl FHIRJSONDeserializer for CapabilityStatementRestResource
impl FHIRJSONDeserializer for CapabilityStatementRestResource
fn from_json_str(s: &str) -> Result<Self, DeserializeError>
fn from_serde_value( obj: &Value, context: Context<'_>, ) -> Result<Self, DeserializeError>
Source§impl FHIRJSONSerializer for CapabilityStatementRestResource
impl FHIRJSONSerializer for CapabilityStatementRestResource
fn serialize_value( &self, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn serialize_extension( &self, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn serialize_field( &self, field: &str, writer: &mut dyn Write, ) -> Result<bool, SerializeError>
fn is_fp_primitive(&self) -> bool
Source§impl MetaValue for CapabilityStatementRestResource
impl MetaValue for CapabilityStatementRestResource
fn fields(&self) -> Vec<&'static str>
fn get_field<'a>(&'a self, field: &str) -> Option<&'a dyn MetaValue>
fn get_field_mut<'a>(&'a mut self, field: &str) -> Option<&'a mut dyn MetaValue>
fn get_index_mut<'a>( &'a mut self, index: usize, ) -> Option<&'a mut dyn MetaValue>
fn get_index<'a>(&'a self, _index: usize) -> Option<&'a dyn MetaValue>
fn typename(&self) -> &'static str
fn as_any(&self) -> &dyn Any
fn flatten(&self) -> Vec<&dyn MetaValue>
Auto Trait Implementations§
impl Freeze for CapabilityStatementRestResource
impl RefUnwindSafe for CapabilityStatementRestResource
impl Send for CapabilityStatementRestResource
impl Sync for CapabilityStatementRestResource
impl Unpin for CapabilityStatementRestResource
impl UnwindSafe for CapabilityStatementRestResource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more