HL7 FHIR Costa Rica - Reportes de Imágenes Médicas
0.0.1-draft - ci-build

HL7 FHIR Costa Rica - Reportes de Imágenes Médicas, published by Iniciativa HL7 Costa Rica. This guide is not an authorized publication; it is the continuous build for version 0.0.1-draft built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7-cr/imaging-report/ and changes regularly. See the Directory of published versions

## Resource Profile: Paciente - Reportes de Imágenes Médicas

Official URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-imaging-patient | Version:
Standards status: Draft | Maturity Level: 0 | Computable Name: CRImagingPatient
Copyright/Legal: Utilizado con permiso de HL7 International, todos los derechos reservados Licencia Creative Commons

Perfil Patient para representar pacientes en el contexto de reportes de imágenes médicas en Costa Rica. Incorpora todos los identificadores oficiales, metadatos y restricciones específicas del perfil CRCorePatient, permitiendo el uso en reportes de imágenes sin requerir dependencia externa del Core IG.

Usages:

- This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

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

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services Constraints: only-one-cedula, only-one-dimex
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1
extension:calculatedAge | S | 0..1 | Age | Edad calculada del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age Constraints: ext-1
extension:religion | S | 0..1 | CodeableConcept | Religión del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-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
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 1..* | Identifier | Identificadores oficiales del paciente
use | ?!S Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required)
active | ?!S Σ | 0..1 | boolean | Si el registro del paciente está activo
name | S Σ | 1..1 | HumanName | A name associated with the patient
use | ?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name.
family | S Σ | 1..1 | string | Family name (often called 'Surname')
given | S Σ | 1..2 | string | Given names (not always 'first'). Includes middle names This repeating element order: Given Names appear in the correct order for presenting the name
telecom | S Σ | 0..* | ContactPoint | A contact detail for the individual
system | S Σ C | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
value | S Σ C | 0..1 | string | The actual contact point details
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
gender | S Σ | 1..1 | code | Sexo biológico del paciente Binding: AdministrativeGender (required)
birthDate | S Σ | 1..1 | date | Fecha de nacimiento del paciente
Slices for deceased[x] | ?!S Σ | 0..1 |  | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
deceased[x]:deceasedBoolean | ?!S Σ | 0..1 | boolean | Indicates if the individual is deceased or not
deceased[x]:deceasedDateTime | ?!S Σ | 0..1 | dateTime | Indicates if the individual is deceased or not
address | S Σ | 0..* | CRLabResultAddress(1.0.0) | An address for the individual
use | ?!S Σ | 0..1 | code | Tipo de dirección. Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home
type | S Σ | 0..1 | code | Tipo de dirección. Binding: AddressType (required): The type of an address (physical / postal). Example General: both
line | S Σ | 1..* | string | La dirección completa, incluyendo la calle, el número de la casa o apartamento, la ciudad, el estado, el código postal, etc., si es relevante. This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street
city | S Σ | 0..1 | string | Nombre de la ciudad. Example General: Erewhon
Slices for extension |  |  |  | Content/Rules for all slices
extension:cityCode |  | 0..1 | CodeableConcept | Extensión para cantón URL: https://hl7.or.cr/fhir/imaging-report/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
district | S Σ | 0..1 | string | Nombre del distrito. Example General: Madison
Slices for extension |  |  |  | Content/Rules for all slices
extension:districtCode |  | 0..1 | CodeableConcept | Extensión para distrito URL: https://hl7.or.cr/fhir/imaging-report/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
state | S Σ | 0..1 | string | Nombre del estado o provincia.
Slices for extension |  |  |  | Content/Rules for all slices
extension:stateCode |  | 0..1 | CodeableConcept | Extensión para provincia URL: https://hl7.or.cr/fhir/imaging-report/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
postalCode | S Σ | 0..1 | string | Código postal. Example General: 9132
country | S Σ | 0..1 | string | Nombre del país.
Slices for extension |  |  |  | Content/Rules for all slices
extension:countryCode | S | 0..1 | CodeableConcept | Extensión para país URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-country-ext Binding: Iso316613 (required): Códigos de país en formato ISO 3166-1 alpha-3. Constraints: ext-1
contact | S C | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Constraints: pat-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
relationship | S | 0..* | CodeableConcept | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible)
name | S C | 0..1 | HumanName | A name associated with the contact person
telecom | S C | 0..* | ContactPoint | A contact detail for the person
address | S C | 0..1 | Address | Address for the contact person
gender | S | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
link | ?!Σ | 0..* | BackboneElement | Link to a Patient or RelatedPerson resource that concerns the same actual individual
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
other | Σ | 1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to
type | Σ | 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

#### Terminology Bindings

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.

#### Constraints

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: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services Constraints: only-one-cedula, only-one-dimex
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:calculatedAge | S | 0..1 | Age | Edad calculada del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age
extension:religion | S | 0..1 | CodeableConcept | Religión del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-religion Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-religions-set (extensible): Conjunto de religiones para Costa Rica basado en SNOMED CT.
identifier | S | 1..* | Identifier | Identificadores oficiales del paciente
use | S | 0..1 | code | usual | official | temp | secondary | old (If known)
type |  | 0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required)
active | S | 0..1 | boolean | Si el registro del paciente está activo
name | S | 1..1 | HumanName | A name associated with the patient
family | S | 1..1 | string | Family name (often called 'Surname')
given | S | 1..2 | string | Given names (not always 'first'). Includes middle names
telecom | S | 0..* | ContactPoint | A contact detail for the individual
system | S | 0..1 | code | phone | fax | email | pager | url | sms | other
value | S | 0..1 | string | The actual contact point details
use | S | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point
gender | S | 1..1 | code | Sexo biológico del paciente Binding: AdministrativeGender (required)
birthDate | S | 1..1 | date | Fecha de nacimiento del paciente
Slices for deceased[x] | S | 0..1 | boolean, dateTime | Indicates if the individual is deceased or not Slice: Unordered, Open by type:$this
deceased[x]:deceasedBoolean | S | 0..1 | boolean | Indicates if the individual is deceased or not
deceased[x]:deceasedDateTime | S | 0..1 | dateTime | Indicates if the individual is deceased or not
address | S | 0..* | CRLabResultAddress(1.0.0) | An address for the individual
use | S | 0..1 | code | Tipo de dirección.
type | S | 0..1 | code | Tipo de dirección.
city | S | 0..1 | string | Nombre de la ciudad.
district | S | 0..1 | string | Nombre del distrito.
state | S | 0..1 | string | Nombre del estado o provincia.
postalCode | S | 0..1 | string | Código postal.
contact | S | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient
relationship | S | 0..* | CodeableConcept | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible)
name | S | 0..1 | HumanName | A name associated with the contact person
telecom | S | 0..* | ContactPoint | A contact detail for the person
address | S | 0..1 | Address | Address for the contact person
gender | S | 0..1 | code | male | female | other | unknown
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
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

#### Constraints

