HL7® Iniciativa Costa Rica

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

Guía de Implementación de Resultados de Laboratorio de Costa Rica - Compilación local de desarrollo (v0.1.0), generada con las herramientas de compilación de FHIR (HL7® FHIR® Standard). Vea el directorio de versiones publicadas. Por ahora aplica solo al sector privado, hasta que el Ministerio de Salud publique la hoja de ruta de las guías de implementación públicas.

Perfil de los recursos: Patient - Resultados de Laboratorio - Descripciones detalladas

Estado de las normas de la página: Informative

Definiciones del cr-patient-laboratory-result perfil de los recursos.

Las indicaciones para interpretar el contenido de esta tabla están aquí on how to interpret the contents of this table

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)
cr-paciente-nombre-temporal: El paciente tiene como máximo una denominación temporal y un nombre conocido. (name.where(use = 'temp').count() <= 1 and name.where(use = 'official').count() <= 1)
Mappings
RIM Mapping (rim)Entity, Role, or Act,Patient[classCode=PAT]
FiveWs Pattern Mapping (w5)administrative.individual
Interface Pattern (interface)ParticipantLiving
CDA (R2) (cda)ClinicalDocument.recordTarget.patientRole
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.

ResumenReglas que rigen la interpretación del contenido del recursoA 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.text
Definición

Resumen narrativo del recurso para su interpretación humana. Este perfil no restringe el contenido, el idioma ni la correspondencia de la narrativa con los elementos de datos.


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.

ResumenResumen narrativo del recurso para su interpretación humanaText 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()))
Mappings
RIM Mapping (rim)Act.text?
6. 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.

ResumenRecursos contenidos en líneaContained, 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
Mappings
RIM Mapping (rim)N/A
8. 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: sexo asignado al nacer y 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
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 son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
10. Patient.extension:sexoAlNacer
Slice NamesexoAlNacer
Definición

An Extension

ResumenSexo asignado al nacer; unknown si se desconoce
Control1..1
TipoExtension(Sexo o género registrado) (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())
12. 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(Nacionalidad de la persona) (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())
14. Patient.modifierExtension
Definición

An Extension


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

ResumenExtensiones modificadoras que no deben ignorarse, aunque no se reconozcanExtensions 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())
16. Patient.identifier
Definición

Conjunto de identificadores que permiten reconocer de manera inequívoca al paciente dentro del flujo de intercambio de resultados de laboratorio en Costa Rica. Para este PoC se espera capturar al menos un identificador oficial o institucional que permita correlacionar el resultado HbA1c con el registro clínico correcto.


An identifier for this patient.

ResumenIdentificadores oficiales del pacienteAn identifier for this patient
NotaEste es un identificador de negocio, no un identificador del recurso (consulte 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-paciente-identificador-tipo: Si se envía el tipo, sus códigos CR o HL7 v2-0203 son coherentes con el system del identificador. (type.empty() or (system = 'https://hl7.or.cr/fhir/sid/cedula-nacional' and type.coding.where((system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion' and code = 'cedula-nacional') or (system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'NI')).exists()) or (system = 'https://hl7.or.cr/fhir/sid/dimex' and type.coding.where((system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion' and code = 'dimex') or (system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'PRC')).exists()) or (system = 'https://hl7.or.cr/fhir/sid/ccss' and type.coding.where((system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion' and code = 'ccss') or (system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'NH')).exists()) or (system.startsWith('https://hl7.or.cr/fhir/sid/pasaporte/') and type.coding.where((system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion' and code = 'pasaporte') or (system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'PPN')).exists()) or (system.startsWith('https://hl7.or.cr/fhir/sid/expediente/') and type.coding.where((system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion' and code = 'expediente-local') or (system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'MR')).exists()))
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'))
cr-patient-identifier-value-max-length: El valor del identificador no puede exceder 1000 caracteres. (value.length() <= 1000)
Mappings
FiveWs Pattern Mapping (w5)FiveWs.identifier
HL7 V2 Mapping (v2)PID-3
RIM Mapping (rim)id
Interface Pattern (interface)Participant.identifier
CDA (R2) (cda).id
18. 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()))
Mappings
HL7 V2 Mapping (v2)N/A
RIM Mapping (rim)Role.code or implied by context
20. Patient.identifier.type
Definición

Clasifica la naturaleza del identificador del paciente, por ejemplo cédula nacional u otro identificador permitido por el ecosistema de salud costarricense. Este dato ayuda a interpretar el valor del identificador y a aplicar reglas de validación o conciliación entre sistemas.


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

ResumenTipo de identificador del pacienteDescription 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.

Control10..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()))
Mappings
HL7 V2 Mapping (v2)CX.5
RIM Mapping (rim)Role.code or implied by context
22. Patient.identifier.system
Definición

URI o namespace que indica qué autoridad, dominio o sistema define el identificador del paciente. Debe permitir a los implementadores distinguir entre identificadores nacionales, institucionales o locales usados en Costa Rica.


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

ResumenSistema emisor del identificadorThe 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.

EjemploGeneral: http://www.acme.com/identifiers/patient
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)CX.4 / EI-2-4
RIM Mapping (rim)II.root or Role.id.root
servd./IdentifierType
24. Patient.identifier.value
Definición

Identificador único del paciente, utilizado para su identificación en el sistema de salud.


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

ResumenIdentificador del pacienteThe 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
EjemploGeneral: 123456
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)CX.1 / EI.1
RIM Mapping (rim)II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
servd./Value
26. 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()))
Mappings
HL7 V2 Mapping (v2)CX.4 / (CX.4,CX.9,CX.10)
RIM Mapping (rim)II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
servd./IdentifierIssuingAuthority
28. 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.

ResumenIndica si el registro del paciente está en uso activoWhether 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.

Significado cuando faltaThis 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()))
Mappings
FiveWs Pattern Mapping (w5)FiveWs.status
RIM Mapping (rim)statusCode
Interface Pattern (interface)Participant.active
CDA (R2) (cda)n/a
30. Patient.name
Definición

Nombre humano principal del paciente utilizado para visualización, confirmación manual de identidad y presentación del resultado de laboratorio al usuario clínico o administrativo. En este PoC se documenta como el nombre oficial del paciente.


A name associated with the individual.

ResumenNombre del pacienteA 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 del paciente)
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()))
cr-nombre-paciente-apellidos: family contiene los apellidos conocidos en orden, identificados por sus extensiones; se permite conocer solamente el segundo. (family.exists() implies ((family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').exists() or family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').exists()) and family = (family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').extension('valor').value.first() & iif(family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').exists() and family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').exists(), ' ', '') & family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').extension('valor').value.first())))
cr-nombre-caracteres: Los nombres y los apellidos empiezan con una letra y solo llevan letras de cualquier alfabeto (con sus signos diacríticos), espacios, apóstrofes, guiones y puntos. ((given | family | family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').extension('valor').value | family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').extension('valor').value).all($this.matches('^[\\p{L}\\p{M}][\\p{L}\\p{M} .\'’-]*$')))
cr-nombre-paciente-uso: El nombre es official con nombres o apellidos conocidos, o temp con una denominación textual sin nombres ni apellidos. ((use = 'official' and (given.exists() or family.hasValue())) or (use = 'temp' and text.hasValue() and given.empty() and family.empty()))
cr-patient-name-given-max-length: Los nombres no pueden exceder 1000 caracteres. (given.join('').length() <= 1000)
cr-patient-name-family-max-length: El apellido no puede exceder 1000 caracteres. (family.length() <= 1000)
Mappings
HL7 V2 Mapping (v2)PID-5, PID-9
RIM Mapping (rim)name
Interface Pattern (interface)Participant.name
CDA (R2) (cda).patient.name
SlicingEste elemento introduce un conjunto de slices en Patient.name. Los slices son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ use

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

