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
| 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:
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 - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age Constraints: ext-1 |
![]() ![]() ![]() |
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 |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 1..* | Identifier | Identificadores oficiales del paciente |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required) |
![]() ![]() |
?!SΣ | 0..1 | boolean | Si el registro del paciente está activo |
![]() ![]() |
SΣ | 1..1 | HumanName | A name associated with the patient |
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. |
![]() ![]() ![]() |
SΣ | 1..1 | string | Family name (often called 'Surname') |
![]() ![]() ![]() |
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 |
![]() ![]() |
SΣ | 0..* | ContactPoint | A contact detail for the individual |
![]() ![]() ![]() |
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 | The actual contact point details |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point 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 | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
?!SΣ | 0..1 | boolean | Indicates if the individual is deceased or not |
![]() ![]() ![]() |
?!SΣ | 0..1 | dateTime | Indicates if the individual is deceased or not |
![]() ![]() |
SΣ | 0..* | CRLabResultAddress(1.0.0) | An address for the individual |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | Tipo de dirección. Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home |
![]() ![]() ![]() |
SΣ | 0..1 | code | Tipo de dirección. Binding: AddressType (required): The type of an address (physical / postal). Example General: both |
![]() ![]() ![]() |
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 |
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre de la ciudad. Example General: Erewhon |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del distrito. Example General: Madison |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del estado o provincia. |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Código postal. Example General: 9132 |
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del país. |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() |
SC | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Constraints: pat-1 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible) |
![]() ![]() ![]() |
SC | 0..1 | HumanName | A name associated with the contact person |
![]() ![]() ![]() |
SC | 0..* | ContactPoint | A contact detail for the person |
![]() ![]() ![]() |
SC | 0..1 | Address | Address for the contact person |
![]() ![]() ![]() |
S | 0..1 | code | male | female | other | unknown 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 Constraints: only-one-cedula, only-one-dimex |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
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 |
![]() ![]() ![]() |
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. |
![]() ![]() |
S | 1..* | Identifier | Identificadores oficiales del paciente |
![]() ![]() ![]() |
S | 0..1 | code | usual | official | temp | secondary | old (If known) |
![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required) | |
![]() ![]() |
S | 0..1 | boolean | Si el registro del paciente está activo |
![]() ![]() |
S | 1..1 | HumanName | A name associated with the patient |
![]() ![]() ![]() |
S | 1..1 | string | Family name (often called 'Surname') |
![]() ![]() ![]() |
S | 1..2 | string | Given names (not always 'first'). Includes middle names |
![]() ![]() |
S | 0..* | ContactPoint | A contact detail for the individual |
![]() ![]() ![]() |
S | 0..1 | code | phone | fax | email | pager | url | sms | other |
![]() ![]() ![]() |
S | 0..1 | string | The actual contact point details |
![]() ![]() ![]() |
S | 0..1 | code | home | work | temp | old | mobile - purpose of this 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 | boolean, dateTime | Indicates if the individual is deceased or not Slice: Unordered, Open by type:$this |
![]() ![]() ![]() |
S | 0..1 | boolean | Indicates if the individual is deceased or not |
![]() ![]() ![]() |
S | 0..1 | dateTime | Indicates if the individual is deceased or not |
![]() ![]() |
S | 0..* | CRLabResultAddress(1.0.0) | An address for the individual |
![]() ![]() ![]() |
S | 0..1 | code | Tipo de dirección. |
![]() ![]() ![]() |
S | 0..1 | code | Tipo de dirección. |
![]() ![]() ![]() |
S | 0..1 | string | Nombre de la ciudad. |
![]() ![]() ![]() |
S | 0..1 | string | Nombre del distrito. |
![]() ![]() ![]() |
S | 0..1 | string | Nombre del estado o provincia. |
![]() ![]() ![]() |
S | 0..1 | string | Código postal. |
![]() ![]() |
S | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible) |
![]() ![]() ![]() |
S | 0..1 | HumanName | A name associated with the contact person |
![]() ![]() ![]() |
S | 0..* | ContactPoint | A contact detail for the person |
![]() ![]() ![]() |
S | 0..1 | Address | Address for the contact person |
![]() ![]() ![]() |
S | 0..1 | code | male | female | other | unknown |
Documentation for this format | ||||
| 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 |
| 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: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
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 | 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 - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age Constraints: ext-1 | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 1..* | Identifier | Identificadores oficiales 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 (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required) | ||||
![]() ![]() ![]() |
Σ | 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 | A name associated with the patient | ||||
![]() ![]() ![]() |
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 | Family name (often called 'Surname') | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
Σ | 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 | A contact detail for the individual | ||||
![]() ![]() ![]() |
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 | The actual contact point details | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point 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 | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
?!SΣ | 0..1 | boolean | Indicates if the individual is deceased or not | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | dateTime | Indicates if the individual is deceased or not | ||||
![]() ![]() |
SΣ | 0..* | CRLabResultAddress(1.0.0) | An address for the individual | ||||
![]() ![]() ![]() |
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 | Tipo de dirección. Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | Tipo de dirección. 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 | 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 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre de la ciudad. 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/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 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del distrito. 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/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 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del estado o provincia. | ||||
![]() ![]() ![]() ![]() |
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/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 | |||||
![]() ![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() ![]() |
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/imaging-report/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 | A contact party (e.g. guardian, partner, friend) for the patient 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 | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible) | ||||
![]() ![]() ![]() |
SC | 0..1 | HumanName | A name associated with the contact person | ||||
![]() ![]() ![]() |
SC | 0..* | ContactPoint | A contact detail for the person | ||||
![]() ![]() ![]() |
SC | 0..1 | Address | Address for the contact person | ||||
![]() ![]() ![]() |
S | 0..1 | code | male | female | other | unknown 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.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.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:
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 - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age Constraints: ext-1 |
![]() ![]() ![]() |
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 |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 1..* | Identifier | Identificadores oficiales del paciente |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required) |
![]() ![]() |
?!SΣ | 0..1 | boolean | Si el registro del paciente está activo |
![]() ![]() |
SΣ | 1..1 | HumanName | A name associated with the patient |
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. |
![]() ![]() ![]() |
SΣ | 1..1 | string | Family name (often called 'Surname') |
![]() ![]() ![]() |
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 |
![]() ![]() |
SΣ | 0..* | ContactPoint | A contact detail for the individual |
![]() ![]() ![]() |
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 | The actual contact point details |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point 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 | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
boolean | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
?!SΣ | 0..1 | boolean | Indicates if the individual is deceased or not |
![]() ![]() ![]() |
?!SΣ | 0..1 | dateTime | Indicates if the individual is deceased or not |
![]() ![]() |
SΣ | 0..* | CRLabResultAddress(1.0.0) | An address for the individual |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | Tipo de dirección. Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home |
![]() ![]() ![]() |
SΣ | 0..1 | code | Tipo de dirección. Binding: AddressType (required): The type of an address (physical / postal). Example General: both |
![]() ![]() ![]() |
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 |
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre de la ciudad. Example General: Erewhon |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del distrito. Example General: Madison |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del estado o provincia. |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
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 | |
![]() ![]() ![]() |
SΣ | 0..1 | string | Código postal. Example General: 9132 |
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del país. |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() |
SC | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Constraints: pat-1 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible) |
![]() ![]() ![]() |
SC | 0..1 | HumanName | A name associated with the contact person |
![]() ![]() ![]() |
SC | 0..* | ContactPoint | A contact detail for the person |
![]() ![]() ![]() |
SC | 0..1 | Address | Address for the contact person |
![]() ![]() ![]() |
S | 0..1 | code | male | female | other | unknown 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 Constraints: only-one-cedula, only-one-dimex |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
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 |
![]() ![]() ![]() |
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. |
![]() ![]() |
S | 1..* | Identifier | Identificadores oficiales del paciente |
![]() ![]() ![]() |
S | 0..1 | code | usual | official | temp | secondary | old (If known) |
![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required) | |
![]() ![]() |
S | 0..1 | boolean | Si el registro del paciente está activo |
![]() ![]() |
S | 1..1 | HumanName | A name associated with the patient |
![]() ![]() ![]() |
S | 1..1 | string | Family name (often called 'Surname') |
![]() ![]() ![]() |
S | 1..2 | string | Given names (not always 'first'). Includes middle names |
![]() ![]() |
S | 0..* | ContactPoint | A contact detail for the individual |
![]() ![]() ![]() |
S | 0..1 | code | phone | fax | email | pager | url | sms | other |
![]() ![]() ![]() |
S | 0..1 | string | The actual contact point details |
![]() ![]() ![]() |
S | 0..1 | code | home | work | temp | old | mobile - purpose of this 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 | boolean, dateTime | Indicates if the individual is deceased or not Slice: Unordered, Open by type:$this |
![]() ![]() ![]() |
S | 0..1 | boolean | Indicates if the individual is deceased or not |
![]() ![]() ![]() |
S | 0..1 | dateTime | Indicates if the individual is deceased or not |
![]() ![]() |
S | 0..* | CRLabResultAddress(1.0.0) | An address for the individual |
![]() ![]() ![]() |
S | 0..1 | code | Tipo de dirección. |
![]() ![]() ![]() |
S | 0..1 | code | Tipo de dirección. |
![]() ![]() ![]() |
S | 0..1 | string | Nombre de la ciudad. |
![]() ![]() ![]() |
S | 0..1 | string | Nombre del distrito. |
![]() ![]() ![]() |
S | 0..1 | string | Nombre del estado o provincia. |
![]() ![]() ![]() |
S | 0..1 | string | Código postal. |
![]() ![]() |
S | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible) |
![]() ![]() ![]() |
S | 0..1 | HumanName | A name associated with the contact person |
![]() ![]() ![]() |
S | 0..* | ContactPoint | A contact detail for the person |
![]() ![]() ![]() |
S | 0..1 | Address | Address for the contact person |
![]() ![]() ![]() |
S | 0..1 | code | male | female | other | unknown |
Documentation for this format | ||||
| 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 |
| 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: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
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 | 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 - Resultados de Laboratorio URL: https://hl7.or.cr/fhir/imaging-report/StructureDefinition/cr-lab-result-patient-calculated-age Constraints: ext-1 | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 1..* | Identifier | Identificadores oficiales 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 (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-identifier-types (required) | ||||
![]() ![]() ![]() |
Σ | 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 | A name associated with the patient | ||||
![]() ![]() ![]() |
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 | Family name (often called 'Surname') | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
Σ | 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 | A contact detail for the individual | ||||
![]() ![]() ![]() |
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 | The actual contact point details | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point 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 | Indicates if the individual is deceased or not Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
?!SΣ | 0..1 | boolean | Indicates if the individual is deceased or not | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | dateTime | Indicates if the individual is deceased or not | ||||
![]() ![]() |
SΣ | 0..* | CRLabResultAddress(1.0.0) | An address for the individual | ||||
![]() ![]() ![]() |
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 | Tipo de dirección. Binding: AddressUse (required): The use of an address (home / work / etc.). Example General: home | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | Tipo de dirección. 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 | 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 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre de la ciudad. 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/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 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del distrito. 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/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 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Nombre del estado o provincia. | ||||
![]() ![]() ![]() ![]() |
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/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 | |||||
![]() ![]() ![]() ![]() |
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. | ||||
![]() ![]() ![]() ![]() |
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/imaging-report/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 | A contact party (e.g. guardian, partner, friend) for the patient 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 | The kind of relationship Binding: https://hl7.or.cr/fhir/terminology/ValueSet/cr-relationships-set (extensible) | ||||
![]() ![]() ![]() |
SC | 0..1 | HumanName | A name associated with the contact person | ||||
![]() ![]() ![]() |
SC | 0..* | ContactPoint | A contact detail for the person | ||||
![]() ![]() ![]() |
SC | 0..1 | Address | Address for the contact person | ||||
![]() ![]() ![]() |
S | 0..1 | code | male | female | other | unknown 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.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.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:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron