Kontaktpersona | RelatedPerson


Šis objekts ir paredzēts pacienta kontaktpersonas kontaktinformācijas datu apmaiņai. Izveidojot šādu struktūru, tā ir jāreferencē nosūtījumā, kas izveidots vizītes laikā.Nosūtījumam jaunas kontaktpersonas var pievienot tikai nosūtītājs vai nosūtījuma datu ievadītājs. Citi dalībnieki var tikai labot jau reģistrētos kontaktpersonu datus.Kontaktpersonu informācija būs pieejama arī aprūpes epizodēs, kas nav tieši saistītas ar šo nosūtījumu.Pacientam ir tiesības labot vai deaktivizēt kontaktpersonas datus.Deaktivizētas kontaktpersonas joprojām būs pieejamas nosūtījuma kontekstā.Lai pievienotu kontaktpersonu nosūtījumam, attiecīgās references jāievieto pakalpojuma pieprasījumā paredzētajā paplašinājumā.
NosaukumsResurssStatussProfilsVersija
KontaktpersonaRelatedPersondrafthttps://digives.gov.lv/fhir/StructureDefinition/RelatedPerson0.1
KontaktpersonaExtensiondrafthttps://digives.gov.lv/fhir/StructureDefinition/Extension/RelatedPerson0.1

Struktūra

Zemāk ir redzama objekta renderēta struktūra.
idΣ0..1id
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
textC0..1Narrative
containedC0..*Resource
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
identifierΣ0..*Identifier
activeΣ ?!1..1boolean
id0..1id
extensionC0..*Extension
referenceΣ C1..1string
typeΣ1..1uriBindingFixed Value
identifierΣ C0..1Identifier
displayΣ C0..1string
id0..1id
extensionC0..*Extension
id0..1id
extensionC0..*Extension
systemΣ1..1uriFixed Value
versionΣ0..1string
codeΣ C1..1codeBinding
displayΣ C1..1string
userSelectedΣ0..1boolean
textΣ0..1string
id0..1id
extensionC0..*Extension
useΣ ?!0..1codeBinding
textΣ1..1string
familyΣ0..1string
givenΣ0..*string
prefixΣ0..*string
suffixΣ0..*string
periodΣ0..1Period
id0..1id
extensionC0..*Extension
systemΣ C1..1codeBinding
valueΣ C1..1string
useΣ ?!0..1codeBinding
rankΣ0..1positiveInt
periodΣ0..1Period
genderΣ0..1codeBinding
birthDateΣ0..1date
addressΣ0..*Address
photo0..*Attachment
period0..1Period
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
language1..1CodeableConceptBinding
preferred0..1boolean
RelatedPerson
ShortA person that is related to a patient, but who is not a direct target of care
Definition

Information about a person that is involved in a patient's health or the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process.

Cardinality0..*
Constraints
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • 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
    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: 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: If a resource is contained in another resource, it SHALL NOT have a security label
    contained.meta.security.empty()
  • dom-6: A resource should have narrative for robust management
    text.`div`.exists()
Mappings
  • rim: Entity, Role, or Act,role
  • w5: administrative.individual
  • interface: ParticipantLiving
RelatedPerson.id
ShortLogical id of this artifact
Definition

The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

Cardinality0..1
Typeid
SummaryTrue
Comments

Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.

RelatedPerson.meta
ShortMetadata about the resource
Definition

The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

Cardinality0..1
TypeMeta
SummaryTrue
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
RelatedPerson.implicitRules
ShortA set of rules under which this content was created
Definition

A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

Cardinality0..1
Typeuri
ModifierTrue
SummaryTrue
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
RelatedPerson.language
ShortLanguage of the resource content
Definition

The base language in which the resource is written.

Cardinality0..1
Typecode
Binding

IETF language tag for a human language

AllLanguages (required)

Additional bindings
Comments

Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
RelatedPerson.text
ShortText summary of the resource, for human interpretation
Definition

A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

Cardinality0..1
TypeNarrative
Aliasnarrative, html, xhtml, display
Comments

Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

ConditionsThe cardinality or value of this element may be affected by these constraints: dom-6
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: Act.text?
RelatedPerson.contained
ShortContained, inline Resources
Definition