32. Patient.name.use
Definición

Indica que el nombre representado corresponde al nombre oficial con el que el paciente debe ser identificado en el intercambio del resultado de HbA1c.


Identifies the purpose for this name.

ResumenUso oficial del nombreusual | official | temp | nickname | anonymous | old | maiden
Comentarios

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

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

Uso del nombre de la persona.


The use of a human name.

Tipocode
Es modificadortrue porque This is labeled as "Is Modifier" because applications should not mistake a temporary or old name 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 the appropriate name for a particular context of use to be selected from among a set of names.

Pattern Value
{
  "use" : "official"
}
<use value="official"/>
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XPN.7, but often indicated by which field contains the name
RIM Mapping (rim)unique(./use)
servd./NamePurpose
34. Patient.name.text
Definición

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

ResumenRepresentación textual del nombre completoText representation of the full name
Comentarios

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

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.

Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)implied by XPN.11
RIM Mapping (rim)./formatted
36. Patient.name.family
Definición

Primer apellido obligatorio del paciente, mapeado de primerApellido del modelo lógico. Los apellidos se representan con las extensiones nacionales CRPrimerApellido y CRSegundoApellido heredadas del perfil de Core.


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

ResumenPrimer apellido del pacienteFamily name (often called 'Surname')
Comentarios

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

Control10..1
Tipostring
Es modificadorfalse
Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
Must Supporttrue
Resumentrue
Nombres alternativossurname
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XPN.1/FN.1
RIM Mapping (rim)./part[partType = FAM]
servd./FamilyName
38. Patient.name.family.extension:primerApellido
Slice NameprimerApellido
Definición

Primer apellido de la persona, tal como consta en su documento de identidad, y el progenitor del que proviene cuando se conoce. La posición no indica el origen: en Costa Rica el orden lo eligen los progenitores al inscribir el nacimiento.

ResumenPrimer apellido, con su origen si se conoce
Control0..1
TipoExtension(Primer apellido) (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())
40. Patient.name.family.extension:segundoApellido
Slice NamesegundoApellido
Definición

Segundo apellido de la persona, tal como consta en su documento de identidad, y el progenitor del que proviene cuando se conoce. Lo tienen todas las personas costarricenses; muchas personas extranjeras no tienen segundo apellido.

ResumenSegundo apellido, con su origen si se conoce
Control0..1
TipoExtension(Segundo apellido) (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())
42. Patient.name.given
Definición

Primer nombre (obligatorio) y segundo nombre (opcional) del paciente.


Given name.

ResumenNombres del pacienteGiven names (not always 'first'). Includes middle names
Comentarios

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

Control10..2*
Tipostring
Es modificadorfalse
Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
Must Supporttrue
Resumentrue
Nombres alternativosfirst name, middle name
Longitud máxima:50
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XPN.2 + XPN.3
RIM Mapping (rim)./part[partType = GIV]
servd./GivenNames
44. 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})?$'))))
Mappings
HL7 V2 Mapping (v2)PID-13, PID-14, PID-40
RIM Mapping (rim)telecom
Interface Pattern (interface)ParticipantContactable.telecom
CDA (R2) (cda).telecom
46. Patient.gender
Definición

Sexo administrativo del paciente según FHIR, utilizado para interoperabilidad demográfica, consistencia documental y eventual interpretación clínica complementaria del resultado.


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

ResumenSexo del pacientemale | 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 AdministrativeGenderhttp://hl7.org/fhir/ValueSet/administrative-gender|5.0.0
(required to http://hl7.org/fhir/ValueSet/administrative-gender)
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()))
Mappings
HL7 V2 Mapping (v2)PID-8
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
Interface Pattern (interface)ParticipantLiving.gender
CDA (R2) (cda).patient.administrativeGenderCode
48. Patient.birthDate
Definición

La fecha de nacimiento del paciente, utilizada para calcular la edad y otros datos demográficos.


The date of birth for the individual.

ResumenFecha de nacimiento del pacienteThe 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 definitivamente posterior a hoy; se respeta la precisión disponible. ($this.lowBoundary() <= today().lowBoundary())
cr-paciente-fecha-estimada: La condición de estimada solo se registra cuando existe un valor de fecha de nacimiento. (extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-fecha-nacimiento-estimada').exists() implies $this.hasValue())
cr-patient-birthdate-no-future: La fecha de nacimiento no puede ser una fecha futura. ($this <= today())
LOINC Code21112-8
Mappings
HL7 V2 Mapping (v2)PID-7
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime
Interface Pattern (interface)ParticipantLiving.birthDate
CDA (R2) (cda).patient.birthTime
50. Patient.birthDate.extension:fechaEstimada
Slice NamefechaEstimada
Definición

Indica si la fecha de nacimiento registrada es una estimación. La ausencia de esta extensión no indica que la fecha esté confirmada.

ResumenFecha de nacimiento estimada
Control0..1
TipoExtension(Fecha de nacimiento estimada) (Extension Type: boolean)
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())
52. Patient.deceased[x]
Definición

Este PoC no requiere capturar información de fallecimiento del paciente para representar un resultado HbA1c, por lo que el elemento se excluye del perfil.


Indicates if the individual is deceased or not.

ResumenNo se registra fallecimientoIndicates 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..01
TipoElección de: boolean, dateTime
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()))
Mappings
HL7 V2 Mapping (v2)PID-30 (bool) and PID-29 (datetime)
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime
CDA (R2) (cda)n/a
54. 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-cri: Si el país es Costa Rica (CRI), la provincia, el cantón y el distrito son obligatorios. (country = 'CRI' implies (state.exists() and city.exists() and district.exists()))
cr-direccion-dta: Si el país es Costa Rica (CRI), la provincia, el cantón y el distrito son códigos de la División Territorial Administrativa del SNIT. (country = 'CRI' implies ((state.empty() or state.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-provincia')) and (city.empty() or city.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-canton')) and (district.empty() or district.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-distrito'))))
cr-direccion-concordancia: Si el país es Costa Rica (CRI), el cantón pertenece a la provincia y el distrito al cantón. (country = 'CRI' implies ((state.empty() or city.empty() or city.startsWith(state)) and (city.empty() or district.empty() or district.startsWith(city))))
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')
Mappings
HL7 V2 Mapping (v2)PID-11
RIM Mapping (rim)addr
Interface Pattern (interface)ParticipantContactable.address
CDA (R2) (cda).addr
56. 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())
Mappings
RIM Mapping (rim)ADXP[partType=PRE]
58. 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 son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
60. Patient.address.extension:barrioPoblado.url
Definición

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

ResumenURI que identifica el significado de la extensiónidentifies 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
Valor fijo
{
  "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"
}
<url value="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"/>
Mappings
RIM Mapping (rim)N/A
62. 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]Vea Elección de tipos de datos para 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
Longitud máxima:100
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
RIM Mapping (rim)N/A
64. 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)

Uso de la dirección (home, work, etc.).


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.

EjemploGeneral: home
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.7
RIM Mapping (rim)unique(./use)
servd./AddressPurpose
66. 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.

