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

Patsiendi üldandmete teenus / Master Patient Index - Local Development build (v1.3.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: EE MPI Related Person

Official URL: https://fhir.ee/mpi/StructureDefinition/ee-mpi-related-person Version: 1.3.1
Active as of 2025-07-30 Computable Name: MPIRelatedPerson

Patsient ja tema kontakt- ja seotud isikud.

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

PathConformanceValueSetURI
RelatedPerson.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
RelatedPerson.identifier.systemextensibleEEBasePatientIdentifierDomain
https://fhir.ee/ValueSet/patient-identifier-domain
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
RelatedPerson.relationship:classrequiredIsikuSeosPatsiendiga .
https://fhir.ee/ValueSet/isiku-seos-patsiendiga
RelatedPerson.relationship:personrequiredPatsiendiKontaktisikuteLiigid .
https://fhir.ee/ValueSet/patsiendi-kontaktisikute-liigid
RelatedPerson.communication.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf 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-4errorRelatedPersonIf 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-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from EEBaseRelatedPerson

Terminology Bindings (Differential)

PathConformanceValueSetURI
RelatedPerson.relationship:classrequiredIsikuSeosPatsiendiga .
https://fhir.ee/ValueSet/isiku-seos-patsiendiga
RelatedPerson.relationship:personrequiredPatsiendiKontaktisikuteLiigid .
https://fhir.ee/ValueSet/patsiendi-kontaktisikute-liigid

Terminology Bindings

PathConformanceValueSet / CodeURI
RelatedPerson.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard
RelatedPerson.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
RelatedPerson.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
RelatedPerson.identifier.systemextensibleEEBasePatientIdentifierDomain
https://fhir.ee/ValueSet/patient-identifier-domain
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
RelatedPerson.relationship:classrequiredIsikuSeosPatsiendiga .
https://fhir.ee/ValueSet/isiku-seos-patsiendiga
RelatedPerson.relationship:class.coding.systemextensibleFixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleClass
http://terminology.hl7.org/ValueSet/v3-RoleClass
RelatedPerson.relationship:personrequiredPatsiendiKontaktisikuteLiigid .
https://fhir.ee/ValueSet/patsiendi-kontaktisikute-liigid
RelatedPerson.relationship:person.coding.systemextensibleFixed Value: http://snomed.info/sct
https://fhir.ee/ValueSet/isiku-seos-patsiendiga
RelatedPerson.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|5.0.0
From the FHIR Standard
RelatedPerson.communication.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf 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-4errorRelatedPersonIf 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-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from EEBaseRelatedPerson

Summary

Mandatory: 3 elements
Must-Support: 5 elements
Prohibited: 3 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of RelatedPerson.relationship (Closed)

Key Elements View

Terminology Bindings

PathConformanceValueSetURI
RelatedPerson.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
RelatedPerson.identifier.systemextensibleEEBasePatientIdentifierDomain
https://fhir.ee/ValueSet/patient-identifier-domain
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
RelatedPerson.relationship:classrequiredIsikuSeosPatsiendiga .
https://fhir.ee/ValueSet/isiku-seos-patsiendiga
RelatedPerson.relationship:personrequiredPatsiendiKontaktisikuteLiigid .
https://fhir.ee/ValueSet/patsiendi-kontaktisikute-liigid
RelatedPerson.communication.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf 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-4errorRelatedPersonIf 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-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from EEBaseRelatedPerson

Terminology Bindings (Differential)

PathConformanceValueSetURI
RelatedPerson.relationship:classrequiredIsikuSeosPatsiendiga .
https://fhir.ee/ValueSet/isiku-seos-patsiendiga
RelatedPerson.relationship:personrequiredPatsiendiKontaktisikuteLiigid .
https://fhir.ee/ValueSet/patsiendi-kontaktisikute-liigid

Snapshot View

Terminology Bindings

PathConformanceValueSet / CodeURI
RelatedPerson.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard
RelatedPerson.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
RelatedPerson.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
RelatedPerson.identifier.systemextensibleEEBasePatientIdentifierDomain
https://fhir.ee/ValueSet/patient-identifier-domain
RelatedPerson.relationshippreferredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
RelatedPerson.relationship:classrequiredIsikuSeosPatsiendiga .
https://fhir.ee/ValueSet/isiku-seos-patsiendiga
RelatedPerson.relationship:class.coding.systemextensibleFixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleClass
http://terminology.hl7.org/ValueSet/v3-RoleClass
RelatedPerson.relationship:personrequiredPatsiendiKontaktisikuteLiigid .
https://fhir.ee/ValueSet/patsiendi-kontaktisikute-liigid
RelatedPerson.relationship:person.coding.systemextensibleFixed Value: http://snomed.info/sct
https://fhir.ee/ValueSet/isiku-seos-patsiendiga
RelatedPerson.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|5.0.0
From the FHIR Standard
RelatedPerson.communication.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorRelatedPersonIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorRelatedPersonIf 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-4errorRelatedPersonIf 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-5errorRelatedPersonIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceRelatedPersonA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from EEBaseRelatedPerson

Summary

Mandatory: 3 elements
Must-Support: 5 elements
Prohibited: 3 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of RelatedPerson.relationship (Closed)

 

Other representations of profile: CSV, Excel, Schematron