These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

Cardinality0..*
TypeResource
Aliasinline resources, anonymous resources, contained resources
Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.

ConditionsThe cardinality or value of this element may be affected by these constraints: dom-2, dom-4, dom-3, dom-5
Mappings
  • rim: N/A
RelatedPerson.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
RelatedPerson.modifierExtension
ShortExtensions that cannot be ignored
Definition

May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
RelatedPerson.identifier
ShortA human identifier for this person
Definition

Identifier for a person within a particular scope.

Cardinality0..*
TypeIdentifier
SummaryTrue
Requirements

People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.

Comments

RelatedPerson identifiers might not be unique across instances within a system, as a single human individual may be represented as many different RelatedPerson resources with different roles, periods, or relationships.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • w5: FiveWs.identifier
  • v2: NK1-33
  • rim: .id
  • interface: Participant.identifier
RelatedPerson.active
ShortWhether this related person's record is in active use
Definition

Whether this related person record is in active use.

Cardinality1..1
Typeboolean
ModifierTrue
SummaryTrue
Requirements

Need to be able to mark a related person record as not to be used, such as if it was created in error.

Comments

This element is labeled as a modifier because it may be used to mark that the resource was created in error.

Meaning when missing

This resource is generally assumed to be active if no value is provided for the active element

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • w5: FiveWs.status
  • rim: .statusCode
  • interface: Participant.active
RelatedPerson.patient
ShortThe patient this person is related to
Definition

The patient this person is related to.

Cardinality1..1
TypeReference(Patient)
SummaryTrue
Requirements

We need to know which patient this RelatedPerson is related to.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: PID-3
  • rim: scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id
RelatedPerson.patient.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typeid
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Mappings
  • rim: n/a
RelatedPerson.patient.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
RelatedPerson.patient.reference
ShortLiteral reference, Relative, internal or absolute URL
Definition

A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.

Cardinality1..1
Typestring
SummaryTrue
Comments

Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

ConditionsThe cardinality or value of this element may be affected by these constraints: ref-2, ref-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
RelatedPerson.patient.type
ShortType the reference refers to (e.g. "Patient") - must be a resource in resources
Definition

The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

Cardinality1..1
Typeuri
Binding

Aa resource (or, for logical models, the URI of the logical model).

ResourceType (required)

SummaryTrue
Comments

This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value
Patient
Mappings
  • rim: N/A
RelatedPerson.patient.identifier
ShortLogical reference, when literal reference is not known
Definition

An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

Cardinality0..1
TypeIdentifier
SummaryTrue
Comments

When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

This element only allows for a single identifier. In the case where additional identifers are required, use the http://hl7.org/fhir/StructureDefinition/additionalIdentifier extension.

ConditionsThe cardinality or value of this element may be affected by these constraints: ref-2
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: .identifier
RelatedPerson.patient.display
ShortText alternative for the resource
Definition

Plain text narrative that identifies the resource in addition to the resource reference.

Cardinality0..1
Typestring
SummaryTrue
Comments

This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.

ConditionsThe cardinality or value of this element may be affected by these constraints: ref-2
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
RelatedPerson.relationship
ShortThe relationship of the related person to the patient
Definition

The nature of the relationship between the related person and the patient.

Cardinality1..1
TypeCodeableConcept
Binding

The nature of the relationship between a patient and the related person.

PatientRelationshipType (preferred)

SummaryTrue
Requirements

We need to know the relationship with the patient since it influences the interpretation of the information attributed to this person.

Comments

The directionality of the relationship is from the RelatedPerson to the Patient. For example, if the Patient is a child, and the RelatedPerson is the mother, the relationship would be PRN (parent) or MTH (mother).

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • w5: FiveWs.class
  • v2: NK1-3
  • rim: code
RelatedPerson.relationship.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typeid
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Mappings
  • rim: n/a
RelatedPerson.relationship.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
RelatedPerson.relationship.coding
ShortCode defined by a terminology system
Definition

A reference to a code defined by a terminology system.

Cardinality1..1
TypeCoding
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
RelatedPerson.relationship.coding.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typeid
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Mappings
  • rim: n/a
RelatedPerson.relationship.coding.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
RelatedPerson.relationship.coding.system
ShortIdentity of the terminology system
Definition