Longitud máxima:250
EjemploGeneral: 137 Nowhere Street, Erewhon 9132
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6
RIM Mapping (rim)./formatted
vcardaddress label parameter
68. 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
Longitud máxima:250
EjemploGeneral: 137 Nowhere Street
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)
RIM Mapping (rim)AD.part[parttype = AL]
vcardstreet
servd./StreetAddress (newline delimitted)
70. 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 Para ver códigos, consulte 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
EjemploGeneral: Erewhon
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.3
RIM Mapping (rim)AD.part[parttype = CTY]
vcardlocality
servd./Jurisdiction
72. 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 Para ver códigos, consulte 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
EjemploGeneral: Madison
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.9
RIM Mapping (rim)AD.part[parttype = CNT | CPA]
74. 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 Para ver códigos, consulte 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()))
Mappings
HL7 V2 Mapping (v2)XAD.4
RIM Mapping (rim)AD.part[parttype = STA]
vcardregion
servd./Region
76. 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
EjemploGeneral: 9132
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.5
RIM Mapping (rim)AD.part[parttype = ZIP]
vcardcode
servd./PostalIdentificationCode
78. 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 Para ver códigos, consulte 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()))
Mappings
HL7 V2 Mapping (v2)XAD.6
RIM Mapping (rim)AD.part[parttype = CNT]
vcardcountry
servd./Country
80. 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()))
Mappings
HL7 V2 Mapping (v2)PID-16
RIM Mapping (rim)player[classCode=PSN]/maritalStatusCode
CDA (R2) (cda).patient.maritalStatusCode
82. Patient.contact
Definición

Persona nombrada a quien contactar por el paciente: un familiar, su cónyuge o alguien que actúa en nombre de una institución. Una referencia a organización sola no cumple este perfil. El tutor legal y el progenitor de una persona menor de edad se identifican formalmente como RelatedPerson; sus medios de contacto se registran allí y no se duplican aquí.


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

ResumenPersona de contacto, familiar o enlace 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())
Mappings
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]
CDA (R2) (cda)n/a
84. Patient.contact.extension:sexoAlNacer
Slice NamesexoAlNacer
Definición

Sexo asignado al nacer de un contacto de Patient. Use unknown cuando se desconoce; no representa género administrativo ni determina por sí solo parámetros clínicos. Esta extensión CR existe porque individual-recordedSexOrGender no admite Patient.contact como contexto.

ResumenSexo asignado al nacer del contacto
Control0..1
TipoExtension(Sexo asignado al nacer del contacto) (Extension Type: Coding)
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.contact.modifierExtension
Definición

An Extension


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

ResumenExtensiones modificadoras que no deben ignorarse, aunque no se reconozcanExtensions 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())
88. Patient.contact.relationship
Definición

Vínculo declarado para comunicación: cónyuge (SPS), padre (FTH), madre (MTH), tutor (GUARD), hijo (CHILD), hermano (SIB) u otro familiar (FAMMEMB). Puede tener varios. GUARD no acredita tutela legal ni sustituye un RelatedPerson identificado.


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()))
Mappings
HL7 V2 Mapping (v2)NK1-7, NK1-3
RIM Mapping (rim)code
CDA (R2) (cda)n/a
90. Patient.contact.name
Definición

Nombre de la persona de contacto, obligatorio incluso cuando actúa en nombre de una organización. Usa el perfil común de nombre oficial CRHumanName; Core no representa aquí un contacto solo institucional.


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()))
cr-nombre-apellidos: family lleva el primer apellido y, si lo hay, el segundo, separados por un espacio, igual que en sus extensiones. (family.exists() implies family = (family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').extension('valor').value.first() & iif(family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').exists(), ' ' & family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').extension('valor').value.first(), '')))
cr-nombre-caracteres: Los nombres y los apellidos empiezan con una letra y solo llevan letras de cualquier alfabeto (con sus signos diacríticos), espacios, apóstrofes, guiones y puntos. ((given | family | family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').extension('valor').value | family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').extension('valor').value).all($this.matches('^[\\p{L}\\p{M}][\\p{L}\\p{M} .\'’-]*$')))
Mappings
HL7 V2 Mapping (v2)NK1-2
RIM Mapping (rim)name
CDA (R2) (cda)n/a
92. 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})?$'))))
Mappings
HL7 V2 Mapping (v2)NK1-5, NK1-6, NK1-40
RIM Mapping (rim)telecom
CDA (R2) (cda)n/a
94. 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-cri: Si el país es Costa Rica (CRI), la provincia, el cantón y el distrito son obligatorios. (country = 'CRI' implies (state.exists() and city.exists() and district.exists()))
cr-direccion-dta: Si el país es Costa Rica (CRI), la provincia, el cantón y el distrito son códigos de la División Territorial Administrativa del SNIT. (country = 'CRI' implies ((state.empty() or state.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-provincia')) and (city.empty() or city.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-canton')) and (district.empty() or district.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-distrito'))))
cr-direccion-concordancia: Si el país es Costa Rica (CRI), el cantón pertenece a la provincia y el distrito al cantón. (country = 'CRI' implies ((state.empty() or city.empty() or city.startsWith(state)) and (city.empty() or district.empty() or district.startsWith(city))))
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')
Mappings
HL7 V2 Mapping (v2)NK1-4
RIM Mapping (rim)addr
CDA (R2) (cda)n/a
96. 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())
Mappings
RIM Mapping (rim)ADXP[partType=PRE]
98. 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 son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
100. Patient.contact.address.extension:barrioPoblado.url
Definición

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

ResumenURI que identifica el significado de la extensiónidentifies 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
Valor fijo
{
  "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"
}
<url value="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"/>
Mappings
RIM Mapping (rim)N/A
102. 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]Vea Elección de tipos de datos para 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
Longitud máxima:100
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
RIM Mapping (rim)N/A
104. 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)

Uso de la dirección (home, work, etc.).


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.

EjemploGeneral: home
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.7
RIM Mapping (rim)unique(./use)
servd./AddressPurpose
106. 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.

Longitud máxima:250
EjemploGeneral: 137 Nowhere Street, Erewhon 9132
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6
RIM Mapping (rim)./formatted
vcardaddress label parameter
108. 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
Longitud máxima:250
EjemploGeneral: 137 Nowhere Street
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)
RIM Mapping (rim)AD.part[parttype = AL]
vcardstreet
servd./StreetAddress (newline delimitted)
110. 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 Para ver códigos, consulte 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
EjemploGeneral: Erewhon
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.3
RIM Mapping (rim)AD.part[parttype = CTY]
vcardlocality
servd./Jurisdiction
112. 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 Para ver códigos, consulte 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
EjemploGeneral: Madison
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.9
RIM Mapping (rim)AD.part[parttype = CNT | CPA]
114. 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 Para ver códigos, consulte 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()))
Mappings
HL7 V2 Mapping (v2)XAD.4
RIM Mapping (rim)AD.part[parttype = STA]
vcardregion
servd./Region
116. 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
EjemploGeneral: 9132
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.5
RIM Mapping (rim)AD.part[parttype = ZIP]
vcardcode
servd./PostalIdentificationCode
118. 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 Para ver códigos, consulte 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()))
Mappings
HL7 V2 Mapping (v2)XAD.6
RIM Mapping (rim)AD.part[parttype = CNT]
vcardcountry
servd./Country
120. Patient.contact.organization
Definición

Organización en cuyo nombre actúa la persona nombrada como contacto, por ejemplo una persona de enlace institucional. Se referencia por su cédula jurídica; esta referencia no acredita tutela ni autorización para consentir.


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

