Guía de Implementación Core de Costa Rica
0.1.0 - ci-build Costa Rica bandera

Guía de Implementación Core de Costa Rica - Versión en desarrollo (v0.1.0): borrador de trabajo de la Iniciativa HL7® Costa Rica, que puede cambiar sin aviso.

Perfil de los recursos: Paciente - Descripciones detalladas

Estado de las normas de la página: Draft

Definiciones del cr-patient perfil de los recursos.

Las indicaciones para interpretar el contenido de esta tabla estánaquí

0. Patient
Definición

Persona que recibe atención de salud en Costa Rica, con su identificación, su nombre, su sexo asignado al nacer, su fecha de nacimiento, sus datos de contacto, sus direcciones y sus contactos.


Demographics and other administrative information about an individual or animal receiving care or other health-related services.

ResumenPaciente: persona que recibe atención de salud en Costa RicaInformation about an individual or animal receiving health care services
Control0..*
Es modificadorfalse
Must Supportfalse
Resumenfalse
Nombres alternativosSubjectOfCare Client Resident
Invariantesdom-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())
cr-identificador-unico: No hay dos identificadores con el mismo system y el mismo valor. (identifier.select(system & '|' & value).isDistinct())
cr-paciente-identificador-vigente: El paciente tiene al menos un identificador vigente (use distinto de old). (identifier.where(use != 'old').exists())
cr-paciente-documento-unico: Entre los identificadores vigentes hay a lo sumo una cédula nacional, un DIMEX y un número CCSS, y la cédula y el DIMEX no están vigentes a la vez. (identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/cedula-nacional').count() <= 1 and identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/dimex').count() <= 1 and identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/ccss').count() <= 1 and (identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/cedula-nacional').exists() and identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/dimex').exists()).not())
cr-paciente-pasaporte-expediente: Los pasaportes vigentes son de países emisores distintos y los expedientes vigentes, de establecimientos distintos. (identifier.where(use != 'old' and system.startsWith('https://hl7.or.cr/fhir/sid/pasaporte/')).system.isDistinct() and identifier.where(use != 'old' and system.startsWith('https://hl7.or.cr/fhir/sid/expediente/')).system.isDistinct())
cr-persona-apatrida: Una persona apátrida (nacionalidad con data-absent-reason not-applicable) no tiene otra nacionalidad. (extension('http://hl7.org/fhir/StructureDefinition/patient-nationality').extension('code').value.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').where(value = 'not-applicable').exists() implies extension('http://hl7.org/fhir/StructureDefinition/patient-nationality').count() = 1)
cr-persona-residencia: La persona tiene a lo sumo una dirección de residencia (home). (address.where(use = 'home').count() <= 1)
2. Patient.implicitRules
Definición

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.

ResumenA set of rules under which this content was created
Comentarios

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.

Control0..1
Tipouri
Es modificadortrue porque This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
Must Supportfalse
Resumentrue
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
4. Patient.contained
Definición

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.

ResumenContained, inline Resources
Comentarios

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.

Control0..*
Este elemento está afectado por las siguientes invariantes: dom-2, dom-4, dom-3, dom-5
TipoResource
Es modificadorfalse
Must Supportfalse
Resumenfalse
Nombres alternativosinline resources, anonymous resources, contained resources
6. Patient.extension
Definición

An Extension


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.

ResumenExtensiones: la nacionalidadAdditional content defined by implementations
Comentarios

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.

Control0..*
TipoExtension
Es modificadorfalse
Must Supportfalse
Resumenfalse
Nombres alternativosextensions, user content
Invariantesele-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())
SlicingEste elemento introduce un conjunto de slices en Patient.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
  • 8. Patient.extension:nacionalidad
    Slice Namenacionalidad
    Definición

    País del que el paciente es nacional. Una persona con doble nacionalidad lleva dos.

    ResumenNacionalidad: una por país
    Control0..*
    TipoExtension(Patient Nationality) (Complex Extension)
    Es modificadorfalse
    Must Supporttrue
    Invariantesele-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())
    10. Patient.extension:nacionalidad.extension
    Definición

    An Extension


    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.

    ResumenPaís y periodo de la nacionalidadAdditional content defined by implementations
    Comentarios

    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.

    Control10..*
    TipoExtension
    Es modificadorfalse
    Resumenfalse
    Nombres alternativosextensions, user content
    Invariantesele-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())
    SlicingEste elemento introduce un conjunto de slices en Patient.extension.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
    • value @ url
    • 12. Patient.extension:nacionalidad.extension:code
      Slice Namecode
      Definición

      An Extension

      ResumenPaís de la nacionalidadAdditional content defined by implementations
      Control10..1*
      TipoExtension
      Es modificadorfalse
      Must Supporttrue
      Resumenfalse
      Invariantesele-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())
      14. Patient.extension:nacionalidad.extension:code.extension
      Definición

      An Extension


      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.

      ResumenExtensionAdditional content defined by implementations
      Comentarios

      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.

      Control0..0*
      TipoExtension
      Es modificadorfalse
      Resumenfalse
      Nombres alternativosextensions, user content
      Invariantesele-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())
      SlicingEste elemento introduce un conjunto de slices en Patient.extension.extension.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
      • value @ url
      • 16. Patient.extension:nacionalidad.extension:code.url
        Definición

        Source of the definition for the extension code - a logical name or a URL.

        Resumenidentifies the meaning of the extension
        Comentarios

        The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

        Control1..1
        Tipouri
        Es modificadorfalse
        Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
        Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
        Resumenfalse
        Fixed Valuecode
        18. Patient.extension:nacionalidad.extension:code.value[x]
        Definición

        Código ISO 3166-1 alfa-3 del país, con su nombre en español en text. Si no se conoce, lleva la extensión data-absent-reason con unknown; si la persona es apátrida, not-applicable y el texto Apátrida.


        Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

        ResumenCódigo ISO 3166-1 alfa-3 del país (CRI), con el nombre en español en textValue of extension
        Control10..1
        Este elemento está afectado por las siguientes invariantes: ext-1
        VinculaciónSalvo que no sean adecuados, estos códigos DEBEN tomarse de For codes, see Iso316613
        (extensible to http://hl7.org/fhir/ValueSet/iso3166-1-3)
        TipoCodeableConcept, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, ParameterDefinition, dateTime, code, string, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
        Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
        Es modificadorfalse
        Resumenfalse
        Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        20. Patient.extension:nacionalidad.extension:period
        Slice Nameperiod
        Definición

        Period when nationality was effective.

        ResumenNationality PeriodAdditional content defined by implementations
        Control0..1*
        TipoExtension
        Es modificadorfalse
        Resumenfalse
        Invariantesele-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())
        22. Patient.extension:nacionalidad.extension:period.extension
        Definición

        An Extension


        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.

        ResumenExtensionAdditional content defined by implementations
        Comentarios

        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.

        Control0..0*
        TipoExtension
        Es modificadorfalse
        Resumenfalse
        Nombres alternativosextensions, user content
        Invariantesele-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())
        SlicingEste elemento introduce un conjunto de slices en Patient.extension.extension.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
        • value @ url
        • 24. Patient.extension:nacionalidad.extension:period.url
          Definición

          Source of the definition for the extension code - a logical name or a URL.

          Resumenidentifies the meaning of the extension
          Comentarios

          The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

          Control1..1
          Tipouri
          Es modificadorfalse
          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
          Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
          Resumenfalse
          Fixed Valueperiod
          26. Patient.extension:nacionalidad.extension:period.value[x]
          Definición

          Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

          ResumenValue of extension
          Control10..1
          Este elemento está afectado por las siguientes invariantes: ext-1
          TipoPeriod, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, code, string, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
          Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
          Es modificadorfalse
          Resumenfalse
          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          28. Patient.extension:nacionalidad.url
          Definición

          Source of the definition for the extension code - a logical name or a URL.

          Resumenidentifies the meaning of the extension
          Comentarios

          The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

          Control1..1
          Tipouri
          Es modificadorfalse
          Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
          Resumenfalse
          Fixed Valuehttp://hl7.org/fhir/StructureDefinition/patient-nationality
          30. Patient.extension:nacionalidad.value[x]
          Definición

          Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

          ResumenValue of extension
          Control0..01
          Este elemento está afectado por las siguientes invariantes: ext-1
          TipoElección de: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
          Es modificadorfalse
          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
          Resumenfalse
          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          32. Patient.modifierExtension
          Definición

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

          ResumenExtensions that cannot be ignored
          Comentarios

          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.

          Control0..*
          TipoExtension
          Es modificadortrue porque Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
          Must Supportfalse
          Resumentrue
          Requisitos

          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.

          Nombres alternativosextensions, user content
          Invariantesele-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())
          34. Patient.identifier
          Definición

          Documento o número con que se identifica al paciente. Puede tener varios (cédula y pasaporte), y al menos uno vigente. Si no tiene ningún documento oficial, se usa el expediente del establecimiento como identificador provisional.


          An identifier for this patient.

          ResumenIdentificación del paciente: cédula, DIMEX, pasaporte, número CCSS o expedienteAn identifier for this patient
          NotaThis is a business identifier, not a resource identifier (see discusión)
          Control10..*
          TipoIdentifier
          Es modificadorfalse
          Must Supporttrue
          Resumentrue
          Requisitos

          Patients are almost always assigned specific numerical identifiers.

          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          cr-paciente-identificador-system: El identificador es una cédula nacional, un DIMEX, un número CCSS, un pasaporte o un expediente, con su system de https://hl7.or.cr/fhir/sid/. (system = 'https://hl7.or.cr/fhir/sid/cedula-nacional' or system = 'https://hl7.or.cr/fhir/sid/dimex' or system = 'https://hl7.or.cr/fhir/sid/ccss' or system.startsWith('https://hl7.or.cr/fhir/sid/pasaporte/') or system.startsWith('https://hl7.or.cr/fhir/sid/expediente/'))
          cr-cedula-nacional-value: Una cédula nacional (system https://hl7.or.cr/fhir/sid/cedula-nacional) tiene 9 dígitos, sin guiones ni cero inicial. (system = 'https://hl7.or.cr/fhir/sid/cedula-nacional' implies value.matches('^[1-9][0-9]{8}$'))
          cr-dimex-value: Un DIMEX (system https://hl7.or.cr/fhir/sid/dimex) tiene 11 o 12 dígitos, sin ceros a la izquierda. (system = 'https://hl7.or.cr/fhir/sid/dimex' implies value.matches('^[1-9][0-9]{10,11}$'))
          cr-pasaporte-system: Un pasaporte usa el system https://hl7.or.cr/fhir/sid/pasaporte/ seguido del código ISO 3166-1 alfa-3 del país emisor, y su número tiene de 6 a 15 letras o dígitos. (system.startsWith('https://hl7.or.cr/fhir/sid/pasaporte') implies (system.matches('^https://hl7\\.or\\.cr/fhir/sid/pasaporte/[A-Z]{3}$') and value.matches('^[A-Za-z0-9]{6,15}$')))
          cr-expediente-system: Un expediente usa el system https://hl7.or.cr/fhir/sid/expediente/ seguido del código del establecimiento (cj-, cn- o dimex- y el identificador del titular). (system.startsWith('https://hl7.or.cr/fhir/sid/expediente') implies system.matches('^https://hl7\\.or\\.cr/fhir/sid/expediente/(cj-[1-9][0-9]{9}|cn-[1-9][0-9]{8}|dimex-[1-9][0-9]{10,11})$'))
          cr-expediente-assigner: Un expediente indica el establecimiento que lo asignó (assigner). (system.startsWith('https://hl7.or.cr/fhir/sid/expediente/') implies assigner.exists())
          cr-paciente-identificador-uso: Un identificador vigente es temp si es un expediente y official si es de otro tipo; uno que ya no está vigente es old. (iif(system.startsWith('https://hl7.or.cr/fhir/sid/expediente/'), use = 'temp' or use = 'old', use = 'official' or use = 'old'))
          36. Patient.identifier.use
          Definición

          Indica si el identificador está vigente: official para un documento oficial vigente, temp para el expediente (identificador provisional) y old para uno que se conserva solo como histórico.


          The purpose of this identifier.

          Resumenofficial (temp para el expediente) si está vigente; old si es históricousual | official | temp | secondary | old (If known)
          Comentarios

          Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

          Control10..1
          VinculaciónLos códigos DEBEN tomarse de IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0
          (required to http://hl7.org/fhir/ValueSet/identifier-use)
          Tipocode
          Es modificadortrue porque This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one.
          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
          Must Supporttrue
          Resumentrue
          Requisitos

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

          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          38. Patient.identifier.type
          Definición

          Tipo de documento del catálogo de tipos de identificación de Costa Rica. Es opcional, porque el system ya dice de qué documento se trata; puede llevar además el código equivalente de HL7 v2-0203 (NI, PRC, PPN, NH, MR).


          A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.

          ResumenTipo de documento (opcional: el system ya lo indica)Description of identifier
          Comentarios

          This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.

          Control0..1
          VinculaciónLos códigos DEBEN tomarse de Salvo que no sean adecuados, estos códigos DEBEN tomarse de Tipos de identificación del pacientehttp://hl7.org/fhir/ValueSet/identifier-type|5.0.0
          (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-tipo-identificacion)
          TipoCodeableConcept
          Es modificadorfalse
          Must Supporttrue
          Resumentrue
          Requisitos

          Allows users to make use of identifiers when the identifier system is not known.

          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          40. Patient.identifier.system
          Definición

          Sistema de identificación, que dice qué documento es. El pasaporte lleva al final el código ISO 3166-1 alfa-3 del país emisor (pasaporte/USA) y el expediente, el código del establecimiento que lo asignó (expediente/cj-3101123456).


          Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.

          Resumenhttps://hl7.or.cr/fhir/sid/{cedula-nacional | dimex | ccss | pasaporte/{país} | expediente/{establecimiento}}The namespace for the identifier value
          Comentarios

          Identifier.system is always case sensitive.

          Control10..1
          Tipouri
          Es modificadorfalse
          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
          Must Supporttrue
          Resumentrue
          Requisitos

          There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

          ExampleGeneral: http://www.acme.com/identifiers/patient
          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          42. Patient.identifier.value
          Definición

          Número de identificación tal como consta en el documento: la cédula con 9 dígitos, el DIMEX con 11 o 12 dígitos sin ceros a la izquierda y el pasaporte con 6 a 15 letras o dígitos.


          The portion of the identifier typically relevant to the user and which is unique within the context of the system.

          ResumenNúmero del documento, sin guiones ni espaciosThe value that is unique
          Comentarios

          If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the http://hl7.org/fhir/StructureDefinition/rendered-value). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.

          Control10..1
          Este elemento está afectado por las siguientes invariantes: ident-1
          Tipostring
          Es modificadorfalse
          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
          Must Supporttrue
          Resumentrue
          ExampleGeneral: 123456
          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          44. Patient.identifier.assigner
          Definición

          Organización que asignó el identificador. Es obligatoria en el expediente, donde es el establecimiento de salud; en el pasaporte, puede llevar solo el nombre del país emisor en display.


          Organization that issued/manages the identifier.

          ResumenEstablecimiento que asignó el expediente (obligatorio en el expediente)Organization that issued id (may be just text)
          Comentarios

          The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.

          Control0..1
          TipoReference(Organización, Organization)
          Es modificadorfalse
          Must Supporttrue
          Resumentrue
          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          46. Patient.active
          Definición

          Whether this patient record is in active use. Many systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.

          It is often used to filter patient lists to exclude inactive patients

          Deceased patients may also be marked as inactive for the same reasons, but may be active for some time after death.

          ResumenWhether this patient's record is in active use
          Comentarios

          If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient.

          Control0..1
          Tipoboolean
          Es modificadortrue porque This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid
          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
          Must Supportfalse
          Resumentrue
          Requisitos

          Need to be able to mark a patient record as not to be used because it was created in error.

          Meaning if MissingThis resource is generally assumed to be active if no value is provided for the active element
          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          48. Patient.name
          Definición

          Nombre del paciente tal como consta en su documento de identidad: hasta dos nombres y los apellidos, juntos en family y por separado en las extensiones del primer y el segundo apellido.


          A name associated with the individual.

          ResumenNombre oficial, según el documento de identidadA name associated with the patient
          Comentarios

          A patient may have multiple names with different uses or applicable periods. For animals, the name is a "HumanName" in the sense that is assigned and used by humans and has the same patterns. Animal names may be communicated as given names, and optionally may include a family name.

          Control10..1*
          TipoHumanName(Nombre)
          Es modificadorfalse
          Must Supporttrue
          Resumentrue
          Requisitos

          Need to be able to track the patient by multiple names. Examples are your official name and a partner name.

          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          50. Patient.telecom
          Definición

          Teléfono o correo electrónico del paciente, para contactarlo, enviarle recordatorios y darle seguimiento. system dice qué es (phone, email) y use, de qué tipo (mobile, home, work). Los teléfonos van en formato E.164: en Costa Rica, +506 y 8 dígitos.


          A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.

          ResumenTeléfono (+506 y 8 dígitos) o correo electrónicoA contact detail for the individual
          Comentarios

          A Patient 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. The address might not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone).

          Control0..*
          TipoContactPoint
          Es modificadorfalse
          Must Supporttrue
          Resumentrue
          Requisitos

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

          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          cr-telefono: Un teléfono está en formato E.164 (+ y de 8 a 15 dígitos, sin espacios ni guiones), con una extensión interna opcional después de ;ext=. En Costa Rica (+506) tiene 8 dígitos que empiezan de 2 a 8, o es un número 800 o 900 de 10 dígitos. ((system = 'phone' or system = 'fax' or system = 'sms') implies (value.matches('^\\+[1-9][0-9]{7,14}(;ext=[0-9]{1,6})?$') and (value.startsWith('+506') implies value.matches('^\\+506([2-8][0-9]{7}|[89]00[0-9]{7})(;ext=[0-9]{1,6})?$'))))
          52. Patient.gender
          Definición

          Sexo asignado al nacer, con fines clínicos, farmacológicos y de riesgo médico. En este perfil, gender lleva siempre el sexo asignado al nacer, no un sexo administrativo ni la identidad de género.


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

          ResumenSexo asignado al nacer: female | male | unknownmale | female | other | unknown
          Comentarios

          The gender might not match the biological sex as determined by genetics or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than male and female, though the vast majority of systems and contexts only support male and female. Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific sex or gender aspect of interest (anatomical, chromosomal, social, etc.) However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice. Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosomal and other gender aspects. For example, an alert about a hysterectomy on a male should be handled as a warning or overridable error, not a "hard" error. See the Patient Gender and Sex section for additional information about communicating patient gender and sex.

          Control10..1
          VinculaciónLos códigos DEBEN tomarse de Sexo asignado al nacerhttp://hl7.org/fhir/ValueSet/administrative-gender|5.0.0
          (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-sexo-al-nacer)
          Tipocode
          Es modificadorfalse
          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
          Must Supporttrue
          Resumentrue
          Requisitos

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

          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          54. Patient.birthDate
          Definición

          Fecha de nacimiento que consta en el documento de identidad. No es posterior a hoy ni anterior a 130 años.


          The date of birth for the individual.

          ResumenFecha de nacimiento, según el documento de identidadThe date of birth for the individual
          Comentarios

          Partial dates are allowed if the specific date of birth is unknown. There is a standard extension "patient-birthTime" available that should be used where Time is required (such as in maternity/infant care systems).

          Control10..1
          Tipodate
          Es modificadorfalse
          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
          Must Supporttrue
          Resumentrue
          Requisitos

          Age of the individual drives many clinical processes.

          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          cr-persona-fecha-nacimiento: La fecha de nacimiento no es posterior a hoy ni anterior a 130 años. ($this <= today() and $this >= today() - 130 years)
          LOINC Code21112-8
          56. Patient.deceased[x]
          Definición

          Indicates if the individual is deceased or not.

          ResumenIndicates if the individual is deceased or not
          Comentarios

          If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.

          Control0..1
          TipoElección de: boolean, dateTime
          Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
          Es modificadortrue porque This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.
          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
          Must Supportfalse
          Resumentrue
          Requisitos

          The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.

          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          58. Patient.address
          Definición

          Dirección del paciente: su residencia habitual (home) o una dirección temporal (temp), por ejemplo donde se aloja durante un tratamiento. En Costa Rica, la provincia, el cantón y el distrito llevan los códigos de la DTA.


          An address for the individual.

          ResumenDirección en Costa Rica o en otro paísAn address for the individual
          Comentarios

          Patient may have multiple addresses with different uses or applicable periods.

          Control0..*
          TipoAddress(Dirección)
          Es modificadorfalse
          Must Supporttrue
          Resumentrue
          Requisitos

          May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.

          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          cr-direccion-uso-persona: La dirección de una persona es su residencia (home) o una dirección temporal (temp). (use.empty() or use = 'home' or use = 'temp')
          60. Patient.address.extension:barrioPoblado
          Slice NamebarrioPoblado
          Definición

          Nombre del barrio o del poblado dentro del distrito, tal como aparece en la DTA publicada en La Gaceta. Texto de hasta 100 caracteres: el SNIT no publica barrios ni poblados con código.

          ResumenBarrio (zona urbana) o poblado (zona rural)
          Control0..1
          TipoExtension(ADXP Precinct) (Extension Type: string)
          Es modificadorfalse
          Must Supporttrue
          Resumenfalse
          Invariantesele-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())
          62. Patient.address.extension:barrioPoblado.extension
          Definición

          An Extension


          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.

          ResumenExtensionAdditional content defined by implementations
          Comentarios

          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.

          Control0..0*
          TipoExtension
          Es modificadorfalse
          Resumenfalse
          Nombres alternativosextensions, user content
          Invariantesele-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())
          SlicingEste elemento introduce un conjunto de slices en Patient.address.extension.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
          • value @ url
          • 64. Patient.address.extension:barrioPoblado.url
            Definición

            Source of the definition for the extension code - a logical name or a URL.

            Resumenidentifies the meaning of the extension
            Comentarios

            The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

            Control1..1
            Tipouri
            Es modificadorfalse
            Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
            Resumenfalse
            Fixed Valuehttp://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct
            66. Patient.address.extension:barrioPoblado.value[x]
            Definición

            Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

            ResumenNombre del barrio o del pobladoValue of extension
            Control10..1
            Este elemento está afectado por las siguientes invariantes: ext-1
            Tipostring, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, code, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
            Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
            Es modificadorfalse
            Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
            Resumenfalse
            Max Length:100
            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            68. Patient.address.use
            Definición

            Uso de la dirección: home para la residencia habitual, de la que hay a lo sumo una, y temp para una dirección temporal.


            The purpose of this address.

            Resumenhome (residencia) | temp (temporal)home | work | temp | old | billing - purpose of this address
            Comentarios

            Applications can assume that an address is current unless it explicitly says that it is temporary or old.

            Control10..1
            VinculaciónLos códigos DEBEN tomarse de AddressUsehttp://hl7.org/fhir/ValueSet/address-use|5.0.0
            (required to http://hl7.org/fhir/ValueSet/address-use|5.0.0)

            The use of an address (home / work / etc.).

            Tipocode
            Es modificadortrue porque This is labeled as "Is Modifier" because applications should not mistake a temporary or old address etc.for a current/permanent one
            Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
            Must Supporttrue
            Resumentrue
            Requisitos

            Allows an appropriate address to be chosen from a list of many.

            ExampleGeneral: home
            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            70. Patient.address.text
            Definición

            Dirección completa tal como se muestra o se imprime, con los nombres de la provincia, el cantón y el distrito.


            Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.

            ResumenDirección completa, con los nombres (no los códigos) de provincia, cantón y distritoText representation of the address
            Comentarios

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

            Control0..1
            Tipostring
            Es modificadorfalse
            Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
            Must Supporttrue
            Resumentrue
            Requisitos

            A renderable, unencoded form.

            Max Length:250
            ExampleGeneral: 137 Nowhere Street, Erewhon 9132
            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            72. Patient.address.line
            Definición

            Descripción para llegar al lugar: puntos de referencia en Costa Rica, o calle, número y apartamento en el extranjero.


            This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.

            ResumenSeñas (Costa Rica) o calle y número (otro país)Street name, number, direction & P.O. Box etc.
            Control0..*
            Tipostring
            Es modificadorfalse
            Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
            Must Supporttrue
            Resumentrue
            Max Length:250
            ExampleGeneral: 137 Nowhere Street
            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            74. Patient.address.city
            Definición

            En Costa Rica, el código del cantón de la DTA (3 dígitos), que pertenece a la provincia. En otro país, la ciudad, en texto libre.


            The name of the city, town, suburb, village or other community or delivery center.

            ResumenCantón (código de la DTA en Costa Rica) o ciudadName of city, town etc.
            Control0..1
            VinculaciónLos códigos DEBERÍAN tomarse de For codes, see Cantones de Costa Rica
            (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-canton)

            En Costa Rica (CRI), el código de cantón de la DTA es obligatorio y pertenece a la provincia (invariantes cr-direccion-dta y cr-direccion-concordancia). En otro país, texto libre.

            Tipostring
            Es modificadorfalse
            Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
            Must Supporttrue
            Resumentrue
            Nombres alternativosMunicpality
            ExampleGeneral: Erewhon
            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            76. Patient.address.district
            Definición

            En Costa Rica, el código del distrito de la DTA (5 dígitos), que pertenece al cantón. No aplica a otros países.


            The name of the administrative area (county).

            ResumenDistrito (código de la DTA en Costa Rica)District name (aka county)
            Comentarios

            District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.

            Control0..1
            VinculaciónLos códigos DEBERÍAN tomarse de For codes, see Distritos de Costa Rica
            (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-distrito)

            En Costa Rica (CRI), el código de distrito de la DTA es obligatorio y pertenece al cantón (invariantes cr-direccion-dta y cr-direccion-concordancia).

            Tipostring
            Es modificadorfalse
            Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
            Must Supporttrue
            Resumentrue
            Nombres alternativosCounty
            ExampleGeneral: Madison
            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            78. Patient.address.state
            Definición

            En Costa Rica, el código de la provincia de la División Territorial Administrativa del SNIT (1 a 7). En otro país, el estado, la región o el departamento, en texto libre.


            Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).

            ResumenProvincia (código de la DTA en Costa Rica) o estado, región o departamentoSub-unit of country (abbreviations ok)
            Control0..1
            VinculaciónLos códigos DEBERÍAN tomarse de For codes, see Provincias de Costa Rica
            (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-provincia)

            En Costa Rica (CRI), el código de provincia de la DTA es obligatorio (invariantes cr-direccion-dta y cr-direccion-concordancia). En otro país, texto libre.

            Tipostring
            Es modificadorfalse
            Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
            Must Supporttrue
            Resumentrue
            Nombres alternativosProvince, Territory
            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            80. Patient.address.postalCode
            Definición

            Código postal, opcional en cualquier país.


            A postal code designating a region defined by the postal service.

            ResumenCódigo postalPostal code for area
            Control0..1
            Tipostring
            Es modificadorfalse
            Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
            Must Supporttrue
            Resumentrue
            Nombres alternativosZip
            ExampleGeneral: 9132
            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            82. Patient.address.country
            Definición

            País de la dirección, con su código ISO 3166-1 alfa-3 en mayúsculas. Si es CRI, la provincia, el cantón y el distrito son obligatorios y llevan los códigos de la DTA.


            Country - a nation as commonly understood or generally accepted.

            ResumenPaís, con código ISO 3166-1 alfa-3 (CRI para Costa Rica)Country (e.g. may be ISO 3166 2 or 3 letter code)
            Comentarios

            ISO 3166 2- or 3- letter codes MAY be used in place of a human readable country name.

            Control10..1
            VinculaciónLos códigos DEBEN tomarse de For codes, see Iso316613
            (required to http://hl7.org/fhir/ValueSet/iso3166-1-3)
            Tipostring
            Es modificadorfalse
            Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
            Must Supporttrue
            Resumentrue
            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            84. Patient.maritalStatus
            Definición

            Estado civil declarado por el paciente: soltero (S), casado (M), divorciado (D), viudo (W), unión de hecho (T) o desconocido (UNK). No condiciona la atención.


            This field contains a patient's most recent marital (civil) status.

            ResumenEstado civil: soltero, casado, divorciado, viudo o unión de hechoMarital (civil) status of a patient
            Control0..1
            VinculaciónLos códigos DEBEN tomarse de Salvo que no sean adecuados, estos códigos DEBEN tomarse de Estado civilhttp://hl7.org/fhir/ValueSet/marital-status|5.0.0
            (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-estado-civil)
            TipoCodeableConcept
            Es modificadorfalse
            Must Supporttrue
            Resumenfalse
            Requisitos

            Most, if not all systems capture it.

            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            86. Patient.contact
            Definición

            Persona a quien contactar por el paciente: un familiar, su cónyuge o alguien que actúa en nombre de una institución. El tutor legal y el progenitor de una persona menor de edad se registran como persona relacionada, no aquí.


            A contact party (e.g. guardian, partner, friend) for the patient.

            ResumenContacto de emergencia, familiar o de una instituciónA contact party (e.g. guardian, partner, friend) for the patient
            Comentarios

            Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact.

            Control0..*
            TipoBackboneElement
            Es modificadorfalse
            Must Supporttrue
            Resumenfalse
            Requisitos

            Need to track people you can contact about the patient.

            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            pat-1: SHALL at least contain a contact's details or a reference to an organization (name.exists() or telecom.exists() or address.exists() or organization.exists())
            88. Patient.contact.modifierExtension
            Definición

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

            ResumenExtensions that cannot be ignored even if unrecognized
            Comentarios

            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.

            Control0..*
            TipoExtension
            Es modificadortrue porque Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
            Resumentrue
            Requisitos

            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.

            Nombres alternativosextensions, user content, modifiers
            Invariantesele-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())
            90. Patient.contact.relationship
            Definición

            Vínculo del contacto con el paciente: cónyuge (SPS), padre (FTH), madre (MTH), tutor legal (GUARD), hijo (CHILD), hermano (SIB) u otro familiar (FAMMEMB). Puede tener varios.


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

            ResumenRelación con el paciente: cónyuge, padre, madre, tutor, hijo, hermano u otro familiarThe kind of relationship
            Control10..*
            VinculaciónSalvo que no sean adecuados, estos códigos DEBEN tomarse de Tipo de relación con el pacientehttp://hl7.org/fhir/ValueSet/patient-contactrelationship|5.0.0
            (extensible to https://hl7.or.cr/fhir/terminology/ValueSet/cr-tipo-relacion-contacto)
            TipoCodeableConcept
            Es modificadorfalse
            Must Supporttrue
            Resumenfalse
            Requisitos

            Used to determine which contact person is the most relevant to approach, depending on circumstances.

            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            92. Patient.contact.name
            Definición

            Nombre del contacto, con el mismo perfil del nombre del paciente.


            A name associated with the contact person.

            ResumenNombre del contactoA name associated with the contact person
            Control10..1
            Este elemento está afectado por las siguientes invariantes: pat-1
            TipoHumanName(Nombre)
            Es modificadorfalse
            Must Supporttrue
            Resumenfalse
            Requisitos

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

            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            94. Patient.contact.telecom
            Definición

            Teléfono o correo electrónico del contacto. Los teléfonos van en formato E.164: en Costa Rica, +506 y 8 dígitos.


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

            ResumenTeléfono (+506 y 8 dígitos) o correo electrónico del contactoA contact detail for the person
            Comentarios

            Contact 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.

            Control0..*
            Este elemento está afectado por las siguientes invariantes: pat-1
            TipoContactPoint
            Es modificadorfalse
            Must Supporttrue
            Resumenfalse
            Requisitos

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

            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            cr-telefono: Un teléfono está en formato E.164 (+ y de 8 a 15 dígitos, sin espacios ni guiones), con una extensión interna opcional después de ;ext=. En Costa Rica (+506) tiene 8 dígitos que empiezan de 2 a 8, o es un número 800 o 900 de 10 dígitos. ((system = 'phone' or system = 'fax' or system = 'sms') implies (value.matches('^\\+[1-9][0-9]{7,14}(;ext=[0-9]{1,6})?$') and (value.startsWith('+506') implies value.matches('^\\+506([2-8][0-9]{7}|[89]00[0-9]{7})(;ext=[0-9]{1,6})?$'))))
            96. Patient.contact.address
            Definición

            Dirección del contacto, con el mismo perfil de la dirección del paciente.


            Address for the contact person.

            ResumenDirección del contactoAddress for the contact person
            Control0..1
            Este elemento está afectado por las siguientes invariantes: pat-1
            TipoAddress(Dirección)
            Es modificadorfalse
            Must Supporttrue
            Resumenfalse
            Requisitos

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

            Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            cr-direccion-uso-persona: La dirección de una persona es su residencia (home) o una dirección temporal (temp). (use.empty() or use = 'home' or use = 'temp')
            98. Patient.contact.address.extension:barrioPoblado
            Slice NamebarrioPoblado
            Definición

            Nombre del barrio o del poblado dentro del distrito, tal como aparece en la DTA publicada en La Gaceta. Texto de hasta 100 caracteres: el SNIT no publica barrios ni poblados con código.

            ResumenBarrio (zona urbana) o poblado (zona rural)
            Control0..1
            TipoExtension(ADXP Precinct) (Extension Type: string)
            Es modificadorfalse
            Must Supporttrue
            Resumenfalse
            Invariantesele-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())
            100. Patient.contact.address.extension:barrioPoblado.extension
            Definición

            An Extension


            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.

            ResumenExtensionAdditional content defined by implementations
            Comentarios

            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.

            Control0..0*
            TipoExtension
            Es modificadorfalse
            Resumenfalse
            Nombres alternativosextensions, user content
            Invariantesele-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())
            SlicingEste elemento introduce un conjunto de slices en Patient.contact.address.extension.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
            • value @ url
            • 102. Patient.contact.address.extension:barrioPoblado.url
              Definición

              Source of the definition for the extension code - a logical name or a URL.

              Resumenidentifies the meaning of the extension
              Comentarios

              The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

              Control1..1
              Tipouri
              Es modificadorfalse
              Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
              Resumenfalse
              Fixed Valuehttp://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct
              104. Patient.contact.address.extension:barrioPoblado.value[x]
              Definición

              Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

              ResumenNombre del barrio o del pobladoValue of extension
              Control10..1
              Este elemento está afectado por las siguientes invariantes: ext-1
              Tipostring, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, RatioRange, Coding, SampledData, id, positiveInt, Distance, Availability, integer64, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, ExtendedContactDetail, CodeableConcept, ParameterDefinition, dateTime, code, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, CodeableReference, Signature, unsignedInt, time
              Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
              Es modificadorfalse
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Resumenfalse
              Max Length:100
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              106. Patient.contact.address.use
              Definición

              The purpose of this address.

              Resumenhome (residencia) | temp (temporal)home | work | temp | old | billing - purpose of this address
              Comentarios

              Applications can assume that an address is current unless it explicitly says that it is temporary or old.

              Control10..1
              VinculaciónLos códigos DEBEN tomarse de AddressUsehttp://hl7.org/fhir/ValueSet/address-use|5.0.0
              (required to http://hl7.org/fhir/ValueSet/address-use|5.0.0)

              The use of an address (home / work / etc.).

              Tipocode
              Es modificadortrue porque This is labeled as "Is Modifier" because applications should not mistake a temporary or old address etc.for a current/permanent one
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Must Supporttrue
              Resumentrue
              Requisitos

              Allows an appropriate address to be chosen from a list of many.

              ExampleGeneral: home
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              108. Patient.contact.address.text
              Definición

              Dirección completa tal como se muestra o se imprime, con los nombres de la provincia, el cantón y el distrito.


              Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.

              ResumenDirección completa, con los nombres (no los códigos) de provincia, cantón y distritoText representation of the address
              Comentarios

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

              Control0..1
              Tipostring
              Es modificadorfalse
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Must Supporttrue
              Resumentrue
              Requisitos

              A renderable, unencoded form.

              Max Length:250
              ExampleGeneral: 137 Nowhere Street, Erewhon 9132
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              110. Patient.contact.address.line
              Definición

              Descripción para llegar al lugar: puntos de referencia en Costa Rica, o calle, número y apartamento en el extranjero.


              This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.

              ResumenSeñas (Costa Rica) o calle y número (otro país)Street name, number, direction & P.O. Box etc.
              Control0..*
              Tipostring
              Es modificadorfalse
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Must Supporttrue
              Resumentrue
              Max Length:250
              ExampleGeneral: 137 Nowhere Street
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              112. Patient.contact.address.city
              Definición

              En Costa Rica, el código del cantón de la DTA (3 dígitos), que pertenece a la provincia. En otro país, la ciudad, en texto libre.


              The name of the city, town, suburb, village or other community or delivery center.

              ResumenCantón (código de la DTA en Costa Rica) o ciudadName of city, town etc.
              Control0..1
              VinculaciónLos códigos DEBERÍAN tomarse de For codes, see Cantones de Costa Rica
              (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-canton)

              En Costa Rica (CRI), el código de cantón de la DTA es obligatorio y pertenece a la provincia (invariantes cr-direccion-dta y cr-direccion-concordancia). En otro país, texto libre.

              Tipostring
              Es modificadorfalse
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Must Supporttrue
              Resumentrue
              Nombres alternativosMunicpality
              ExampleGeneral: Erewhon
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              114. Patient.contact.address.district
              Definición

              En Costa Rica, el código del distrito de la DTA (5 dígitos), que pertenece al cantón. No aplica a otros países.


              The name of the administrative area (county).

              ResumenDistrito (código de la DTA en Costa Rica)District name (aka county)
              Comentarios

              District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.

              Control0..1
              VinculaciónLos códigos DEBERÍAN tomarse de For codes, see Distritos de Costa Rica
              (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-distrito)

              En Costa Rica (CRI), el código de distrito de la DTA es obligatorio y pertenece al cantón (invariantes cr-direccion-dta y cr-direccion-concordancia).

              Tipostring
              Es modificadorfalse
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Must Supporttrue
              Resumentrue
              Nombres alternativosCounty
              ExampleGeneral: Madison
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              116. Patient.contact.address.state
              Definición

              En Costa Rica, el código de la provincia de la División Territorial Administrativa del SNIT (1 a 7). En otro país, el estado, la región o el departamento, en texto libre.


              Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).

              ResumenProvincia (código de la DTA en Costa Rica) o estado, región o departamentoSub-unit of country (abbreviations ok)
              Control0..1
              VinculaciónLos códigos DEBERÍAN tomarse de For codes, see Provincias de Costa Rica
              (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-provincia)

              En Costa Rica (CRI), el código de provincia de la DTA es obligatorio (invariantes cr-direccion-dta y cr-direccion-concordancia). En otro país, texto libre.

              Tipostring
              Es modificadorfalse
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Must Supporttrue
              Resumentrue
              Nombres alternativosProvince, Territory
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              118. Patient.contact.address.postalCode
              Definición

              Código postal, opcional en cualquier país.


              A postal code designating a region defined by the postal service.

              ResumenCódigo postalPostal code for area
              Control0..1
              Tipostring
              Es modificadorfalse
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Must Supporttrue
              Resumentrue
              Nombres alternativosZip
              ExampleGeneral: 9132
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              120. Patient.contact.address.country
              Definición

              País de la dirección, con su código ISO 3166-1 alfa-3 en mayúsculas. Si es CRI, la provincia, el cantón y el distrito son obligatorios y llevan los códigos de la DTA.


              Country - a nation as commonly understood or generally accepted.

              ResumenPaís, con código ISO 3166-1 alfa-3 (CRI para Costa Rica)Country (e.g. may be ISO 3166 2 or 3 letter code)
              Comentarios

              ISO 3166 2- or 3- letter codes MAY be used in place of a human readable country name.

              Control10..1
              VinculaciónLos códigos DEBEN tomarse de For codes, see Iso316613
              (required to http://hl7.org/fhir/ValueSet/iso3166-1-3)
              Tipostring
              Es modificadorfalse
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Must Supporttrue
              Resumentrue
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              122. Patient.contact.gender
              Definición

              Sexo asignado al nacer del contacto.


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

              ResumenSexo asignado al nacer del contacto: female | male | unknownmale | female | other | unknown
              Control10..1
              VinculaciónLos códigos DEBEN tomarse de Sexo asignado al nacerhttp://hl7.org/fhir/ValueSet/administrative-gender|5.0.0
              (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-sexo-al-nacer)
              Tipocode
              Es modificadorfalse
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Must Supporttrue
              Resumenfalse
              Requisitos

              Needed to address the person correctly.

              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              124. Patient.contact.organization
              Definición

              Organización en cuyo nombre actúa el contacto, por ejemplo el PANI cuando tiene la tutela de una persona menor de edad. Se referencia por su cédula jurídica.


              Organization on behalf of which the contact is acting or for which the contact is working.

              ResumenInstitución en cuyo nombre actúa el contacto (PANI)Organization that is associated with the contact
              Control0..1
              Este elemento está afectado por las siguientes invariantes: pat-1
              TipoReference(Organización, Organization)
              Es modificadorfalse
              Must Supporttrue
              Resumenfalse
              Requisitos

              For guardians or business related contacts, the organization is relevant.

              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              126. Patient.contact.organization.reference
              Definición

              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.

              ResumenLiteral reference, Relative, internal or absolute URL
              Comentarios

              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.

              Control0..1
              Este elemento está afectado por las siguientes invariantes: ref-2, ref-1
              Tipostring
              Es modificadorfalse
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Resumentrue
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              128. Patient.contact.organization.identifier
              Definición

              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.

              ResumenCédula jurídica de la organizaciónLogical reference, when literal reference is not known
              Comentarios

              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.

              NotaThis is a business identifier, not a resource identifier (see discusión)
              Control10..1
              Este elemento está afectado por las siguientes invariantes: ref-2
              TipoIdentifier
              Es modificadorfalse
              Must Supporttrue
              Resumentrue
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              cr-referencia-cedula-juridica: La organización se identifica con su cédula jurídica: system https://hl7.or.cr/fhir/sid/cedula-juridica y 10 dígitos, sin guiones ni cero inicial. (system = 'https://hl7.or.cr/fhir/sid/cedula-juridica' and value.matches('^[1-9][0-9]{9}$'))
              130. Patient.contact.period
              Definición

              The period during which this contact person or organization is valid to be contacted relating to this patient.

              ResumenPeriodo en que el contacto es válidoThe period during which this contact person or organization is valid to be contacted relating to this patient
              Control0..1
              TipoPeriod
              Es modificadorfalse
              Must Supporttrue
              Resumenfalse
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              132. Patient.link
              Definición

              Link to a Patient or RelatedPerson resource that concerns the same actual individual.

              ResumenLink to a Patient or RelatedPerson resource that concerns the same actual individual
              Comentarios

              There is no assumption that linked patient records have mutual links.

              Control0..*
              TipoBackboneElement
              Es modificadortrue porque This element is labeled as a modifier because it might not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'
              Must Supportfalse
              Resumentrue
              Requisitos

              There are multiple use cases:

              • Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and
              • Distribution of patient information across multiple servers.
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              134. Patient.link.modifierExtension
              Definición

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

              ResumenExtensions that cannot be ignored even if unrecognized
              Comentarios

              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.

              Control0..*
              TipoExtension
              Es modificadortrue porque Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
              Resumentrue
              Requisitos

              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.

              Nombres alternativosextensions, user content, modifiers
              Invariantesele-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())
              136. Patient.link.other
              Definición

              Link to a Patient or RelatedPerson resource that concerns the same actual individual.

              ResumenThe other patient or related person resource that the link refers to
              Comentarios

              Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.

              Control1..1
              TipoReference(Patient, RelatedPerson)
              Es modificadorfalse
              Must Supportfalse
              Resumentrue
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              138. Patient.link.type
              Definición

              The type of link between this patient resource and another patient resource.

              Resumenreplaced-by | replaces | refer | seealso
              Control1..1
              VinculaciónLos códigos DEBEN tomarse de LinkTypehttp://hl7.org/fhir/ValueSet/link-type|5.0.0
              (required to http://hl7.org/fhir/ValueSet/link-type|5.0.0)

              The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code

              Tipocode
              Es modificadorfalse
              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
              Must Supportfalse
              Resumentrue
              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))

              Las indicaciones para interpretar el contenido de esta tabla estánaquí

              0. Patient
              Definición

              Persona que recibe atención de salud en Costa Rica, con su identificación, su nombre, su sexo asignado al nacer, su fecha de nacimiento, sus datos de contacto, sus direcciones y sus contactos.

              ResumenPaciente: persona que recibe atención de salud en Costa Rica
              Invariantescr-identificador-unico: No hay dos identificadores con el mismo system y el mismo valor. (identifier.select(system & '|' & value).isDistinct())
              cr-paciente-identificador-vigente: El paciente tiene al menos un identificador vigente (use distinto de old). (identifier.where(use != 'old').exists())
              cr-paciente-documento-unico: Entre los identificadores vigentes hay a lo sumo una cédula nacional, un DIMEX y un número CCSS, y la cédula y el DIMEX no están vigentes a la vez. (identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/cedula-nacional').count() <= 1 and identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/dimex').count() <= 1 and identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/ccss').count() <= 1 and (identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/cedula-nacional').exists() and identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/dimex').exists()).not())
              cr-paciente-pasaporte-expediente: Los pasaportes vigentes son de países emisores distintos y los expedientes vigentes, de establecimientos distintos. (identifier.where(use != 'old' and system.startsWith('https://hl7.or.cr/fhir/sid/pasaporte/')).system.isDistinct() and identifier.where(use != 'old' and system.startsWith('https://hl7.or.cr/fhir/sid/expediente/')).system.isDistinct())
              cr-persona-apatrida: Una persona apátrida (nacionalidad con data-absent-reason not-applicable) no tiene otra nacionalidad. (extension('http://hl7.org/fhir/StructureDefinition/patient-nationality').extension('code').value.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').where(value = 'not-applicable').exists() implies extension('http://hl7.org/fhir/StructureDefinition/patient-nationality').count() = 1)
              cr-persona-residencia: La persona tiene a lo sumo una dirección de residencia (home). (address.where(use = 'home').count() <= 1)
              2. Patient.extension
              ResumenExtensiones: la nacionalidad
              SlicingEste elemento introduce un conjunto de slices en Patient.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
              • value @ url
              • 4. Patient.extension:nacionalidad
                Slice Namenacionalidad
                Definición

                País del que el paciente es nacional. Una persona con doble nacionalidad lleva dos.

                ResumenNacionalidad: una por país
                Control0..*
                TipoExtension(Patient Nationality) (Complex Extension)
                Must Supporttrue
                6. Patient.extension:nacionalidad.extension
                ResumenPaís y periodo de la nacionalidad
                Control1..?
                8. Patient.extension:nacionalidad.extension:code
                Slice Namecode
                ResumenPaís de la nacionalidad
                Control1..?
                Must Supporttrue
                10. Patient.extension:nacionalidad.extension:code.value[x]
                Definición

                Código ISO 3166-1 alfa-3 del país, con su nombre en español en text. Si no se conoce, lleva la extensión data-absent-reason con unknown; si la persona es apátrida, not-applicable y el texto Apátrida.

                ResumenCódigo ISO 3166-1 alfa-3 del país (CRI), con el nombre en español en text
                VinculaciónSalvo que no sean adecuados, estos códigos DEBEN tomarse de Iso316613
                (extensible to http://hl7.org/fhir/ValueSet/iso3166-1-3)
                Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
                12. Patient.identifier
                Definición

                Documento o número con que se identifica al paciente. Puede tener varios (cédula y pasaporte), y al menos uno vigente. Si no tiene ningún documento oficial, se usa el expediente del establecimiento como identificador provisional.

                ResumenIdentificación del paciente: cédula, DIMEX, pasaporte, número CCSS o expediente
                NotaThis is a business identifier, not a resource identifier (see discusión)
                Control1..?
                Must Supporttrue
                Invariantescr-paciente-identificador-system: El identificador es una cédula nacional, un DIMEX, un número CCSS, un pasaporte o un expediente, con su system de https://hl7.or.cr/fhir/sid/. (system = 'https://hl7.or.cr/fhir/sid/cedula-nacional' or system = 'https://hl7.or.cr/fhir/sid/dimex' or system = 'https://hl7.or.cr/fhir/sid/ccss' or system.startsWith('https://hl7.or.cr/fhir/sid/pasaporte/') or system.startsWith('https://hl7.or.cr/fhir/sid/expediente/'))
                cr-cedula-nacional-value: Una cédula nacional (system https://hl7.or.cr/fhir/sid/cedula-nacional) tiene 9 dígitos, sin guiones ni cero inicial. (system = 'https://hl7.or.cr/fhir/sid/cedula-nacional' implies value.matches('^[1-9][0-9]{8}$'))
                cr-dimex-value: Un DIMEX (system https://hl7.or.cr/fhir/sid/dimex) tiene 11 o 12 dígitos, sin ceros a la izquierda. (system = 'https://hl7.or.cr/fhir/sid/dimex' implies value.matches('^[1-9][0-9]{10,11}$'))
                cr-pasaporte-system: Un pasaporte usa el system https://hl7.or.cr/fhir/sid/pasaporte/ seguido del código ISO 3166-1 alfa-3 del país emisor, y su número tiene de 6 a 15 letras o dígitos. (system.startsWith('https://hl7.or.cr/fhir/sid/pasaporte') implies (system.matches('^https://hl7\\.or\\.cr/fhir/sid/pasaporte/[A-Z]{3}$') and value.matches('^[A-Za-z0-9]{6,15}$')))
                cr-expediente-system: Un expediente usa el system https://hl7.or.cr/fhir/sid/expediente/ seguido del código del establecimiento (cj-, cn- o dimex- y el identificador del titular). (system.startsWith('https://hl7.or.cr/fhir/sid/expediente') implies system.matches('^https://hl7\\.or\\.cr/fhir/sid/expediente/(cj-[1-9][0-9]{9}|cn-[1-9][0-9]{8}|dimex-[1-9][0-9]{10,11})$'))
                cr-expediente-assigner: Un expediente indica el establecimiento que lo asignó (assigner). (system.startsWith('https://hl7.or.cr/fhir/sid/expediente/') implies assigner.exists())
                cr-paciente-identificador-uso: Un identificador vigente es temp si es un expediente y official si es de otro tipo; uno que ya no está vigente es old. (iif(system.startsWith('https://hl7.or.cr/fhir/sid/expediente/'), use = 'temp' or use = 'old', use = 'official' or use = 'old'))
                14. Patient.identifier.use
                Definición

                Indica si el identificador está vigente: official para un documento oficial vigente, temp para el expediente (identificador provisional) y old para uno que se conserva solo como histórico.

                Resumenofficial (temp para el expediente) si está vigente; old si es histórico
                Control1..?
                VinculaciónLos códigos DEBEN tomarse de IdentifierUse
                (required to http://hl7.org/fhir/ValueSet/identifier-use)
                Must Supporttrue
                16. Patient.identifier.type
                Definición

                Tipo de documento del catálogo de tipos de identificación de Costa Rica. Es opcional, porque el system ya dice de qué documento se trata; puede llevar además el código equivalente de HL7 v2-0203 (NI, PRC, PPN, NH, MR).

                ResumenTipo de documento (opcional: el system ya lo indica)
                VinculaciónLos códigos DEBEN tomarse de Tipos de identificación del paciente
                (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-tipo-identificacion)
                Must Supporttrue
                18. Patient.identifier.system
                Definición

                Sistema de identificación, que dice qué documento es. El pasaporte lleva al final el código ISO 3166-1 alfa-3 del país emisor (pasaporte/USA) y el expediente, el código del establecimiento que lo asignó (expediente/cj-3101123456).

                Resumenhttps://hl7.or.cr/fhir/sid/{cedula-nacional | dimex | ccss | pasaporte/{país} | expediente/{establecimiento}}
                Control1..?
                Must Supporttrue
                20. Patient.identifier.value
                Definición

                Número de identificación tal como consta en el documento: la cédula con 9 dígitos, el DIMEX con 11 o 12 dígitos sin ceros a la izquierda y el pasaporte con 6 a 15 letras o dígitos.

                ResumenNúmero del documento, sin guiones ni espacios
                Control1..?
                Must Supporttrue
                22. Patient.identifier.assigner
                Definición

                Organización que asignó el identificador. Es obligatoria en el expediente, donde es el establecimiento de salud; en el pasaporte, puede llevar solo el nombre del país emisor en display.

                ResumenEstablecimiento que asignó el expediente (obligatorio en el expediente)
                TipoReference(Organización)
                Must Supporttrue
                24. Patient.name
                Definición

                Nombre del paciente tal como consta en su documento de identidad: hasta dos nombres y los apellidos, juntos en family y por separado en las extensiones del primer y el segundo apellido.

                ResumenNombre oficial, según el documento de identidad
                Control1..1
                TipoHumanName(Nombre)
                Must Supporttrue
                26. Patient.telecom
                Definición

                Teléfono o correo electrónico del paciente, para contactarlo, enviarle recordatorios y darle seguimiento. system dice qué es (phone, email) y use, de qué tipo (mobile, home, work). Los teléfonos van en formato E.164: en Costa Rica, +506 y 8 dígitos.

                ResumenTeléfono (+506 y 8 dígitos) o correo electrónico
                Must Supporttrue
                Invariantescr-telefono: Un teléfono está en formato E.164 (+ y de 8 a 15 dígitos, sin espacios ni guiones), con una extensión interna opcional después de ;ext=. En Costa Rica (+506) tiene 8 dígitos que empiezan de 2 a 8, o es un número 800 o 900 de 10 dígitos. ((system = 'phone' or system = 'fax' or system = 'sms') implies (value.matches('^\\+[1-9][0-9]{7,14}(;ext=[0-9]{1,6})?$') and (value.startsWith('+506') implies value.matches('^\\+506([2-8][0-9]{7}|[89]00[0-9]{7})(;ext=[0-9]{1,6})?$'))))
                28. Patient.gender
                Definición

                Sexo asignado al nacer, con fines clínicos, farmacológicos y de riesgo médico. En este perfil, gender lleva siempre el sexo asignado al nacer, no un sexo administrativo ni la identidad de género.

                ResumenSexo asignado al nacer: female | male | unknown
                Control1..?
                VinculaciónLos códigos DEBEN tomarse de Sexo asignado al nacer
                (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-sexo-al-nacer)
                Must Supporttrue
                30. Patient.birthDate
                Definición

                Fecha de nacimiento que consta en el documento de identidad. No es posterior a hoy ni anterior a 130 años.

                ResumenFecha de nacimiento, según el documento de identidad
                Control1..?
                Must Supporttrue
                Invariantescr-persona-fecha-nacimiento: La fecha de nacimiento no es posterior a hoy ni anterior a 130 años. ($this <= today() and $this >= today() - 130 years)
                LOINC Code
                32. Patient.address
                Definición

                Dirección del paciente: su residencia habitual (home) o una dirección temporal (temp), por ejemplo donde se aloja durante un tratamiento. En Costa Rica, la provincia, el cantón y el distrito llevan los códigos de la DTA.

                ResumenDirección en Costa Rica o en otro país
                TipoAddress(Dirección)
                Must Supporttrue
                Invariantescr-direccion-uso-persona: La dirección de una persona es su residencia (home) o una dirección temporal (temp). (use.empty() or use = 'home' or use = 'temp')
                34. Patient.address.use
                Definición

                Uso de la dirección: home para la residencia habitual, de la que hay a lo sumo una, y temp para una dirección temporal.

                Resumenhome (residencia) | temp (temporal)
                Control1..?
                Must Supporttrue
                36. Patient.maritalStatus
                Definición

                Estado civil declarado por el paciente: soltero (S), casado (M), divorciado (D), viudo (W), unión de hecho (T) o desconocido (UNK). No condiciona la atención.

                ResumenEstado civil: soltero, casado, divorciado, viudo o unión de hecho
                VinculaciónLos códigos DEBEN tomarse de Estado civil
                (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-estado-civil)
                Must Supporttrue
                38. Patient.contact
                Definición

                Persona a quien contactar por el paciente: un familiar, su cónyuge o alguien que actúa en nombre de una institución. El tutor legal y el progenitor de una persona menor de edad se registran como persona relacionada, no aquí.

                ResumenContacto de emergencia, familiar o de una institución
                Must Supporttrue
                40. Patient.contact.relationship
                Definición

                Vínculo del contacto con el paciente: cónyuge (SPS), padre (FTH), madre (MTH), tutor legal (GUARD), hijo (CHILD), hermano (SIB) u otro familiar (FAMMEMB). Puede tener varios.

                ResumenRelación con el paciente: cónyuge, padre, madre, tutor, hijo, hermano u otro familiar
                Control1..?
                VinculaciónSalvo que no sean adecuados, estos códigos DEBEN tomarse de Tipo de relación con el paciente
                (extensible to https://hl7.or.cr/fhir/terminology/ValueSet/cr-tipo-relacion-contacto)
                Must Supporttrue
                42. Patient.contact.name
                Definición

                Nombre del contacto, con el mismo perfil del nombre del paciente.

                ResumenNombre del contacto
                Control1..?
                TipoHumanName(Nombre)
                Must Supporttrue
                44. Patient.contact.telecom
                Definición

                Teléfono o correo electrónico del contacto. Los teléfonos van en formato E.164: en Costa Rica, +506 y 8 dígitos.

                ResumenTeléfono (+506 y 8 dígitos) o correo electrónico del contacto
                Must Supporttrue
                Invariantescr-telefono: Un teléfono está en formato E.164 (+ y de 8 a 15 dígitos, sin espacios ni guiones), con una extensión interna opcional después de ;ext=. En Costa Rica (+506) tiene 8 dígitos que empiezan de 2 a 8, o es un número 800 o 900 de 10 dígitos. ((system = 'phone' or system = 'fax' or system = 'sms') implies (value.matches('^\\+[1-9][0-9]{7,14}(;ext=[0-9]{1,6})?$') and (value.startsWith('+506') implies value.matches('^\\+506([2-8][0-9]{7}|[89]00[0-9]{7})(;ext=[0-9]{1,6})?$'))))
                46. Patient.contact.address
                Definición

                Dirección del contacto, con el mismo perfil de la dirección del paciente.

                ResumenDirección del contacto
                TipoAddress(Dirección)
                Must Supporttrue
                Invariantescr-direccion-uso-persona: La dirección de una persona es su residencia (home) o una dirección temporal (temp). (use.empty() or use = 'home' or use = 'temp')
                48. Patient.contact.address.use
                Resumenhome (residencia) | temp (temporal)
                Control1..?
                Must Supporttrue
                50. Patient.contact.gender
                Definición

                Sexo asignado al nacer del contacto.

                ResumenSexo asignado al nacer del contacto: female | male | unknown
                Control1..?
                VinculaciónLos códigos DEBEN tomarse de Sexo asignado al nacer
                (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-sexo-al-nacer)
                Must Supporttrue
                52. Patient.contact.organization
                Definición

                Organización en cuyo nombre actúa el contacto, por ejemplo el PANI cuando tiene la tutela de una persona menor de edad. Se referencia por su cédula jurídica.

                ResumenInstitución en cuyo nombre actúa el contacto (PANI)
                TipoReference(Organización)
                Must Supporttrue
                54. Patient.contact.organization.identifier
                ResumenCédula jurídica de la organización
                NotaThis is a business identifier, not a resource identifier (see discusión)
                Control1..?
                Must Supporttrue
                Invariantescr-referencia-cedula-juridica: La organización se identifica con su cédula jurídica: system https://hl7.or.cr/fhir/sid/cedula-juridica y 10 dígitos, sin guiones ni cero inicial. (system = 'https://hl7.or.cr/fhir/sid/cedula-juridica' and value.matches('^[1-9][0-9]{9}$'))
                56. Patient.contact.period
                ResumenPeriodo en que el contacto es válido
                Must Supporttrue

                Las indicaciones para interpretar el contenido de esta tabla estánaquí

                0. Patient
                Definición

                Persona que recibe atención de salud en Costa Rica, con su identificación, su nombre, su sexo asignado al nacer, su fecha de nacimiento, sus datos de contacto, sus direcciones y sus contactos.

                ResumenPaciente: persona que recibe atención de salud en Costa Rica
                Control0..*
                Es modificadorfalse
                Must Supportfalse
                Resumenfalse
                Nombres alternativosSubjectOfCare Client Resident
                Invariantesdom-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())
                cr-identificador-unico: No hay dos identificadores con el mismo system y el mismo valor. (identifier.select(system & '|' & value).isDistinct())
                cr-paciente-identificador-vigente: El paciente tiene al menos un identificador vigente (use distinto de old). (identifier.where(use != 'old').exists())
                cr-paciente-documento-unico: Entre los identificadores vigentes hay a lo sumo una cédula nacional, un DIMEX y un número CCSS, y la cédula y el DIMEX no están vigentes a la vez. (identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/cedula-nacional').count() <= 1 and identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/dimex').count() <= 1 and identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/ccss').count() <= 1 and (identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/cedula-nacional').exists() and identifier.where(use != 'old' and system = 'https://hl7.or.cr/fhir/sid/dimex').exists()).not())
                cr-paciente-pasaporte-expediente: Los pasaportes vigentes son de países emisores distintos y los expedientes vigentes, de establecimientos distintos. (identifier.where(use != 'old' and system.startsWith('https://hl7.or.cr/fhir/sid/pasaporte/')).system.isDistinct() and identifier.where(use != 'old' and system.startsWith('https://hl7.or.cr/fhir/sid/expediente/')).system.isDistinct())
                cr-persona-apatrida: Una persona apátrida (nacionalidad con data-absent-reason not-applicable) no tiene otra nacionalidad. (extension('http://hl7.org/fhir/StructureDefinition/patient-nationality').extension('code').value.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').where(value = 'not-applicable').exists() implies extension('http://hl7.org/fhir/StructureDefinition/patient-nationality').count() = 1)
                cr-persona-residencia: La persona tiene a lo sumo una dirección de residencia (home). (address.where(use = 'home').count() <= 1)
                2. Patient.id
                Definición

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

                ResumenLogical id of this artifact
                Comentarios

                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.

                Control0..1
                Tipoid
                Es modificadorfalse
                Must Supportfalse
                Resumentrue
                4. Patient.meta
                Definición

                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.

                ResumenMetadata about the resource
                Control0..1
                TipoMeta
                Es modificadorfalse
                Must Supportfalse
                Resumentrue
                Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                6. Patient.implicitRules
                Definición

                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.

                ResumenA set of rules under which this content was created
                Comentarios

                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.

                Control0..1
                Tipouri
                Es modificadortrue porque This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
                Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                Must Supportfalse
                Resumentrue
                Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                8. Patient.language
                Definición

                The base language in which the resource is written.

                ResumenLanguage of the resource content
                Comentarios

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

                Control0..1
                VinculaciónLos códigos DEBEN tomarse de AllLanguages
                (required to http://hl7.org/fhir/ValueSet/all-languages|5.0.0)

                IETF language tag for a human language

                Tipocode
                Es modificadorfalse
                Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                Must Supportfalse
                Resumenfalse
                Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                10. Patient.text
                Definición

                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.

                ResumenText summary of the resource, for human interpretation
                Comentarios

                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.

                Control0..1
                Este elemento está afectado por las siguientes invariantes: dom-6
                TipoNarrative
                Es modificadorfalse
                Must Supportfalse
                Resumenfalse
                Nombres alternativosnarrative, html, xhtml, display
                Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                12. Patient.contained
                Definición

                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.

                ResumenContained, inline Resources
                Comentarios

                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.

                Control0..*
                Este elemento está afectado por las siguientes invariantes: dom-2, dom-4, dom-3, dom-5
                TipoResource
                Es modificadorfalse
                Must Supportfalse
                Resumenfalse
                Nombres alternativosinline resources, anonymous resources, contained resources
                14. Patient.extension
                Definición

                An Extension

                ResumenExtensiones: la nacionalidad
                Control0..*
                TipoExtension
                Es modificadorfalse
                Must Supportfalse
                Resumenfalse
                Invariantesele-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())
                SlicingEste elemento introduce un conjunto de slices en Patient.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
                • value @ url
                • 16. Patient.extension:nacionalidad
                  Slice Namenacionalidad
                  Definición

                  País del que el paciente es nacional. Una persona con doble nacionalidad lleva dos.

                  ResumenNacionalidad: una por país
                  Control0..*
                  TipoExtension(Patient Nationality) (Complex Extension)
                  Es modificadorfalse
                  Must Supporttrue
                  Invariantesele-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())
                  18. Patient.extension:nacionalidad.id
                  Definición

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

                  ResumenUnique id for inter-element referencing
                  Control0..1
                  Este elemento está afectado por las siguientes invariantes: ele-1
                  Tipoid
                  Es modificadorfalse
                  Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                  Resumenfalse
                  20. Patient.extension:nacionalidad.extension
                  Definición

                  An Extension

                  ResumenPaís y periodo de la nacionalidad
                  Control1..*
                  TipoExtension
                  Es modificadorfalse
                  Resumenfalse
                  Invariantesele-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())
                  SlicingEste elemento introduce un conjunto de slices en Patient.extension.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
                  • value @ url
                  • 22. Patient.extension:nacionalidad.extension:code
                    Slice Namecode
                    Definición

                    An Extension

                    ResumenPaís de la nacionalidad
                    Control1..1
                    TipoExtension
                    Es modificadorfalse
                    Must Supporttrue
                    Resumenfalse
                    Invariantesele-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())
                    24. Patient.extension:nacionalidad.extension:code.id
                    Definición

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

                    ResumenUnique id for inter-element referencing
                    Control0..1
                    Este elemento está afectado por las siguientes invariantes: ele-1
                    Tipoid
                    Es modificadorfalse
                    Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                    Resumenfalse
                    26. Patient.extension:nacionalidad.extension:code.extension
                    Definición

                    An Extension

                    ResumenExtension
                    Control0..0
                    TipoExtension
                    Es modificadorfalse
                    Resumenfalse
                    Invariantesele-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())
                    SlicingEste elemento introduce un conjunto de slices en Patient.extension.extension.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
                    • value @ url
                    • 28. Patient.extension:nacionalidad.extension:code.url
                      Definición

                      Source of the definition for the extension code - a logical name or a URL.

                      Resumenidentifies the meaning of the extension
                      Comentarios

                      The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                      Control1..1
                      Tipouri
                      Es modificadorfalse
                      Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                      Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                      Resumenfalse
                      Fixed Valuecode
                      30. Patient.extension:nacionalidad.extension:code.value[x]
                      Definición

                      Código ISO 3166-1 alfa-3 del país, con su nombre en español en text. Si no se conoce, lleva la extensión data-absent-reason con unknown; si la persona es apátrida, not-applicable y el texto Apátrida.

                      ResumenCódigo ISO 3166-1 alfa-3 del país (CRI), con el nombre en español en text
                      Control1..1
                      Este elemento está afectado por las siguientes invariantes: ext-1
                      VinculaciónSalvo que no sean adecuados, estos códigos DEBEN tomarse de Iso316613
                      (extensible to http://hl7.org/fhir/ValueSet/iso3166-1-3)
                      TipoCodeableConcept
                      Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
                      Es modificadorfalse
                      Resumenfalse
                      Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      32. Patient.extension:nacionalidad.extension:period
                      Slice Nameperiod
                      Definición

                      Period when nationality was effective.

                      ResumenNationality Period
                      Control0..1
                      TipoExtension
                      Es modificadorfalse
                      Resumenfalse
                      Invariantesele-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())
                      34. Patient.extension:nacionalidad.extension:period.id
                      Definición

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

                      ResumenUnique id for inter-element referencing
                      Control0..1
                      Este elemento está afectado por las siguientes invariantes: ele-1
                      Tipoid
                      Es modificadorfalse
                      Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                      Resumenfalse
                      36. Patient.extension:nacionalidad.extension:period.extension
                      Definición

                      An Extension

                      ResumenExtension
                      Control0..0
                      TipoExtension
                      Es modificadorfalse
                      Resumenfalse
                      Invariantesele-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())
                      SlicingEste elemento introduce un conjunto de slices en Patient.extension.extension.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
                      • value @ url
                      • 38. Patient.extension:nacionalidad.extension:period.url
                        Definición

                        Source of the definition for the extension code - a logical name or a URL.

                        Resumenidentifies the meaning of the extension
                        Comentarios

                        The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                        Control1..1
                        Tipouri
                        Es modificadorfalse
                        Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                        Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                        Resumenfalse
                        Fixed Valueperiod
                        40. Patient.extension:nacionalidad.extension:period.value[x]
                        Definición

                        Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

                        ResumenValue of extension
                        Control1..1
                        Este elemento está afectado por las siguientes invariantes: ext-1
                        TipoPeriod
                        Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
                        Es modificadorfalse
                        Resumenfalse
                        Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        42. Patient.extension:nacionalidad.url
                        Definición

                        Source of the definition for the extension code - a logical name or a URL.

                        Resumenidentifies the meaning of the extension
                        Comentarios

                        The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                        Control1..1
                        Tipouri
                        Es modificadorfalse
                        Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                        Resumenfalse
                        Fixed Valuehttp://hl7.org/fhir/StructureDefinition/patient-nationality
                        44. Patient.extension:nacionalidad.value[x]
                        Definición

                        Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

                        ResumenValue of extension
                        Control0..0
                        Este elemento está afectado por las siguientes invariantes: ext-1
                        TipoElección de: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, integer64, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, CodeableReference, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, RatioRange, Reference, SampledData, Signature, Timing, ContactDetail, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Availability, ExtendedContactDetail, Dosage, Meta
                        Es modificadorfalse
                        Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                        Resumenfalse
                        Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        46. Patient.modifierExtension
                        Definición

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

                        ResumenExtensions that cannot be ignored
                        Comentarios

                        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.

                        Control0..*
                        TipoExtension
                        Es modificadortrue porque Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
                        Must Supportfalse
                        Resumentrue
                        Requisitos

                        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.

                        Nombres alternativosextensions, user content
                        Invariantesele-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())
                        48. Patient.identifier
                        Definición

                        Documento o número con que se identifica al paciente. Puede tener varios (cédula y pasaporte), y al menos uno vigente. Si no tiene ningún documento oficial, se usa el expediente del establecimiento como identificador provisional.

                        ResumenIdentificación del paciente: cédula, DIMEX, pasaporte, número CCSS o expediente
                        NotaThis is a business identifier, not a resource identifier (see discusión)
                        Control1..*
                        TipoIdentifier
                        Es modificadorfalse
                        Must Supporttrue
                        Resumentrue
                        Requisitos

                        Patients are almost always assigned specific numerical identifiers.

                        Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                        cr-paciente-identificador-system: El identificador es una cédula nacional, un DIMEX, un número CCSS, un pasaporte o un expediente, con su system de https://hl7.or.cr/fhir/sid/. (system = 'https://hl7.or.cr/fhir/sid/cedula-nacional' or system = 'https://hl7.or.cr/fhir/sid/dimex' or system = 'https://hl7.or.cr/fhir/sid/ccss' or system.startsWith('https://hl7.or.cr/fhir/sid/pasaporte/') or system.startsWith('https://hl7.or.cr/fhir/sid/expediente/'))
                        cr-cedula-nacional-value: Una cédula nacional (system https://hl7.or.cr/fhir/sid/cedula-nacional) tiene 9 dígitos, sin guiones ni cero inicial. (system = 'https://hl7.or.cr/fhir/sid/cedula-nacional' implies value.matches('^[1-9][0-9]{8}$'))
                        cr-dimex-value: Un DIMEX (system https://hl7.or.cr/fhir/sid/dimex) tiene 11 o 12 dígitos, sin ceros a la izquierda. (system = 'https://hl7.or.cr/fhir/sid/dimex' implies value.matches('^[1-9][0-9]{10,11}$'))
                        cr-pasaporte-system: Un pasaporte usa el system https://hl7.or.cr/fhir/sid/pasaporte/ seguido del código ISO 3166-1 alfa-3 del país emisor, y su número tiene de 6 a 15 letras o dígitos. (system.startsWith('https://hl7.or.cr/fhir/sid/pasaporte') implies (system.matches('^https://hl7\\.or\\.cr/fhir/sid/pasaporte/[A-Z]{3}$') and value.matches('^[A-Za-z0-9]{6,15}$')))
                        cr-expediente-system: Un expediente usa el system https://hl7.or.cr/fhir/sid/expediente/ seguido del código del establecimiento (cj-, cn- o dimex- y el identificador del titular). (system.startsWith('https://hl7.or.cr/fhir/sid/expediente') implies system.matches('^https://hl7\\.or\\.cr/fhir/sid/expediente/(cj-[1-9][0-9]{9}|cn-[1-9][0-9]{8}|dimex-[1-9][0-9]{10,11})$'))
                        cr-expediente-assigner: Un expediente indica el establecimiento que lo asignó (assigner). (system.startsWith('https://hl7.or.cr/fhir/sid/expediente/') implies assigner.exists())
                        cr-paciente-identificador-uso: Un identificador vigente es temp si es un expediente y official si es de otro tipo; uno que ya no está vigente es old. (iif(system.startsWith('https://hl7.or.cr/fhir/sid/expediente/'), use = 'temp' or use = 'old', use = 'official' or use = 'old'))
                        50. Patient.identifier.id
                        Definición

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

                        ResumenUnique id for inter-element referencing
                        Control0..1
                        Este elemento está afectado por las siguientes invariantes: ele-1
                        Tipoid
                        Es modificadorfalse
                        Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                        Resumenfalse
                        52. Patient.identifier.extension
                        Definición

                        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.

                        ResumenAdditional content defined by implementations
                        Comentarios

                        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.

                        Control0..*
                        TipoExtension
                        Es modificadorfalse
                        Resumenfalse
                        Nombres alternativosextensions, user content
                        Invariantesele-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())
                        SlicingEste elemento introduce un conjunto de slices en Patient.identifier.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
                        • value @ url
                        • 54. Patient.identifier.use
                          Definición

                          Indica si el identificador está vigente: official para un documento oficial vigente, temp para el expediente (identificador provisional) y old para uno que se conserva solo como histórico.

                          Resumenofficial (temp para el expediente) si está vigente; old si es histórico
                          Comentarios

                          Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

                          Control1..1
                          VinculaciónLos códigos DEBEN tomarse de IdentifierUse
                          (required to http://hl7.org/fhir/ValueSet/identifier-use)
                          Tipocode
                          Es modificadortrue porque This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one.
                          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                          Must Supporttrue
                          Resumentrue
                          Requisitos

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

                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          56. Patient.identifier.type
                          Definición

                          Tipo de documento del catálogo de tipos de identificación de Costa Rica. Es opcional, porque el system ya dice de qué documento se trata; puede llevar además el código equivalente de HL7 v2-0203 (NI, PRC, PPN, NH, MR).

                          ResumenTipo de documento (opcional: el system ya lo indica)
                          Comentarios

                          This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.

                          Control0..1
                          VinculaciónLos códigos DEBEN tomarse de Tipos de identificación del paciente
                          (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-tipo-identificacion)
                          TipoCodeableConcept
                          Es modificadorfalse
                          Must Supporttrue
                          Resumentrue
                          Requisitos

                          Allows users to make use of identifiers when the identifier system is not known.

                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          58. Patient.identifier.system
                          Definición

                          Sistema de identificación, que dice qué documento es. El pasaporte lleva al final el código ISO 3166-1 alfa-3 del país emisor (pasaporte/USA) y el expediente, el código del establecimiento que lo asignó (expediente/cj-3101123456).

                          Resumenhttps://hl7.or.cr/fhir/sid/{cedula-nacional | dimex | ccss | pasaporte/{país} | expediente/{establecimiento}}
                          Comentarios

                          Identifier.system is always case sensitive.

                          Control1..1
                          Tipouri
                          Es modificadorfalse
                          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                          Must Supporttrue
                          Resumentrue
                          Requisitos

                          There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

                          ExampleGeneral: http://www.acme.com/identifiers/patient
                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          60. Patient.identifier.value
                          Definición

                          Número de identificación tal como consta en el documento: la cédula con 9 dígitos, el DIMEX con 11 o 12 dígitos sin ceros a la izquierda y el pasaporte con 6 a 15 letras o dígitos.

                          ResumenNúmero del documento, sin guiones ni espacios
                          Comentarios

                          If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the http://hl7.org/fhir/StructureDefinition/rendered-value). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.

                          Control1..1
                          Este elemento está afectado por las siguientes invariantes: ident-1
                          Tipostring
                          Es modificadorfalse
                          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                          Must Supporttrue
                          Resumentrue
                          ExampleGeneral: 123456
                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          62. Patient.identifier.period
                          Definición

                          Time period during which identifier is/was valid for use.

                          ResumenTime period when id is/was valid for use
                          Control0..1
                          TipoPeriod
                          Es modificadorfalse
                          Resumentrue
                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          64. Patient.identifier.assigner
                          Definición

                          Organización que asignó el identificador. Es obligatoria en el expediente, donde es el establecimiento de salud; en el pasaporte, puede llevar solo el nombre del país emisor en display.

                          ResumenEstablecimiento que asignó el expediente (obligatorio en el expediente)
                          Comentarios

                          The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.

                          Control0..1
                          TipoReference(Organización)
                          Es modificadorfalse
                          Must Supporttrue
                          Resumentrue
                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          66. Patient.active
                          Definición

                          Whether this patient record is in active use. Many systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.

                          It is often used to filter patient lists to exclude inactive patients

                          Deceased patients may also be marked as inactive for the same reasons, but may be active for some time after death.

                          ResumenWhether this patient's record is in active use
                          Comentarios

                          If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient.

                          Control0..1
                          Tipoboolean
                          Es modificadortrue porque This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid
                          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                          Must Supportfalse
                          Resumentrue
                          Requisitos

                          Need to be able to mark a patient record as not to be used because it was created in error.

                          Meaning if MissingThis resource is generally assumed to be active if no value is provided for the active element
                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          68. Patient.name
                          Definición

                          Nombre del paciente tal como consta en su documento de identidad: hasta dos nombres y los apellidos, juntos en family y por separado en las extensiones del primer y el segundo apellido.

                          ResumenNombre oficial, según el documento de identidad
                          Comentarios

                          A patient may have multiple names with different uses or applicable periods. For animals, the name is a "HumanName" in the sense that is assigned and used by humans and has the same patterns. Animal names may be communicated as given names, and optionally may include a family name.

                          Control1..1
                          TipoHumanName(Nombre)
                          Es modificadorfalse
                          Must Supporttrue
                          Resumentrue
                          Requisitos

                          Need to be able to track the patient by multiple names. Examples are your official name and a partner name.

                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          70. Patient.telecom
                          Definición

                          Teléfono o correo electrónico del paciente, para contactarlo, enviarle recordatorios y darle seguimiento. system dice qué es (phone, email) y use, de qué tipo (mobile, home, work). Los teléfonos van en formato E.164: en Costa Rica, +506 y 8 dígitos.

                          ResumenTeléfono (+506 y 8 dígitos) o correo electrónico
                          Comentarios

                          A Patient 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. The address might not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone).

                          Control0..*
                          TipoContactPoint
                          Es modificadorfalse
                          Must Supporttrue
                          Resumentrue
                          Requisitos

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

                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          cr-telefono: Un teléfono está en formato E.164 (+ y de 8 a 15 dígitos, sin espacios ni guiones), con una extensión interna opcional después de ;ext=. En Costa Rica (+506) tiene 8 dígitos que empiezan de 2 a 8, o es un número 800 o 900 de 10 dígitos. ((system = 'phone' or system = 'fax' or system = 'sms') implies (value.matches('^\\+[1-9][0-9]{7,14}(;ext=[0-9]{1,6})?$') and (value.startsWith('+506') implies value.matches('^\\+506([2-8][0-9]{7}|[89]00[0-9]{7})(;ext=[0-9]{1,6})?$'))))
                          72. Patient.gender
                          Definición

                          Sexo asignado al nacer, con fines clínicos, farmacológicos y de riesgo médico. En este perfil, gender lleva siempre el sexo asignado al nacer, no un sexo administrativo ni la identidad de género.

                          ResumenSexo asignado al nacer: female | male | unknown
                          Comentarios

                          The gender might not match the biological sex as determined by genetics or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than male and female, though the vast majority of systems and contexts only support male and female. Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific sex or gender aspect of interest (anatomical, chromosomal, social, etc.) However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice. Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosomal and other gender aspects. For example, an alert about a hysterectomy on a male should be handled as a warning or overridable error, not a "hard" error. See the Patient Gender and Sex section for additional information about communicating patient gender and sex.

                          Control1..1
                          VinculaciónLos códigos DEBEN tomarse de Sexo asignado al nacer
                          (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-sexo-al-nacer)
                          Tipocode
                          Es modificadorfalse
                          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                          Must Supporttrue
                          Resumentrue
                          Requisitos

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

                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          74. Patient.birthDate
                          Definición

                          Fecha de nacimiento que consta en el documento de identidad. No es posterior a hoy ni anterior a 130 años.

                          ResumenFecha de nacimiento, según el documento de identidad
                          Comentarios

                          Partial dates are allowed if the specific date of birth is unknown. There is a standard extension "patient-birthTime" available that should be used where Time is required (such as in maternity/infant care systems).

                          Control1..1
                          Tipodate
                          Es modificadorfalse
                          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                          Must Supporttrue
                          Resumentrue
                          Requisitos

                          Age of the individual drives many clinical processes.

                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          cr-persona-fecha-nacimiento: La fecha de nacimiento no es posterior a hoy ni anterior a 130 años. ($this <= today() and $this >= today() - 130 years)
                          LOINC Code21112-8
                          76. Patient.deceased[x]
                          Definición

                          Indicates if the individual is deceased or not.

                          ResumenIndicates if the individual is deceased or not
                          Comentarios

                          If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.

                          Control0..1
                          TipoElección de: boolean, dateTime
                          Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
                          Es modificadortrue porque This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.
                          Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                          Must Supportfalse
                          Resumentrue
                          Requisitos

                          The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.

                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          78. Patient.address
                          Definición

                          Dirección del paciente: su residencia habitual (home) o una dirección temporal (temp), por ejemplo donde se aloja durante un tratamiento. En Costa Rica, la provincia, el cantón y el distrito llevan los códigos de la DTA.

                          ResumenDirección en Costa Rica o en otro país
                          Comentarios

                          Patient may have multiple addresses with different uses or applicable periods.

                          Control0..*
                          TipoAddress(Dirección)
                          Es modificadorfalse
                          Must Supporttrue
                          Resumentrue
                          Requisitos

                          May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.

                          Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                          cr-direccion-uso-persona: La dirección de una persona es su residencia (home) o una dirección temporal (temp). (use.empty() or use = 'home' or use = 'temp')
                          80. Patient.address.id
                          Definición

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

                          ResumenUnique id for inter-element referencing
                          Control0..1
                          Este elemento está afectado por las siguientes invariantes: ele-1
                          Tipoid
                          Es modificadorfalse
                          Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                          Resumenfalse
                          82. Patient.address.extension
                          Definición

                          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.

                          ResumenAdditional content defined by implementations
                          Comentarios

                          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.

                          Control0..*
                          TipoExtension
                          Es modificadorfalse
                          Resumenfalse
                          Nombres alternativosextensions, user content
                          Invariantesele-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())
                          SlicingEste elemento introduce un conjunto de slices en Patient.address.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
                          • value @ url
                          • 84. Patient.address.extension:barrioPoblado
                            Slice NamebarrioPoblado
                            Definición

                            Nombre del barrio o del poblado dentro del distrito, tal como aparece en la DTA publicada en La Gaceta. Texto de hasta 100 caracteres: el SNIT no publica barrios ni poblados con código.

                            ResumenBarrio (zona urbana) o poblado (zona rural)
                            Control0..1
                            TipoExtension(ADXP Precinct) (Extension Type: string)
                            Es modificadorfalse
                            Must Supporttrue
                            Resumenfalse
                            Invariantesele-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())
                            86. Patient.address.extension:barrioPoblado.id
                            Definición

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

                            ResumenUnique id for inter-element referencing
                            Control0..1
                            Este elemento está afectado por las siguientes invariantes: ele-1
                            Tipoid
                            Es modificadorfalse
                            Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                            Resumenfalse
                            88. Patient.address.extension:barrioPoblado.extension
                            Definición

                            An Extension

                            ResumenExtension
                            Control0..0
                            TipoExtension
                            Es modificadorfalse
                            Resumenfalse
                            Invariantesele-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())
                            SlicingEste elemento introduce un conjunto de slices en Patient.address.extension.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
                            • value @ url
                            • 90. Patient.address.extension:barrioPoblado.url
                              Definición

                              Source of the definition for the extension code - a logical name or a URL.

                              Resumenidentifies the meaning of the extension
                              Comentarios

                              The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                              Control1..1
                              Tipouri
                              Es modificadorfalse
                              Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                              Resumenfalse
                              Fixed Valuehttp://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct
                              92. Patient.address.extension:barrioPoblado.value[x]
                              Definición

                              Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

                              ResumenNombre del barrio o del poblado
                              Control1..1
                              Este elemento está afectado por las siguientes invariantes: ext-1
                              Tipostring
                              Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
                              Es modificadorfalse
                              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                              Resumenfalse
                              Max Length:100
                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              94. Patient.address.use
                              Definición

                              Uso de la dirección: home para la residencia habitual, de la que hay a lo sumo una, y temp para una dirección temporal.

                              Resumenhome (residencia) | temp (temporal)
                              Comentarios

                              Applications can assume that an address is current unless it explicitly says that it is temporary or old.

                              Control1..1
                              VinculaciónLos códigos DEBEN tomarse de AddressUse
                              (required to http://hl7.org/fhir/ValueSet/address-use|5.0.0)

                              The use of an address (home / work / etc.).

                              Tipocode
                              Es modificadortrue porque This is labeled as "Is Modifier" because applications should not mistake a temporary or old address etc.for a current/permanent one
                              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                              Must Supporttrue
                              Resumentrue
                              Requisitos

                              Allows an appropriate address to be chosen from a list of many.

                              ExampleGeneral: home
                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              96. Patient.address.type
                              Definición

                              Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.

                              Resumenpostal | physical | both
                              Comentarios

                              The definition of Address states that "address is intended to describe postal addresses, not physical locations". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the Location resource).

                              Control0..1
                              VinculaciónLos códigos DEBEN tomarse de AddressType
                              (required to http://hl7.org/fhir/ValueSet/address-type|5.0.0)

                              The type of an address (physical / postal).

                              Tipocode
                              Es modificadorfalse
                              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                              Resumentrue
                              ExampleGeneral: both
                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              98. Patient.address.text
                              Definición

                              Dirección completa tal como se muestra o se imprime, con los nombres de la provincia, el cantón y el distrito.

                              ResumenDirección completa, con los nombres (no los códigos) de provincia, cantón y distrito
                              Comentarios

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

                              Control0..1
                              Tipostring
                              Es modificadorfalse
                              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                              Must Supporttrue
                              Resumentrue
                              Requisitos

                              A renderable, unencoded form.

                              Max Length:250
                              ExampleGeneral: 137 Nowhere Street, Erewhon 9132
                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              100. Patient.address.line
                              Definición

                              Descripción para llegar al lugar: puntos de referencia en Costa Rica, o calle, número y apartamento en el extranjero.

                              ResumenSeñas (Costa Rica) o calle y número (otro país)
                              Control0..*
                              Tipostring
                              Es modificadorfalse
                              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                              Must Supporttrue
                              Resumentrue
                              Max Length:250
                              ExampleGeneral: 137 Nowhere Street
                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              102. Patient.address.city
                              Definición

                              En Costa Rica, el código del cantón de la DTA (3 dígitos), que pertenece a la provincia. En otro país, la ciudad, en texto libre.

                              ResumenCantón (código de la DTA en Costa Rica) o ciudad
                              Control0..1
                              VinculaciónLos códigos DEBERÍAN tomarse de Cantones de Costa Rica
                              (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-canton)

                              En Costa Rica (CRI), el código de cantón de la DTA es obligatorio y pertenece a la provincia (invariantes cr-direccion-dta y cr-direccion-concordancia). En otro país, texto libre.

                              Tipostring
                              Es modificadorfalse
                              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                              Must Supporttrue
                              Resumentrue
                              Nombres alternativosMunicpality
                              ExampleGeneral: Erewhon
                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              104. Patient.address.district
                              Definición

                              En Costa Rica, el código del distrito de la DTA (5 dígitos), que pertenece al cantón. No aplica a otros países.

                              ResumenDistrito (código de la DTA en Costa Rica)
                              Comentarios

                              District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.

                              Control0..1
                              VinculaciónLos códigos DEBERÍAN tomarse de Distritos de Costa Rica
                              (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-distrito)

                              En Costa Rica (CRI), el código de distrito de la DTA es obligatorio y pertenece al cantón (invariantes cr-direccion-dta y cr-direccion-concordancia).

                              Tipostring
                              Es modificadorfalse
                              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                              Must Supporttrue
                              Resumentrue
                              Nombres alternativosCounty
                              ExampleGeneral: Madison
                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              106. Patient.address.state
                              Definición

                              En Costa Rica, el código de la provincia de la División Territorial Administrativa del SNIT (1 a 7). En otro país, el estado, la región o el departamento, en texto libre.

                              ResumenProvincia (código de la DTA en Costa Rica) o estado, región o departamento
                              Control0..1
                              VinculaciónLos códigos DEBERÍAN tomarse de Provincias de Costa Rica
                              (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-provincia)

                              En Costa Rica (CRI), el código de provincia de la DTA es obligatorio (invariantes cr-direccion-dta y cr-direccion-concordancia). En otro país, texto libre.

                              Tipostring
                              Es modificadorfalse
                              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                              Must Supporttrue
                              Resumentrue
                              Nombres alternativosProvince, Territory
                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              108. Patient.address.postalCode
                              Definición

                              Código postal, opcional en cualquier país.

                              ResumenCódigo postal
                              Control0..1
                              Tipostring
                              Es modificadorfalse
                              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                              Must Supporttrue
                              Resumentrue
                              Nombres alternativosZip
                              ExampleGeneral: 9132
                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              110. Patient.address.country
                              Definición

                              País de la dirección, con su código ISO 3166-1 alfa-3 en mayúsculas. Si es CRI, la provincia, el cantón y el distrito son obligatorios y llevan los códigos de la DTA.

                              ResumenPaís, con código ISO 3166-1 alfa-3 (CRI para Costa Rica)
                              Comentarios

                              ISO 3166 2- or 3- letter codes MAY be used in place of a human readable country name.

                              Control1..1
                              VinculaciónLos códigos DEBEN tomarse de Iso316613
                              (required to http://hl7.org/fhir/ValueSet/iso3166-1-3)
                              Tipostring
                              Es modificadorfalse
                              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                              Must Supporttrue
                              Resumentrue
                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              112. Patient.address.period
                              Definición

                              Time period when address was/is in use.

                              ResumenTime period when address was/is in use
                              Control0..1
                              TipoPeriod
                              Es modificadorfalse
                              Resumentrue
                              Requisitos

                              Allows addresses to be placed in historical context.

                              ExampleGeneral: { "start" : "2010-03-23", "end" : "2010-07-01" }
                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              114. Patient.maritalStatus
                              Definición

                              Estado civil declarado por el paciente: soltero (S), casado (M), divorciado (D), viudo (W), unión de hecho (T) o desconocido (UNK). No condiciona la atención.

                              ResumenEstado civil: soltero, casado, divorciado, viudo o unión de hecho
                              Control0..1
                              VinculaciónLos códigos DEBEN tomarse de Estado civil
                              (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-estado-civil)
                              TipoCodeableConcept
                              Es modificadorfalse
                              Must Supporttrue
                              Resumenfalse
                              Requisitos

                              Most, if not all systems capture it.

                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              116. Patient.multipleBirth[x]
                              Definición

                              Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer).

                              ResumenWhether patient is part of a multiple birth
                              Comentarios

                              Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in triplets would be valueInteger=2 and the third born would have valueInteger=3 If a boolean value was provided for this triplets example, then all 3 patient records would have valueBoolean=true (the ordering is not indicated).

                              Control0..1
                              TipoElección de: boolean, integer
                              Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
                              Es modificadorfalse
                              Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                              Must Supportfalse
                              Resumenfalse
                              Requisitos

                              For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.

                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              118. Patient.photo
                              Definición

                              Image of the patient.

                              ResumenImage of the patient
                              Comentarios

                              Guidelines:

                              • Use id photos, not clinical photos.
                              • Limit dimensions to thumbnail.
                              • Keep byte count low to ease resource updates.
                              Control0..*
                              TipoAttachment
                              Es modificadorfalse
                              Must Supportfalse
                              Resumenfalse
                              Requisitos

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

                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              120. Patient.contact
                              Definición

                              Persona a quien contactar por el paciente: un familiar, su cónyuge o alguien que actúa en nombre de una institución. El tutor legal y el progenitor de una persona menor de edad se registran como persona relacionada, no aquí.

                              ResumenContacto de emergencia, familiar o de una institución
                              Comentarios

                              Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact.

                              Control0..*
                              TipoBackboneElement
                              Es modificadorfalse
                              Must Supporttrue
                              Resumenfalse
                              Requisitos

                              Need to track people you can contact about the patient.

                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              pat-1: SHALL at least contain a contact's details or a reference to an organization (name.exists() or telecom.exists() or address.exists() or organization.exists())
                              122. Patient.contact.id
                              Definición

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

                              ResumenUnique id for inter-element referencing
                              Control0..1
                              Este elemento está afectado por las siguientes invariantes: ele-1
                              Tipostring
                              Es modificadorfalse
                              Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                              Resumenfalse
                              124. Patient.contact.extension
                              Definición

                              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.

                              ResumenAdditional content defined by implementations
                              Comentarios

                              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.

                              Control0..*
                              TipoExtension
                              Es modificadorfalse
                              Resumenfalse
                              Nombres alternativosextensions, user content
                              Invariantesele-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())
                              126. Patient.contact.modifierExtension
                              Definición

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

                              ResumenExtensions that cannot be ignored even if unrecognized
                              Comentarios

                              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.

                              Control0..*
                              TipoExtension
                              Es modificadortrue porque Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                              Resumentrue
                              Requisitos

                              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.

                              Nombres alternativosextensions, user content, modifiers
                              Invariantesele-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())
                              128. Patient.contact.relationship
                              Definición

                              Vínculo del contacto con el paciente: cónyuge (SPS), padre (FTH), madre (MTH), tutor legal (GUARD), hijo (CHILD), hermano (SIB) u otro familiar (FAMMEMB). Puede tener varios.

                              ResumenRelación con el paciente: cónyuge, padre, madre, tutor, hijo, hermano u otro familiar
                              Control1..*
                              VinculaciónSalvo que no sean adecuados, estos códigos DEBEN tomarse de Tipo de relación con el paciente
                              (extensible to https://hl7.or.cr/fhir/terminology/ValueSet/cr-tipo-relacion-contacto)
                              TipoCodeableConcept
                              Es modificadorfalse
                              Must Supporttrue
                              Resumenfalse
                              Requisitos

                              Used to determine which contact person is the most relevant to approach, depending on circumstances.

                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              130. Patient.contact.name
                              Definición

                              Nombre del contacto, con el mismo perfil del nombre del paciente.

                              ResumenNombre del contacto
                              Control1..1
                              Este elemento está afectado por las siguientes invariantes: pat-1
                              TipoHumanName(Nombre)
                              Es modificadorfalse
                              Must Supporttrue
                              Resumenfalse
                              Requisitos

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

                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              132. Patient.contact.telecom
                              Definición

                              Teléfono o correo electrónico del contacto. Los teléfonos van en formato E.164: en Costa Rica, +506 y 8 dígitos.

                              ResumenTeléfono (+506 y 8 dígitos) o correo electrónico del contacto
                              Comentarios

                              Contact 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.

                              Control0..*
                              Este elemento está afectado por las siguientes invariantes: pat-1
                              TipoContactPoint
                              Es modificadorfalse
                              Must Supporttrue
                              Resumenfalse
                              Requisitos

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

                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              cr-telefono: Un teléfono está en formato E.164 (+ y de 8 a 15 dígitos, sin espacios ni guiones), con una extensión interna opcional después de ;ext=. En Costa Rica (+506) tiene 8 dígitos que empiezan de 2 a 8, o es un número 800 o 900 de 10 dígitos. ((system = 'phone' or system = 'fax' or system = 'sms') implies (value.matches('^\\+[1-9][0-9]{7,14}(;ext=[0-9]{1,6})?$') and (value.startsWith('+506') implies value.matches('^\\+506([2-8][0-9]{7}|[89]00[0-9]{7})(;ext=[0-9]{1,6})?$'))))
                              134. Patient.contact.address
                              Definición

                              Dirección del contacto, con el mismo perfil de la dirección del paciente.

                              ResumenDirección del contacto
                              Control0..1
                              Este elemento está afectado por las siguientes invariantes: pat-1
                              TipoAddress(Dirección)
                              Es modificadorfalse
                              Must Supporttrue
                              Resumenfalse
                              Requisitos

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

                              Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                              cr-direccion-uso-persona: La dirección de una persona es su residencia (home) o una dirección temporal (temp). (use.empty() or use = 'home' or use = 'temp')
                              136. Patient.contact.address.id
                              Definición

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

                              ResumenUnique id for inter-element referencing
                              Control0..1
                              Este elemento está afectado por las siguientes invariantes: ele-1
                              Tipoid
                              Es modificadorfalse
                              Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                              Resumenfalse
                              138. Patient.contact.address.extension
                              Definición

                              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.

                              ResumenAdditional content defined by implementations
                              Comentarios

                              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.

                              Control0..*
                              TipoExtension
                              Es modificadorfalse
                              Resumenfalse
                              Nombres alternativosextensions, user content
                              Invariantesele-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())
                              SlicingEste elemento introduce un conjunto de slices en Patient.contact.address.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
                              • value @ url
                              • 140. Patient.contact.address.extension:barrioPoblado
                                Slice NamebarrioPoblado
                                Definición

                                Nombre del barrio o del poblado dentro del distrito, tal como aparece en la DTA publicada en La Gaceta. Texto de hasta 100 caracteres: el SNIT no publica barrios ni poblados con código.

                                ResumenBarrio (zona urbana) o poblado (zona rural)
                                Control0..1
                                TipoExtension(ADXP Precinct) (Extension Type: string)
                                Es modificadorfalse
                                Must Supporttrue
                                Resumenfalse
                                Invariantesele-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())
                                142. Patient.contact.address.extension:barrioPoblado.id
                                Definición

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

                                ResumenUnique id for inter-element referencing
                                Control0..1
                                Este elemento está afectado por las siguientes invariantes: ele-1
                                Tipoid
                                Es modificadorfalse
                                Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                                Resumenfalse
                                144. Patient.contact.address.extension:barrioPoblado.extension
                                Definición

                                An Extension

                                ResumenExtension
                                Control0..0
                                TipoExtension
                                Es modificadorfalse
                                Resumenfalse
                                Invariantesele-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())
                                SlicingEste elemento introduce un conjunto de slices en Patient.contact.address.extension.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
                                • value @ url
                                • 146. Patient.contact.address.extension:barrioPoblado.url
                                  Definición

                                  Source of the definition for the extension code - a logical name or a URL.

                                  Resumenidentifies the meaning of the extension
                                  Comentarios

                                  The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                                  Control1..1
                                  Tipouri
                                  Es modificadorfalse
                                  Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                                  Resumenfalse
                                  Fixed Valuehttp://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct
                                  148. Patient.contact.address.extension:barrioPoblado.value[x]
                                  Definición

                                  Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

                                  ResumenNombre del barrio o del poblado
                                  Control1..1
                                  Este elemento está afectado por las siguientes invariantes: ext-1
                                  Tipostring
                                  Nota sobre [x]VeaElección de tipos de datospara más información sobre cómo usar [x]
                                  Es modificadorfalse
                                  Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                  Resumenfalse
                                  Max Length:100
                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  150. Patient.contact.address.use
                                  Definición

                                  The purpose of this address.

                                  Resumenhome (residencia) | temp (temporal)
                                  Comentarios

                                  Applications can assume that an address is current unless it explicitly says that it is temporary or old.

                                  Control1..1
                                  VinculaciónLos códigos DEBEN tomarse de AddressUse
                                  (required to http://hl7.org/fhir/ValueSet/address-use|5.0.0)

                                  The use of an address (home / work / etc.).

                                  Tipocode
                                  Es modificadortrue porque This is labeled as "Is Modifier" because applications should not mistake a temporary or old address etc.for a current/permanent one
                                  Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                  Must Supporttrue
                                  Resumentrue
                                  Requisitos

                                  Allows an appropriate address to be chosen from a list of many.

                                  ExampleGeneral: home
                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  152. Patient.contact.address.type
                                  Definición

                                  Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.

                                  Resumenpostal | physical | both
                                  Comentarios

                                  The definition of Address states that "address is intended to describe postal addresses, not physical locations". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the Location resource).

                                  Control0..1
                                  VinculaciónLos códigos DEBEN tomarse de AddressType
                                  (required to http://hl7.org/fhir/ValueSet/address-type|5.0.0)

                                  The type of an address (physical / postal).

                                  Tipocode
                                  Es modificadorfalse
                                  Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                  Resumentrue
                                  ExampleGeneral: both
                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  154. Patient.contact.address.text
                                  Definición

                                  Dirección completa tal como se muestra o se imprime, con los nombres de la provincia, el cantón y el distrito.

                                  ResumenDirección completa, con los nombres (no los códigos) de provincia, cantón y distrito
                                  Comentarios

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

                                  Control0..1
                                  Tipostring
                                  Es modificadorfalse
                                  Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                  Must Supporttrue
                                  Resumentrue
                                  Requisitos

                                  A renderable, unencoded form.

                                  Max Length:250
                                  ExampleGeneral: 137 Nowhere Street, Erewhon 9132
                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  156. Patient.contact.address.line
                                  Definición

                                  Descripción para llegar al lugar: puntos de referencia en Costa Rica, o calle, número y apartamento en el extranjero.

                                  ResumenSeñas (Costa Rica) o calle y número (otro país)
                                  Control0..*
                                  Tipostring
                                  Es modificadorfalse
                                  Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                  Must Supporttrue
                                  Resumentrue
                                  Max Length:250
                                  ExampleGeneral: 137 Nowhere Street
                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  158. Patient.contact.address.city
                                  Definición

                                  En Costa Rica, el código del cantón de la DTA (3 dígitos), que pertenece a la provincia. En otro país, la ciudad, en texto libre.

                                  ResumenCantón (código de la DTA en Costa Rica) o ciudad
                                  Control0..1
                                  VinculaciónLos códigos DEBERÍAN tomarse de Cantones de Costa Rica
                                  (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-canton)

                                  En Costa Rica (CRI), el código de cantón de la DTA es obligatorio y pertenece a la provincia (invariantes cr-direccion-dta y cr-direccion-concordancia). En otro país, texto libre.

                                  Tipostring
                                  Es modificadorfalse
                                  Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                  Must Supporttrue
                                  Resumentrue
                                  Nombres alternativosMunicpality
                                  ExampleGeneral: Erewhon
                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  160. Patient.contact.address.district
                                  Definición

                                  En Costa Rica, el código del distrito de la DTA (5 dígitos), que pertenece al cantón. No aplica a otros países.

                                  ResumenDistrito (código de la DTA en Costa Rica)
                                  Comentarios

                                  District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.

                                  Control0..1
                                  VinculaciónLos códigos DEBERÍAN tomarse de Distritos de Costa Rica
                                  (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-distrito)

                                  En Costa Rica (CRI), el código de distrito de la DTA es obligatorio y pertenece al cantón (invariantes cr-direccion-dta y cr-direccion-concordancia).

                                  Tipostring
                                  Es modificadorfalse
                                  Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                  Must Supporttrue
                                  Resumentrue
                                  Nombres alternativosCounty
                                  ExampleGeneral: Madison
                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  162. Patient.contact.address.state
                                  Definición

                                  En Costa Rica, el código de la provincia de la División Territorial Administrativa del SNIT (1 a 7). En otro país, el estado, la región o el departamento, en texto libre.

                                  ResumenProvincia (código de la DTA en Costa Rica) o estado, región o departamento
                                  Control0..1
                                  VinculaciónLos códigos DEBERÍAN tomarse de Provincias de Costa Rica
                                  (preferred to https://hl7.or.cr/fhir/terminology/ValueSet/cr-provincia)

                                  En Costa Rica (CRI), el código de provincia de la DTA es obligatorio (invariantes cr-direccion-dta y cr-direccion-concordancia). En otro país, texto libre.

                                  Tipostring
                                  Es modificadorfalse
                                  Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                  Must Supporttrue
                                  Resumentrue
                                  Nombres alternativosProvince, Territory
                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  164. Patient.contact.address.postalCode
                                  Definición

                                  Código postal, opcional en cualquier país.

                                  ResumenCódigo postal
                                  Control0..1
                                  Tipostring
                                  Es modificadorfalse
                                  Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                  Must Supporttrue
                                  Resumentrue
                                  Nombres alternativosZip
                                  ExampleGeneral: 9132
                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  166. Patient.contact.address.country
                                  Definición

                                  País de la dirección, con su código ISO 3166-1 alfa-3 en mayúsculas. Si es CRI, la provincia, el cantón y el distrito son obligatorios y llevan los códigos de la DTA.

                                  ResumenPaís, con código ISO 3166-1 alfa-3 (CRI para Costa Rica)
                                  Comentarios

                                  ISO 3166 2- or 3- letter codes MAY be used in place of a human readable country name.

                                  Control1..1
                                  VinculaciónLos códigos DEBEN tomarse de Iso316613
                                  (required to http://hl7.org/fhir/ValueSet/iso3166-1-3)
                                  Tipostring
                                  Es modificadorfalse
                                  Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                  Must Supporttrue
                                  Resumentrue
                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  168. Patient.contact.address.period
                                  Definición

                                  Time period when address was/is in use.

                                  ResumenTime period when address was/is in use
                                  Control0..1
                                  TipoPeriod
                                  Es modificadorfalse
                                  Resumentrue
                                  Requisitos

                                  Allows addresses to be placed in historical context.

                                  ExampleGeneral: { "start" : "2010-03-23", "end" : "2010-07-01" }
                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  170. Patient.contact.gender
                                  Definición

                                  Sexo asignado al nacer del contacto.

                                  ResumenSexo asignado al nacer del contacto: female | male | unknown
                                  Control1..1
                                  VinculaciónLos códigos DEBEN tomarse de Sexo asignado al nacer
                                  (required to https://hl7.or.cr/fhir/terminology/ValueSet/cr-sexo-al-nacer)
                                  Tipocode
                                  Es modificadorfalse
                                  Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                  Must Supporttrue
                                  Resumenfalse
                                  Requisitos

                                  Needed to address the person correctly.

                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  172. Patient.contact.organization
                                  Definición

                                  Organización en cuyo nombre actúa el contacto, por ejemplo el PANI cuando tiene la tutela de una persona menor de edad. Se referencia por su cédula jurídica.

                                  ResumenInstitución en cuyo nombre actúa el contacto (PANI)
                                  Control0..1
                                  Este elemento está afectado por las siguientes invariantes: pat-1
                                  TipoReference(Organización)
                                  Es modificadorfalse
                                  Must Supporttrue
                                  Resumenfalse
                                  Requisitos

                                  For guardians or business related contacts, the organization is relevant.

                                  Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  174. Patient.contact.organization.id
                                  Definición

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

                                  ResumenUnique id for inter-element referencing
                                  Control0..1
                                  Este elemento está afectado por las siguientes invariantes: ele-1
                                  Tipoid
                                  Es modificadorfalse
                                  Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                                  Resumenfalse
                                  176. Patient.contact.organization.extension
                                  Definición

                                  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.

                                  ResumenAdditional content defined by implementations
                                  Comentarios

                                  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.

                                  Control0..*
                                  TipoExtension
                                  Es modificadorfalse
                                  Resumenfalse
                                  Nombres alternativosextensions, user content
                                  Invariantesele-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())
                                  SlicingEste elemento introduce un conjunto de slices en Patient.contact.organization.extension. Los slices sonSin orden y Open, y se distinguen con los siguientes discriminadores:
                                  • value @ url
                                  • 178. Patient.contact.organization.reference
                                    Definición

                                    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.

                                    ResumenLiteral reference, Relative, internal or absolute URL
                                    Comentarios

                                    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.

                                    Control0..1
                                    Este elemento está afectado por las siguientes invariantes: ref-2, ref-1
                                    Tipostring
                                    Es modificadorfalse
                                    Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                    Resumentrue
                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    180. Patient.contact.organization.type
                                    Definición

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

                                    ResumenType the reference refers to (e.g. "Patient") - must be a resource in resources
                                    Comentarios

                                    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.

                                    Control0..1
                                    VinculaciónSalvo que no sean adecuados, estos códigos DEBEN tomarse de ResourceType
                                    (extensible to http://hl7.org/fhir/ValueSet/resource-types|5.0.0)

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

                                    Tipouri
                                    Es modificadorfalse
                                    Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                    Resumentrue
                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    182. Patient.contact.organization.identifier
                                    Definición

                                    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.

                                    ResumenCédula jurídica de la organización
                                    Comentarios

                                    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.

                                    NotaThis is a business identifier, not a resource identifier (see discusión)
                                    Control1..1
                                    Este elemento está afectado por las siguientes invariantes: ref-2
                                    TipoIdentifier
                                    Es modificadorfalse
                                    Must Supporttrue
                                    Resumentrue
                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    cr-referencia-cedula-juridica: La organización se identifica con su cédula jurídica: system https://hl7.or.cr/fhir/sid/cedula-juridica y 10 dígitos, sin guiones ni cero inicial. (system = 'https://hl7.or.cr/fhir/sid/cedula-juridica' and value.matches('^[1-9][0-9]{9}$'))
                                    184. Patient.contact.organization.display
                                    Definición

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

                                    ResumenText alternative for the resource
                                    Comentarios

                                    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.

                                    Control0..1
                                    Este elemento está afectado por las siguientes invariantes: ref-2
                                    Tipostring
                                    Es modificadorfalse
                                    Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                    Resumentrue
                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    186. Patient.contact.period
                                    Definición

                                    The period during which this contact person or organization is valid to be contacted relating to this patient.

                                    ResumenPeriodo en que el contacto es válido
                                    Control0..1
                                    TipoPeriod
                                    Es modificadorfalse
                                    Must Supporttrue
                                    Resumenfalse
                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    188. Patient.communication
                                    Definición

                                    A language which may be used to communicate with the patient about his or her health.

                                    ResumenA language which may be used to communicate with the patient about his or her health
                                    Comentarios

                                    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 Patient.Communication associations. For animals, language is not a relevant field, and should be absent from the instance. If the Patient does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.

                                    Control0..*
                                    TipoBackboneElement
                                    Es modificadorfalse
                                    Must Supportfalse
                                    Resumenfalse
                                    Requisitos

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

                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    190. Patient.communication.id
                                    Definición

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

                                    ResumenUnique id for inter-element referencing
                                    Control0..1
                                    Este elemento está afectado por las siguientes invariantes: ele-1
                                    Tipostring
                                    Es modificadorfalse
                                    Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                                    Resumenfalse
                                    192. Patient.communication.extension
                                    Definición

                                    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.

                                    ResumenAdditional content defined by implementations
                                    Comentarios

                                    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.

                                    Control0..*
                                    TipoExtension
                                    Es modificadorfalse
                                    Resumenfalse
                                    Nombres alternativosextensions, user content
                                    Invariantesele-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())
                                    194. Patient.communication.modifierExtension
                                    Definición

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

                                    ResumenExtensions that cannot be ignored even if unrecognized
                                    Comentarios

                                    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.

                                    Control0..*
                                    TipoExtension
                                    Es modificadortrue porque Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                                    Resumentrue
                                    Requisitos

                                    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.

                                    Nombres alternativosextensions, user content, modifiers
                                    Invariantesele-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())
                                    196. Patient.communication.language
                                    Definición

                                    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.

                                    ResumenThe language which can be used to communicate with the patient about his or her health
                                    Comentarios

                                    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.

                                    Control1..1
                                    VinculaciónLos códigos DEBEN tomarse de AllLanguages
                                    (required to http://hl7.org/fhir/ValueSet/all-languages|5.0.0)

                                    IETF language tag for a human language

                                    TipoCodeableConcept
                                    Es modificadorfalse
                                    Must Supportfalse
                                    Resumenfalse
                                    Requisitos

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

                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    198. Patient.communication.preferred
                                    Definición

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

                                    ResumenLanguage preference indicator
                                    Comentarios

                                    This language is specifically identified for communicating healthcare information.

                                    Control0..1
                                    Tipoboolean
                                    Es modificadorfalse
                                    Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                    Must Supportfalse
                                    Resumenfalse
                                    Requisitos

                                    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.

                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    200. Patient.generalPractitioner
                                    Definición

                                    Patient's nominated care provider.

                                    ResumenPatient's nominated primary care provider
                                    Comentarios

                                    This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disability setting, or even organization that will provide people to perform the care provider roles. It is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources. Multiple GPs may be recorded against the patient for various reasons, such as a student that has his home GP listed along with the GP at university during the school semesters, or a "fly-in/fly-out" worker that has the onsite GP also included with his home GP to remain aware of medical issues.

                                    Jurisdictions may decide that they can profile this down to 1 if desired, or 1 per type.

                                    Control0..*
                                    TipoReference(Organization, Practitioner, PractitionerRole)
                                    Es modificadorfalse
                                    Must Supportfalse
                                    Resumenfalse
                                    Nombres alternativoscareProvider
                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    202. Patient.managingOrganization
                                    Definición

                                    Organization that is the custodian of the patient record.

                                    ResumenOrganization that is the custodian of the patient record
                                    Comentarios

                                    There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association).

                                    Control0..1
                                    TipoReference(Organization)
                                    Es modificadorfalse
                                    Must Supportfalse
                                    Resumentrue
                                    Requisitos

                                    Need to know who recognizes this patient record, manages and updates it.

                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    204. Patient.link
                                    Definición

                                    Link to a Patient or RelatedPerson resource that concerns the same actual individual.

                                    ResumenLink to a Patient or RelatedPerson resource that concerns the same actual individual
                                    Comentarios

                                    There is no assumption that linked patient records have mutual links.

                                    Control0..*
                                    TipoBackboneElement
                                    Es modificadortrue porque This element is labeled as a modifier because it might not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'
                                    Must Supportfalse
                                    Resumentrue
                                    Requisitos

                                    There are multiple use cases:

                                    • Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and
                                    • Distribution of patient information across multiple servers.
                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    206. Patient.link.id
                                    Definición

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

                                    ResumenUnique id for inter-element referencing
                                    Control0..1
                                    Este elemento está afectado por las siguientes invariantes: ele-1
                                    Tipostring
                                    Es modificadorfalse
                                    Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
                                    Resumenfalse
                                    208. Patient.link.extension
                                    Definición

                                    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.

                                    ResumenAdditional content defined by implementations
                                    Comentarios

                                    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.

                                    Control0..*
                                    TipoExtension
                                    Es modificadorfalse
                                    Resumenfalse
                                    Nombres alternativosextensions, user content
                                    Invariantesele-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())
                                    210. Patient.link.modifierExtension
                                    Definición

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

                                    ResumenExtensions that cannot be ignored even if unrecognized
                                    Comentarios

                                    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.

                                    Control0..*
                                    TipoExtension
                                    Es modificadortrue porque Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                                    Resumentrue
                                    Requisitos

                                    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.

                                    Nombres alternativosextensions, user content, modifiers
                                    Invariantesele-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())
                                    212. Patient.link.other
                                    Definición

                                    Link to a Patient or RelatedPerson resource that concerns the same actual individual.

                                    ResumenThe other patient or related person resource that the link refers to
                                    Comentarios

                                    Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.

                                    Control1..1
                                    TipoReference(Patient, RelatedPerson)
                                    Es modificadorfalse
                                    Must Supportfalse
                                    Resumentrue
                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    214. Patient.link.type
                                    Definición

                                    The type of link between this patient resource and another patient resource.

                                    Resumenreplaced-by | replaces | refer | seealso
                                    Control1..1
                                    VinculaciónLos códigos DEBEN tomarse de LinkType
                                    (required to http://hl7.org/fhir/ValueSet/link-type|5.0.0)

                                    The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code

                                    Tipocode
                                    Es modificadorfalse
                                    Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
                                    Must Supportfalse
                                    Resumentrue
                                    Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))