The identification of the code system that defines the meaning of the symbol in the code.

Cardinality1..1
Typeuri
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value
urn:oid:1.3.6.1.4.1.38760.2.68
Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
RelatedPerson.relationship.coding.version
ShortVersion of the system - if relevant
Definition

The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.

Cardinality0..1
Typestring
SummaryTrue
Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
RelatedPerson.relationship.coding.code
ShortSymbol in syntax defined by the system
Definition

A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).

Cardinality1..1
Typecode
Binding

http://digives.gov.lv/fhir/ValueSet/1.3.6.1.4.1.38760.2.68 (required)

SummaryTrue
Requirements

Need to refer to a particular code in the system.

ConditionsThe cardinality or value of this element may be affected by these constraints: cod-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
RelatedPerson.relationship.coding.display
ShortRepresentation defined by the system
Definition

A representation of the meaning of the code in the system, following the rules of the system.

Cardinality1..1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

ConditionsThe cardinality or value of this element may be affected by these constraints: cod-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
RelatedPerson.relationship.coding.userSelected
ShortIf this coding was chosen directly by the user
Definition

Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).

Cardinality0..1
Typeboolean
SummaryTrue
Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
RelatedPerson.relationship.text
ShortPlain text representation of the concept
Definition

A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.

Cardinality0..1
Typestring
SummaryTrue
Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Very often the text is the same as a displayName of one of the codings.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
RelatedPerson.name
ShortA name associated with the person
Definition

A name associated with the person.

Cardinality1..1
TypeHumanName
SummaryTrue
Requirements

Related persons need to be identified by name, but it is uncommon to need details about multiple other names for that person.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: NK1-2
  • rim: name
  • interface: Participant.name
RelatedPerson.name.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typeid
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Mappings
  • rim: n/a
RelatedPerson.name.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
RelatedPerson.name.use
Shortusual | official | temp | nickname | anonymous | old | maiden
Definition

Identifies the purpose for this name.

Cardinality0..1
Typecode
Binding

The use of a human name.

NameUse (required)

ModifierTrue
SummaryTrue
Requirements

Allows the appropriate name for a particular context of use to be selected from among a set of names.

Comments

Applications can assume that a name is current unless it explicitly says that it is temporary or old.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: XPN.7, but often indicated by which field contains the name
  • rim: unique(./use)
  • servd: ./NamePurpose
RelatedPerson.name.text
ShortText representation of the full name
Definition

Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.

Cardinality1..1
Typestring
SummaryTrue
Requirements

A renderable, unencoded form.

Comments

Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: implied by XPN.11
  • rim: ./formatted
RelatedPerson.name.family
ShortFamily name (often called 'Surname')
Definition

The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.

Cardinality0..1
Typestring
SummaryTrue
Aliassurname
Comments

Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: XPN.1/FN.1
  • rim: ./part[partType = FAM]
  • servd: ./FamilyName
RelatedPerson.name.given
ShortGiven names (not always 'first'). Includes middle names
Definition

Given name.

Cardinality0..*
Typestring
SummaryTrue
Aliasfirst name, middle name
Comments

If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called "first name" since given names do not always come first.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: XPN.2 + XPN.3
  • rim: ./part[partType = GIV]
  • servd: ./GivenNames
RelatedPerson.name.prefix
ShortParts that come before the name
Definition

Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.

Cardinality0..*
Typestring
SummaryTrue
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: XPN.5
  • rim: ./part[partType = PFX]
  • servd: ./TitleCode
RelatedPerson.name.suffix
ShortParts that come after the name
Definition

Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.

Cardinality0..*
Typestring
SummaryTrue
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: XPN/4
  • rim: ./part[partType = SFX]
RelatedPerson.name.period
ShortTime period when name was/is in use
Definition

Indicates the period of time when this name was valid for the named person.

Cardinality0..1
TypePeriod
SummaryTrue
Requirements

Allows names to be placed in historical context.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: XPN.13 + XPN.14
  • rim: ./usablePeriod[type="IVL<TS>"]
  • servd: ./StartDate and ./EndDate
RelatedPerson.telecom
ShortA contact detail for the person
Definition

A contact detail for the person, e.g. a telephone number or an email address.

