## Union of http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-observation and https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-observation

This is the set of resources that conform to either of the profiles IPA-Observation (http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-observation) and FI SMART Observation (https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-observation). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Observation | C | 0..* |  | Measurements and simple assertions dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present ipa-obs-1: If there is no component or hasMember element then either a value[x] or a data absent reason must be present
meta | Σ | 0..1 | Meta | Metadata about the resource ele-1: All FHIR elements must have a @value or children
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language. ele-1: All FHIR elements must have a @value or children
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation ele-1: All FHIR elements must have a @value or children
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
identifier | Σ | 0..* | Identifier | Business Identifier for observation ele-1: All FHIR elements must have a @value or children
basedOn | Σ | 0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | Fulfills plan, proposal or order ele-1: All FHIR elements must have a @value or children
partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy) | Part of referenced event ele-1: All FHIR elements must have a @value or children
status | ?!S Σ | 1..1 | code | registered | preliminary | final | amended + Binding: ?? (required): Codes providing the status of an observation. ele-1: All FHIR elements must have a @value or children
category | S | 0..* | CodeableConcept | Classification of type of observation Binding: ?? (preferred): Codes for high level observation categories. ele-1: All FHIR elements must have a @value or children
code | S Σ | 1..1 | CodeableConcept | Type of observation (code / type) Binding: ?? (example): Codes identifying names of simple observations. ele-1: All FHIR elements must have a @value or children
subject | S Σ | 1..1 | Reference(IPA-Patient) | Who and/or what the observation is about ele-1: All FHIR elements must have a @value or children
focus | Σ | 0..* | Reference(Resource) | What the observation is about, when it is not about the subject of record ele-1: All FHIR elements must have a @value or children
encounter | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this observation is made ele-1: All FHIR elements must have a @value or children
effective[x] | S Σ | 0..1 |  | Clinically relevant time/time-period for observation ele-1: All FHIR elements must have a @value or children
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
effectiveTiming |  |  | Timing |
effectiveInstant |  |  | instant |
issued | Σ | 0..1 | instant | Date/Time this version was made available ele-1: All FHIR elements must have a @value or children
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson) | Who is responsible for the observation ele-1: All FHIR elements must have a @value or children
value[x] | S Σ | 0..1 |  | Actual result ele-1: All FHIR elements must have a @value or children
valueQuantity |  |  | Quantity |
valueCodeableConcept |  |  | CodeableConcept |
valueString |  |  | string |
valueBoolean |  |  | boolean |
valueInteger |  |  | integer |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueSampledData |  |  | SampledData |
valueTime |  |  | time |
valueDateTime |  |  | dateTime |
valuePeriod |  |  | Period |
dataAbsentReason | S | 0..1 | CodeableConcept | Why the result is missing Binding: ?? (extensible): Codes specifying why the result (Observation.value[x]) is missing. ele-1: All FHIR elements must have a @value or children
interpretation |  | 0..* | CodeableConcept | High, low, normal, etc. Binding: ?? (extensible): Codes identifying interpretations of observations. ele-1: All FHIR elements must have a @value or children
note |  | 0..* | Annotation | Comments about the observation ele-1: All FHIR elements must have a @value or children
bodySite |  | 0..1 | CodeableConcept | Observed body part Binding: ?? (example): Codes describing anatomical locations. May include laterality. ele-1: All FHIR elements must have a @value or children
method |  | 0..1 | CodeableConcept | How it was done Binding: ?? (example): Methods for simple observations. ele-1: All FHIR elements must have a @value or children
specimen |  | 0..1 | Reference(Specimen) | Specimen used for this observation ele-1: All FHIR elements must have a @value or children
device |  | 0..1 | Reference(Device | DeviceMetric) | (Measurement) Device ele-1: All FHIR elements must have a @value or children
referenceRange | C | 0..* | BackboneElement | Provides guide for interpretation ele-1: All FHIR elements must have a @value or children obs-3: Must have at least a low or a high or text
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
low |  | 0..1 | ?? | Low Range, if relevant ele-1: All FHIR elements must have a @value or children
high |  | 0..1 | ?? | High Range, if relevant ele-1: All FHIR elements must have a @value or children
type |  | 0..1 | CodeableConcept | Reference range qualifier Binding: ?? (preferred): Code for the meaning of a reference range. ele-1: All FHIR elements must have a @value or children
appliesTo |  | 0..* | CodeableConcept | Reference range population Binding: ?? (example): Codes identifying the population the reference range applies to. ele-1: All FHIR elements must have a @value or children
age |  | 0..1 | Range | Applicable age range, if relevant ele-1: All FHIR elements must have a @value or children
text |  | 0..1 | string | Text based reference range in an observation ele-1: All FHIR elements must have a @value or children
hasMember | Σ | 0..* | Reference(Observation | QuestionnaireResponse | MolecularSequence) | Related resource that belongs to the Observation group ele-1: All FHIR elements must have a @value or children
derivedFrom | Σ | 0..* | Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence) | Related measurements the observation is made from ele-1: All FHIR elements must have a @value or children
component | Σ | 0..* | BackboneElement | Component results ele-1: All FHIR elements must have a @value or children
extension |  | 0..* | Extension | Additional content defined by implementations ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both
code | Σ | 1..1 | CodeableConcept | Type of component observation (code / type) Binding: ?? (example): Codes identifying names of simple observations. ele-1: All FHIR elements must have a @value or children
value[x] | Σ | 0..1 |  | Actual component result ele-1: All FHIR elements must have a @value or children
valueQuantity |  |  | Quantity |
valueCodeableConcept |  |  | CodeableConcept |
valueString |  |  | string |
valueBoolean |  |  | boolean |
valueInteger |  |  | integer |
valueRange |  |  | Range |
valueRatio |  |  | Ratio |
valueSampledData |  |  | SampledData |
valueTime |  |  | time |
valueDateTime |  |  | dateTime |
valuePeriod |  |  | Period |
dataAbsentReason |  | 0..1 | CodeableConcept | Why the component result is missing Binding: ?? (extensible): Codes specifying why the result (Observation.value[x]) is missing. ele-1: All FHIR elements must have a @value or children
interpretation |  | 0..* | CodeableConcept | High, low, normal, etc. Binding: ?? (extensible): Codes identifying interpretations of observations. ele-1: All FHIR elements must have a @value or children
referenceRange |  | 0..* |  | Provides guide for interpretation of component result ele-1: All FHIR elements must have a @value or children
Documentation for this format