pub enum OperationOutcome {
Show 51 variants
DELETE_MULTIPLE_MATCHES(Option<Element>),
MSG_AUTH_REQUIRED(Option<Element>),
MSG_BAD_FORMAT(Option<Element>),
MSG_BAD_SYNTAX(Option<Element>),
MSG_CANT_PARSE_CONTENT(Option<Element>),
MSG_CANT_PARSE_ROOT(Option<Element>),
MSG_CREATED(Option<Element>),
MSG_DATE_FORMAT(Option<Element>),
MSG_DELETED(Option<Element>),
MSG_DELETED_DONE(Option<Element>),
MSG_DELETED_ID(Option<Element>),
MSG_DUPLICATE_ID(Option<Element>),
MSG_ERROR_PARSING(Option<Element>),
MSG_ID_INVALID(Option<Element>),
MSG_ID_TOO_LONG(Option<Element>),
MSG_INVALID_ID(Option<Element>),
MSG_JSON_OBJECT(Option<Element>),
MSG_LOCAL_FAIL(Option<Element>),
MSG_NO_EXIST(Option<Element>),
MSG_NO_MATCH(Option<Element>),
MSG_NO_MODULE(Option<Element>),
MSG_NO_SUMMARY(Option<Element>),
MSG_OP_NOT_ALLOWED(Option<Element>),
MSG_PARAM_CHAINED(Option<Element>),
MSG_PARAM_INVALID(Option<Element>),
MSG_PARAM_MODIFIER_INVALID(Option<Element>),
MSG_PARAM_NO_REPEAT(Option<Element>),
MSG_PARAM_UNKNOWN(Option<Element>),
MSG_RESOURCE_EXAMPLE_PROTECTED(Option<Element>),
MSG_RESOURCE_ID_FAIL(Option<Element>),
MSG_RESOURCE_ID_MISMATCH(Option<Element>),
MSG_RESOURCE_ID_MISSING(Option<Element>),
MSG_RESOURCE_NOT_ALLOWED(Option<Element>),
MSG_RESOURCE_REQUIRED(Option<Element>),
MSG_RESOURCE_TYPE_MISMATCH(Option<Element>),
MSG_SORT_UNKNOWN(Option<Element>),
MSG_TRANSACTION_DUPLICATE_ID(Option<Element>),
MSG_TRANSACTION_MISSING_ID(Option<Element>),
MSG_UNHANDLED_NODE_TYPE(Option<Element>),
MSG_UNKNOWN_CONTENT(Option<Element>),
MSG_UNKNOWN_OPERATION(Option<Element>),
MSG_UNKNOWN_TYPE(Option<Element>),
MSG_UPDATED(Option<Element>),
MSG_VERSION_AWARE(Option<Element>),
MSG_VERSION_AWARE_CONFLICT(Option<Element>),
MSG_VERSION_AWARE_URL(Option<Element>),
MSG_WRONG_NS(Option<Element>),
SEARCH_MULTIPLE(Option<Element>),
SEARCH_NONE(Option<Element>),
UPDATE_MULTIPLE_MATCHES(Option<Element>),
Null(Option<Element>),
}Variants§
DELETE_MULTIPLE_MATCHES(Option<Element>)
Error: Multiple matches exist for the conditional delete
MSG_AUTH_REQUIRED(Option<Element>)
You must authenticate before you can use this service
MSG_BAD_FORMAT(Option<Element>)
Bad Syntax: “%s” must be a %s’
MSG_BAD_SYNTAX(Option<Element>)
Bad Syntax in %s
MSG_CANT_PARSE_CONTENT(Option<Element>)
Unable to parse feed (entry content type = “%s”)
MSG_CANT_PARSE_ROOT(Option<Element>)
Unable to parse feed (root element name = “%s”)
MSG_CREATED(Option<Element>)
New resource created
MSG_DATE_FORMAT(Option<Element>)
The Date value %s is not in the correct format (Xml Date Format required)
MSG_DELETED(Option<Element>)
This resource has been deleted
MSG_DELETED_DONE(Option<Element>)
Resource deleted
MSG_DELETED_ID(Option<Element>)
The resource “%s” has been deleted
MSG_DUPLICATE_ID(Option<Element>)
Duplicate Id %s for resource type %s
MSG_ERROR_PARSING(Option<Element>)
Error parsing resource Xml (%s)
MSG_ID_INVALID(Option<Element>)
Id “%s” has an invalid character “%s”
MSG_ID_TOO_LONG(Option<Element>)
Id “%s” too long (length limit 36)
MSG_INVALID_ID(Option<Element>)
Id not accepted
MSG_JSON_OBJECT(Option<Element>)
Json Source for a resource should start with an object
MSG_LOCAL_FAIL(Option<Element>)
Unable to resolve local reference to resource %s
MSG_NO_EXIST(Option<Element>)
Resource Id “%s” does not exist
MSG_NO_MATCH(Option<Element>)
No Resource found matching the query “%s”
MSG_NO_MODULE(Option<Element>)
No module could be found to handle the request “%s”
MSG_NO_SUMMARY(Option<Element>)
No Summary for this resource
MSG_OP_NOT_ALLOWED(Option<Element>)
Operation %s not allowed for resource %s (due to local configuration)
MSG_PARAM_CHAINED(Option<Element>)
Unknown chained parameter name “%s”
MSG_PARAM_INVALID(Option<Element>)
Parameter “%s” content is invalid
MSG_PARAM_MODIFIER_INVALID(Option<Element>)
Parameter “%s” modifier is invalid
MSG_PARAM_NO_REPEAT(Option<Element>)
Parameter “%s” is not allowed to repeat
MSG_PARAM_UNKNOWN(Option<Element>)
Parameter “%s” not understood
MSG_RESOURCE_EXAMPLE_PROTECTED(Option<Element>)
Resources with identity “example” cannot be deleted (for testing/training purposes)
MSG_RESOURCE_ID_FAIL(Option<Element>)
unable to allocate resource id
MSG_RESOURCE_ID_MISMATCH(Option<Element>)
Resource Id Mismatch
MSG_RESOURCE_ID_MISSING(Option<Element>)
Resource Id Missing
MSG_RESOURCE_NOT_ALLOWED(Option<Element>)
Not allowed to submit a resource for this operation
MSG_RESOURCE_REQUIRED(Option<Element>)
A resource is required
MSG_RESOURCE_TYPE_MISMATCH(Option<Element>)
Resource Type Mismatch
MSG_SORT_UNKNOWN(Option<Element>)
Unknown sort parameter name “%s”
MSG_TRANSACTION_DUPLICATE_ID(Option<Element>)
Duplicate Identifier in transaction: %s
MSG_TRANSACTION_MISSING_ID(Option<Element>)
Missing Identifier in transaction - an entry.id must be provided
MSG_UNHANDLED_NODE_TYPE(Option<Element>)
Unhandled xml node type “%s”
MSG_UNKNOWN_CONTENT(Option<Element>)
Unknown Content (%s) at %s
MSG_UNKNOWN_OPERATION(Option<Element>)
unknown FHIR http operation
MSG_UNKNOWN_TYPE(Option<Element>)
Resource Type “%s” not recognised
MSG_UPDATED(Option<Element>)
existing resource updated
MSG_VERSION_AWARE(Option<Element>)
Version aware updates are required for this resource
MSG_VERSION_AWARE_CONFLICT(Option<Element>)
Update Conflict (server current version = “%s”, client version referenced = “%s”)
MSG_VERSION_AWARE_URL(Option<Element>)
Version specific URL not recognised
MSG_WRONG_NS(Option<Element>)
This does not appear to be a FHIR element or resource (wrong namespace “%s”)
SEARCH_MULTIPLE(Option<Element>)
Error: Multiple matches exist for %s search parameters “%s”
SEARCH_NONE(Option<Element>)
Error: no processable search found for %s search parameters “%s”
UPDATE_MULTIPLE_MATCHES(Option<Element>)
Error: Multiple matches exist for the conditional update
Null(Option<Element>)
If value is missing and just the element is present.
Trait Implementations§
Source§impl Clone for OperationOutcome
impl Clone for OperationOutcome
Source§fn clone(&self) -> OperationOutcome
fn clone(&self) -> OperationOutcome
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OperationOutcome
impl Debug for OperationOutcome
Source§impl Default for OperationOutcome
impl Default for OperationOutcome
Source§impl FHIRJSONDeserializer for OperationOutcome
impl FHIRJSONDeserializer for OperationOutcome
fn from_json_str(s: &str) -> Result<Self, DeserializeError>
fn from_serde_value( json: &Value, context: Context<'_>, ) -> Result<Self, DeserializeError>
Source§impl FHIRJSONSerializer for OperationOutcome
impl FHIRJSONSerializer for OperationOutcome
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 OperationOutcome
impl MetaValue for OperationOutcome
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<'a>(&'a self, _index: usize) -> Option<&'a dyn MetaValue>
fn get_index_mut<'a>( &'a mut self, _index: usize, ) -> Option<&'a mut dyn MetaValue>
fn flatten(&self) -> Vec<&dyn MetaValue>
fn as_any(&self) -> &dyn Any
fn typename(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for OperationOutcome
impl RefUnwindSafe for OperationOutcome
impl Send for OperationOutcome
impl Sync for OperationOutcome
impl Unpin for OperationOutcome
impl UnwindSafe for OperationOutcome
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