Cardinality1..2
TypeContactPoint
SummaryTrue
Requirements

People have (primary) ways to contact them in some way such as phone, email.

Comments

Person may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently, and also to help with identification.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: NK1-5 / NK1-6 / NK1-40
  • rim: telecom
  • interface: ParticipantContactable.telecom
RelatedPerson.telecom.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typeid
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Mappings
  • rim: n/a
RelatedPerson.telecom.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
RelatedPerson.telecom.system
Shortphone | fax | email | pager | url | sms | other
Definition

Telecommunications form for contact point - what communications system is required to make use of the contact.

Cardinality1..1
Typecode
Binding

Telecommunications form for contact point.

ContactPointSystem (required)

SummaryTrue
ConditionsThe cardinality or value of this element may be affected by these constraints: cpt-2
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: XTN.3
  • rim: ./scheme
  • servd: ./ContactPointType
RelatedPerson.telecom.value
ShortThe actual contact point details
Definition

The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).

Cardinality1..1
Typestring
SummaryTrue
Requirements

Need to support legacy numbers that are not in a tightly controlled format.

Comments

Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.

ConditionsThe cardinality or value of this element may be affected by these constraints: cpt-2
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: XTN.1 (or XTN.12)
  • rim: ./url
  • servd: ./Value
RelatedPerson.telecom.use
Shorthome | work | temp | old | mobile - purpose of this contact point
Definition

Identifies the purpose for the contact point.

Cardinality0..1
Typecode
Binding

Use of contact point.

ContactPointUse (required)

ModifierTrue
SummaryTrue
Requirements

Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.

Comments

Applications can assume that a contact is current unless it explicitly says that it is temporary or old.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: XTN.2 - but often indicated by field
  • rim: unique(./use)
  • servd: ./ContactPointPurpose
RelatedPerson.telecom.rank
ShortSpecify preferred order of use (1 = highest)
Definition

Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.

Cardinality0..1
TypepositiveInt
SummaryTrue
Comments

Note that rank does not necessarily follow the order in which the contacts are represented in the instance.

Ranks need not be unique. E.g. it's possible to have multiple contacts with rank=1. If the ranks have different systems or uses, this would be interpreted to mean "X is my most preferred phone number, Y is my most preferred email address" or "X is my preferred home email and Y is my preferred work email". If the system and use for equally-ranked contacts are the same, then the level of preference is equivalent for both repetitions.

Ranks need not be sequential and not all repetitions must have a rank. For example, it's possible to have 4 contacts with ranks of 2, 5 and two with no rank specified. That would be interpreted to mean the first is preferred over the second and no preference stated for the remaining contacts.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: n/a
  • rim: n/a
RelatedPerson.telecom.period
ShortTime period when the contact point was/is in use
Definition

Time period when the contact point was/is in use.

Cardinality0..1
TypePeriod
SummaryTrue
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: N/A
  • rim: ./usablePeriod[type="IVL<TS>"]
  • servd: ./StartDate and ./EndDate
RelatedPerson.gender
Shortmale | female | other | unknown
Definition

Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.

Cardinality0..1
Typecode
Binding

The gender of a person used for administrative purposes.

AdministrativeGender (required)

SummaryTrue
Requirements

Needed for identification of the person, in combination with (at least) name and birth date.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: NK1-15
  • rim: administrativeGender
  • interface: ParticipantLiving.gender
RelatedPerson.birthDate
ShortThe date on which the related person was born
Definition

The date on which the related person was born.

Cardinality0..1
Typedate
SummaryTrue
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: player.birthTime
  • interface: ParticipantLiving.birthDate
RelatedPerson.address
ShortAddress where the related person can be contacted or visited
Definition

Address where the related person can be contacted or visited.

Cardinality0..*
TypeAddress
SummaryTrue
Requirements

Need to keep track where the related person can be contacted per postal mail or visited.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: NK1-4
  • rim: addr
  • interface: ParticipantContactable.address
RelatedPerson.photo
ShortImage of the person
Definition

Image of the person.

Cardinality0..*
TypeAttachment
Requirements