ResumenInstitución en cuyo nombre actúa la persona de contactoOrganization 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()))
Mappings
HL7 V2 Mapping (v2)NK1-13, NK1-30, NK1-31, NK1-32, NK1-41
RIM Mapping (rim)scoper
CDA (R2) (cda)n/a
122. 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.

ResumenReferencia literal, relativa, interna o URL absolutaLiteral 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()))
Mappings
RIM Mapping (rim)N/A
124. 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.

NotaEste es un identificador de negocio, no un identificador del recurso (consulte 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}$'))
Mappings
RIM Mapping (rim).identifier
126. 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()))
Mappings
RIM Mapping (rim)effectiveTime
CDA (R2) (cda)n/a
128. Patient.link
Definición

Este PoC no requiere gestionar enlaces entre distintos recursos Patient que representen a la misma persona, por lo que el elemento se excluye del perfil.


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

ResumenNo se registran vínculos entre pacientesLink 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..0*
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()))
Mappings
RIM Mapping (rim)outboundLink
CDA (R2) (cda)n/a

Las indicaciones para interpretar el contenido de esta tabla están aquí on how to interpret the contents of this table

0. Patient
2. Patient.identifier
Definición

Conjunto de identificadores que permiten reconocer de manera inequívoca al paciente dentro del flujo de intercambio de resultados de laboratorio en Costa Rica. Para este PoC se espera capturar al menos un identificador oficial o institucional que permita correlacionar el resultado HbA1c con el registro clínico correcto.

ResumenIdentificadores oficiales del paciente
NotaEste es un identificador de negocio, no un identificador del recurso (consulte discusión)
Invariantescr-patient-identifier-value-max-length: El valor del identificador no puede exceder 1000 caracteres. (value.length() <= 1000)
4. Patient.identifier.type
Definición

Clasifica la naturaleza del identificador del paciente, por ejemplo cédula nacional u otro identificador permitido por el ecosistema de salud costarricense. Este dato ayuda a interpretar el valor del identificador y a aplicar reglas de validación o conciliación entre sistemas.

ResumenTipo de identificador del paciente
6. Patient.identifier.system
Definición

URI o namespace que indica qué autoridad, dominio o sistema define el identificador del paciente. Debe permitir a los implementadores distinguir entre identificadores nacionales, institucionales o locales usados en Costa Rica.

ResumenSistema emisor del identificador
8. Patient.identifier.value
Definición

Identificador único del paciente, utilizado para su identificación en el sistema de salud.

ResumenIdentificador del paciente
10. Patient.name
Definición

Nombre humano principal del paciente utilizado para visualización, confirmación manual de identidad y presentación del resultado de laboratorio al usuario clínico o administrativo. En este PoC se documenta como el nombre oficial del paciente.

ResumenNombre del paciente
Control1..1
Invariantescr-patient-name-given-max-length: Los nombres no pueden exceder 1000 caracteres. (given.join('').length() <= 1000)
cr-patient-name-family-max-length: El apellido no puede exceder 1000 caracteres. (family.length() <= 1000)
SlicingEste elemento introduce un conjunto de slices en Patient.name. Los slices son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ use

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

12. Patient.name.use
Definición

Indica que el nombre representado corresponde al nombre oficial con el que el paciente debe ser identificado en el intercambio del resultado de HbA1c.

ResumenUso oficial del nombre
Pattern Value
{
  "use" : "official"
}
<use value="official"/>
14. Patient.name.family
Definición

Primer apellido obligatorio del paciente, mapeado de primerApellido del modelo lógico. Los apellidos se representan con las extensiones nacionales CRPrimerApellido y CRSegundoApellido heredadas del perfil de Core.

ResumenPrimer apellido del paciente
Control1..?
16. Patient.name.given
Definición

Primer nombre (obligatorio) y segundo nombre (opcional) del paciente.

ResumenNombres del paciente
Control1..2
18. Patient.gender
Definición

Sexo administrativo del paciente según FHIR, utilizado para interoperabilidad demográfica, consistencia documental y eventual interpretación clínica complementaria del resultado.

ResumenSexo del paciente
Control1..?
VinculaciónLos códigos DEBEN tomarse de AdministrativeGender
(required to http://hl7.org/fhir/ValueSet/administrative-gender)
Must Supporttrue
20. Patient.birthDate
Definición

La fecha de nacimiento del paciente, utilizada para calcular la edad y otros datos demográficos.

ResumenFecha de nacimiento del paciente
Control1..?
Invariantescr-patient-birthdate-no-future: La fecha de nacimiento no puede ser una fecha futura. ($this <= today())
LOINC Code
22. Patient.deceased[x]
Definición

Este PoC no requiere capturar información de fallecimiento del paciente para representar un resultado HbA1c, por lo que el elemento se excluye del perfil.

ResumenNo se registra fallecimiento
Control0..0
24. Patient.link
Definición

Este PoC no requiere gestionar enlaces entre distintos recursos Patient que representen a la misma persona, por lo que el elemento se excluye del perfil.

ResumenNo se registran vínculos entre pacientes
Control0..0

Las indicaciones para interpretar el contenido de esta tabla están aquí on how to interpret the contents of this table

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)
cr-paciente-nombre-temporal: El paciente tiene como máximo una denominación temporal y un nombre conocido. (name.where(use = 'temp').count() <= 1 and name.where(use = 'official').count() <= 1)
Mappings
RIM Mapping (rim)Entity, Role, or Act,Patient[classCode=PAT]
FiveWs Pattern Mapping (w5)administrative.individual
Interface Pattern (interface)ParticipantLiving
CDA (R2) (cda)ClinicalDocument.recordTarget.patientRole
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.

ResumenIdentificador lógico del recurso
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.

ResumenMetadatos del recurso
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.

ResumenReglas que rigen la interpretación del contenido del recurso
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.

ResumenIdioma del contenido del recurso
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)

Etiqueta de idioma para un lenguaje humano, conforme a IETF BCP 47.

Vinculaciones adicionalesPropósitoCualquiera
CommonLanguagesInicialAll repeats
CommonLanguagesInicialAll repeats
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

Resumen narrativo del recurso para su interpretación humana. Este perfil no restringe el contenido, el idioma ni la correspondencia de la narrativa con los elementos de datos.

ResumenResumen narrativo del recurso para su interpretación humana
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()))
Mappings
RIM Mapping (rim)Act.text?
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.

ResumenRecursos contenidos en línea
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
Mappings
RIM Mapping (rim)N/A
14. Patient.extension
Definición

An Extension

ResumenExtensiones: sexo asignado al nacer y nacionalidad
Control1..*
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 son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
16. Patient.extension:sexoAlNacer
Slice NamesexoAlNacer
Definición

An Extension

