Appointment

Struct Appointment 

Source
pub struct Appointment {
Show 40 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 identifier: Option<Vec<Identifier>>, pub status: Option<CodeDt>, pub cancellation_reason: Option<CodeableConcept>, pub class: Option<Vec<CodeableConcept>>, pub service_category: Option<Vec<CodeableConcept>>, pub service_type: Option<Vec<CodeableReference>>, pub specialty: Option<Vec<CodeableConcept>>, pub appointment_type: Option<CodeableConcept>, pub reason: Option<Vec<CodeableReference>>, pub priority: Option<CodeableConcept>, pub description: Option<StringDt>, pub replaces: Option<Vec<Reference>>, pub virtual_service: Option<Vec<VirtualServiceDetail>>, pub supporting_information: Option<Vec<Reference>>, pub previous_appointment: Option<Reference>, pub originating_appointment: Option<Reference>, pub start: Option<InstantDt>, pub end: Option<InstantDt>, pub minutes_duration: Option<PositiveIntDt>, pub requested_period: Option<Vec<Period>>, pub slot: Option<Vec<Reference>>, pub account: Option<Vec<Reference>>, pub created: Option<DateTimeDt>, pub cancellation_date: Option<DateTimeDt>, pub note: Option<Vec<Annotation>>, pub patient_instruction: Option<Vec<CodeableReference>>, pub based_on: Option<Vec<Reference>>, pub subject: Option<Reference>, pub participant: Option<Vec<AppointmentParticipantBackboneElement>>, pub recurrence_id: Option<PositiveIntDt>, pub occurrence_changed: Option<BooleanDt>, pub recurrence_template: Option<Vec<AppointmentRecurrenceTemplateBackboneElement>>,
}

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

§identifier: Option<Vec<Identifier>>

External Ids for this item

§status: Option<CodeDt>

proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist

§cancellation_reason: Option<CodeableConcept>

The coded reason for the appointment being cancelled

§class: Option<Vec<CodeableConcept>>

Classification when becoming an encounter

§service_category: Option<Vec<CodeableConcept>>

A broad categorization of the service that is to be performed during this appointment

§service_type: Option<Vec<CodeableReference>>

The specific service that is to be performed during this appointment

§specialty: Option<Vec<CodeableConcept>>

The specialty of a practitioner that would be required to perform the service requested in this appointment

§appointment_type: Option<CodeableConcept>

The style of appointment or patient that has been booked in the slot (not service type)

§reason: Option<Vec<CodeableReference>>

Reason this appointment is scheduled

§priority: Option<CodeableConcept>

Used to make informed decisions if needing to re-prioritize

§description: Option<StringDt>

Shown on a subject line in a meeting request, or appointment list

§replaces: Option<Vec<Reference>>

Appointment replaced by this Appointment

§virtual_service: Option<Vec<VirtualServiceDetail>>

Connection details of a virtual service (e.g. conference call)

§supporting_information: Option<Vec<Reference>>

Additional information to support the appointment

§previous_appointment: Option<Reference>

The previous appointment in a series

§originating_appointment: Option<Reference>

The originating appointment in a recurring set of appointments

§start: Option<InstantDt>

When appointment is to take place

§end: Option<InstantDt>

When appointment is to conclude

§minutes_duration: Option<PositiveIntDt>

Can be less than start/end (e.g. estimate)

§requested_period: Option<Vec<Period>>

Potential date/time interval(s) requested to allocate the appointment within

§slot: Option<Vec<Reference>>

The slots that this appointment is filling

§account: Option<Vec<Reference>>

The set of accounts that may be used for billing for this Appointment

§created: Option<DateTimeDt>

The date that this appointment was initially created

§cancellation_date: Option<DateTimeDt>

When the appointment was cancelled

§note: Option<Vec<Annotation>>

Additional comments

§patient_instruction: Option<Vec<CodeableReference>>

Detailed information and instructions for the patient

§based_on: Option<Vec<Reference>>

The request this appointment is allocated to assess

§subject: Option<Reference>

The patient or group associated with the appointment

§participant: Option<Vec<AppointmentParticipantBackboneElement>>

Participants involved in appointment

§recurrence_id: Option<PositiveIntDt>

The sequence number in the recurrence

§occurrence_changed: Option<BooleanDt>

Indicates that this appointment varies from a recurrence pattern

§recurrence_template: Option<Vec<AppointmentRecurrenceTemplateBackboneElement>>

Details of the recurrence pattern/template used to generate occurrences

Implementations§

Source§

impl Appointment

Source

pub fn set_identifier(self, v: Vec<Identifier>) -> Self

Source

pub fn add_identifier(self, v: Identifier) -> Self

Source

pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self

Source

pub fn set_cancellation_reason(self, v: CodeableConcept) -> Self

Source

pub fn set_class(self, v: Vec<CodeableConcept>) -> Self

Source

pub fn add_class(self, v: CodeableConcept) -> Self

Source

pub fn set_service_category(self, v: Vec<CodeableConcept>) -> Self

Source

pub fn add_service_category(self, v: CodeableConcept) -> Self

