Estonian Base Implementation Guide
1.0.0 - ballot Estonia flag

Estonian Base Implementation Guide - Local Development build (v1.0.0). See the Directory of published versions

Resource Profile: EEBase RelatedPerson

Official URL: https://fhir.ee/StructureDefinition/ee-related-person Version: 1.0.0
Draft as of 2023-05-29 Computable Name: EEBaseRelatedPerson

This profile builds on RelatedPerson resource. The profile allows information exchange about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process.

Usage:

Formal Views of Profile Content

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

This structure is derived from RelatedPerson

Terminology Bindings (Differential)

PathConformanceValueSet / Code
RelatedPerson.identifier.systemextensibleEEBasePatientIdentity
RelatedPerson.relationship:class.coding.systemextensibleFixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleClass
RelatedPerson.relationship:person.coding.systemextensibleFixed Value: http://snomed.info/sct

Terminology Bindings

PathConformanceValueSet
RelatedPerson.identifier.userequiredIdentifierUse
RelatedPerson.identifier.systemextensibleEEBasePatientIdentity
RelatedPerson.relationshippreferredPatientRelationshipType
RelatedPerson.relationship:classpreferredPatientRelationshipType
RelatedPerson.relationship:personpreferredPatientRelationshipType

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()

Terminology Bindings

PathConformanceValueSet / Code
RelatedPerson.languagerequiredAllLanguages
RelatedPerson.identifier.userequiredIdentifierUse
RelatedPerson.identifier.typeextensibleIdentifierTypeCodes
RelatedPerson.identifier.systemextensibleEEBasePatientIdentity
RelatedPerson.relationshippreferredPatientRelationshipType
RelatedPerson.relationship:classpreferredPatientRelationshipType
RelatedPerson.relationship:class.coding.systemextensibleFixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleClass
RelatedPerson.relationship:personpreferredPatientRelationshipType
RelatedPerson.relationship:person.coding.systemextensibleFixed Value: http://snomed.info/sct
RelatedPerson.genderrequiredAdministrativeGender
RelatedPerson.communication.languagerequiredAllLanguages

Constraints

IdGradePath(s)DetailsRequirements
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 RelatedPerson

Summary

Mandatory: 0 element (4 nested mandatory elements)
Must-Support: 6 elements
Fixed Value: 2 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element RelatedPerson.relationship is sliced based on the value of value:coding.system

Differential View

This structure is derived from RelatedPerson

Terminology Bindings (Differential)

PathConformanceValueSet / Code
RelatedPerson.identifier.systemextensibleEEBasePatientIdentity
RelatedPerson.relationship:class.coding.systemextensibleFixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleClass
RelatedPerson.relationship:person.coding.systemextensibleFixed Value: http://snomed.info/sct

Key Elements View

Terminology Bindings

PathConformanceValueSet
RelatedPerson.identifier.userequiredIdentifierUse
RelatedPerson.identifier.systemextensibleEEBasePatientIdentity
RelatedPerson.relationshippreferredPatientRelationshipType
RelatedPerson.relationship:classpreferredPatientRelationshipType
RelatedPerson.relationship:personpreferredPatientRelationshipType

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()

Snapshot View

Terminology Bindings

PathConformanceValueSet / Code
RelatedPerson.languagerequiredAllLanguages
RelatedPerson.identifier.userequiredIdentifierUse
RelatedPerson.identifier.typeextensibleIdentifierTypeCodes
RelatedPerson.identifier.systemextensibleEEBasePatientIdentity
RelatedPerson.relationshippreferredPatientRelationshipType
RelatedPerson.relationship:classpreferredPatientRelationshipType
RelatedPerson.relationship:class.coding.systemextensibleFixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleClass
RelatedPerson.relationship:personpreferredPatientRelationshipType
RelatedPerson.relationship:person.coding.systemextensibleFixed Value: http://snomed.info/sct
RelatedPerson.genderrequiredAdministrativeGender
RelatedPerson.communication.languagerequiredAllLanguages

Constraints

IdGradePath(s)DetailsRequirements
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 RelatedPerson

Summary

Mandatory: 0 element (4 nested mandatory elements)
Must-Support: 6 elements
Fixed Value: 2 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element RelatedPerson.relationship is sliced based on the value of value:coding.system

 

Other representations of profile: CSV, Excel, Schematron

Notes: