pub struct ObservationDefinition {Show 45 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 status: Option<CodeDt>,
pub experimental: Option<BooleanDt>,
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 derived_from_canonical: Option<Vec<CanonicalDt>>,
pub derived_from_uri: Option<Vec<UriDt>>,
pub subject: Option<Vec<CodeableConcept>>,
pub performer_type: Option<CodeableConcept>,
pub category: Option<Vec<CodeableConcept>>,
pub code: Option<CodeableConcept>,
pub permitted_data_type: Option<Vec<CodeDt>>,
pub multiple_results_allowed: Option<BooleanDt>,
pub body_site: Option<CodeableConcept>,
pub method: Option<CodeableConcept>,
pub specimen: Option<Vec<Reference>>,
pub device: Option<Vec<Reference>>,
pub preferred_report_name: Option<StringDt>,
pub permitted_unit: Option<Vec<Coding>>,
pub qualified_value: Option<Vec<ObservationDefinitionQualifiedValueBackboneElement>>,
pub has_member: Option<Vec<Reference>>,
pub component: Option<Vec<ObservationDefinitionComponentBackboneElement>>,
}
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 ObservationDefinition (globally unique)
identifier: Option<Identifier>
Business identifier of the ObservationDefinition
version: Option<StringDt>
Business version of the ObservationDefinition
version_algorithm: Option<Coding>
How to compare versions
name: Option<StringDt>
Name for this ObservationDefinition (computer friendly)
title: Option<StringDt>
Name for this ObservationDefinition (human friendly)
status: Option<CodeDt>
draft | active | retired | unknown
experimental: Option<BooleanDt>
If for testing purposes, not real usage
date: Option<DateTimeDt>
Date last changed
publisher: Option<StringDt>
The name of the individual or organization that published the ObservationDefinition
contact: Option<Vec<ContactDetail>>
Contact details for the publisher
description: Option<MarkdownDt>
Natural language description of the ObservationDefinition
use_context: Option<Vec<UsageContext>>
Content intends to support these contexts
jurisdiction: Option<Vec<CodeableConcept>>
Intended jurisdiction for this ObservationDefinition (if applicable)
purpose: Option<MarkdownDt>
Why this ObservationDefinition is defined
copyright: Option<MarkdownDt>
Use and/or publishing restrictions
copyright_label: Option<StringDt>
Copyright holder and year(s)
approval_date: Option<DateDt>
When ObservationDefinition was approved by publisher
last_review_date: Option<DateDt>
Date on which the asset content was last reviewed by the publisher
effective_period: Option<Period>
The effective date range for the ObservationDefinition
derived_from_canonical: Option<Vec<CanonicalDt>>
Based on FHIR definition of another observation
derived_from_uri: Option<Vec<UriDt>>
Based on external definition
subject: Option<Vec<CodeableConcept>>
Type of subject for the defined observation
performer_type: Option<CodeableConcept>
Desired kind of performer for such kind of observation
category: Option<Vec<CodeableConcept>>
General type of observation
code: Option<CodeableConcept>
Type of observation
permitted_data_type: Option<Vec<CodeDt>>
Quantity | CodeableConcept | string | boolean | integer | Range | Ratio | SampledData | time | dateTime | Period
multiple_results_allowed: Option<BooleanDt>
Multiple results allowed for conforming observations
body_site: Option<CodeableConcept>
Body part to be observed
method: Option<CodeableConcept>
Method used to produce the observation
specimen: Option<Vec<Reference>>
Kind of specimen used by this type of observation
device: Option<Vec<Reference>>
Measurement device or model of device
preferred_report_name: Option<StringDt>
The preferred name to be used when reporting the observation results
permitted_unit: Option<Vec<Coding>>
Unit for quantitative results
qualified_value: Option<Vec<ObservationDefinitionQualifiedValueBackboneElement>>
Set of qualified values for observation results
has_member: Option<Vec<Reference>>
Definitions of related resources belonging to this kind of observation group
component: Option<Vec<ObservationDefinitionComponentBackboneElement>>
Component results
Implementations§
Source§impl ObservationDefinition
impl ObservationDefinition
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_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_experimental<T: Into<BooleanDt>>(self, v: T) -> 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_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_subject(self, v: Vec<CodeableConcept>) -> Self
pub fn add_subject(self, v: CodeableConcept) -> Self
pub fn set_performer_type(self, v: CodeableConcept) -> Self
pub fn set_category(self, v: Vec<CodeableConcept>) -> Self
pub fn add_category(self, v: CodeableConcept) -> Self
pub fn set_code(self, v: CodeableConcept) -> Self
pub fn set_permitted_data_type(self, v: Vec<CodeDt>) -> Self
pub fn add_permitted_data_type<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_multiple_results_allowed<T: Into<BooleanDt>>(self, v: T) -> Self
pub fn set_body_site(self, v: CodeableConcept) -> Self
pub fn set_method(self, v: CodeableConcept) -> Self
pub fn set_specimen(self, v: Vec<Reference>) -> Self
pub fn add_specimen(self, v: Reference) -> Self
pub fn set_device(self, v: Vec<Reference>) -> Self
pub fn add_device(self, v: Reference) -> Self
pub fn set_preferred_report_name<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_permitted_unit(self, v: Vec<Coding>) -> Self
pub fn add_permitted_unit(self, v: Coding) -> Self
pub fn set_qualified_value( self, v: Vec<ObservationDefinitionQualifiedValueBackboneElement>, ) -> Self
pub fn add_qualified_value( self, v: ObservationDefinitionQualifiedValueBackboneElement, ) -> Self
pub fn set_has_member(self, v: Vec<Reference>) -> Self
pub fn add_has_member(self, v: Reference) -> Self
pub fn set_component( self, v: Vec<ObservationDefinitionComponentBackboneElement>, ) -> Self
pub fn add_component( self, v: ObservationDefinitionComponentBackboneElement, ) -> Self
Trait Implementations§
Source§impl Clone for ObservationDefinition
impl Clone for ObservationDefinition
Source§fn clone(&self) -> ObservationDefinition
fn clone(&self) -> ObservationDefinition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more