Guías de Implementación FHIR Receta Digital | Ministerio de Salud
1.1.0-ballot - ci-build

Guías de Implementación FHIR Receta Digital | Ministerio de Salud - Local Development build (v1.1.0-ballot) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: RelatedPerson

Official URL: https://ministeriodesalud.go.cr/fhir/receta/StructureDefinition/related-person | Version: 1.1.0-ballot
Standards status: Draft | Maturity Level: 0 | Computable Name: RelatedPersonRD
Copyright/Legal: Usado con el permiso de HL7 International, todos los derechos resevados en los Licencias de HL7 Internacional.

Perfil Receta Digital de Persona Relacionada (RelatedPerson)

Usages:

- Refer to this Profile: MedicationDispense

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.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
RelatedPerson |  | 0..* | RelatedPerson | A person that is related to a patient, but who is not a direct target of care
id | Σ | 0..1 | id | Identificador único de la persona relacionada dentro del sistema.
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..1 | Identifier | Lista de los identificadores de la persona relacionada.
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official
type | Σ | 1..1 | CodeableConcept | Tipo de documento de identificación (Extensible) Binding: Tipo de identificación (required): ValueSet de tipos de identificación permitidos para personas relacionadas en Costa Rica.
coding | Σ | 1..1 | Coding | Código de tipo de identificación de la persona relacionada.
system | Σ | 0..1 | uri | Sistema de identificación de la persona relacionada.
code | Σ | 1..1 | code | Código del tipo de identificación de la persona relacionada.
display | Σ | 0..1 | string | Descripción del código de tipos de identificación para la persona relacionada.
text | Σ | 0..1 | string | Nombre del valor de tipo de identificación de la persona relacionada.
system | Σ | 0..1 | uri | Sistema de identificación de la persona relacionada. Example General: http://www.acme.com/identifiers/patient
value | Σ | 1..1 | string | Número de identificación o documento de la persona relacionada. Example General: 123456
active | ?!Σ | 0..1 | boolean | Whether this related person's record is in active use
patient | S Σ | 1..1 | Reference(Patient) | Paciente vinculado a la persona relacionada.
reference | Σ C | 1..1 | string | Referencia al paciente
display | Σ | 0..1 | string | Nombre del paciente
name | S Σ | 1..1 | HumanName | Nombre de la persona relacionada.
text | Σ | 1..1 | string | Nombre completo de la persona relacionada.
family | Σ | 1..1 | string | Apellidos de la persona relacionada.
given | Σ | 1..1 | string | Nombres de la persona relacionada. This repeating element order: Given Names appear in the correct order for presenting the name
telecom | S Σ | 1..2 | ContactRD | Medios de contacto de la persona relacionada (teléfono, email, etc.).
gender | Σ | 1..1 | code | Género con el que se identifica la persona relacionada. (male | female) Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
birthDate | Σ | 1..1 | date | Fecha de nacimiento de la persona relacionada.
address | S Σ | 1..1 | AddressRD | Dirección física de la persona relacionada.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
RelatedPerson.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
RelatedPerson.identifier.​type | Base | required | Tipo de identificación | 📦1.1.0-ballot | This IG
RelatedPerson.gender | Base | required | AdministrativeGender | 📍4.0.1 | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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 RelatedPerson

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
RelatedPerson |  | 0..* | RelatedPerson | A person that is related to a patient, but who is not a direct target of care
id |  | 0..1 | id | Identificador único de la persona relacionada dentro del sistema.
meta |  | 0..0 |  |
identifier | S | 1..1 | Identifier | Lista de los identificadores de la persona relacionada.
use |  | 0..1 | code | usual | official | temp | secondary | old (If known) Fixed Value: official
type |  | 1..1 | CodeableConcept | Tipo de documento de identificación (Extensible) Binding: Tipo de identificación (required): ValueSet de tipos de identificación permitidos para personas relacionadas en Costa Rica.
coding |  | 1..1 | Coding | Código de tipo de identificación de la persona relacionada.
system |  | 0..1 | uri | Sistema de identificación de la persona relacionada.
code |  | 1..1 | code | Código del tipo de identificación de la persona relacionada.
display |  | 0..1 | string | Descripción del código de tipos de identificación para la persona relacionada.
text |  | 0..1 | string | Nombre del valor de tipo de identificación de la persona relacionada.
system |  | 0..1 | uri | Sistema de identificación de la persona relacionada.
value |  | 1..1 | string | Número de identificación o documento de la persona relacionada.
patient | S | 1..1 | Reference(Patient) | Paciente vinculado a la persona relacionada.
reference |  | 1..1 | string | Referencia al paciente
display |  | 0..1 | string | Nombre del paciente
name | S | 1..1 | HumanName | Nombre de la persona relacionada.
use |  | 0..0 |  |
text |  | 1..1 | string | Nombre completo de la persona relacionada.
family |  | 1..1 | string | Apellidos de la persona relacionada.
given |  | 1..1 | string | Nombres de la persona relacionada.
telecom | S | 1..2 | ContactRD | Medios de contacto de la persona relacionada (teléfono, email, etc.).
gender |  | 1..1 | code | Género con el que se identifica la persona relacionada. (male | female)
birthDate |  | 1..1 | date | Fecha de nacimiento de la persona relacionada.
address | S | 1..1 | AddressRD | Dirección física de la persona relacionada.
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
RelatedPerson.identifier.​type | Base | required | Tipo de identificación | 📦1.1.0-ballot | This IG

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
RelatedPerson |  | 0..* | RelatedPerson | A person that is related to a patient, but who is not a direct target of care
id | Σ | 0..1 | id | Identificador único de la persona relacionada dentro del sistema.
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..1 | Identifier | Lista de los identificadores de la persona relacionada.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official
type | Σ | 1..1 | CodeableConcept | Tipo de documento de identificación (Extensible) Binding: Tipo de identificación (required): ValueSet de tipos de identificación permitidos para personas relacionadas en Costa Rica.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 1..1 | Coding | Código de tipo de identificación de la persona relacionada.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | Σ | 0..1 | uri | Sistema de identificación de la persona relacionada.
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 1..1 | code | Código del tipo de identificación de la persona relacionada.
display | Σ | 0..1 | string | Descripción del código de tipos de identificación para la persona relacionada.
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Nombre del valor de tipo de identificación de la persona relacionada.
system | Σ | 0..1 | uri | Sistema de identificación de la persona relacionada. Example General: http://www.acme.com/identifiers/patient
value | Σ | 1..1 | string | Número de identificación o documento de la persona relacionada. Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
active | ?!Σ | 0..1 | boolean | Whether this related person's record is in active use
patient | S Σ | 1..1 | Reference(Patient) | Paciente vinculado a la persona relacionada.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 1..1 | string | Referencia al paciente
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Nombre del paciente
relationship | Σ | 0..* | CodeableConcept | The nature of the relationship Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person.
name | S Σ | 1..1 | HumanName | Nombre de la persona relacionada.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
text | Σ | 1..1 | string | Nombre completo de la persona relacionada.
family | Σ | 1..1 | string | Apellidos de la persona relacionada.
given | Σ | 1..1 | string | Nombres de la persona relacionada. This repeating element order: Given Names appear in the correct order for presenting the name
prefix | Σ | 0..* | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name
suffix | Σ | 0..* | string | Parts that come after the name This repeating element order: Suffixes appear in the correct order for presenting the name
period | Σ | 0..1 | Period | Time period when name was/is in use
telecom | S Σ | 1..2 | ContactRD | Medios de contacto de la persona relacionada (teléfono, email, etc.).
gender | Σ | 1..1 | code | Género con el que se identifica la persona relacionada. (male | female) Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
birthDate | Σ | 1..1 | date | Fecha de nacimiento de la persona relacionada.
address | S Σ | 1..1 | AddressRD | Dirección física de la persona relacionada.
photo |  | 0..* | Attachment | Image of the person
period |  | 0..1 | Period | Period of time that this relationship is considered valid
communication |  | 0..* | BackboneElement | A language which may be used to communicate with about the patient's health
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
language |  | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
preferred |  | 0..1 | boolean | Language preference indicator
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
RelatedPerson.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
RelatedPerson.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
RelatedPerson.identifier.​type | Base | required | Tipo de identificación | 📦1.1.0-ballot | This IG
RelatedPerson.patient.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
RelatedPerson.relationship | Base | preferred | Patient relationship type | 📍4.0.1 | FHIR Std.
RelatedPerson.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std.
RelatedPerson.communication.​language | Base | preferred | Common Languages | 📍4.0.1 | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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 RelatedPerson