Source

pub fn set_service_type(self, v: Vec<CodeableReference>) -> Self

Source

pub fn add_service_type(self, v: CodeableReference) -> Self

Source

pub fn set_specialty(self, v: Vec<CodeableConcept>) -> Self

Source

pub fn add_specialty(self, v: CodeableConcept) -> Self

Source

pub fn set_appointment_type(self, v: CodeableConcept) -> Self

Source

pub fn set_reason(self, v: Vec<CodeableReference>) -> Self

Source

pub fn add_reason(self, v: CodeableReference) -> Self

Source

pub fn set_priority(self, v: CodeableConcept) -> Self

Source

pub fn set_description<T: Into<StringDt>>(self, v: T) -> Self

Source

pub fn set_replaces(self, v: Vec<Reference>) -> Self

Source

pub fn add_replaces(self, v: Reference) -> Self

Source

pub fn set_virtual_service(self, v: Vec<VirtualServiceDetail>) -> Self

Source

pub fn add_virtual_service(self, v: VirtualServiceDetail) -> Self

Source

pub fn set_supporting_information(self, v: Vec<Reference>) -> Self

Source

pub fn add_supporting_information(self, v: Reference) -> Self

Source

pub fn set_previous_appointment(self, v: Reference) -> Self

Source

pub fn set_originating_appointment(self, v: Reference) -> Self

Source

pub fn set_start<T: Into<InstantDt>>(self, v: T) -> Self

Source

pub fn set_end<T: Into<InstantDt>>(self, v: T) -> Self

Source

pub fn set_minutes_duration<T: Into<PositiveIntDt>>(self, v: T) -> Self

Source

pub fn set_requested_period(self, v: Vec<Period>) -> Self

Source

pub fn add_requested_period(self, v: Period) -> Self

Source

pub fn set_slot(self, v: Vec<Reference>) -> Self

Source

pub fn add_slot(self, v: Reference) -> Self

Source

pub fn set_account(self, v: Vec<Reference>) -> Self

Source

pub fn add_account(self, v: Reference) -> Self

Source

pub fn set_created<T: Into<DateTimeDt>>(self, v: T) -> Self

Source

pub fn set_cancellation_date<T: Into<DateTimeDt>>(self, v: T) -> Self

Source

pub fn set_note(self, v: Vec<Annotation>) -> Self

Source

pub fn add_note(self, v: Annotation) -> Self

Source

pub fn set_patient_instruction(self, v: Vec<CodeableReference>) -> Self

Source

pub fn add_patient_instruction(self, v: CodeableReference) -> Self

Source

pub fn set_based_on(self, v: Vec<Reference>) -> Self

Source

pub fn add_based_on(self, v: Reference) -> Self

Source

pub fn set_subject(self, v: Reference) -> Self

Source

pub fn set_participant( self, v: Vec<AppointmentParticipantBackboneElement>, ) -> Self

Source

pub fn add_participant(self, v: AppointmentParticipantBackboneElement) -> Self

Source

pub fn set_recurrence_id<T: Into<PositiveIntDt>>(self, v: T) -> Self

Source

pub fn set_occurrence_changed<T: Into<BooleanDt>>(self, v: T) -> Self

Source

pub fn set_recurrence_template( self, v: Vec<AppointmentRecurrenceTemplateBackboneElement>, ) -> Self

Source

pub fn add_recurrence_template( self, v: AppointmentRecurrenceTemplateBackboneElement, ) -> Self

Trait Implementations§

Source§

impl Base for Appointment

Source§

fn type_name(&self) -> &str

Source§

impl Clone for Appointment

Source§

fn clone(&self) -> Appointment

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Compare for Appointment

Source§

fn eq(&self, _right: &dyn Executor) -> Result<bool>

Source§

fn gt(&self, _right: &dyn Executor) -> Result<bool>

Source§

fn ge(&self, _right: &dyn Executor) -> Result<bool>

Source§

fn lt(&self, _right: &dyn Executor) -> Result<bool>

Source§

fn le(&self, _right: &dyn Executor) -> Result<bool>

Source§

impl Convert for Appointment

Source§

impl Debug for Appointment

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Appointment

Source§

fn default() -> Appointment

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Appointment

Source§

fn deserialize<De>(deserializer: De) -> Result<Self>
where De: Deserializer<'de>,

Source§

impl DomainResource for Appointment

Source§

impl Executor for Appointment

Source§

fn element(&self, symbol: &String, index: &Option<usize>) -> Result<Collection>

Source§

fn to_collection(&self, index: &Option<usize>) -> Collection

Source§

fn child(&self, _index: usize) -> Result<Collection>

Source§

impl Resource for Appointment

Source§

fn id(&self) -> &Option<String>

Source§

fn set_id<T: Into<Id>>(self, id: T) -> Self

Source§

fn meta(&self) -> &Option<Meta>

Source§

fn set_meta(self, meta: Meta) -> Self

Source§

impl Serialize for Appointment

Source§

fn serialize<Ser: Serializer>(&self, serializer: Ser) -> Result<()>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more