pub enum TransportCode {
Abort,
Approve,
Change,
Fulfill,
Instantiate,
Replace,
Resume,
Suspend,
}
Expand description
TransportCode. Codes indicating the type of action that is expected to be performed
FHIR version: 5.0.0.
Variants§
Abort
abort
Mark the focal resource as no longer active. Abort, cancel or withdraw the focal resource, as appropriate for the type of resource.
Approve
approve
Activate/approve the focal resource. Take what actions are needed to transition the focus resource from ‘draft’ to ‘active’ or ‘in-progress’, as appropriate for the resource type. This may involve additing additional content, approval, validation, etc.
Change
change
Change the focal resource. Update the focal resource of the owning system to reflect the content specified as the Task.focus
Fulfill
fulfill
Fulfill the focal request. Act to perform the actions described in the focus request. This might result in a ‘more assertive’ request (order for a plan or proposal, filler order for a placer order), but is intend to eventually result in events. The degree of fulfillment requested might be limited by Task.restriction.
Instantiate
instantiate
Instantiate the focal definition. Act to perform the actions defined in the focus definition resource (ActivityDefinition, PlanDefinition, Questionnaire, etc.) For PlanDefinition or ActivityDefinition, this might result in a ‘more assertive’ request (order for a plan or proposal, filler order for a placer order), but is intend to eventually result in events. For Questionnaire, this would result in a QuestionnaireResponse - and possibly resources constructed using data extracted from the response. The degree of fulfillment requested might be limited by Task.restriction.
Replace
replace
Replace the focal resource with the input resource. Replace the focal resource with the specified input resource
Resume
resume
Re-activate the focal resource. Transition the focal resource from ‘suspended’ to ‘active’ or ‘in-progress’ as appropriate for the resource type.
Suspend
suspend
Suspend the focal resource. Transition the focal resource from ‘active’ or ‘in-progress’ to ‘suspended’
Trait Implementations§
Source§impl AsRef<str> for TransportCode
impl AsRef<str> for TransportCode
Source§impl Clone for TransportCode
impl Clone for TransportCode
Source§fn clone(&self) -> TransportCode
fn clone(&self) -> TransportCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TransportCode
impl Debug for TransportCode
Source§impl<'de> Deserialize<'de> for TransportCode
impl<'de> Deserialize<'de> for TransportCode
Source§fn deserialize<D>(
deserializer: D,
) -> Result<TransportCode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<TransportCode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl Display for TransportCode
impl Display for TransportCode
Source§impl From<TransportCode> for CodeableConcept
impl From<TransportCode> for CodeableConcept
Source§fn from(code: TransportCode) -> CodeableConcept
fn from(code: TransportCode) -> CodeableConcept
Source§impl From<TransportCode> for Coding
impl From<TransportCode> for Coding
Source§fn from(code: TransportCode) -> Coding
fn from(code: TransportCode) -> Coding
Source§impl FromStr for TransportCode
impl FromStr for TransportCode
Source§impl Hash for TransportCode
impl Hash for TransportCode
Source§impl PartialEq for TransportCode
impl PartialEq for TransportCode
Source§impl Serialize for TransportCode
impl Serialize for TransportCode
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
impl Copy for TransportCode
impl Eq for TransportCode
impl StructuralPartialEq for TransportCode
Auto Trait Implementations§
impl Freeze for TransportCode
impl RefUnwindSafe for TransportCode
impl Send for TransportCode
impl Sync for TransportCode
impl Unpin for TransportCode
impl UnwindSafe for TransportCode
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.