ResumenSexo asignado al nacer; unknown si se desconoce
Control1..1
TipoExtension(Sexo o género registrado) (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
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(Nacionalidad de la persona) (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())
20. Patient.modifierExtension
Definición

An Extension

ResumenExtensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Control0..*
TipoExtension
Es modificadortrue porque Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
Must Supportfalse
Resumentrue
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.identifier
Definición

Conjunto de identificadores que permiten reconocer de manera inequívoca al paciente dentro del flujo de intercambio de resultados de laboratorio en Costa Rica. Para este PoC se espera capturar al menos un identificador oficial o institucional que permita correlacionar el resultado HbA1c con el registro clínico correcto.

ResumenIdentificadores oficiales del paciente
NotaEste es un identificador de negocio, no un identificador del recurso (consulte 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-paciente-identificador-tipo: Si se envía el tipo, sus códigos CR o HL7 v2-0203 son coherentes con el system del identificador. (type.empty() or (system = 'https://hl7.or.cr/fhir/sid/cedula-nacional' and type.coding.where((system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion' and code = 'cedula-nacional') or (system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'NI')).exists()) or (system = 'https://hl7.or.cr/fhir/sid/dimex' and type.coding.where((system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion' and code = 'dimex') or (system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'PRC')).exists()) or (system = 'https://hl7.or.cr/fhir/sid/ccss' and type.coding.where((system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion' and code = 'ccss') or (system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'NH')).exists()) or (system.startsWith('https://hl7.or.cr/fhir/sid/pasaporte/') and type.coding.where((system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion' and code = 'pasaporte') or (system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'PPN')).exists()) or (system.startsWith('https://hl7.or.cr/fhir/sid/expediente/') and type.coding.where((system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-tipo-identificacion' and code = 'expediente-local') or (system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'MR')).exists()))
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'))
cr-patient-identifier-value-max-length: El valor del identificador no puede exceder 1000 caracteres. (value.length() <= 1000)
Mappings
FiveWs Pattern Mapping (w5)FiveWs.identifier
HL7 V2 Mapping (v2)PID-3
RIM Mapping (rim)id
Interface Pattern (interface)Participant.identifier
CDA (R2) (cda).id
24. 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.

ResumenIdentificador para referenciar este elemento dentro del recurso
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
Mappings
RIM Mapping (rim)n/a
26. Patient.identifier.extension
Definición

An Extension

ResumenContenido adicional definido por las implementaciones
Control0..*
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.identifier.extension. Los slices son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
28. 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()))
Mappings
HL7 V2 Mapping (v2)N/A
RIM Mapping (rim)Role.code or implied by context
30. Patient.identifier.type
Definición

Clasifica la naturaleza del identificador del paciente, por ejemplo cédula nacional u otro identificador permitido por el ecosistema de salud costarricense. Este dato ayuda a interpretar el valor del identificador y a aplicar reglas de validación o conciliación entre sistemas.

ResumenTipo de identificador del paciente
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.

Control1..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()))
Mappings
HL7 V2 Mapping (v2)CX.5
RIM Mapping (rim)Role.code or implied by context
32. Patient.identifier.system
Definición

URI o namespace que indica qué autoridad, dominio o sistema define el identificador del paciente. Debe permitir a los implementadores distinguir entre identificadores nacionales, institucionales o locales usados en Costa Rica.

ResumenSistema emisor del identificador
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.

EjemploGeneral: http://www.acme.com/identifiers/patient
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)CX.4 / EI-2-4
RIM Mapping (rim)II.root or Role.id.root
servd./IdentifierType
34. Patient.identifier.value
Definición

Identificador único del paciente, utilizado para su identificación en el sistema de salud.

ResumenIdentificador del paciente
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
EjemploGeneral: 123456
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)CX.1 / EI.1
RIM Mapping (rim)II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
servd./Value
36. Patient.identifier.period
Definición

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

ResumenPeriodo durante el cual el identificador es o fue válido
Control0..1
TipoPeriod
Es modificadorfalse
Resumentrue
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)CX.7 + CX.8
RIM Mapping (rim)Role.effectiveTime or implied by context
servd./StartDate and ./EndDate
38. 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()))
Mappings
HL7 V2 Mapping (v2)CX.4 / (CX.4,CX.9,CX.10)
RIM Mapping (rim)II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
servd./IdentifierIssuingAuthority
40. 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.

ResumenIndica si el registro del paciente está en uso activo
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.

Significado cuando faltaThis 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()))
Mappings
FiveWs Pattern Mapping (w5)FiveWs.status
RIM Mapping (rim)statusCode
Interface Pattern (interface)Participant.active
CDA (R2) (cda)n/a
42. Patient.name
Definición

Nombre humano principal del paciente utilizado para visualización, confirmación manual de identidad y presentación del resultado de laboratorio al usuario clínico o administrativo. En este PoC se documenta como el nombre oficial del paciente.

ResumenNombre del paciente
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 del paciente)
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()))
cr-nombre-paciente-apellidos: family contiene los apellidos conocidos en orden, identificados por sus extensiones; se permite conocer solamente el segundo. (family.exists() implies ((family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').exists() or family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').exists()) and family = (family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').extension('valor').value.first() & iif(family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').exists() and family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').exists(), ' ', '') & family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').extension('valor').value.first())))
cr-nombre-caracteres: Los nombres y los apellidos empiezan con una letra y solo llevan letras de cualquier alfabeto (con sus signos diacríticos), espacios, apóstrofes, guiones y puntos. ((given | family | family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').extension('valor').value | family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').extension('valor').value).all($this.matches('^[\\p{L}\\p{M}][\\p{L}\\p{M} .\'’-]*$')))
cr-nombre-paciente-uso: El nombre es official con nombres o apellidos conocidos, o temp con una denominación textual sin nombres ni apellidos. ((use = 'official' and (given.exists() or family.hasValue())) or (use = 'temp' and text.hasValue() and given.empty() and family.empty()))
cr-patient-name-given-max-length: Los nombres no pueden exceder 1000 caracteres. (given.join('').length() <= 1000)
cr-patient-name-family-max-length: El apellido no puede exceder 1000 caracteres. (family.length() <= 1000)
Mappings
HL7 V2 Mapping (v2)PID-5, PID-9
RIM Mapping (rim)name
Interface Pattern (interface)Participant.name
CDA (R2) (cda).patient.name
SlicingEste elemento introduce un conjunto de slices en Patient.name. Los slices son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ use

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

44. Patient.name.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.

ResumenIdentificador único para referenciar elementos entre sí
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
Mappings
RIM Mapping (rim)n/a
46. Patient.name.extension
Definición

An Extension

ResumenContenido adicional definido por las implementaciones
Control0..*
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.name.extension. Los slices son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
48. Patient.name.use
Definición

Indica que el nombre representado corresponde al nombre oficial con el que el paciente debe ser identificado en el intercambio del resultado de HbA1c.

ResumenUso oficial del nombre
Comentarios

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

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

Uso del nombre de la persona.

Tipocode
Es modificadortrue porque This is labeled as "Is Modifier" because applications should not mistake a temporary or old name 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 the appropriate name for a particular context of use to be selected from among a set of names.

Pattern Value
{
  "use" : "official"
}
<use value="official"/>
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XPN.7, but often indicated by which field contains the name
RIM Mapping (rim)unique(./use)
servd./NamePurpose
50. Patient.name.text
Definición

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

ResumenRepresentación textual del nombre completo
Comentarios

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

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.

Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)implied by XPN.11
RIM Mapping (rim)./formatted
52. Patient.name.family
Definición

Primer apellido obligatorio del paciente, mapeado de primerApellido del modelo lógico. Los apellidos se representan con las extensiones nacionales CRPrimerApellido y CRSegundoApellido heredadas del perfil de Core.

ResumenPrimer apellido del paciente
Comentarios

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

Control1..1
Tipostring
Es modificadorfalse
Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
Must Supporttrue
Resumentrue
Nombres alternativossurname
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XPN.1/FN.1
RIM Mapping (rim)./part[partType = FAM]
servd./FamilyName
54. Patient.name.family.id
Definición

