Bases: Observation
This US Core FHIR Profile is meant to capture any “simple” observations that are not otherwise covered by other US Core Observation profiles. It represents any type of observation that is not classified as vital signs, laboratory, imaging, or other more specific observation types. This profile promotes interoperability and adoption through common implementation by setting minimum expectations for the Observation resource to record, search, and retrieve observations such as a clinical observation or assertion about a patient's health status or other general observations. This profile identifies which core elements, extensions, vocabularies, and value sets SHALL be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.
category
class-attribute
instance-attribute
code
class-attribute
instance-attribute
derivedFrom
class-attribute
instance-attribute
effectiveDateTime
class-attribute
instance-attribute
effectiveInstant
class-attribute
instance-attribute
effectivePeriod
class-attribute
instance-attribute
effectiveTiming
class-attribute
instance-attribute
status
class-attribute
instance-attribute
subject
class-attribute
instance-attribute
valueBoolean
class-attribute
instance-attribute
valueCodeableConcept
class-attribute
instance-attribute
valueDateTime
class-attribute
instance-attribute
valueInteger
class-attribute
instance-attribute
valuePeriod
class-attribute
instance-attribute
valueQuantity
class-attribute
instance-attribute
valueRange
class-attribute
instance-attribute
valueRatio
class-attribute
instance-attribute
valueSampledData
class-attribute
instance-attribute
valueString
class-attribute
instance-attribute
valueTime
class-attribute
instance-attribute
category_slicing_cardinality_validator(value)
classmethod
Source code in onconova/interoperability/fhir/models/USCoreSimpleObservation.py
| @field_validator(*("category",), mode="after", check_fields=None)
@classmethod
def category_slicing_cardinality_validator(cls, value):
return validate_slicing_cardinalities(
cls,
value,
field_name="category",
)
|
effective_type_choice_validator()
Source code in onconova/interoperability/fhir/models/USCoreSimpleObservation.py
| @model_validator(mode="after")
def effective_type_choice_validator(self):
return validate_type_choice_element(
self,
field_types=["DateTime", "Period", "Timing", "Instant"],
field_name_base="effective",
required=False,
non_allowed_types=[],
)
|
value_type_choice_validator()
Source code in onconova/interoperability/fhir/models/USCoreSimpleObservation.py
| @model_validator(mode="after")
def value_type_choice_validator(self):
return validate_type_choice_element(
self,
field_types=[
"Quantity",
"CodeableConcept",
"String",
"Boolean",
"Integer",
"Range",
"Ratio",
"SampledData",
"Time",
"DateTime",
"Period",
],
field_name_base="value",
required=False,
non_allowed_types=[],
)
|