pub enum CompartmentType {
Device,
Encounter,
EpisodeOfCare,
Patient,
Practitioner,
RelatedPerson,
}Expand description
CompartmentType. Which type a compartment definition describes.
FHIR version: 5.0.0.
Variants§
Device
Device
Device. The compartment definition is for the device compartment.
Encounter
Encounter
Encounter. The compartment definition is for the encounter compartment.
EpisodeOfCare
EpisodeOfCare
EpisodeOfCare. The compartment definition is for the episodeofcare compartment.
Patient
Patient
Patient. The compartment definition is for the patient compartment.
Practitioner
Practitioner
Practitioner. The compartment definition is for the practitioner compartment.
RelatedPerson
RelatedPerson
RelatedPerson. The compartment definition is for the related-person compartment.
Trait Implementations§
Source§impl AsRef<str> for CompartmentType
impl AsRef<str> for CompartmentType
Source§impl Clone for CompartmentType
impl Clone for CompartmentType
Source§fn clone(&self) -> CompartmentType
fn clone(&self) -> CompartmentType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompartmentType
impl Debug for CompartmentType
Source§impl<'de> Deserialize<'de> for CompartmentType
impl<'de> Deserialize<'de> for CompartmentType
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CompartmentType
impl Display for CompartmentType
Source§impl From<CompartmentType> for CodeableConcept
impl From<CompartmentType> for CodeableConcept
Source§fn from(code: CompartmentType) -> Self
fn from(code: CompartmentType) -> Self
Converts to this type from the input type.
Source§impl From<CompartmentType> for Coding
impl From<CompartmentType> for Coding
Source§fn from(code: CompartmentType) -> Self
fn from(code: CompartmentType) -> Self
Converts to this type from the input type.
Source§impl FromStr for CompartmentType
impl FromStr for CompartmentType
Source§impl Hash for CompartmentType
impl Hash for CompartmentType
Source§impl PartialEq for CompartmentType
impl PartialEq for CompartmentType
Source§fn eq(&self, other: &CompartmentType) -> bool
fn eq(&self, other: &CompartmentType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompartmentType
impl Serialize for CompartmentType
impl Copy for CompartmentType
impl Eq for CompartmentType
impl StructuralPartialEq for CompartmentType
Auto Trait Implementations§
impl Freeze for CompartmentType
impl RefUnwindSafe for CompartmentType
impl Send for CompartmentType
impl Sync for CompartmentType
impl Unpin for CompartmentType
impl UnsafeUnpin for CompartmentType
impl UnwindSafe for CompartmentType
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
Mutably borrows from an owned value. Read more