pub struct SpecimenDefinition {Show 36 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<Identifier>,
pub version: Option<StringDt>,
pub version_algorithm: Option<Coding>,
pub name: Option<StringDt>,
pub title: Option<StringDt>,
pub derived_from_canonical: Option<Vec<CanonicalDt>>,
pub derived_from_uri: Option<Vec<UriDt>>,
pub status: Option<CodeDt>,
pub experimental: Option<BooleanDt>,
pub subject: Option<Reference>,
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 approval_date: Option<DateDt>,
pub last_review_date: Option<DateDt>,
pub effective_period: Option<Period>,
pub type_collected: Option<CodeableConcept>,
pub patient_preparation: Option<Vec<CodeableConcept>>,
pub time_aspect: Option<StringDt>,
pub collection: Option<Vec<CodeableConcept>>,
pub type_tested: Option<Vec<SpecimenDefinitionTypeTestedBackboneElement>>,
}
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>
Logical canonical URL to reference this SpecimenDefinition (globally unique)
identifier: Option<Identifier>
Business identifier
version: Option<StringDt>
Business version of the SpecimenDefinition
version_algorithm: Option<Coding>
How to compare versions
name: Option<StringDt>
Name for this {{title}} (computer friendly)
title: Option<StringDt>
Name for this SpecimenDefinition (Human friendly)
derived_from_canonical: Option<Vec<CanonicalDt>>
Based on FHIR definition of another SpecimenDefinition
derived_from_uri: Option<Vec<UriDt>>
Based on external definition
status: Option<CodeDt>
draft | active | retired | unknown
experimental: Option<BooleanDt>
If this SpecimenDefinition is not for real usage
subject: Option<Reference>
Type of subject for specimen collection
date: Option<DateTimeDt>
Date status first applied
publisher: Option<StringDt>
The name of the individual or organization that published the SpecimenDefinition
contact: Option<Vec<ContactDetail>>
Contact details for the publisher
description: Option<MarkdownDt>
Natural language description of the SpecimenDefinition
use_context: Option<Vec<UsageContext>>
Content intends to support these contexts
jurisdiction: Option<Vec<CodeableConcept>>
Intended jurisdiction for this SpecimenDefinition (if applicable)
purpose: Option<MarkdownDt>
Why this SpecimenDefinition is defined
copyright: Option<MarkdownDt>
Use and/or publishing restrictions
copyright_label: Option<StringDt>
Copyright holder and year(s)
approval_date: Option<DateDt>
When SpecimenDefinition was approved by publisher
last_review_date: Option<DateDt>
The date on which the asset content was last reviewed by the publisher
effective_period: Option<Period>
The effective date range for the SpecimenDefinition
type_collected: Option<CodeableConcept>
Kind of material to collect
patient_preparation: Option<Vec<CodeableConcept>>
Patient preparation for collection
time_aspect: Option<StringDt>
Time aspect for collection
collection: Option<Vec<CodeableConcept>>
Specimen collection procedure
type_tested: Option<Vec<SpecimenDefinitionTypeTestedBackboneElement>>
Specimen in container intended for testing by lab
Implementations§
Source§impl SpecimenDefinition
impl SpecimenDefinition
pub fn set_url<T: Into<UriDt>>(self, v: T) -> Self
pub fn set_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_derived_from_canonical(self, v: Vec<CanonicalDt>) -> Self
pub fn add_derived_from_canonical<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_derived_from_uri(self, v: Vec<UriDt>) -> Self
pub fn add_derived_from_uri<T: Into<UriDt>>(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_subject(self, v: Reference) -> 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_approval_date<T: Into<DateDt>>(self, v: T) -> Self
pub fn set_last_review_date<T: Into<DateDt>>(self, v: T) -> Self
pub fn set_effective_period(self, v: Period) -> Self
pub fn set_type_collected(self, v: CodeableConcept) -> Self
pub fn set_patient_preparation(self, v: Vec<CodeableConcept>) -> Self
pub fn add_patient_preparation(self, v: CodeableConcept) -> Self
pub fn set_time_aspect<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_collection(self, v: Vec<CodeableConcept>) -> Self
pub fn add_collection(self, v: CodeableConcept) -> Self
pub fn set_type_tested( self, v: Vec<SpecimenDefinitionTypeTestedBackboneElement>, ) -> Self
pub fn add_type_tested( self, v: SpecimenDefinitionTypeTestedBackboneElement, ) -> Self
Trait Implementations§
Source§impl Clone for SpecimenDefinition
impl Clone for SpecimenDefinition
Source§fn clone(&self) -> SpecimenDefinition
fn clone(&self) -> SpecimenDefinition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more