unique id for the element within a resource (for internal references)

ResumenIdentificador XML (o equivalente en JSON)
Control0..1
Tipostring
Es modificadorfalse
Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
Resumenfalse
56. Patient.name.family.extension
Definición

An Extension

ResumenExtension
Control0..*
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.name.family.extension. Los slices son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
58. Patient.name.family.extension:primerApellido
Slice NameprimerApellido
Definición

Primer apellido de la persona, tal como consta en su documento de identidad, y el progenitor del que proviene cuando se conoce. La posición no indica el origen: en Costa Rica el orden lo eligen los progenitores al inscribir el nacimiento.

ResumenPrimer apellido, con su origen si se conoce
Control0..1
TipoExtension(Primer apellido) (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())
60. Patient.name.family.extension:segundoApellido
Slice NamesegundoApellido
Definición

Segundo apellido de la persona, tal como consta en su documento de identidad, y el progenitor del que proviene cuando se conoce. Lo tienen todas las personas costarricenses; muchas personas extranjeras no tienen segundo apellido.

ResumenSegundo apellido, con su origen si se conoce
Control0..1
TipoExtension(Segundo apellido) (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())
62. Patient.name.family.value
Definición

The actual value

ResumenValor primitivo de tipo texto
Control0..1
Tipostring
Es modificadorfalse
Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
Resumenfalse
Longitud máxima:1048576
64. Patient.name.given
Definición

Primer nombre (obligatorio) y segundo nombre (opcional) del paciente.

ResumenNombres del paciente
Comentarios

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

Control1..2
Tipostring
Es modificadorfalse
Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
Must Supporttrue
Resumentrue
Nombres alternativosfirst name, middle name
Longitud máxima:50
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XPN.2 + XPN.3
RIM Mapping (rim)./part[partType = GIV]
servd./GivenNames
66. Patient.name.prefix
Definición

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

ResumenPartes que preceden al nombre
Control0..*
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()))
Mappings
HL7 V2 Mapping (v2)XPN.5
RIM Mapping (rim)./part[partType = PFX]
servd./TitleCode
68. Patient.name.suffix
Definición

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

ResumenPartes que siguen al nombre
Control0..*
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()))
Mappings
HL7 V2 Mapping (v2)XPN/4
RIM Mapping (rim)./part[partType = SFX]
70. Patient.name.period
Definición

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

ResumenPeriodo durante el que se usa o se usó el nombre
Control0..1
TipoPeriod
Es modificadorfalse
Resumentrue
Requisitos

Allows names to be placed in historical context.

Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XPN.13 + XPN.14
RIM Mapping (rim)./usablePeriod[type="IVL<TS>"]
servd./StartDate and ./EndDate
72. 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})?$'))))
Mappings
HL7 V2 Mapping (v2)PID-13, PID-14, PID-40
RIM Mapping (rim)telecom
Interface Pattern (interface)ParticipantContactable.telecom
CDA (R2) (cda).telecom
74. Patient.gender
Definición

Sexo administrativo del paciente según FHIR, utilizado para interoperabilidad demográfica, consistencia documental y eventual interpretación clínica complementaria del resultado.

ResumenSexo del paciente
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 AdministrativeGender
(required to http://hl7.org/fhir/ValueSet/administrative-gender)
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()))
Mappings
HL7 V2 Mapping (v2)PID-8
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
Interface Pattern (interface)ParticipantLiving.gender
CDA (R2) (cda).patient.administrativeGenderCode
76. Patient.birthDate
Definición

La fecha de nacimiento del paciente, utilizada para calcular la edad y otros datos demográficos.

ResumenFecha de nacimiento del paciente
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 definitivamente posterior a hoy; se respeta la precisión disponible. ($this.lowBoundary() <= today().lowBoundary())
cr-paciente-fecha-estimada: La condición de estimada solo se registra cuando existe un valor de fecha de nacimiento. (extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-fecha-nacimiento-estimada').exists() implies $this.hasValue())
cr-patient-birthdate-no-future: La fecha de nacimiento no puede ser una fecha futura. ($this <= today())
LOINC Code21112-8
Mappings
HL7 V2 Mapping (v2)PID-7
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime
Interface Pattern (interface)ParticipantLiving.birthDate
CDA (R2) (cda).patient.birthTime
78. Patient.birthDate.id
Definición

unique id for the element within a resource (for internal references)

ResumenIdentificador XML (o equivalente en JSON) para referenciar este elemento
Control0..1
Tipostring
Es modificadorfalse
Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
Resumenfalse
80. Patient.birthDate.extension
Definición

An Extension

ResumenContenido adicional definido por las implementaciones
Control0..*
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.birthDate.extension. Los slices son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
82. Patient.birthDate.extension:fechaEstimada
Slice NamefechaEstimada
Definición

Indica si la fecha de nacimiento registrada es una estimación. La ausencia de esta extensión no indica que la fecha esté confirmada.

ResumenFecha de nacimiento estimada
Control0..1
TipoExtension(Fecha de nacimiento estimada) (Extension Type: boolean)
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())
84. Patient.birthDate.value
Definición

The actual value

ResumenValor primitivo de la fecha
Control0..1
Tipodate
Es modificadorfalse
Formato XMLEn el formato XML, esta propiedad se representa como un atributo.
Resumenfalse
86. Patient.deceased[x]
Definición

Este PoC no requiere capturar información de fallecimiento del paciente para representar un resultado HbA1c, por lo que el elemento se excluye del perfil.

ResumenNo se registra fallecimiento
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..0
TipoElección de: boolean, dateTime
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()))
Mappings
HL7 V2 Mapping (v2)PID-30 (bool) and PID-29 (datetime)
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime
CDA (R2) (cda)n/a
88. 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-cri: Si el país es Costa Rica (CRI), la provincia, el cantón y el distrito son obligatorios. (country = 'CRI' implies (state.exists() and city.exists() and district.exists()))
cr-direccion-dta: Si el país es Costa Rica (CRI), la provincia, el cantón y el distrito son códigos de la División Territorial Administrativa del SNIT. (country = 'CRI' implies ((state.empty() or state.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-provincia')) and (city.empty() or city.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-canton')) and (district.empty() or district.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-distrito'))))
cr-direccion-concordancia: Si el país es Costa Rica (CRI), el cantón pertenece a la provincia y el distrito al cantón. (country = 'CRI' implies ((state.empty() or city.empty() or city.startsWith(state)) and (city.empty() or district.empty() or district.startsWith(city))))
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')
Mappings
HL7 V2 Mapping (v2)PID-11
RIM Mapping (rim)addr
Interface Pattern (interface)ParticipantContactable.address
CDA (R2) (cda).addr
90. 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.

ResumenIdentificador para referenciar este elemento dentro del recurso
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
Mappings
RIM Mapping (rim)n/a
92. Patient.address.extension
Definición

An Extension

ResumenContenido adicional definido por las implementaciones
Control0..*
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. Los slices son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
94. 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())
Mappings
RIM Mapping (rim)ADXP[partType=PRE]
96. 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.

ResumenIdentificador único para referenciar elementos entre sí
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
Mappings
RIM Mapping (rim)n/a
98. 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 son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
100. Patient.address.extension:barrioPoblado.url
Definición

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

ResumenURI que identifica el significado de la extensión
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
Valor fijo
{
  "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"
}
<url value="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"/>
Mappings
RIM Mapping (rim)N/A
102. 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]Vea Elección de tipos de datos para 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
Longitud máxima:100
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
RIM Mapping (rim)N/A
104. 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)