Summary

Mandatory: 14 elements
Must-Support: 5 elements
Fixed: 1 element
Prohibited: 2 elements

Structures

This structure refers to these other structures:

- Patient (https://ministeriodesalud.go.cr/fhir/receta/StructureDefinition/patient)
- Contacto para Receta Digital Costa Rica (https://ministeriodesalud.go.cr/fhir/receta/StructureDefinition/contact-rd)
- Dirección para Receta Digital Costa Rica (https://ministeriodesalud.go.cr/fhir/receta/StructureDefinition/address-rd)

Maturity: 0

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
RelatedPerson |  | 0..* | RelatedPerson | A person that is related to a patient, but who is not a direct target of care
id | Σ | 0..1 | id | Identificador único de la persona relacionada dentro del sistema.
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..1 | Identifier | Lista de los identificadores de la persona relacionada.
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official
type | Σ | 1..1 | CodeableConcept | Tipo de documento de identificación (Extensible) Binding: Tipo de identificación (required): ValueSet de tipos de identificación permitidos para personas relacionadas en Costa Rica.
coding | Σ | 1..1 | Coding | Código de tipo de identificación de la persona relacionada.
system | Σ | 0..1 | uri | Sistema de identificación de la persona relacionada.
code | Σ | 1..1 | code | Código del tipo de identificación de la persona relacionada.
display | Σ | 0..1 | string | Descripción del código de tipos de identificación para la persona relacionada.
text | Σ | 0..1 | string | Nombre del valor de tipo de identificación de la persona relacionada.
system | Σ | 0..1 | uri | Sistema de identificación de la persona relacionada. Example General: http://www.acme.com/identifiers/patient
value | Σ | 1..1 | string | Número de identificación o documento de la persona relacionada. Example General: 123456
active | ?!Σ | 0..1 | boolean | Whether this related person's record is in active use
patient | S Σ | 1..1 | Reference(Patient) | Paciente vinculado a la persona relacionada.
reference | Σ C | 1..1 | string | Referencia al paciente
display | Σ | 0..1 | string | Nombre del paciente
name | S Σ | 1..1 | HumanName | Nombre de la persona relacionada.
text | Σ | 1..1 | string | Nombre completo de la persona relacionada.
family | Σ | 1..1 | string | Apellidos de la persona relacionada.
given | Σ | 1..1 | string | Nombres de la persona relacionada. This repeating element order: Given Names appear in the correct order for presenting the name
telecom | S Σ | 1..2 | ContactRD | Medios de contacto de la persona relacionada (teléfono, email, etc.).
gender | Σ | 1..1 | code | Género con el que se identifica la persona relacionada. (male | female) Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
birthDate | Σ | 1..1 | date | Fecha de nacimiento de la persona relacionada.
address | S Σ | 1..1 | AddressRD | Dirección física de la persona relacionada.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
RelatedPerson.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
RelatedPerson.identifier.​type | Base | required | Tipo de identificación | 📦1.1.0-ballot | This IG
RelatedPerson.gender | Base | required | AdministrativeGender | 📍4.0.1 | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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 RelatedPerson

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
RelatedPerson |  | 0..* | RelatedPerson | A person that is related to a patient, but who is not a direct target of care
id |  | 0..1 | id | Identificador único de la persona relacionada dentro del sistema.
meta |  | 0..0 |  |
identifier | S | 1..1 | Identifier | Lista de los identificadores de la persona relacionada.
use |  | 0..1 | code | usual | official | temp | secondary | old (If known) Fixed Value: official
type |  | 1..1 | CodeableConcept | Tipo de documento de identificación (Extensible) Binding: Tipo de identificación (required): ValueSet de tipos de identificación permitidos para personas relacionadas en Costa Rica.
coding |  | 1..1 | Coding | Código de tipo de identificación de la persona relacionada.
system |  | 0..1 | uri | Sistema de identificación de la persona relacionada.
code |  | 1..1 | code | Código del tipo de identificación de la persona relacionada.
display |  | 0..1 | string | Descripción del código de tipos de identificación para la persona relacionada.
text |  | 0..1 | string | Nombre del valor de tipo de identificación de la persona relacionada.
system |  | 0..1 | uri | Sistema de identificación de la persona relacionada.
value |  | 1..1 | string | Número de identificación o documento de la persona relacionada.
patient | S | 1..1 | Reference(Patient) | Paciente vinculado a la persona relacionada.
reference |  | 1..1 | string | Referencia al paciente
display |  | 0..1 | string | Nombre del paciente
name | S | 1..1 | HumanName | Nombre de la persona relacionada.
use |  | 0..0 |  |
text |  | 1..1 | string | Nombre completo de la persona relacionada.
family |  | 1..1 | string | Apellidos de la persona relacionada.
given |  | 1..1 | string | Nombres de la persona relacionada.
telecom | S | 1..2 | ContactRD | Medios de contacto de la persona relacionada (teléfono, email, etc.).
gender |  | 1..1 | code | Género con el que se identifica la persona relacionada. (male | female)
birthDate |  | 1..1 | date | Fecha de nacimiento de la persona relacionada.
address | S | 1..1 | AddressRD | Dirección física de la persona relacionada.
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
RelatedPerson.identifier.​type | Base | required | Tipo de identificación | 📦1.1.0-ballot | This IG

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
RelatedPerson |  | 0..* | RelatedPerson | A person that is related to a patient, but who is not a direct target of care
id | Σ | 0..1 | id | Identificador único de la persona relacionada dentro del sistema.
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 1..1 | Identifier | Lista de los identificadores de la persona relacionada.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official
type | Σ | 1..1 | CodeableConcept | Tipo de documento de identificación (Extensible) Binding: Tipo de identificación (required): ValueSet de tipos de identificación permitidos para personas relacionadas en Costa Rica.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 1..1 | Coding | Código de tipo de identificación de la persona relacionada.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | Σ | 0..1 | uri | Sistema de identificación de la persona relacionada.
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 1..1 | code | Código del tipo de identificación de la persona relacionada.
display | Σ | 0..1 | string | Descripción del código de tipos de identificación para la persona relacionada.
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Nombre del valor de tipo de identificación de la persona relacionada.
system | Σ | 0..1 | uri | Sistema de identificación de la persona relacionada. Example General: http://www.acme.com/identifiers/patient
value | Σ | 1..1 | string | Número de identificación o documento de la persona relacionada. Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
active | ?!Σ | 0..1 | boolean | Whether this related person's record is in active use
patient | S Σ | 1..1 | Reference(Patient) | Paciente vinculado a la persona relacionada.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 1..1 | string | Referencia al paciente
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Nombre del paciente
relationship | Σ | 0..* | CodeableConcept | The nature of the relationship Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person.
name | S Σ | 1..1 | HumanName | Nombre de la persona relacionada.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
text | Σ | 1..1 | string | Nombre completo de la persona relacionada.
family | Σ | 1..1 | string | Apellidos de la persona relacionada.
given | Σ | 1..1 | string | Nombres de la persona relacionada. This repeating element order: Given Names appear in the correct order for presenting the name
prefix | Σ | 0..* | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name
suffix | Σ | 0..* | string | Parts that come after the name This repeating element order: Suffixes appear in the correct order for presenting the name
period | Σ | 0..1 | Period | Time period when name was/is in use
telecom | S Σ | 1..2 | ContactRD | Medios de contacto de la persona relacionada (teléfono, email, etc.).
gender | Σ | 1..1 | code | Género con el que se identifica la persona relacionada. (male | female) Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
birthDate | Σ | 1..1 | date | Fecha de nacimiento de la persona relacionada.
address | S Σ | 1..1 | AddressRD | Dirección física de la persona relacionada.
photo |  | 0..* | Attachment | Image of the person
period |  | 0..1 | Period | Period of time that this relationship is considered valid
communication |  | 0..* | BackboneElement | A language which may be used to communicate with about the patient's health
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
language |  | 1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
preferred |  | 0..1 | boolean | Language preference indicator
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
RelatedPerson.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
RelatedPerson.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
RelatedPerson.identifier.​type | Base | required | Tipo de identificación | 📦1.1.0-ballot | This IG
RelatedPerson.patient.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
RelatedPerson.relationship | Base | preferred | Patient relationship type | 📍4.0.1 | FHIR Std.
RelatedPerson.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std.
RelatedPerson.communication.​language | Base | preferred | Common Languages | 📍4.0.1 | 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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 RelatedPerson

Summary

Mandatory: 14 elements
Must-Support: 5 elements
Fixed: 1 element
Prohibited: 2 elements

Structures

This structure refers to these other structures:

- Patient (https://ministeriodesalud.go.cr/fhir/receta/StructureDefinition/patient)
- Contacto para Receta Digital Costa Rica (https://ministeriodesalud.go.cr/fhir/receta/StructureDefinition/contact-rd)
- Dirección para Receta Digital Costa Rica (https://ministeriodesalud.go.cr/fhir/receta/StructureDefinition/address-rd)

Maturity: 0

Other representations of profile: CSV, Excel, Schematron