HL7 FHIR Costa Rica - Core
0.0.1-ballot - ci-build
HL7 FHIR Costa Rica - Core, published by Iniciativa HL7 Costa Rica. This guide is not an authorized publication; it is the continuous build for version 0.0.1-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7-cr/core/ and changes regularly. See the Directory of published versions
| Official URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-core-patient | Version: 0.0.1-ballot | |||
| Standards status: Draft | Maturity Level: 0 | Computable Name: CRCorePatient | ||
Copyright/Legal: Usado con el permiso de HL7 International, todos los derechos resevados en los Licencias de HL7 Internacional. |
||||
Perfil Patient para representar pacientes en Costa Rica, incluyendo identificadores oficiales y metadatos específicos del paciente.
El perfil base de paciente para Costas Rica pretende encapsular el modelo de datos más común y básico de pacientes en los sistemas de salud costarricense, abarcando tanto el sector primario como el secundario (médicos especialistas y hospitales) y los casos regionales. Por lo tanto, el perfil debería ser utilizable en la mayoría de los contextos costarricenses. Cabe destacar que el perfil es útil para quienes reciben atención en salud y social en las diferentes regiones del país.
Actualmente, este perfil de paciente solo refleja el uso de los identificadores nacionales de Costa Ruca de pacientes establecidos. A este punto, se soporta solo tres tipos de identificación:
Si un proyecto de implementación necesita proteger el nombre y la dirección de un ciudadano costarricense, se recomienda incluir la etiqueta de seguridad de la siguiente manera:
{
"resourceType" : "Bundle",
"type" : "searchset",
... otros headers etc.....
"entry" : [
... otroe entries ....
{
"resource": {
"id" : "1",
"meta" : {
"security" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "R",
"display" : "Restricted"
}]
}
... otros content etc.....
}
},
... otros entries ....
]
}
El uso de esta etiqueta debe interpretarse de acuerdo con la ley, lo que significa en términos generales que solo el personal que utiliza sistemas en asuntos públicos/oficiales puede ver el nombre y la dirección del paciente/ciudadano.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services Constraints: only-one-cedula, only-one-dimex |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
S | 0..1 | Age | Edad calculada del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-calculated-age Constraints: ext-1 |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Religión del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-religion Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-religions-set (extensible): Conjunto de religiones para Costa Rica basado en SNOMED CT. Constraints: ext-1 |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 1..* | Identifier | Identificadores oficiales y alternativos del paciente. |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | usual | official | temp | secondary | old Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Tipo de documento de identificación (Required) Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required): ValueSet de tipos de identificación oficiales y permitidos para pacientes en Costa Rica. |
![]() ![]() |
?!SΣ | 0..1 | boolean | Si el registro del paciente está activo. |
![]() ![]() |
SΣ | 1..1 | HumanName | Nombre(s) y apellido(s) del paciente. |
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. |
![]() ![]() ![]() |
SΣ | 1..1 | string | Primer apellido obligatorio; puede incluir el segundo apellido. |
![]() ![]() ![]() |
SΣ | 1..2 | string | Primer nombre obligatorio, segundo nombre opcional. This repeating element order: Given Names appear in the correct order for presenting the name |
![]() ![]() |
SΣ | 0..* | ContactPoint | Información de contacto del paciente (teléfono, correo electrónico, etc.). |
![]() ![]() ![]() |
SΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. |
![]() ![]() ![]() |
SΣC | 0..1 | string | El número telefónico o dirección de correo electrónico. |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile Binding: ContactPointUse (required): Use of contact point. |
![]() ![]() |
SΣ | 1..1 | code | Sexo biológico del paciente. Binding: AdministrativeGender (required) |
![]() ![]() |
SΣ | 1..1 | date | Fecha de nacimiento del paciente. |
![]() ![]() |
?!SΣ | 0..1 | Información sobre el fallecimiento del paciente. Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
?!SΣ | 0..1 | boolean | Indica si el paciente ha fallecido (sí/no). |
![]() ![]() ![]() |
?!SΣ | 0..1 | dateTime | Fecha y hora exacta del fallecimiento. |
![]() ![]() |
SΣ | 0..* | CRCoreAddress(0.0.1-ballot) | Dirección(es) del paciente. |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home |
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both |
![]() ![]() ![]() |
SΣ | 1..* | string | Línea de dirección (calle, número, referencias). This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street |
![]() ![]() ![]() |
SΣ | 0..1 | string | Cantón de Costa Rica. Example General: Erewhon |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para cantón URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-city-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-cities (required): Códigos de cantones de Costa Rica basados en el ZipCode. Constraints: ext-1 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Distrito de Costa Rica. Example General: Madison |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para distrito URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-district-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-districts (required): Códigos de distritos de Costa Rica basados en el ZipCode. Constraints: ext-1 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Provincia de Costa Rica. |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para provincia URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-state-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-provinces (required): Códigos de provincias de Costa Rica basados en el ZipCode. Constraints: ext-1 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Código postal. Example General: 9132 |
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del país (CR). |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Extensión para país URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-country-ext Binding: Iso316613 (required): Códigos de país en formato ISO 3166-1 alpha-3. Constraints: ext-1 |
![]() ![]() |
SC | 0..* | BackboneElement | Contacto(s) del paciente (familiares, tutores, etc.). Constraints: pat-1 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Tipo de relación (madre, padre, hermano, cónyuge, hijo/a, tutor, amigo, conviviente). Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible): CodeSystem de relaciones: madre, padre, hermano, cónyuge, hijo, tutor legal, amigo, conviviente |
![]() ![]() ![]() |
SC | 0..1 | HumanName | Nombre del contacto. |
![]() ![]() ![]() |
SC | 0..* | ContactPoint | Información de contacto (teléfono, correo, etc.). |
![]() ![]() ![]() |
SC | 0..1 | Address | Dirección del contacto. |
![]() ![]() ![]() |
S | 0..1 | code | Sexo del contacto. Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. |
![]() ![]() |
?!Σ | 0..* | BackboneElement | Link to a Patient or RelatedPerson resource that concerns the same actual individual |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to |
![]() ![]() ![]() |
Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| Patient.identifier.type | Base | required | https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types | Not State | Unknown |
| Patient.name.use | Base | required | NameUse | 📍5.0.0 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std. |
| Patient.address.use | Base | required | AddressUse | 📍5.0.0 | FHIR Std. |
| Patient.address.type | Base | required | AddressType | 📍5.0.0 | FHIR Std. |
| Patient.contact.relationship | Base | extensible | https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set | Not State | Unknown |
| Patient.contact.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std. |
| Patient.link.type | Base | required | Link Type | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | 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 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Patient.implicitRules, Patient.extension, Patient.extension:calculatedAge, Patient.extension:religion, Patient.modifierExtension, Patient.identifier, Patient.identifier.use, Patient.identifier.type, Patient.active, Patient.name, Patient.name.use, Patient.name.family, Patient.name.given, Patient.telecom, Patient.telecom.system, Patient.telecom.value, Patient.telecom.use, Patient.gender, Patient.birthDate, Patient.deceased[x], Patient.deceased[x]:deceasedBoolean, Patient.deceased[x]:deceasedDateTime, Patient.address, Patient.address.use, Patient.address.type, Patient.address.line, Patient.address.city, Patient.address.city.extension:cityCode, Patient.address.district, Patient.address.district.extension:districtCode, Patient.address.state, Patient.address.state.extension:stateCode, Patient.address.postalCode, Patient.address.country, Patient.address.country.extension:countryCode, Patient.contact, Patient.contact.modifierExtension, Patient.contact.relationship, Patient.contact.name, Patient.contact.telecom, Patient.contact.address, Patient.contact.gender, Patient.link, Patient.link.modifierExtension, Patient.link.other, Patient.link.type | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Patient.extension, Patient.extension:calculatedAge, Patient.extension:religion, Patient.modifierExtension, Patient.address.city.extension:cityCode, Patient.address.district.extension:districtCode, Patient.address.state.extension:stateCode, Patient.address.country.extension:countryCode, Patient.contact.modifierExtension, Patient.link.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| only-one-cedula | error | Patient | El paciente no puede tener más de una cédula costarricense. |
identifier.where(type.coding.code='cedula').count() <= 1
|
| only-one-dimex | error | Patient | El paciente no puede tener más de un DIMEX. |
identifier.where(type.coding.code='dimex').count() <= 1
|
| pat-1 | error | Patient.contact | 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()
|
This structure is derived from Patient
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Coding | Etiqueta de seguridad Binding: Confidentiality (3.0.0) (required) | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | Age | Edad calculada del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-calculated-age |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Religión del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-religion Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-religions-set (extensible): Conjunto de religiones para Costa Rica basado en SNOMED CT. |
![]() ![]() |
S | 1..* | Identifier | Identificadores oficiales y alternativos del paciente. |
![]() ![]() ![]() |
S | 0..1 | code | usual | official | temp | secondary | old |
![]() ![]() ![]() |
0..1 | CodeableConcept | Tipo de documento de identificación (Required) Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required): ValueSet de tipos de identificación oficiales y permitidos para pacientes en Costa Rica. | |
![]() ![]() |
S | 0..1 | boolean | Si el registro del paciente está activo. |
![]() ![]() |
S | 1..1 | HumanName | Nombre(s) y apellido(s) del paciente. |
![]() ![]() ![]() |
S | 1..1 | string | Primer apellido obligatorio; puede incluir el segundo apellido. |
![]() ![]() ![]() |
S | 1..2 | string | Primer nombre obligatorio, segundo nombre opcional. |
![]() ![]() |
S | 0..* | ContactPoint | Información de contacto del paciente (teléfono, correo electrónico, etc.). |
![]() ![]() ![]() |
S | 0..1 | code | phone | fax | email | pager | url | sms | other |
![]() ![]() ![]() |
S | 0..1 | string | El número telefónico o dirección de correo electrónico. |
![]() ![]() ![]() |
S | 0..1 | code | home | work | temp | old | mobile |
![]() ![]() |
S | 1..1 | code | Sexo biológico del paciente. Binding: AdministrativeGender (required) |
![]() ![]() |
S | 1..1 | date | Fecha de nacimiento del paciente. |
![]() ![]() |
S | 0..1 | boolean, dateTime | Información sobre el fallecimiento del paciente. Slice: Unordered, Open by type:$this |
![]() ![]() ![]() |
S | 0..1 | boolean | Indica si el paciente ha fallecido (sí/no). |
![]() ![]() ![]() |
S | 0..1 | dateTime | Fecha y hora exacta del fallecimiento. |
![]() ![]() |
S | 0..* | CRCoreAddress(0.0.1-ballot) | Dirección(es) del paciente. |
![]() ![]() ![]() |
S | 0..1 | code | home | work | temp | old | billing |
![]() ![]() ![]() |
S | 0..1 | code | postal | physical | both |
![]() ![]() ![]() |
1..* | string | Línea de dirección (calle, número, referencias). | |
![]() ![]() ![]() |
S | 0..1 | string | Cantón de Costa Rica. |
![]() ![]() ![]() |
S | 0..1 | string | Distrito de Costa Rica. |
![]() ![]() ![]() |
S | 0..1 | string | Provincia de Costa Rica. |
![]() ![]() ![]() |
S | 0..1 | string | Código postal. |
![]() ![]() ![]() |
0..1 | string | Nombre del país (CR). | |
![]() ![]() |
S | 0..* | BackboneElement | Contacto(s) del paciente (familiares, tutores, etc.). |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Tipo de relación (madre, padre, hermano, cónyuge, hijo/a, tutor, amigo, conviviente). Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible): CodeSystem de relaciones: madre, padre, hermano, cónyuge, hijo, tutor legal, amigo, conviviente |
![]() ![]() ![]() |
S | 0..1 | HumanName | Nombre del contacto. |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Información de contacto (teléfono, correo, etc.). |
![]() ![]() ![]() |
S | 0..1 | Address | Dirección del contacto. |
![]() ![]() ![]() |
S | 0..1 | code | Sexo del contacto. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.meta.security | Base | required | Confidentiality | 📍3.0.0 | THO v7.0 |
| Patient.identifier.type | Base | required | https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types | Not State | Unknown |
| Patient.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std. |
| Patient.contact.relationship | Base | extensible | https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services Constraints: only-one-cedula, only-one-dimex | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Etiqueta de seguridad Binding: Confidentiality (3.0.0) (required) | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
S | 0..1 | Age | Edad calculada del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-calculated-age Constraints: ext-1 | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Religión del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-religion Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-religions-set (extensible): Conjunto de religiones para Costa Rica basado en SNOMED CT. Constraints: ext-1 | ||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 1..* | Identifier | Identificadores oficiales y alternativos del paciente. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | usual | official | temp | secondary | old Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Tipo de documento de identificación (Required) Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required): ValueSet de tipos de identificación oficiales y permitidos para pacientes en Costa Rica. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!SΣ | 0..1 | boolean | Si el registro del paciente está activo. | ||||
![]() ![]() |
SΣ | 1..1 | HumanName | Nombre(s) y apellido(s) del paciente. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text representation of the full name | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Primer apellido obligatorio; puede incluir el segundo apellido. | ||||
![]() ![]() ![]() |
SΣ | 1..2 | string | Primer nombre obligatorio, segundo nombre opcional. This repeating element order: Given Names appear in the correct order for presenting the name | ||||
![]() ![]() ![]() |
Σ | 0..* | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name | ||||
![]() ![]() ![]() |
Σ | 0..* | string | Parts that come after the name This repeating element order: Suffixes appear in the correct order for presenting the name | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when name was/is in use | ||||
![]() ![]() |
SΣ | 0..* | ContactPoint | Información de contacto del paciente (teléfono, correo electrónico, etc.). | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
SΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() |
SΣC | 0..1 | string | El número telefónico o dirección de correo electrónico. | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile Binding: ContactPointUse (required): Use of contact point. | ||||
![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
![]() ![]() |
SΣ | 1..1 | code | Sexo biológico del paciente. Binding: AdministrativeGender (required) | ||||
![]() ![]() |
SΣ | 1..1 | date | Fecha de nacimiento del paciente. | ||||
![]() ![]() |
?!SΣ | 0..1 | Información sobre el fallecimiento del paciente. Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
?!SΣ | 0..1 | boolean | Indica si el paciente ha fallecido (sí/no). | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | dateTime | Fecha y hora exacta del fallecimiento. | ||||
![]() ![]() |
SΣ | 0..* | CRCoreAddress(0.0.1-ballot) | Dirección(es) del paciente. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132 | ||||
![]() ![]() ![]() |
SΣ | 1..* | string | Línea de dirección (calle, número, referencias). This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Cantón de Costa Rica. Example General: Erewhon | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Código de la ciudad basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para cantón URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-city-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-cities (required): Códigos de cantones de Costa Rica basados en el ZipCode. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Distrito de Costa Rica. Example General: Madison | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Código del distrito basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para distrito URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-district-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-districts (required): Códigos de distritos de Costa Rica basados en el ZipCode. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Provincia de Costa Rica. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Código de la provincia basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para provincia URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-state-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-provinces (required): Códigos de provincias de Costa Rica basados en el ZipCode. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Código postal. Example General: 9132 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del país (CR). | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Código de país en formato ISO 3166-1 alpha-3 Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Extensión para país URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-country-ext Binding: Iso316613 (required): Códigos de país en formato ISO 3166-1 alpha-3. Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"} | ||||
![]() ![]() |
0..1 | CodeableConcept | Marital (civil) status of a patient Binding: MaritalStatusCodes (extensible): The domestic partnership status of a person. | |||||
![]() ![]() |
0..1 | Whether patient is part of a multiple birth | ||||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
integer | |||||||
![]() ![]() |
0..* | Attachment | Image of the patient | |||||
![]() ![]() |
SC | 0..* | BackboneElement | Contacto(s) del paciente (familiares, tutores, etc.). Constraints: pat-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Tipo de relación (madre, padre, hermano, cónyuge, hijo/a, tutor, amigo, conviviente). Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible): CodeSystem de relaciones: madre, padre, hermano, cónyuge, hijo, tutor legal, amigo, conviviente | ||||
![]() ![]() ![]() |
SC | 0..1 | HumanName | Nombre del contacto. | ||||
![]() ![]() ![]() |
SC | 0..* | ContactPoint | Información de contacto (teléfono, correo, etc.). | ||||
![]() ![]() ![]() |
SC | 0..1 | Address | Dirección del contacto. | ||||
![]() ![]() ![]() |
S | 0..1 | code | Sexo del contacto. Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Organization) | Organization that is associated with the contact | ||||
![]() ![]() ![]() |
0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient | |||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | boolean | Language preference indicator | |||||
![]() ![]() |
0..* | Reference(Organization | Practitioner | PractitionerRole) | Patient's nominated primary care provider | |||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that is the custodian of the patient record | ||||
![]() ![]() |
?!Σ | 0..* | BackboneElement | Link to a Patient or RelatedPerson resource that concerns the same actual individual | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.meta.security | Base | required | Confidentiality | 📍3.0.0 | THO v7.0 |
| Patient.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| Patient.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Patient.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| Patient.identifier.type | Base | required | https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types | Not State | Unknown |
| Patient.name.use | Base | required | NameUse | 📍5.0.0 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std. |
| Patient.address.use | Base | required | AddressUse | 📍5.0.0 | FHIR Std. |
| Patient.address.type | Base | required | AddressType | 📍5.0.0 | FHIR Std. |
| Patient.maritalStatus | Base | extensible | Marital Status Codes | 📍5.0.0 | FHIR Std. |
| Patient.contact.relationship | Base | extensible | https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set | Not State | Unknown |
| Patient.contact.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std. |
| Patient.communication.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Patient.link.type | Base | required | Link Type | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | 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 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Patient.meta, Patient.meta.extension, Patient.meta.versionId, Patient.meta.lastUpdated, Patient.meta.source, Patient.meta.profile, Patient.meta.security, Patient.meta.tag, Patient.implicitRules, Patient.language, Patient.text, Patient.extension, Patient.extension:calculatedAge, Patient.extension:religion, Patient.modifierExtension, Patient.identifier, Patient.identifier.extension, Patient.identifier.use, Patient.identifier.type, Patient.identifier.system, Patient.identifier.value, Patient.identifier.period, Patient.identifier.assigner, Patient.active, Patient.name, Patient.name.extension, Patient.name.use, Patient.name.text, Patient.name.family, Patient.name.given, Patient.name.prefix, Patient.name.suffix, Patient.name.period, Patient.telecom, Patient.telecom.extension, Patient.telecom.system, Patient.telecom.value, Patient.telecom.use, Patient.telecom.rank, Patient.telecom.period, Patient.gender, Patient.birthDate, Patient.deceased[x], Patient.deceased[x]:deceasedBoolean, Patient.deceased[x]:deceasedDateTime, Patient.address, Patient.address.extension, Patient.address.use, Patient.address.type, Patient.address.text, Patient.address.line, Patient.address.city, Patient.address.city.extension, Patient.address.city.extension:cityCode, Patient.address.district, Patient.address.district.extension, Patient.address.district.extension:districtCode, Patient.address.state, Patient.address.state.extension, Patient.address.state.extension:stateCode, Patient.address.postalCode, Patient.address.country, Patient.address.country.extension, Patient.address.country.extension:countryCode, Patient.address.period, Patient.maritalStatus, Patient.multipleBirth[x], Patient.photo, Patient.contact, Patient.contact.extension, Patient.contact.modifierExtension, Patient.contact.relationship, Patient.contact.name, Patient.contact.telecom, Patient.contact.address, Patient.contact.gender, Patient.contact.organization, Patient.contact.period, Patient.communication, Patient.communication.extension, Patient.communication.modifierExtension, Patient.communication.language, Patient.communication.preferred, Patient.generalPractitioner, Patient.managingOrganization, Patient.link, Patient.link.extension, Patient.link.modifierExtension, Patient.link.other, Patient.link.type | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Patient.meta.extension, Patient.extension, Patient.extension:calculatedAge, Patient.extension:religion, Patient.modifierExtension, Patient.identifier.extension, Patient.name.extension, Patient.telecom.extension, Patient.address.extension, Patient.address.city.extension, Patient.address.city.extension:cityCode, Patient.address.district.extension, Patient.address.district.extension:districtCode, Patient.address.state.extension, Patient.address.state.extension:stateCode, Patient.address.country.extension, Patient.address.country.extension:countryCode, Patient.contact.extension, Patient.contact.modifierExtension, Patient.communication.extension, Patient.communication.modifierExtension, Patient.link.extension, Patient.link.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| only-one-cedula | error | Patient | El paciente no puede tener más de una cédula costarricense. |
identifier.where(type.coding.code='cedula').count() <= 1
|
| only-one-dimex | error | Patient | El paciente no puede tener más de un DIMEX. |
identifier.where(type.coding.code='dimex').count() <= 1
|
| pat-1 | error | Patient.contact | 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()
|
This structure is derived from Patient
Summary
Mandatory: 6 elements
Must-Support: 30 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services Constraints: only-one-cedula, only-one-dimex |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
S | 0..1 | Age | Edad calculada del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-calculated-age Constraints: ext-1 |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Religión del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-religion Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-religions-set (extensible): Conjunto de religiones para Costa Rica basado en SNOMED CT. Constraints: ext-1 |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 1..* | Identifier | Identificadores oficiales y alternativos del paciente. |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | usual | official | temp | secondary | old Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Tipo de documento de identificación (Required) Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required): ValueSet de tipos de identificación oficiales y permitidos para pacientes en Costa Rica. |
![]() ![]() |
?!SΣ | 0..1 | boolean | Si el registro del paciente está activo. |
![]() ![]() |
SΣ | 1..1 | HumanName | Nombre(s) y apellido(s) del paciente. |
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. |
![]() ![]() ![]() |
SΣ | 1..1 | string | Primer apellido obligatorio; puede incluir el segundo apellido. |
![]() ![]() ![]() |
SΣ | 1..2 | string | Primer nombre obligatorio, segundo nombre opcional. This repeating element order: Given Names appear in the correct order for presenting the name |
![]() ![]() |
SΣ | 0..* | ContactPoint | Información de contacto del paciente (teléfono, correo electrónico, etc.). |
![]() ![]() ![]() |
SΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. |
![]() ![]() ![]() |
SΣC | 0..1 | string | El número telefónico o dirección de correo electrónico. |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile Binding: ContactPointUse (required): Use of contact point. |
![]() ![]() |
SΣ | 1..1 | code | Sexo biológico del paciente. Binding: AdministrativeGender (required) |
![]() ![]() |
SΣ | 1..1 | date | Fecha de nacimiento del paciente. |
![]() ![]() |
?!SΣ | 0..1 | Información sobre el fallecimiento del paciente. Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
?!SΣ | 0..1 | boolean | Indica si el paciente ha fallecido (sí/no). |
![]() ![]() ![]() |
?!SΣ | 0..1 | dateTime | Fecha y hora exacta del fallecimiento. |
![]() ![]() |
SΣ | 0..* | CRCoreAddress(0.0.1-ballot) | Dirección(es) del paciente. |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home |
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both |
![]() ![]() ![]() |
SΣ | 1..* | string | Línea de dirección (calle, número, referencias). This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street |
![]() ![]() ![]() |
SΣ | 0..1 | string | Cantón de Costa Rica. Example General: Erewhon |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para cantón URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-city-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-cities (required): Códigos de cantones de Costa Rica basados en el ZipCode. Constraints: ext-1 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Distrito de Costa Rica. Example General: Madison |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para distrito URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-district-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-districts (required): Códigos de distritos de Costa Rica basados en el ZipCode. Constraints: ext-1 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Provincia de Costa Rica. |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para provincia URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-state-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-provinces (required): Códigos de provincias de Costa Rica basados en el ZipCode. Constraints: ext-1 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Código postal. Example General: 9132 |
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del país (CR). |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Extensión para país URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-country-ext Binding: Iso316613 (required): Códigos de país en formato ISO 3166-1 alpha-3. Constraints: ext-1 |
![]() ![]() |
SC | 0..* | BackboneElement | Contacto(s) del paciente (familiares, tutores, etc.). Constraints: pat-1 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Tipo de relación (madre, padre, hermano, cónyuge, hijo/a, tutor, amigo, conviviente). Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible): CodeSystem de relaciones: madre, padre, hermano, cónyuge, hijo, tutor legal, amigo, conviviente |
![]() ![]() ![]() |
SC | 0..1 | HumanName | Nombre del contacto. |
![]() ![]() ![]() |
SC | 0..* | ContactPoint | Información de contacto (teléfono, correo, etc.). |
![]() ![]() ![]() |
SC | 0..1 | Address | Dirección del contacto. |
![]() ![]() ![]() |
S | 0..1 | code | Sexo del contacto. Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. |
![]() ![]() |
?!Σ | 0..* | BackboneElement | Link to a Patient or RelatedPerson resource that concerns the same actual individual |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to |
![]() ![]() ![]() |
Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| Patient.identifier.type | Base | required | https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types | Not State | Unknown |
| Patient.name.use | Base | required | NameUse | 📍5.0.0 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std. |
| Patient.address.use | Base | required | AddressUse | 📍5.0.0 | FHIR Std. |
| Patient.address.type | Base | required | AddressType | 📍5.0.0 | FHIR Std. |
| Patient.contact.relationship | Base | extensible | https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set | Not State | Unknown |
| Patient.contact.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std. |
| Patient.link.type | Base | required | Link Type | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | 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 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Patient.implicitRules, Patient.extension, Patient.extension:calculatedAge, Patient.extension:religion, Patient.modifierExtension, Patient.identifier, Patient.identifier.use, Patient.identifier.type, Patient.active, Patient.name, Patient.name.use, Patient.name.family, Patient.name.given, Patient.telecom, Patient.telecom.system, Patient.telecom.value, Patient.telecom.use, Patient.gender, Patient.birthDate, Patient.deceased[x], Patient.deceased[x]:deceasedBoolean, Patient.deceased[x]:deceasedDateTime, Patient.address, Patient.address.use, Patient.address.type, Patient.address.line, Patient.address.city, Patient.address.city.extension:cityCode, Patient.address.district, Patient.address.district.extension:districtCode, Patient.address.state, Patient.address.state.extension:stateCode, Patient.address.postalCode, Patient.address.country, Patient.address.country.extension:countryCode, Patient.contact, Patient.contact.modifierExtension, Patient.contact.relationship, Patient.contact.name, Patient.contact.telecom, Patient.contact.address, Patient.contact.gender, Patient.link, Patient.link.modifierExtension, Patient.link.other, Patient.link.type | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Patient.extension, Patient.extension:calculatedAge, Patient.extension:religion, Patient.modifierExtension, Patient.address.city.extension:cityCode, Patient.address.district.extension:districtCode, Patient.address.state.extension:stateCode, Patient.address.country.extension:countryCode, Patient.contact.modifierExtension, Patient.link.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| only-one-cedula | error | Patient | El paciente no puede tener más de una cédula costarricense. |
identifier.where(type.coding.code='cedula').count() <= 1
|
| only-one-dimex | error | Patient | El paciente no puede tener más de un DIMEX. |
identifier.where(type.coding.code='dimex').count() <= 1
|
| pat-1 | error | Patient.contact | 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()
|
Differential View
This structure is derived from Patient
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Coding | Etiqueta de seguridad Binding: Confidentiality (3.0.0) (required) | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 0..1 | Age | Edad calculada del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-calculated-age |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Religión del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-religion Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-religions-set (extensible): Conjunto de religiones para Costa Rica basado en SNOMED CT. |
![]() ![]() |
S | 1..* | Identifier | Identificadores oficiales y alternativos del paciente. |
![]() ![]() ![]() |
S | 0..1 | code | usual | official | temp | secondary | old |
![]() ![]() ![]() |
0..1 | CodeableConcept | Tipo de documento de identificación (Required) Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required): ValueSet de tipos de identificación oficiales y permitidos para pacientes en Costa Rica. | |
![]() ![]() |
S | 0..1 | boolean | Si el registro del paciente está activo. |
![]() ![]() |
S | 1..1 | HumanName | Nombre(s) y apellido(s) del paciente. |
![]() ![]() ![]() |
S | 1..1 | string | Primer apellido obligatorio; puede incluir el segundo apellido. |
![]() ![]() ![]() |
S | 1..2 | string | Primer nombre obligatorio, segundo nombre opcional. |
![]() ![]() |
S | 0..* | ContactPoint | Información de contacto del paciente (teléfono, correo electrónico, etc.). |
![]() ![]() ![]() |
S | 0..1 | code | phone | fax | email | pager | url | sms | other |
![]() ![]() ![]() |
S | 0..1 | string | El número telefónico o dirección de correo electrónico. |
![]() ![]() ![]() |
S | 0..1 | code | home | work | temp | old | mobile |
![]() ![]() |
S | 1..1 | code | Sexo biológico del paciente. Binding: AdministrativeGender (required) |
![]() ![]() |
S | 1..1 | date | Fecha de nacimiento del paciente. |
![]() ![]() |
S | 0..1 | boolean, dateTime | Información sobre el fallecimiento del paciente. Slice: Unordered, Open by type:$this |
![]() ![]() ![]() |
S | 0..1 | boolean | Indica si el paciente ha fallecido (sí/no). |
![]() ![]() ![]() |
S | 0..1 | dateTime | Fecha y hora exacta del fallecimiento. |
![]() ![]() |
S | 0..* | CRCoreAddress(0.0.1-ballot) | Dirección(es) del paciente. |
![]() ![]() ![]() |
S | 0..1 | code | home | work | temp | old | billing |
![]() ![]() ![]() |
S | 0..1 | code | postal | physical | both |
![]() ![]() ![]() |
1..* | string | Línea de dirección (calle, número, referencias). | |
![]() ![]() ![]() |
S | 0..1 | string | Cantón de Costa Rica. |
![]() ![]() ![]() |
S | 0..1 | string | Distrito de Costa Rica. |
![]() ![]() ![]() |
S | 0..1 | string | Provincia de Costa Rica. |
![]() ![]() ![]() |
S | 0..1 | string | Código postal. |
![]() ![]() ![]() |
0..1 | string | Nombre del país (CR). | |
![]() ![]() |
S | 0..* | BackboneElement | Contacto(s) del paciente (familiares, tutores, etc.). |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Tipo de relación (madre, padre, hermano, cónyuge, hijo/a, tutor, amigo, conviviente). Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible): CodeSystem de relaciones: madre, padre, hermano, cónyuge, hijo, tutor legal, amigo, conviviente |
![]() ![]() ![]() |
S | 0..1 | HumanName | Nombre del contacto. |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Información de contacto (teléfono, correo, etc.). |
![]() ![]() ![]() |
S | 0..1 | Address | Dirección del contacto. |
![]() ![]() ![]() |
S | 0..1 | code | Sexo del contacto. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.meta.security | Base | required | Confidentiality | 📍3.0.0 | THO v7.0 |
| Patient.identifier.type | Base | required | https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types | Not State | Unknown |
| Patient.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std. |
| Patient.contact.relationship | Base | extensible | https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services Constraints: only-one-cedula, only-one-dimex | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Etiqueta de seguridad Binding: Confidentiality (3.0.0) (required) | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
S | 0..1 | Age | Edad calculada del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-calculated-age Constraints: ext-1 | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Religión del paciente URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-patient-religion Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-religions-set (extensible): Conjunto de religiones para Costa Rica basado en SNOMED CT. Constraints: ext-1 | ||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 1..* | Identifier | Identificadores oficiales y alternativos del paciente. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | usual | official | temp | secondary | old Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Tipo de documento de identificación (Required) Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required): ValueSet de tipos de identificación oficiales y permitidos para pacientes en Costa Rica. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!SΣ | 0..1 | boolean | Si el registro del paciente está activo. | ||||
![]() ![]() |
SΣ | 1..1 | HumanName | Nombre(s) y apellido(s) del paciente. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text representation of the full name | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Primer apellido obligatorio; puede incluir el segundo apellido. | ||||
![]() ![]() ![]() |
SΣ | 1..2 | string | Primer nombre obligatorio, segundo nombre opcional. This repeating element order: Given Names appear in the correct order for presenting the name | ||||
![]() ![]() ![]() |
Σ | 0..* | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name | ||||
![]() ![]() ![]() |
Σ | 0..* | string | Parts that come after the name This repeating element order: Suffixes appear in the correct order for presenting the name | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when name was/is in use | ||||
![]() ![]() |
SΣ | 0..* | ContactPoint | Información de contacto del paciente (teléfono, correo electrónico, etc.). | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
SΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() |
SΣC | 0..1 | string | El número telefónico o dirección de correo electrónico. | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile Binding: ContactPointUse (required): Use of contact point. | ||||
![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
![]() ![]() |
SΣ | 1..1 | code | Sexo biológico del paciente. Binding: AdministrativeGender (required) | ||||
![]() ![]() |
SΣ | 1..1 | date | Fecha de nacimiento del paciente. | ||||
![]() ![]() |
?!SΣ | 0..1 | Información sobre el fallecimiento del paciente. Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
?!SΣ | 0..1 | boolean | Indica si el paciente ha fallecido (sí/no). | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | dateTime | Fecha y hora exacta del fallecimiento. | ||||
![]() ![]() |
SΣ | 0..* | CRCoreAddress(0.0.1-ballot) | Dirección(es) del paciente. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132 | ||||
![]() ![]() ![]() |
SΣ | 1..* | string | Línea de dirección (calle, número, referencias). This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Cantón de Costa Rica. Example General: Erewhon | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Código de la ciudad basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para cantón URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-city-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-cities (required): Códigos de cantones de Costa Rica basados en el ZipCode. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Distrito de Costa Rica. Example General: Madison | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Código del distrito basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para distrito URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-district-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-districts (required): Códigos de distritos de Costa Rica basados en el ZipCode. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Provincia de Costa Rica. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Código de la provincia basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extensión para provincia URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-state-ext Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-provinces (required): Códigos de provincias de Costa Rica basados en el ZipCode. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Código postal. Example General: 9132 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del país (CR). | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Código de país en formato ISO 3166-1 alpha-3 Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Extensión para país URL: https://hl7.or.cr/fhir/core/StructureDefinition/cr-country-ext Binding: Iso316613 (required): Códigos de país en formato ISO 3166-1 alpha-3. Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"} | ||||
![]() ![]() |
0..1 | CodeableConcept | Marital (civil) status of a patient Binding: MaritalStatusCodes (extensible): The domestic partnership status of a person. | |||||
![]() ![]() |
0..1 | Whether patient is part of a multiple birth | ||||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
integer | |||||||
![]() ![]() |
0..* | Attachment | Image of the patient | |||||
![]() ![]() |
SC | 0..* | BackboneElement | Contacto(s) del paciente (familiares, tutores, etc.). Constraints: pat-1 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Tipo de relación (madre, padre, hermano, cónyuge, hijo/a, tutor, amigo, conviviente). Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible): CodeSystem de relaciones: madre, padre, hermano, cónyuge, hijo, tutor legal, amigo, conviviente | ||||
![]() ![]() ![]() |
SC | 0..1 | HumanName | Nombre del contacto. | ||||
![]() ![]() ![]() |
SC | 0..* | ContactPoint | Información de contacto (teléfono, correo, etc.). | ||||
![]() ![]() ![]() |
SC | 0..1 | Address | Dirección del contacto. | ||||
![]() ![]() ![]() |
S | 0..1 | code | Sexo del contacto. Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Organization) | Organization that is associated with the contact | ||||
![]() ![]() ![]() |
0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient | |||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() ![]() |
0..1 | boolean | Language preference indicator | |||||
![]() ![]() |
0..* | Reference(Organization | Practitioner | PractitionerRole) | Patient's nominated primary care provider | |||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that is the custodian of the patient record | ||||
![]() ![]() |
?!Σ | 0..* | BackboneElement | Link to a Patient or RelatedPerson resource that concerns the same actual individual | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another Patient resource, or Patient/RelatedPerson when using the seealso code | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.meta.security | Base | required | Confidentiality | 📍3.0.0 | THO v7.0 |
| Patient.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| Patient.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Patient.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| Patient.identifier.type | Base | required | https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types | Not State | Unknown |
| Patient.name.use | Base | required | NameUse | 📍5.0.0 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍5.0.0 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std. |
| Patient.address.use | Base | required | AddressUse | 📍5.0.0 | FHIR Std. |
| Patient.address.type | Base | required | AddressType | 📍5.0.0 | FHIR Std. |
| Patient.maritalStatus | Base | extensible | Marital Status Codes | 📍5.0.0 | FHIR Std. |
| Patient.contact.relationship | Base | extensible | https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set | Not State | Unknown |
| Patient.contact.gender | Base | required | AdministrativeGender | 📍5.0.0 | FHIR Std. |
| Patient.communication.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Patient.link.type | Base | required | Link Type | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | 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 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Patient.meta, Patient.meta.extension, Patient.meta.versionId, Patient.meta.lastUpdated, Patient.meta.source, Patient.meta.profile, Patient.meta.security, Patient.meta.tag, Patient.implicitRules, Patient.language, Patient.text, Patient.extension, Patient.extension:calculatedAge, Patient.extension:religion, Patient.modifierExtension, Patient.identifier, Patient.identifier.extension, Patient.identifier.use, Patient.identifier.type, Patient.identifier.system, Patient.identifier.value, Patient.identifier.period, Patient.identifier.assigner, Patient.active, Patient.name, Patient.name.extension, Patient.name.use, Patient.name.text, Patient.name.family, Patient.name.given, Patient.name.prefix, Patient.name.suffix, Patient.name.period, Patient.telecom, Patient.telecom.extension, Patient.telecom.system, Patient.telecom.value, Patient.telecom.use, Patient.telecom.rank, Patient.telecom.period, Patient.gender, Patient.birthDate, Patient.deceased[x], Patient.deceased[x]:deceasedBoolean, Patient.deceased[x]:deceasedDateTime, Patient.address, Patient.address.extension, Patient.address.use, Patient.address.type, Patient.address.text, Patient.address.line, Patient.address.city, Patient.address.city.extension, Patient.address.city.extension:cityCode, Patient.address.district, Patient.address.district.extension, Patient.address.district.extension:districtCode, Patient.address.state, Patient.address.state.extension, Patient.address.state.extension:stateCode, Patient.address.postalCode, Patient.address.country, Patient.address.country.extension, Patient.address.country.extension:countryCode, Patient.address.period, Patient.maritalStatus, Patient.multipleBirth[x], Patient.photo, Patient.contact, Patient.contact.extension, Patient.contact.modifierExtension, Patient.contact.relationship, Patient.contact.name, Patient.contact.telecom, Patient.contact.address, Patient.contact.gender, Patient.contact.organization, Patient.contact.period, Patient.communication, Patient.communication.extension, Patient.communication.modifierExtension, Patient.communication.language, Patient.communication.preferred, Patient.generalPractitioner, Patient.managingOrganization, Patient.link, Patient.link.extension, Patient.link.modifierExtension, Patient.link.other, Patient.link.type | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Patient.meta.extension, Patient.extension, Patient.extension:calculatedAge, Patient.extension:religion, Patient.modifierExtension, Patient.identifier.extension, Patient.name.extension, Patient.telecom.extension, Patient.address.extension, Patient.address.city.extension, Patient.address.city.extension:cityCode, Patient.address.district.extension, Patient.address.district.extension:districtCode, Patient.address.state.extension, Patient.address.state.extension:stateCode, Patient.address.country.extension, Patient.address.country.extension:countryCode, Patient.contact.extension, Patient.contact.modifierExtension, Patient.communication.extension, Patient.communication.modifierExtension, Patient.link.extension, Patient.link.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| only-one-cedula | error | Patient | El paciente no puede tener más de una cédula costarricense. |
identifier.where(type.coding.code='cedula').count() <= 1
|
| only-one-dimex | error | Patient | El paciente no puede tener más de un DIMEX. |
identifier.where(type.coding.code='dimex').count() <= 1
|
| pat-1 | error | Patient.contact | 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()
|
This structure is derived from Patient
Summary
Mandatory: 6 elements
Must-Support: 30 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron
Nota: los comentarios son bienvenidos y deben dirigirse al repositorio de Github (https://github.com/HL7-cr/core).