Many EHR systems have the capability to capture an image of persons. Fits with newer social media usage too.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: OBX-5 - needs a profile
  • rim: player[classCode='PSN' and determinerCode='INSTANCE']/desc
  • interface: ParticipantLiving.photo
RelatedPerson.period
ShortPeriod of time that this relationship is considered valid
Definition

The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown.

Cardinality0..1
TypePeriod
Comments

If an individual has a relationship with a patient over multiple, non-adjacent periods, there should be a distinct RelatedPerson instance for each period. For example, if a person is a roommate for a period of time, moves out, and is later a roommate with the same person again, you would have two RelatedPerson instances.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • w5: FiveWs.done[x]
  • rim: .effectiveTime
RelatedPerson.communication
ShortA language which may be used to communicate with the related person about the patient's health
Definition

A language which may be used to communicate with the related person about the patient's health.

Cardinality0..*
TypeBackboneElement
Requirements

If a related person does not speak the local language, interpreters may be required, so languages spoken and proficiency is an important things to keep track of both for patient and other persons of interest.

Comments

If no language is specified, this implies that the default local language is spoken. If you need to convey proficiency for multiple modes, then you need multiple RelatedPerson.Communication associations. If the RelatedPerson does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: LanguageCommunication
  • interface: ParticipantLiving.communication
RelatedPerson.communication.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typestring
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Mappings
  • rim: n/a
RelatedPerson.communication.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
RelatedPerson.communication.modifierExtension
ShortExtensions that cannot be ignored even if unrecognized
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
RelatedPerson.communication.language
ShortThe language which can be used to communicate with the related person about the patient's health
Definition

The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. "en" for English, or "en-US" for American English versus "en-AU" for Australian English.

Cardinality1..1
TypeCodeableConcept
Binding

IETF language tag for a human language

AllLanguages (required)

Additional bindings
Requirements

Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.

Comments

The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code
RelatedPerson.communication.preferred
ShortLanguage preference indicator
Definition

Indicates whether or not the related person prefers this language (over other languages he or she masters up a certain level).

Cardinality0..1
Typeboolean
Requirements

People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.

Comments