Uso de la dirección (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.

EjemploGeneral: home
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.7
RIM Mapping (rim)unique(./use)
servd./AddressPurpose
106. 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)

Tipo de dirección: postal, física o ambas

Tipocode
Es modificadorfalse
Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
Resumentrue
EjemploGeneral: both
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.18
RIM Mapping (rim)unique(./use)
vcardaddress type parameter
108. 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.

Longitud máxima:250
EjemploGeneral: 137 Nowhere Street, Erewhon 9132
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6
RIM Mapping (rim)./formatted
vcardaddress label parameter
110. 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
Longitud máxima:250
EjemploGeneral: 137 Nowhere Street
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)
RIM Mapping (rim)AD.part[parttype = AL]
vcardstreet
servd./StreetAddress (newline delimitted)
112. 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
EjemploGeneral: Erewhon
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.3
RIM Mapping (rim)AD.part[parttype = CTY]
vcardlocality
servd./Jurisdiction
114. 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
EjemploGeneral: Madison
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.9
RIM Mapping (rim)AD.part[parttype = CNT | CPA]
116. 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()))
Mappings
HL7 V2 Mapping (v2)XAD.4
RIM Mapping (rim)AD.part[parttype = STA]
vcardregion
servd./Region
118. 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
EjemploGeneral: 9132
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.5
RIM Mapping (rim)AD.part[parttype = ZIP]
vcardcode
servd./PostalIdentificationCode
120. 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()))
Mappings
HL7 V2 Mapping (v2)XAD.6
RIM Mapping (rim)AD.part[parttype = CNT]
vcardcountry
servd./Country
122. Patient.address.period
Definición

Time period when address was/is in use.

ResumenPeriodo durante el cual la dirección se usa o se usó
Control0..1
TipoPeriod
Es modificadorfalse
Resumentrue
Requisitos

Allows addresses to be placed in historical context.

EjemploGeneral: { "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()))
Mappings
HL7 V2 Mapping (v2)XAD.12 / XAD.13 + XAD.14
RIM Mapping (rim)./usablePeriod[type="IVL<TS>"]
servd./StartDate and ./EndDate
124. 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()))
Mappings
HL7 V2 Mapping (v2)PID-16
RIM Mapping (rim)player[classCode=PSN]/maritalStatusCode
CDA (R2) (cda).patient.maritalStatusCode
126. Patient.multipleBirth[x]
Definición

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

ResumenIndica si el paciente forma parte de un nacimiento múltiple
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]Vea Elección de tipos de datos para 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()))
Mappings
HL7 V2 Mapping (v2)PID-24 (bool), PID-25 (integer)
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber
CDA (R2) (cda)n/a
128. Patient.photo
Definición

Image of the patient.

ResumenImagen del paciente
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()))
Mappings
HL7 V2 Mapping (v2)OBX-5 - needs a profile
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc
Interface Pattern (interface)ParticipantLiving.photo
CDA (R2) (cda)n/a
130. Patient.contact
Definición

Persona nombrada a quien contactar por el paciente: un familiar, su cónyuge o alguien que actúa en nombre de una institución. Una referencia a organización sola no cumple este perfil. El tutor legal y el progenitor de una persona menor de edad se identifican formalmente como RelatedPerson; sus medios de contacto se registran allí y no se duplican aquí.

ResumenPersona de contacto, familiar o enlace 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())
Mappings
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]
CDA (R2) (cda)n/a
132. 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.

ResumenIdentificador para referenciar este elemento dentro del recurso
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
Mappings
RIM Mapping (rim)n/a
134. Patient.contact.extension
Definición

An Extension

ResumenContenido adicional definido por las implementaciones
Control0..*
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.extension. Los slices son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
136. Patient.contact.extension:sexoAlNacer
Slice NamesexoAlNacer
Definición

Sexo asignado al nacer de un contacto de Patient. Use unknown cuando se desconoce; no representa género administrativo ni determina por sí solo parámetros clínicos. Esta extensión CR existe porque individual-recordedSexOrGender no admite Patient.contact como contexto.

ResumenSexo asignado al nacer del contacto
Control0..1
TipoExtension(Sexo asignado al nacer del contacto) (Extension Type: Coding)
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())
138. Patient.contact.modifierExtension
Definición

An Extension

ResumenExtensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Control0..*
TipoExtension
Es modificadortrue porque Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Resumentrue
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())
140. Patient.contact.relationship
Definición

Vínculo declarado para comunicación: cónyuge (SPS), padre (FTH), madre (MTH), tutor (GUARD), hijo (CHILD), hermano (SIB) u otro familiar (FAMMEMB). Puede tener varios. GUARD no acredita tutela legal ni sustituye un RelatedPerson identificado.

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()))
Mappings
HL7 V2 Mapping (v2)NK1-7, NK1-3
RIM Mapping (rim)code
CDA (R2) (cda)n/a
142. Patient.contact.name
Definición

Nombre de la persona de contacto, obligatorio incluso cuando actúa en nombre de una organización. Usa el perfil común de nombre oficial CRHumanName; Core no representa aquí un contacto solo institucional.

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()))
cr-nombre-apellidos: family lleva el primer apellido y, si lo hay, el segundo, separados por un espacio, igual que en sus extensiones. (family.exists() implies family = (family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').extension('valor').value.first() & iif(family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').exists(), ' ' & family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').extension('valor').value.first(), '')))
cr-nombre-caracteres: Los nombres y los apellidos empiezan con una letra y solo llevan letras de cualquier alfabeto (con sus signos diacríticos), espacios, apóstrofes, guiones y puntos. ((given | family | family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-primer-apellido').extension('valor').value | family.extension('https://hl7.or.cr/fhir/core/StructureDefinition/cr-segundo-apellido').extension('valor').value).all($this.matches('^[\\p{L}\\p{M}][\\p{L}\\p{M} .\'’-]*$')))
Mappings
HL7 V2 Mapping (v2)NK1-2
RIM Mapping (rim)name
CDA (R2) (cda)n/a
144. 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})?$'))))
Mappings
HL7 V2 Mapping (v2)NK1-5, NK1-6, NK1-40
RIM Mapping (rim)telecom
CDA (R2) (cda)n/a
146. 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-cri: Si el país es Costa Rica (CRI), la provincia, el cantón y el distrito son obligatorios. (country = 'CRI' implies (state.exists() and city.exists() and district.exists()))
cr-direccion-dta: Si el país es Costa Rica (CRI), la provincia, el cantón y el distrito son códigos de la División Territorial Administrativa del SNIT. (country = 'CRI' implies ((state.empty() or state.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-provincia')) and (city.empty() or city.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-canton')) and (district.empty() or district.memberOf('https://hl7.or.cr/fhir/terminology/ValueSet/cr-distrito'))))
cr-direccion-concordancia: Si el país es Costa Rica (CRI), el cantón pertenece a la provincia y el distrito al cantón. (country = 'CRI' implies ((state.empty() or city.empty() or city.startsWith(state)) and (city.empty() or district.empty() or district.startsWith(city))))
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')
Mappings
HL7 V2 Mapping (v2)NK1-4
RIM Mapping (rim)addr
CDA (R2) (cda)n/a
148. 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.

ResumenIdentificador único para referenciar elementos entre sí
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
Mappings
RIM Mapping (rim)n/a
150. Patient.contact.address.extension
Definición

An Extension

ResumenContenido adicional definido por las implementaciones
Control0..*
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. Los slices son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
152. 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())
Mappings
RIM Mapping (rim)ADXP[partType=PRE]
154. 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.

ResumenIdentificador único para referenciar elementos entre sí
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
Mappings
RIM Mapping (rim)n/a
156. 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 son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
158. Patient.contact.address.extension:barrioPoblado.url
Definición

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

ResumenURI que identifica el significado de la extensión
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
Valor fijo
{
  "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"
}
<url value="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"/>
Mappings
RIM Mapping (rim)N/A
160. 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]Vea Elección de tipos de datos para 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
Longitud máxima:100
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
RIM Mapping (rim)N/A
162. 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)

Uso de la dirección (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.

EjemploGeneral: home
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.7
RIM Mapping (rim)unique(./use)
servd./AddressPurpose
164. 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)

Tipo de dirección (física o postal).

Tipocode
Es modificadorfalse
Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
Resumentrue
EjemploGeneral: both
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.18
RIM Mapping (rim)unique(./use)
vcardaddress type parameter
166. 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.

Longitud máxima:250
EjemploGeneral: 137 Nowhere Street, Erewhon 9132
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6
RIM Mapping (rim)./formatted
vcardaddress label parameter
168. 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
Longitud máxima:250
EjemploGeneral: 137 Nowhere Street
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)
RIM Mapping (rim)AD.part[parttype = AL]
vcardstreet
servd./StreetAddress (newline delimitted)
170. 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
EjemploGeneral: Erewhon
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.3
RIM Mapping (rim)AD.part[parttype = CTY]
vcardlocality
servd./Jurisdiction
172. 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
EjemploGeneral: Madison
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.9
RIM Mapping (rim)AD.part[parttype = CNT | CPA]
174. 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()))
Mappings
HL7 V2 Mapping (v2)XAD.4
RIM Mapping (rim)AD.part[parttype = STA]
vcardregion
servd./Region
176. 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
EjemploGeneral: 9132
Invariantesele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
Mappings
HL7 V2 Mapping (v2)XAD.5
RIM Mapping (rim)AD.part[parttype = ZIP]
vcardcode
servd./PostalIdentificationCode
178. 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()))
Mappings
HL7 V2 Mapping (v2)XAD.6
RIM Mapping (rim)AD.part[parttype = CNT]
vcardcountry
servd./Country
180. Patient.contact.address.period
Definición

Time period when address was/is in use.

ResumenPeriodo durante el que se usa o se usó la dirección
Control0..1
TipoPeriod
Es modificadorfalse
Resumentrue
Requisitos

Allows addresses to be placed in historical context.

EjemploGeneral: { "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()))
Mappings
HL7 V2 Mapping (v2)XAD.12 / XAD.13 + XAD.14
RIM Mapping (rim)./usablePeriod[type="IVL<TS>"]
servd./StartDate and ./EndDate
182. Patient.contact.gender
Definición

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

Resumenmale | female | other | unknown
Control0..1
VinculaciónLos códigos DEBEN tomarse de AdministrativeGender
(required to http://hl7.org/fhir/ValueSet/administrative-gender|5.0.0)

Sexo administrativo registrado para la persona de contacto

Tipocode
Es modificadorfalse
Valor primitivoEste elemento primitivo puede estar presente, ausente o reemplazado por una extensión
Must Supportfalse
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()))
Mappings
HL7 V2 Mapping (v2)NK1-15
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender
CDA (R2) (cda)n/a
184. Patient.contact.organization
Definición

Organización en cuyo nombre actúa la persona nombrada como contacto, por ejemplo una persona de enlace institucional. Se referencia por su cédula jurídica; esta referencia no acredita tutela ni autorización para consentir.

ResumenInstitución en cuyo nombre actúa la persona de contacto
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()))
Mappings
HL7 V2 Mapping (v2)NK1-13, NK1-30, NK1-31, NK1-32, NK1-41
RIM Mapping (rim)scoper
CDA (R2) (cda)n/a
186. 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.

ResumenIdentificador para referenciar este elemento dentro del recurso
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
Mappings
RIM Mapping (rim)n/a
188. Patient.contact.organization.extension
Definición

An Extension

ResumenContenido adicional definido por las implementaciones
Control0..*
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.organization.extension. Los slices son Sin orden y Open, y se distinguen con los siguientes discriminadores:
  • value @ url
190. 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.

ResumenReferencia literal, relativa, interna o URL absoluta
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()))
Mappings
RIM Mapping (rim)N/A
192. 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).

ResumenTipo de recurso al que apunta la referencia
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()))
Mappings
RIM Mapping (rim)N/A
194. 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.

NotaEste es un identificador de negocio, no un identificador del recurso (consulte 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}$'))
Mappings
RIM Mapping (rim).identifier
196. Patient.contact.organization.display
Definición

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

ResumenTexto alternativo para identificar el recurso referenciado
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()))
Mappings
RIM Mapping (rim)N/A
198. 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()))
Mappings
RIM Mapping (rim)effectiveTime
CDA (R2) (cda)n/a
200. Patient.communication
Definición

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

ResumenIdioma que puede utilizarse para comunicarse con el paciente sobre su salud
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()))
Mappings
RIM Mapping (rim)LanguageCommunication
Interface Pattern (interface)ParticipantLiving.communication
CDA (R2) (cda)patient.languageCommunication
202. 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.

ResumenIdentificador para referenciar este elemento dentro del recurso
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
Mappings
RIM Mapping (rim)n/a
204. Patient.communication.extension
Definición

An Extension

ResumenContenido adicional definido por las implementaciones
Control0..*
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())
206. Patient.communication.modifierExtension
Definición

An Extension

ResumenExtensiones modificadoras que no deben ignorarse, aunque no se reconozcan
Control0..*
TipoExtension
Es modificadortrue porque Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
Resumentrue
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())
208. 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.

ResumenIdioma que puede utilizarse para comunicarse con el paciente sobre su salud
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)

Código del idioma conforme a BCP 47

Vinculaciones adicionalesPropósitoCualquiera
CommonLanguagesInicialAll repeats
CommonLanguagesInicialAll repeats
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()))
Mappings
HL7 V2 Mapping (v2)PID-15, LAN-2
RIM Mapping (rim)player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code
CDA (R2) (cda).languageCode
210. Patient.communication.preferred
Definición

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

ResumenIndica si este es el idioma preferido
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()))
Mappings
HL7 V2 Mapping (v2)PID-15
RIM Mapping (rim)preferenceInd
CDA (R2) (cda).preferenceInd
212. Patient.generalPractitioner
Definición

Patient's nominated care provider.

ResumenProfesional o servicio de atención primaria designado por el paciente
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()))
Mappings
HL7 V2 Mapping (v2)PD1-4
RIM Mapping (rim)subjectOf.CareEvent.performer.AssignedEntity
CDA (R2) (cda)n/a
214. Patient.managingOrganization
Definición

Organization that is the custodian of the patient record.

ResumenOrganización responsable de custodiar el expediente del paciente
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()))
Mappings
RIM Mapping (rim)scoper
CDA (R2) (cda).providerOrganization
216. Patient.link
Definición

Este PoC no requiere gestionar enlaces entre distintos recursos Patient que representen a la misma persona, por lo que el elemento se excluye del perfil.

ResumenNo se registran vínculos entre pacientes
Comentarios

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

Control0..0
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()))
Mappings
RIM Mapping (rim)outboundLink
CDA (R2) (cda)n/a