pub struct CapabilityStatement {Show 38 fields
pub id: Option<Id>,
pub meta: Option<Meta>,
pub implicit_rules: Option<UriDt>,
pub language: Option<CodeDt>,
pub text: Option<Narrative>,
pub contained: Option<Vec<AnyResource>>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
pub url: Option<UriDt>,
pub identifier: Option<Vec<Identifier>>,
pub version: Option<StringDt>,
pub version_algorithm: Option<Coding>,
pub name: Option<StringDt>,
pub title: Option<StringDt>,
pub status: Option<CodeDt>,
pub experimental: Option<BooleanDt>,
pub date: Option<DateTimeDt>,
pub publisher: Option<StringDt>,
pub contact: Option<Vec<ContactDetail>>,
pub description: Option<MarkdownDt>,
pub use_context: Option<Vec<UsageContext>>,
pub jurisdiction: Option<Vec<CodeableConcept>>,
pub purpose: Option<MarkdownDt>,
pub copyright: Option<MarkdownDt>,
pub copyright_label: Option<StringDt>,
pub kind: Option<CodeDt>,
pub instantiates: Option<Vec<CanonicalDt>>,
pub imports: Option<Vec<CanonicalDt>>,
pub software: Option<CapabilityStatementSoftwareBackboneElement>,
pub implementation: Option<CapabilityStatementImplementationBackboneElement>,
pub fhir_version: Option<CodeDt>,
pub format: Option<Vec<CodeDt>>,
pub patch_format: Option<Vec<CodeDt>>,
pub accept_language: Option<Vec<CodeDt>>,
pub implementation_guide: Option<Vec<CanonicalDt>>,
pub rest: Option<Vec<CapabilityStatementRestBackboneElement>>,
pub messaging: Option<Vec<CapabilityStatementMessagingBackboneElement>>,
pub document: Option<Vec<CapabilityStatementDocumentBackboneElement>>,
}
Fields§
§id: Option<Id>
Logical id of this artifact
meta: Option<Meta>
Metadata about the resource
implicit_rules: Option<UriDt>
A set of rules under which this content was created
language: Option<CodeDt>
Language of the resource content
text: Option<Narrative>
Text summary of the resource, for human interpretation
contained: Option<Vec<AnyResource>>
Contained, inline Resources
extension: Option<Vec<Extension>>
Additional content defined by implementations
modifier_extension: Option<Vec<Extension>>
Extensions that cannot be ignored
url: Option<UriDt>
Canonical identifier for this capability statement, represented as a URI (globally unique)
identifier: Option<Vec<Identifier>>
Additional identifier for the CapabilityStatement (business identifier)
version: Option<StringDt>
Business version of the capability statement
version_algorithm: Option<Coding>
How to compare versions
name: Option<StringDt>
Name for this capability statement (computer friendly)
title: Option<StringDt>
Name for this capability statement (human friendly)
status: Option<CodeDt>
draft | active | retired | unknown
experimental: Option<BooleanDt>
For testing purposes, not real usage
date: Option<DateTimeDt>
Date last changed
publisher: Option<StringDt>
Name of the publisher/steward (organization or individual)
contact: Option<Vec<ContactDetail>>
Contact details for the publisher
description: Option<MarkdownDt>
Natural language description of the capability statement
use_context: Option<Vec<UsageContext>>
The context that the content is intended to support
jurisdiction: Option<Vec<CodeableConcept>>
Intended jurisdiction for capability statement (if applicable)
purpose: Option<MarkdownDt>
Why this capability statement is defined
copyright: Option<MarkdownDt>
Use and/or publishing restrictions
copyright_label: Option<StringDt>
Copyright holder and year(s)
kind: Option<CodeDt>
instance | capability | requirements
instantiates: Option<Vec<CanonicalDt>>
Canonical URL of another capability statement this implements
imports: Option<Vec<CanonicalDt>>
Canonical URL of another capability statement this adds to
software: Option<CapabilityStatementSoftwareBackboneElement>
Software that is covered by this capability statement
implementation: Option<CapabilityStatementImplementationBackboneElement>
If this describes a specific instance
fhir_version: Option<CodeDt>
FHIR Version the system supports
format: Option<Vec<CodeDt>>
formats supported (xml | json | ttl | mime type)
patch_format: Option<Vec<CodeDt>>
Patch formats supported
accept_language: Option<Vec<CodeDt>>
Languages supported
implementation_guide: Option<Vec<CanonicalDt>>
Implementation guides supported
rest: Option<Vec<CapabilityStatementRestBackboneElement>>
If the endpoint is a RESTful one
messaging: Option<Vec<CapabilityStatementMessagingBackboneElement>>
If messaging is supported
document: Option<Vec<CapabilityStatementDocumentBackboneElement>>
Document definition
Implementations§
Source§impl CapabilityStatement
impl CapabilityStatement
pub fn set_url<T: Into<UriDt>>(self, v: T) -> Self
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_version<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_version_algorithm(self, v: Coding) -> Self
pub fn set_name<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_title<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_experimental<T: Into<BooleanDt>>(self, v: T) -> Self
pub fn set_date<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_publisher<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_contact(self, v: Vec<ContactDetail>) -> Self
pub fn add_contact(self, v: ContactDetail) -> Self
pub fn set_description<T: Into<MarkdownDt>>(self, v: T) -> Self
pub fn set_use_context(self, v: Vec<UsageContext>) -> Self
pub fn add_use_context(self, v: UsageContext) -> Self
pub fn set_jurisdiction(self, v: Vec<CodeableConcept>) -> Self
pub fn add_jurisdiction(self, v: CodeableConcept) -> Self
pub fn set_purpose<T: Into<MarkdownDt>>(self, v: T) -> Self
pub fn set_copyright<T: Into<MarkdownDt>>(self, v: T) -> Self
pub fn set_copyright_label<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_kind<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_instantiates(self, v: Vec<CanonicalDt>) -> Self
pub fn add_instantiates<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_imports(self, v: Vec<CanonicalDt>) -> Self
pub fn add_imports<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_software(self, v: CapabilityStatementSoftwareBackboneElement) -> Self
pub fn set_implementation( self, v: CapabilityStatementImplementationBackboneElement, ) -> Self
pub fn set_fhir_version<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_format(self, v: Vec<CodeDt>) -> Self
pub fn add_format<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_patch_format(self, v: Vec<CodeDt>) -> Self
pub fn add_patch_format<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_accept_language(self, v: Vec<CodeDt>) -> Self
pub fn add_accept_language<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_implementation_guide(self, v: Vec<CanonicalDt>) -> Self
pub fn add_implementation_guide<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_rest(self, v: Vec<CapabilityStatementRestBackboneElement>) -> Self
pub fn add_rest(self, v: CapabilityStatementRestBackboneElement) -> Self
pub fn set_messaging( self, v: Vec<CapabilityStatementMessagingBackboneElement>, ) -> Self
pub fn add_messaging( self, v: CapabilityStatementMessagingBackboneElement, ) -> Self
pub fn set_document( self, v: Vec<CapabilityStatementDocumentBackboneElement>, ) -> Self
pub fn add_document(self, v: CapabilityStatementDocumentBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for CapabilityStatement
impl Clone for CapabilityStatement
Source§fn clone(&self) -> CapabilityStatement
fn clone(&self) -> CapabilityStatement
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more