This language is specifically identified for communicating healthcare information.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: preferenceInd
{
"resourceType": "StructureDefinition",
"url": "https://digives.gov.lv/fhir/StructureDefinition/RelatedPerson",
"version": "0.1",
"name": "ContactPerson",
"title": "Kontaktpersona",
"status": "draft",
"date": "2025-05-30",
"publisher": "LDVC",
"fhirVersion": "5.0.0",
"kind": "resource",
"abstract": false,
"type": "RelatedPerson",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
"derivation": "constraint",
"element": [
{
"id": "RelatedPerson.active",
"path": "RelatedPerson.active",
"min": 1
},
{
"id": "RelatedPerson.patient.reference",
"path": "RelatedPerson.patient.reference",
"min": 1
},
{
"id": "RelatedPerson.patient.type",
"path": "RelatedPerson.patient.type",
"min": 1,
"fixedUri": "Patient",
"binding": {
"strength": "required"
}
},
{
"id": "RelatedPerson.relationship",
"path": "RelatedPerson.relationship",
"min": 1,
"max": "1"
},
{
"id": "RelatedPerson.relationship.coding",
"path": "RelatedPerson.relationship.coding",
"min": 1,
"max": "1"
},
{
"id": "RelatedPerson.relationship.coding.system",
"path": "RelatedPerson.relationship.coding.system",
"min": 1,
"fixedUri": "urn:oid:1.3.6.1.4.1.38760.2.68"
},
{
"id": "RelatedPerson.relationship.coding.code",
"path": "RelatedPerson.relationship.coding.code",
"min": 1,
"binding": {
"strength": "required",
"valueSet": "http://digives.gov.lv/fhir/ValueSet/1.3.6.1.4.1.38760.2.68"
}
},
{
"id": "RelatedPerson.relationship.coding.display",
"path": "RelatedPerson.relationship.coding.display",
"min": 1
},
{
"id": "RelatedPerson.name",
"path": "RelatedPerson.name",
"min": 1,
"max": "1"
},
{
"id": "RelatedPerson.name.text",
"path": "RelatedPerson.name.text",
"min": 1
},
{
"id": "RelatedPerson.telecom",
"path": "RelatedPerson.telecom",
"min": 1,
"max": "2"
},
{
"id": "RelatedPerson.telecom.system",
"path": "RelatedPerson.telecom.system",
"min": 1
},
{
"id": "RelatedPerson.telecom.value",
"path": "RelatedPerson.telecom.value",
"min": 1
}
]
}
}
<StructureDefinition xmlns="http://hl7.org/fhir">
<url value="https://digives.gov.lv/fhir/StructureDefinition/RelatedPerson" />
<version value="0.1" />
<name value="ContactPerson" />
<title value="Kontaktpersona" />
<status value="draft" />
<date value="2025-05-30" />
<publisher value="LDVC" />
<fhirVersion value="5.0.0" />
<kind value="resource" />
<abstract value="false" />
<type value="RelatedPerson" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
<derivation value="constraint" />
<element id="RelatedPerson.active">
<path value="RelatedPerson.active" />
<min value="1" />
</element>
<element id="RelatedPerson.patient.reference">
<path value="RelatedPerson.patient.reference" />
<min value="1" />
</element>
<element id="RelatedPerson.patient.type">
<path value="RelatedPerson.patient.type" />
<min value="1" />
<fixedUri value="Patient" />
<strength value="required" />
</binding>
</element>
<element id="RelatedPerson.relationship">
<path value="RelatedPerson.relationship" />
<min value="1" />
<max value="1" />
</element>
<element id="RelatedPerson.relationship.coding">
<path value="RelatedPerson.relationship.coding" />
<min value="1" />
<max value="1" />
</element>
<element id="RelatedPerson.relationship.coding.system">
<path value="RelatedPerson.relationship.coding.system" />
<min value="1" />
<fixedUri value="urn:oid:1.3.6.1.4.1.38760.2.68" />
</element>
<element id="RelatedPerson.relationship.coding.code">
<path value="RelatedPerson.relationship.coding.code" />
<min value="1" />
<strength value="required" />
<valueSet value="http://digives.gov.lv/fhir/ValueSet/1.3.6.1.4.1.38760.2.68" />
</binding>
</element>
<element id="RelatedPerson.relationship.coding.display">
<path value="RelatedPerson.relationship.coding.display" />
<min value="1" />
</element>
<element id="RelatedPerson.name">
<path value="RelatedPerson.name" />
<min value="1" />
<max value="1" />
</element>
<element id="RelatedPerson.name.text">
<path value="RelatedPerson.name.text" />
<min value="1" />
</element>
<element id="RelatedPerson.telecom">
<path value="RelatedPerson.telecom" />
<min value="1" />
<max value="2" />
</element>
<element id="RelatedPerson.telecom.system">
<path value="RelatedPerson.telecom.system" />
<min value="1" />
</element>
<element id="RelatedPerson.telecom.value">
<path value="RelatedPerson.telecom.value" />
<min value="1" />
</element>
</differential>
</StructureDefinition>

Papildu informācija


Elements: RelatedPerson.activeNozīme: Kontaktpersonas statuss pacienta kontekstā jeb aktualitāte.Obligātums: RelatedPerson.active elemenets ir viens un obligāts.Piezīmes: Kad kontaktpersona tiek veidota nosūtīšanas brīdī, statuss vienmēr ir sagaidāms true. Kad ĀP vēlās ievietot citu kontaktpersonu, iepriekšējai/-ām, ja tās ir pacienta kotekstā aktuālas, nekādas izmaiņas nav jāveic, bet to references ir jāizņem no pakalpojuma pieprasījuma. Ja pacienta kontekstā tās vairs, nav aktuālas, tām jāmaina statuss ir false. Ja pacients vēlās pateikt, ka kontakpersona vairs nav aktuāla, viņš nevar to izņemt no nosūtījuma konteksta, bet var pateikt, ka tā vairs nav aktuāla activevērtību nomainot uz false.Statusu maiņa: Piemērs:
"active": true


Elements: RelatedPerson.patientNozīme: Norāda, kādam pacientam šī kontaktpersona ir piesaistīta.Obligātums: Saistītais pacients ir viens un obligāts.Piezīmes: Saistītais pacients tiek norādīts kā reference ar references tipu. References tipa vērtībai un references relatīvās adreses sākumam ir jāsakrīt1. References tipa vērtība ir nofiksēta.Piemērs:
 "patient": {
        "reference": "Patient/fhirId",
        "type": "Patient"
    }


