Patsiendi üldandmete teenus / Master Patient Index
1.4.0 - trial-use Estonia flag

Patsiendi üldandmete teenus / Master Patient Index - Downloaded Version 1.4.0 See the Directory of published versions

Resource Profile: EE MPI SocialHistory Legal Guardian Status

Official URL: https://fhir.ee/mpi/StructureDefinition/ee-mpi-socialhistory-legal-guardian-status Version: 1.4.0
Active as of 2025-10-14 Computable Name: EEMPISocialHistoryLegalGuardianStatus

Seadusliku eeskostja staatus

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.status Base required Observation Status 📍5.0.0 FHIR Std.
Observation.category Base preferred Observation Category Codes 📍5.0.0 FHIR Std.
Observation.category.​coding:obscat Base required Observation Category Codes 📦5.0.0 FHIR Std.
Observation.code Base example LOINC Codes 📍5.0.0 FHIR Std.
Observation.value[x] Base required Eestkoste liik . ⏿1.0.0 term.tehik.ee
Observation.dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 FHIR Std.
Observation.component.​code Base example LOINC Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Observation If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value). value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
obs-8 error Observation bodyStructure SHALL only be present if Observation.bodySite is not present bodySite.exists() implies bodyStructure.empty()

This structure is derived from EEBaseObservation

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Observation.value[x] Base required Eestkoste liik . ⏿1.0.0 term.tehik.ee

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.language Base required All Languages 📍5.0.0 FHIR Std.
Observation.triggeredBy.​type Base required triggered Bytype 📍5.0.0 FHIR Std.
Observation.status Base required Observation Status 📍5.0.0 FHIR Std.
Observation.category Base preferred Observation Category Codes 📍5.0.0 FHIR Std.
Observation.category.​coding:obscat Base required Observation Category Codes 📦5.0.0 FHIR Std.
Observation.code Base example LOINC Codes 📍5.0.0 FHIR Std.
Observation.value[x] Base required Eestkoste liik . ⏿1.0.0 term.tehik.ee
Observation.dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 FHIR Std.
Observation.referenceRange.​normalValue Base extensible Observation Reference Range Normal Value Codes 📍5.0.0 FHIR Std.
Observation.referenceRange.​type Base preferred Observation Reference Range Meaning Codes 📍5.0.0 FHIR Std.
Observation.referenceRange.​appliesTo Base example Observation Reference Range Applies To Codes 📍5.0.0 FHIR Std.
Observation.component.​code Base example LOINC Codes 📍5.0.0 FHIR Std.
Observation.component.​dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 FHIR Std.
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Observation If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value). value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
obs-8 error Observation bodyStructure SHALL only be present if Observation.bodySite is not present bodySite.exists() implies bodyStructure.empty()

This structure is derived from EEBaseObservation

Summary

Mandatory: 7 elements
Must-Support: 1 element
Fixed: 3 elements
Prohibited: 11 elements

Structures

This structure refers to these other structures:

Key Elements View

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.status Base required Observation Status 📍5.0.0 FHIR Std.
Observation.category Base preferred Observation Category Codes 📍5.0.0 FHIR Std.
Observation.category.​coding:obscat Base required Observation Category Codes 📦5.0.0 FHIR Std.
Observation.code Base example LOINC Codes 📍5.0.0 FHIR Std.
Observation.value[x] Base required Eestkoste liik . ⏿1.0.0 term.tehik.ee
Observation.dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 FHIR Std.
Observation.component.​code Base example LOINC Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Observation If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value). value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
obs-8 error Observation bodyStructure SHALL only be present if Observation.bodySite is not present bodySite.exists() implies bodyStructure.empty()

Differential View

This structure is derived from EEBaseObservation

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Observation.value[x] Base required Eestkoste liik . ⏿1.0.0 term.tehik.ee

Snapshot View

Terminology Bindings

Path Status Usage ValueSet Version Source
Observation.language Base required All Languages 📍5.0.0 FHIR Std.
Observation.triggeredBy.​type Base required triggered Bytype 📍5.0.0 FHIR Std.
Observation.status Base required Observation Status 📍5.0.0 FHIR Std.
Observation.category Base preferred Observation Category Codes 📍5.0.0 FHIR Std.
Observation.category.​coding:obscat Base required Observation Category Codes 📦5.0.0 FHIR Std.
Observation.code Base example LOINC Codes 📍5.0.0 FHIR Std.
Observation.value[x] Base required Eestkoste liik . ⏿1.0.0 term.tehik.ee
Observation.dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 FHIR Std.
Observation.referenceRange.​normalValue Base extensible Observation Reference Range Normal Value Codes 📍5.0.0 FHIR Std.
Observation.referenceRange.​type Base preferred Observation Reference Range Meaning Codes 📍5.0.0 FHIR Std.
Observation.referenceRange.​appliesTo Base example Observation Reference Range Applies To Codes 📍5.0.0 FHIR Std.
Observation.component.​code Base example LOINC Codes 📍5.0.0 FHIR Std.
Observation.component.​dataAbsentReason Base extensible Data Absent Reason 📍5.0.0 FHIR Std.
Observation.component.​interpretation Base extensible Observation Interpretation Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Observation If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Observation 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 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Observation If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Observation If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Observation A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
obs-6 error Observation dataAbsentReason SHALL only be present if Observation.value[x] is not present dataAbsentReason.empty() or value.empty()
obs-7 error Observation If Observation.component.code is the same as Observation.code, then Observation.value SHALL NOT be present (the Observation.component.value[x] holds the value). value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()
obs-8 error Observation bodyStructure SHALL only be present if Observation.bodySite is not present bodySite.exists() implies bodyStructure.empty()

This structure is derived from EEBaseObservation

Summary

Mandatory: 7 elements
Must-Support: 1 element
Fixed: 3 elements
Prohibited: 11 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron