VRIS - Viljatusravi infosüsteem
0.1.0 - draft Estonia flag

VRIS - Viljatusravi infosüsteem, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-vris/ and changes regularly. See the Directory of published versions

Resource Profile: RelatedPerson: EE VRIS RelatedPerson

Official URL: https://fhir.ee/vris/StructureDefinition/ee-vris-related-person Version: 0.1.0
Draft as of 2026-07-16 Computable Name: EEVRISRelatedPerson

Related person profile for VRIS. (ee Seotud isiku profiil näitab seost patsiendi või retsipiendiga. Doonori ja retsipiendi vahelise SUHTE kirjeldus.)

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
RelatedPerson.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
RelatedPerson.identifier.​system Base extensible Patsiendi identifikaatorite domeen . ⏿3.0.0 term.tehik.ee
RelatedPerson.relationship Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:class Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:person Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:donorClass Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:donortype Base required https://fhir.ee/ValueSet/vris-doonori-tyyp Not State Unknown
RelatedPerson.communication.​language Base required All Languages 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error RelatedPerson If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error RelatedPerson 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 RelatedPerson 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 RelatedPerson If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice RelatedPerson 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()

This structure is derived from EEBaseRelatedPerson

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
RelatedPerson.relationship:donortype Base required https://fhir.ee/ValueSet/vris-doonori-tyyp Not State Unknown

Terminology Bindings

Path Status Usage ValueSet Version Source
RelatedPerson.language Base required All Languages 📍5.0.0 FHIR Std.
RelatedPerson.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
RelatedPerson.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
RelatedPerson.identifier.​system Base extensible Patsiendi identifikaatorite domeen . ⏿3.0.0 term.tehik.ee
RelatedPerson.relationship Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:class Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:class.​coding.system Base extensible RoleClass 📦3.0.0 THO v7.2
RelatedPerson.relationship:person Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:person.​coding.system Base extensible Isiku seos patsiendiga . ⏿1.0.0 term.tehik.ee
RelatedPerson.relationship:donorClass Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:donortype Base required https://fhir.ee/ValueSet/vris-doonori-tyyp Not State Unknown
RelatedPerson.gender Base required AdministrativeGender 📍5.0.0 FHIR Std.
RelatedPerson.communication.​language Base required All Languages 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error RelatedPerson If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error RelatedPerson 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 RelatedPerson 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 RelatedPerson If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice RelatedPerson 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()

Key Elements View

Terminology Bindings

Path Status Usage ValueSet Version Source
RelatedPerson.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
RelatedPerson.identifier.​system Base extensible Patsiendi identifikaatorite domeen . ⏿3.0.0 term.tehik.ee
RelatedPerson.relationship Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:class Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:person Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:donorClass Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:donortype Base required https://fhir.ee/ValueSet/vris-doonori-tyyp Not State Unknown
RelatedPerson.communication.​language Base required All Languages 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error RelatedPerson If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error RelatedPerson 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 RelatedPerson 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 RelatedPerson If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice RelatedPerson 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()

Differential View

This structure is derived from EEBaseRelatedPerson

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
RelatedPerson.relationship:donortype Base required https://fhir.ee/ValueSet/vris-doonori-tyyp Not State Unknown

Snapshot View

Terminology Bindings

Path Status Usage ValueSet Version Source
RelatedPerson.language Base required All Languages 📍5.0.0 FHIR Std.
RelatedPerson.identifier.​use Base required IdentifierUse 📍5.0.0 FHIR Std.
RelatedPerson.identifier.​type Base extensible Identifier Type Codes 📍5.0.0 FHIR Std.
RelatedPerson.identifier.​system Base extensible Patsiendi identifikaatorite domeen . ⏿3.0.0 term.tehik.ee
RelatedPerson.relationship Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:class Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:class.​coding.system Base extensible RoleClass 📦3.0.0 THO v7.2
RelatedPerson.relationship:person Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:person.​coding.system Base extensible Isiku seos patsiendiga . ⏿1.0.0 term.tehik.ee
RelatedPerson.relationship:donorClass Base preferred Patient Relationship Type 📍5.0.0 FHIR Std.
RelatedPerson.relationship:donortype Base required https://fhir.ee/ValueSet/vris-doonori-tyyp Not State Unknown
RelatedPerson.gender Base required AdministrativeGender 📍5.0.0 FHIR Std.
RelatedPerson.communication.​language Base required All Languages 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error RelatedPerson If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error RelatedPerson 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 RelatedPerson 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 RelatedPerson If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice RelatedPerson 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()

 

Other representations of profile: CSV, Excel, Schematron