Elements: RelatedPerson.relationship*Nozīme: Kontaktpersonas attiecību tips ar pacientu.Obligātums: Attiecību tips ir viens un obligāts.Piezīmes: Ja ĀI sistēmās ir vairāk vērtību, par nepieciešamību papildināt klasifikatoru jāziņo LDVC.Piemērs:
 "relationship": [
        {
            "coding": [
                {
                    "system": "urn:oid:1.3.6.1.4.1.38760.2.68",
                    "version": "FRIEND",
                    "display": "Draugs"
                }
            ]
        }
    ]


Elements: RelatedPerson.nameNozīme: Kontakpersonas vārds un uzvārds.Obligātums: Kontakpersonas vārds un uzvārds ir sagaidāms viens un obligāts.Piezīmes: Kontakpersonas vārdam un uzvārdam ir paredzēts izmantot 100 simbolus1.Piemērs:
"name": [
        {
            "text": "Hilarious Giraffe"
        }
    ]


Elements: RelatedPerson.telecomNozīme: Kontaktpersonas kontakinfomrācija - telefons un e-pasts.Obligātums: Vismaz viens no kontakinformācijas veidiem ir obligāts - telefons vai e-pasts. Telefons ir obligāts, ja pakalpojuma sniegšana ir steidzama un pacienta telefons nav norādīts pakalpojuma pieprasījuma objektā.Piezīmes: Telefonam jāsatur valsts kods. Latvijas telefona numuram tiek veikta simbolu skaita un tipa atbilstības pārbaude.1 E-pastam jāatbilst e-pasta adreses nosacījumiem un tas var saturēt līdz 200 simboliem.Sistēmas lauks var pieēnmt divas vērtības: phone un email 1.Piemērs:
 "telecom": [
        {
            "system": "phone",
            "value": "+37222222222"
        },
        {
            "system": "email",
            "value": "friend@myhealth.lv"
        }
    ]


Validācijas

Kontaktpersonas reģistrāciju skar kontakttelefona esamības pārbaude, ja tā tiek referencēta pakalpojuma pieprasījuma objektā.

VVIS klasifikatori

Zemāk ir apskatāmi VVIS klasifikatori, kas tiek izmantoti objektā. Ja zemāk nav redzams neviens klasifikators, tad struktūra neparedz VVIS klasifikatoru izmantošanu.
ElementsStiprumsKlasifikators
RelatedPerson.patient.typerequired
RelatedPerson.relationship.coding.coderequiredhttp://digives.gov.lv/fhir/ValueSet/1.3.6.1.4.1.38760.2.68

HL7 klasifikatori

Zemāk ir apskatāmi HL7 R5 klasifikatori, kas tiek izmantoti objektā. Ja zemāk nav redzams neviens klasifikators, tad struktūra neparedz HL7 R5 klasifikatoru izmantošanu.
Elements Stiprums Klasifikators
RelatedPerson.patient.type required http://hl7.org/fhir/ValueSet/resource-types
RelatedPerson.telecom.system required http://hl7.org/fhir/ValueSet/contact-point-system|5.0.0

Piemērs

{
  "resourceType": "RelatedPerson",
  "id": "kontaktpersona1",
  "meta": {
    "profile": [
      "https://digives.gov.lv/fhir/StructureDefinition/RelatedPerson"
    ]
  },
  "active": true,
  "patient": {
    "reference": "Patient/fhirId",
    "type": "Patient"
  },
  "relationship": [
    {
      "coding": [
        {
          "system": "urn:oid:1.3.6.1.4.1.38760.2.68",
          "version": "FRIEND",
          "display": "Draugs"
        }
      ]
    }
  ],
  "name": [
    {
      "text": "Hilarious Giraffe"
    }
  ],
  "telecom": [
    {
      "system": "phone",
      "value": "+37222222222"
    },
    {
      "system": "email",
      "value": "friend@myhealth.lv"
    }
  ]
}

  1. Pārbaudi nodrošina shēmas ierobežojums