Id | Grade | Path(s) | Description | Expression
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`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services Constraints: only-one-cedula, only-one-dimex
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1
extension:calculatedAge | S | 0..1 | Age | Edad calculada del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age Constraints: ext-1
extension:religion | S | 0..1 | CodeableConcept | Religión del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-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
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 1..* | Identifier | Identificadores oficiales del paciente
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1
use | ?!S Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required)
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ C | 0..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
active | ?!S Σ | 0..1 | boolean | Si el registro del paciente está activo
name | S Σ | 1..1 | HumanName | A name associated with the patient
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1
use | ?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name.
text | Σ | 0..1 | string | Text representation of the full name
family | S Σ | 1..1 | string | Family name (often called 'Surname')
given | S Σ | 1..2 | string | Given names (not always 'first'). Includes middle names This repeating element order: Given Names appear in the correct order for presenting the name
prefix | Σ | 0..* | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name
suffix | Σ | 0..* | string | Parts that come after the name This repeating element order: Suffixes appear in the correct order for presenting the name
period | Σ | 0..1 | Period | Time period when name was/is in use
telecom | S Σ | 0..* | ContactPoint | A contact detail for the individual
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1
system | S Σ C | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
value | S Σ C | 0..1 | string | The actual contact point details
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | Σ | 0..1 | Period | Time period when the contact point was/is in use
gender | S Σ | 1..1 | code | Sexo biológico del paciente Binding: AdministrativeGender (required)
birthDate | S Σ | 1..1 | date | Fecha de nacimiento del paciente
Slices for deceased[x] | ?!S Σ | 0..1 |  | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
deceased[x]:deceasedBoolean | ?!S Σ | 0..1 | boolean | Indicates if the individual is deceased or not
deceased[x]:deceasedDateTime | ?!S Σ | 0..1 | dateTime | Indicates if the individual is deceased or not
address | S Σ | 0..* | CRLabResultAddress(1.0.0) | An address for the individual
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1
use | ?!S Σ | 0..1 | code | Tipo de dirección. Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home
type | S Σ | 0..1 | code | Tipo de dirección. Binding: AddressType (required): The type of an address (physical / postal). Example General: both
text | Σ | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132
line | S Σ | 1..* | string | La dirección completa, incluyendo la calle, el número de la casa o apartamento, la ciudad, el estado, el código postal, etc., si es relevante. This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street
city | S Σ | 0..1 | string | Nombre de la ciudad. Example General: Erewhon
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Código de la ciudad basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1
extension:cityCode |  | 0..1 | CodeableConcept | Extensión para cantón URL: https://hl7.or.cr/fhir/imaging-report/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
value |  | 0..1 | string | Primitive value for string Max Length:1048576
district | S Σ | 0..1 | string | Nombre del distrito. Example General: Madison
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Código del distrito basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1
extension:districtCode |  | 0..1 | CodeableConcept | Extensión para distrito URL: https://hl7.or.cr/fhir/imaging-report/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
value |  | 0..1 | string | Primitive value for string Max Length:1048576
state | S Σ | 0..1 | string | Nombre del estado o provincia.
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Código de la provincia basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1
extension:stateCode |  | 0..1 | CodeableConcept | Extensión para provincia URL: https://hl7.or.cr/fhir/imaging-report/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
value |  | 0..1 | string | Primitive value for string Max Length:1048576
postalCode | S Σ | 0..1 | string | Código postal. Example General: 9132
country | S Σ | 0..1 | string | Nombre del país.
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Código de país en formato ISO 3166-1 alpha-3 Slice: Unordered, Open by value:url Constraints: ext-1
extension:countryCode | S | 0..1 | CodeableConcept | Extensión para país URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-country-ext Binding: Iso316613 (required): Códigos de país en formato ISO 3166-1 alpha-3. Constraints: ext-1
value |  | 0..1 | string | Primitive value for string Max Length:1048576
period | Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"}
maritalStatus |  | 0..1 | CodeableConcept | Marital (civil) status of a patient Binding: MaritalStatusCodes (extensible): The domestic partnership status of a person.
multipleBirth[x] |  | 0..1 |  | Whether patient is part of a multiple birth
multipleBirthBoolean |  |  | boolean |
multipleBirthInteger |  |  | integer |
photo |  | 0..* | Attachment | Image of the patient
contact | S C | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Constraints: pat-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
relationship | S | 0..* | CodeableConcept | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible)
name | S C | 0..1 | HumanName | A name associated with the contact person
telecom | S C | 0..* | ContactPoint | A contact detail for the person
address | S C | 0..1 | Address | Address for the contact person
gender | S | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
organization | C | 0..1 | Reference(Organization) | Organization that is associated with the contact
period |  | 0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient
communication |  | 0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
language |  | 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
Additional Bindings | Purpose
CommonLanguages | Starter
preferred |  | 0..1 | boolean | Language preference indicator
generalPractitioner |  | 0..* | Reference(Organization | Practitioner | PractitionerRole) | Patient's nominated primary care provider
managingOrganization | Σ | 0..1 | Reference(Organization) | Organization that is the custodian of the patient record
link | ?!Σ | 0..* | BackboneElement | Link to a Patient or RelatedPerson resource that concerns the same actual individual
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
other | Σ | 1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to
type | Σ | 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

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
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.

#### Constraints

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

- Tipo de Dato Dirección - Resultados de Laboratorio (https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-address|1.0.0)

Extensions

This structure refers to these extensions:

- https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age|1.0.0
- https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-religion|1.0.0

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Patient.deceased[x]

Maturity: 0

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services Constraints: only-one-cedula, only-one-dimex
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1
extension:calculatedAge | S | 0..1 | Age | Edad calculada del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age Constraints: ext-1
extension:religion | S | 0..1 | CodeableConcept | Religión del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-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
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 1..* | Identifier | Identificadores oficiales del paciente
use | ?!S Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required)
active | ?!S Σ | 0..1 | boolean | Si el registro del paciente está activo
name | S Σ | 1..1 | HumanName | A name associated with the patient
use | ?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name.
family | S Σ | 1..1 | string | Family name (often called 'Surname')
given | S Σ | 1..2 | string | Given names (not always 'first'). Includes middle names This repeating element order: Given Names appear in the correct order for presenting the name
telecom | S Σ | 0..* | ContactPoint | A contact detail for the individual
system | S Σ C | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
value | S Σ C | 0..1 | string | The actual contact point details
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
gender | S Σ | 1..1 | code | Sexo biológico del paciente Binding: AdministrativeGender (required)
birthDate | S Σ | 1..1 | date | Fecha de nacimiento del paciente
Slices for deceased[x] | ?!S Σ | 0..1 |  | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
deceased[x]:deceasedBoolean | ?!S Σ | 0..1 | boolean | Indicates if the individual is deceased or not
deceased[x]:deceasedDateTime | ?!S Σ | 0..1 | dateTime | Indicates if the individual is deceased or not
address | S Σ | 0..* | CRLabResultAddress(1.0.0) | An address for the individual
use | ?!S Σ | 0..1 | code | Tipo de dirección. Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home
type | S Σ | 0..1 | code | Tipo de dirección. Binding: AddressType (required): The type of an address (physical / postal). Example General: both
line | S Σ | 1..* | string | La dirección completa, incluyendo la calle, el número de la casa o apartamento, la ciudad, el estado, el código postal, etc., si es relevante. This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street
city | S Σ | 0..1 | string | Nombre de la ciudad. Example General: Erewhon
Slices for extension |  |  |  | Content/Rules for all slices
extension:cityCode |  | 0..1 | CodeableConcept | Extensión para cantón URL: https://hl7.or.cr/fhir/imaging-report/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
district | S Σ | 0..1 | string | Nombre del distrito. Example General: Madison
Slices for extension |  |  |  | Content/Rules for all slices
extension:districtCode |  | 0..1 | CodeableConcept | Extensión para distrito URL: https://hl7.or.cr/fhir/imaging-report/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
state | S Σ | 0..1 | string | Nombre del estado o provincia.
Slices for extension |  |  |  | Content/Rules for all slices
extension:stateCode |  | 0..1 | CodeableConcept | Extensión para provincia URL: https://hl7.or.cr/fhir/imaging-report/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
postalCode | S Σ | 0..1 | string | Código postal. Example General: 9132
country | S Σ | 0..1 | string | Nombre del país.
Slices for extension |  |  |  | Content/Rules for all slices
extension:countryCode | S | 0..1 | CodeableConcept | Extensión para país URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-country-ext Binding: Iso316613 (required): Códigos de país en formato ISO 3166-1 alpha-3. Constraints: ext-1
contact | S C | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Constraints: pat-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
relationship | S | 0..* | CodeableConcept | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible)
name | S C | 0..1 | HumanName | A name associated with the contact person
telecom | S C | 0..* | ContactPoint | A contact detail for the person
address | S C | 0..1 | Address | Address for the contact person
gender | S | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
link | ?!Σ | 0..* | BackboneElement | Link to a Patient or RelatedPerson resource that concerns the same actual individual
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
other | Σ | 1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to
type | Σ | 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

#### Terminology Bindings

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.

#### Constraints

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: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services Constraints: only-one-cedula, only-one-dimex
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:calculatedAge | S | 0..1 | Age | Edad calculada del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age
extension:religion | S | 0..1 | CodeableConcept | Religión del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-religion Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-religions-set (extensible): Conjunto de religiones para Costa Rica basado en SNOMED CT.
identifier | S | 1..* | Identifier | Identificadores oficiales del paciente
use | S | 0..1 | code | usual | official | temp | secondary | old (If known)
type |  | 0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required)
active | S | 0..1 | boolean | Si el registro del paciente está activo
name | S | 1..1 | HumanName | A name associated with the patient
family | S | 1..1 | string | Family name (often called 'Surname')
given | S | 1..2 | string | Given names (not always 'first'). Includes middle names
telecom | S | 0..* | ContactPoint | A contact detail for the individual
system | S | 0..1 | code | phone | fax | email | pager | url | sms | other
value | S | 0..1 | string | The actual contact point details
use | S | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point
gender | S | 1..1 | code | Sexo biológico del paciente Binding: AdministrativeGender (required)
birthDate | S | 1..1 | date | Fecha de nacimiento del paciente
Slices for deceased[x] | S | 0..1 | boolean, dateTime | Indicates if the individual is deceased or not Slice: Unordered, Open by type:$this
deceased[x]:deceasedBoolean | S | 0..1 | boolean | Indicates if the individual is deceased or not
deceased[x]:deceasedDateTime | S | 0..1 | dateTime | Indicates if the individual is deceased or not
address | S | 0..* | CRLabResultAddress(1.0.0) | An address for the individual
use | S | 0..1 | code | Tipo de dirección.
type | S | 0..1 | code | Tipo de dirección.
city | S | 0..1 | string | Nombre de la ciudad.
district | S | 0..1 | string | Nombre del distrito.
state | S | 0..1 | string | Nombre del estado o provincia.
postalCode | S | 0..1 | string | Código postal.
contact | S | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient
relationship | S | 0..* | CodeableConcept | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible)
name | S | 0..1 | HumanName | A name associated with the contact person
telecom | S | 0..* | ContactPoint | A contact detail for the person
address | S | 0..1 | Address | Address for the contact person
gender | S | 0..1 | code | male | female | other | unknown
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
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

#### Constraints

Id | Grade | Path(s) | Description | Expression
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`

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Patient | C | 0..* | Patient(5.0.0) | Information about an individual or animal receiving health care services Constraints: only-one-cedula, only-one-dimex
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1
extension:calculatedAge | S | 0..1 | Age | Edad calculada del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age Constraints: ext-1
extension:religion | S | 0..1 | CodeableConcept | Religión del paciente - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-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
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1
identifier | S Σ | 1..* | Identifier | Identificadores oficiales del paciente
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1
use | ?!S Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required)
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ C | 0..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
active | ?!S Σ | 0..1 | boolean | Si el registro del paciente está activo
name | S Σ | 1..1 | HumanName | A name associated with the patient
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1
use | ?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name.
text | Σ | 0..1 | string | Text representation of the full name
family | S Σ | 1..1 | string | Family name (often called 'Surname')
given | S Σ | 1..2 | string | Given names (not always 'first'). Includes middle names This repeating element order: Given Names appear in the correct order for presenting the name
prefix | Σ | 0..* | string | Parts that come before the name This repeating element order: Prefixes appear in the correct order for presenting the name
suffix | Σ | 0..* | string | Parts that come after the name This repeating element order: Suffixes appear in the correct order for presenting the name
period | Σ | 0..1 | Period | Time period when name was/is in use
telecom | S Σ | 0..* | ContactPoint | A contact detail for the individual
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1
system | S Σ C | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
value | S Σ C | 0..1 | string | The actual contact point details
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point.
rank | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest)
period | Σ | 0..1 | Period | Time period when the contact point was/is in use
gender | S Σ | 1..1 | code | Sexo biológico del paciente Binding: AdministrativeGender (required)
birthDate | S Σ | 1..1 | date | Fecha de nacimiento del paciente
Slices for deceased[x] | ?!S Σ | 0..1 |  | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this
deceasedBoolean |  |  | boolean |
deceasedDateTime |  |  | dateTime |
deceased[x]:deceasedBoolean | ?!S Σ | 0..1 | boolean | Indicates if the individual is deceased or not
deceased[x]:deceasedDateTime | ?!S Σ | 0..1 | dateTime | Indicates if the individual is deceased or not
address | S Σ | 0..* | CRLabResultAddress(1.0.0) | An address for the individual
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1
use | ?!S Σ | 0..1 | code | Tipo de dirección. Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home
type | S Σ | 0..1 | code | Tipo de dirección. Binding: AddressType (required): The type of an address (physical / postal). Example General: both
text | Σ | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132
line | S Σ | 1..* | string | La dirección completa, incluyendo la calle, el número de la casa o apartamento, la ciudad, el estado, el código postal, etc., si es relevante. This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street
city | S Σ | 0..1 | string | Nombre de la ciudad. Example General: Erewhon
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Código de la ciudad basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1
extension:cityCode |  | 0..1 | CodeableConcept | Extensión para cantón URL: https://hl7.or.cr/fhir/imaging-report/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
value |  | 0..1 | string | Primitive value for string Max Length:1048576
district | S Σ | 0..1 | string | Nombre del distrito. Example General: Madison
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Código del distrito basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1
extension:districtCode |  | 0..1 | CodeableConcept | Extensión para distrito URL: https://hl7.or.cr/fhir/imaging-report/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
value |  | 0..1 | string | Primitive value for string Max Length:1048576
state | S Σ | 0..1 | string | Nombre del estado o provincia.
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Código de la provincia basado en el ZipCode de Costa Rica Slice: Unordered, Open by value:url Constraints: ext-1
extension:stateCode |  | 0..1 | CodeableConcept | Extensión para provincia URL: https://hl7.or.cr/fhir/imaging-report/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
value |  | 0..1 | string | Primitive value for string Max Length:1048576
postalCode | S Σ | 0..1 | string | Código postal. Example General: 9132
country | S Σ | 0..1 | string | Nombre del país.
id |  | 0..1 | string | xml:id (or equivalent in JSON)
Slices for extension |  | 0..* | Extension | Código de país en formato ISO 3166-1 alpha-3 Slice: Unordered, Open by value:url Constraints: ext-1
extension:countryCode | S | 0..1 | CodeableConcept | Extensión para país URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-country-ext Binding: Iso316613 (required): Códigos de país en formato ISO 3166-1 alpha-3. Constraints: ext-1
value |  | 0..1 | string | Primitive value for string Max Length:1048576
period | Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"}
maritalStatus |  | 0..1 | CodeableConcept | Marital (civil) status of a patient Binding: MaritalStatusCodes (extensible): The domestic partnership status of a person.
multipleBirth[x] |  | 0..1 |  | Whether patient is part of a multiple birth
multipleBirthBoolean |  |  | boolean |
multipleBirthInteger |  |  | integer |
photo |  | 0..* | Attachment | Image of the patient
contact | S C | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Constraints: pat-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
relationship | S | 0..* | CodeableConcept | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible)
name | S C | 0..1 | HumanName | A name associated with the contact person
telecom | S C | 0..* | ContactPoint | A contact detail for the person
address | S C | 0..1 | Address | Address for the contact person
gender | S | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
organization | C | 0..1 | Reference(Organization) | Organization that is associated with the contact
period |  | 0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient
communication |  | 0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
language |  | 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
Additional Bindings | Purpose
CommonLanguages | Starter
preferred |  | 0..1 | boolean | Language preference indicator
generalPractitioner |  | 0..* | Reference(Organization | Practitioner | PractitionerRole) | Patient's nominated primary care provider
managingOrganization | Σ | 0..1 | Reference(Organization) | Organization that is the custodian of the patient record
link | ?!Σ | 0..* | BackboneElement | Link to a Patient or RelatedPerson resource that concerns the same actual individual
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Constraints: ext-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1
other | Σ | 1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to
type | Σ | 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

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
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.

#### Constraints

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

- Tipo de Dato Dirección - Resultados de Laboratorio (https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-address|1.0.0)

Extensions

This structure refers to these extensions:

- https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age|1.0.0
- https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-religion|1.0.0

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Patient.deceased[x]

Maturity: 0

Other representations of profile: CSV, Excel, Schematron