Class Observation
Measurements and simple assertions made about a patient, device or other subject.
Implements
Inherited Members
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class Observation : DomainResource, IFhirJsonSerializable
Properties
| Improve this Doc View Source_Comments
Extension container element for Comments
Declaration
public Element _Comments { get; set; }
Property Value
Type | Description |
---|---|
Element |
_EffectiveDateTime
Extension container element for EffectiveDateTime
Declaration
public Element _EffectiveDateTime { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Issued
Extension container element for Issued
Declaration
public Element _Issued { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Status
Extension container element for Status
Declaration
public Element _Status { get; set; }
Property Value
Type | Description |
---|---|
Element |
_ValueDateTime
Extension container element for ValueDateTime
Declaration
public Element _ValueDateTime { get; set; }
Property Value
Type | Description |
---|---|
Element |
_ValueString
Extension container element for ValueString
Declaration
public Element _ValueString { get; set; }
Property Value
Type | Description |
---|---|
Element |
_ValueTime
Extension container element for ValueTime
Declaration
public Element _ValueTime { get; set; }
Property Value
Type | Description |
---|---|
Element |
BodySite
Knowing where the observation is made is important for tracking if multiple sites are possible.
Declaration
public CodeableConcept BodySite { get; set; }
Property Value
Type | Description |
---|---|
Codeable |
Category
A code that classifies the general type of observation being made. This is used for searching, sorting and display purposes.
Declaration
public CodeableConcept Category { get; set; }
Property Value
Type | Description |
---|---|
Codeable |
Code
Knowing what kind of observation is being made is essential to understanding the observation.
Declaration
public CodeableConcept Code { get; set; }
Property Value
Type | Description |
---|---|
Codeable |
Comments
Need to be able to provide free text additional information.
Declaration
public string Comments { get; set; }
Property Value
Type | Description |
---|---|
System. |
Component
Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.
Declaration
public List<ObservationComponent> Component { get; set; }
Property Value
Type | Description |
---|---|
fhir |
DataAbsentReason
For many results it is necessary to handle exceptional values in measurements.
Declaration
public CodeableConcept DataAbsentReason { get; set; }
Property Value
Type | Description |
---|---|
Codeable |
Device
The device used to generate the observation data.
Declaration
public Reference Device { get; set; }
Property Value
Type | Description |
---|---|
Reference |
EffectiveDateTime
Knowing when an observation was deemed true is important to its relevance as well as determining trends.
Declaration
public string EffectiveDateTime { get; set; }
Property Value
Type | Description |
---|---|
System. |
EffectivePeriod
Knowing when an observation was deemed true is important to its relevance as well as determining trends.
Declaration
public Period EffectivePeriod { get; set; }
Property Value
Type | Description |
---|---|
Period |
Encounter
For some observations it may be important to know the link between an observation and a particular encounter.
Declaration
public Reference Encounter { get; set; }
Property Value
Type | Description |
---|---|
Reference |
Identifier
Allows observations to be distinguished and referenced.
Declaration
public List<Identifier> Identifier { get; set; }
Property Value
Type | Description |
---|---|
fhir |
Interpretation
For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.
Declaration
public CodeableConcept Interpretation { get; set; }
Property Value
Type | Description |
---|---|
Codeable |
Issued
The date and time this observation was made available to providers, typically after the results have been reviewed and verified.
Declaration
public string Issued { get; set; }
Property Value
Type | Description |
---|---|
System. |
Method
In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.
Declaration
public CodeableConcept Method { get; set; }
Property Value
Type | Description |
---|---|
Codeable |
Performer
May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.
Declaration
public List<Reference> Performer { get; set; }
Property Value
Type | Description |
---|---|
fhir |
ReferenceRange
Knowing what values are considered "normal" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.
Declaration
public List<ObservationReferenceRange> ReferenceRange { get; set; }
Property Value
Type | Description |
---|---|
fhir |
Related
Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.
Declaration
public List<ObservationRelated> Related { get; set; }
Property Value
Type | Description |
---|---|
fhir |
ResourceType
Resource Type Name
Declaration
public override string ResourceType { get; }
Property Value
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceSpecimen
The specimen that was used when this observation was made.
Declaration
public Reference Specimen { get; set; }
Property Value
Type | Description |
---|---|
Reference |
Status
Need to track the status of individual results. Some results are finalized before the whole report is finalized.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
System. |
Subject
Observations have no value if you don't know who or what they're about.
Declaration
public Reference Subject { get; set; }
Property Value
Type | Description |
---|---|
Reference |
ValueAttachment
An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.
Declaration
public Attachment ValueAttachment { get; set; }
Property Value
Type | Description |
---|---|
Attachment |
ValueCodeableConcept
An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.
Declaration
public CodeableConcept ValueCodeableConcept { get; set; }
Property Value
Type | Description |
---|---|
Codeable |
ValueDateTime
An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.
Declaration
public string ValueDateTime { get; set; }
Property Value
Type | Description |
---|---|
System. |
ValuePeriod
An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.
Declaration
public Period ValuePeriod { get; set; }
Property Value
Type | Description |
---|---|
Period |
ValueQuantity
An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.
Declaration
public Quantity ValueQuantity { get; set; }
Property Value
Type | Description |
---|---|
Quantity |
ValueRange
An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.
Declaration
public Range ValueRange { get; set; }
Property Value
Type | Description |
---|---|
Range |
ValueRatio
An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.
Declaration
public Ratio ValueRatio { get; set; }
Property Value
Type | Description |
---|---|
Ratio |
ValueSampledData
An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.
Declaration
public SampledData ValueSampledData { get; set; }
Property Value
Type | Description |
---|---|
Sampled |
ValueString
An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.
Declaration
public string ValueString { get; set; }
Property Value
Type | Description |
---|---|
System. |
ValueTime
An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.
Declaration
public string ValueTime { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceDeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)
Deserialize a JSON object
Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
reader | |
Json |
options |
DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)
Deserialize a JSON property
Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
reader | |
Json |
options | |
System. |
propertyName |
SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)
Serialize to a JSON object
Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
writer | |
Json |
options | |
System. |
includeStartObject |