ÚNICAS Rare Diseases HL7 FHIR Implementation Guide
0.0.1 - draft

ÚNICAS Rare Diseases HL7 FHIR Implementation Guide - Local Development build (v0.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: AllergyIntolerance Alergia ÚNICAS

Official URL: https://unicas-fhir.sanidad.gob.es/StructureDefinition/UNICASAllergyIntolerance Version: 0.0.1
Draft as of 2025-08-12 Computable Name: UNICASAllergyIntolerance

Este profile define las restricciones del recurso AllergyIntolerance para representar el registro de una alergia en el contexto del caso de uso de ÚNICAS.

Usages:

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.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system ΣC 1..1 uri Sistema para identificar el origen
Constraints: regcess-system
Example General: urn:regcess:0123456789
.... value ΣC 1..1 string Identificador interno del sistema para la alergia
Example General: 123456
... clinicalStatus ?!Σ 0..1 CodeableConcept Estado de la alergia
Binding: AllergyIntoleranceClinicalStatusCodes (required): The clinical status of the allergy or intolerance.
... verificationStatus ?!Σ 0..1 CodeableConcept Nivel de certeza
Binding: AllergyIntoleranceVerificationStatus (required): Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.
... criticality Σ 0..1 code Criticidad clínica
Binding: AllergyIntoleranceCriticality (required): Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.
... code Σ 1..1 CodeableConcept Agente causal
Binding: Value set de Agente causal (preferred): Value set de Agente causal
... patient Σ 1..1 Reference(Patient Paciente ÚNICAS) Referencia al paciente
.... reference ΣC 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
.... type Σ 1..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 1..1 Identifier Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS
..... use ?!Σ 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 Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
..... system Σ 0..1 uri OID registro de número de CIP-SNS
Example General: urn:oid:2.16.724.4.40
..... value ΣC 0..1 string Número CIP-SNS
Example General: BBBBBBBBQR648597
.... display ΣC 0..1 string Nombre completo del paciente
... encounter 0..1 Reference(Encounter Interacción Clínica ÚNICAS) Referencia a la interacción clínica
.... reference ΣC 0..1 string Referencia recurso FHIR
.... type Σ 0..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Identificador del recurso FHIR
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 0..1 uri Sistema para identificar el origen
Example General: urn:regcess:0123456789
..... value ΣC 0..1 string Identificador interno del sistema para la interacción clínica
Example General: 123456
... onset[x] 1..1 dateTime Fecha de inicio (Fecha en que se identificó por primera vez la alergia o ocurrió la primera reacción)
... participant Σ 1..* BackboneElement Profesional sanitario
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... actor Σ 1..1 Reference(PractitionerRole Profesional Sanitario ÚNICAS | Practitioner Profesional Sanitario ÚNICAS | Organization Institución ÚNICAS) Referencia al profesional sanitario
..... reference ΣC 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
..... type Σ 1..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier ΣC 1..1 Identifier Identificadores del profesional sanitario. Cuando no tengamos recurso Practitioner, se debera informar el identificador del profesional sanitario mediante DNI como dato mínimo. Adicionalmente, se puede informar el número colegiado del profesional sanitario como dato recomendado
...... Slices for extension Content/Rules for all slices
....... extension:numeroColegiadoProfesionalSanitario 0..* Identifier Número de colegiado del profesional sanitario
URL: https://unicas-fhir.sanidad.gob.es/StructureDefinition/NumeroColegiadoProfesionalSanitario
...... use ?!Σ 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 Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
...... system Σ 0..1 uri OID registro de DNI
Example General: urn:oid:1.3.6.1.4.1.19126.3
...... value ΣC 0..1 string Número del DNI
Example General: 0000001X
..... display ΣC 0..1 string Nombre completo del profesional sanitario
... lastOccurrence 0..1 dateTime Fecha de fin (Puede corresponder a la fecha de la última ocurrencia de la reacción alérgica)
... note 0..* Annotation Comentario
.... text Σ 1..1 markdown Comentario

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
AllergyIntolerance.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.clinicalStatusrequiredAllergyIntoleranceClinicalStatusCodes
http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|5.0.0
From the FHIR Standard
AllergyIntolerance.verificationStatusrequiredAllergyIntoleranceVerificationStatus
http://hl7.org/fhir/ValueSet/allergyintolerance-verification|5.0.0
From the FHIR Standard
AllergyIntolerance.criticalityrequiredAllergyIntoleranceCriticality
http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|5.0.0
From the FHIR Standard
AllergyIntolerance.codepreferredValuesetAgenteCausal
https://unicas-fhir.sanidad.gob.es/ValueSet/AgenteCausal
From this IG
AllergyIntolerance.patient.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.patient.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.encounter.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.participant.actor.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.participant.actor.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.participant.actor.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorAllergyIntoleranceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAllergyIntoleranceIf 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-4errorAllergyIntoleranceIf 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-5errorAllergyIntoleranceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAllergyIntoleranceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
regcess-systemwarningAllergyIntolerance.identifier.systemsystem debe comenzar por urn:regcess: seguido del identificador del sistema.
: matches('^urn:regcess:[A-Za-z0-9]+$')

This structure is derived from AllergyIntolerance

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
... identifier 1..* Identifier Identificador único
.... system C 1..1 uri Sistema para identificar el origen
Constraints: regcess-system
.... value 1..1 string Identificador interno del sistema para la alergia
... clinicalStatus 0..1 CodeableConcept Estado de la alergia
... verificationStatus 0..1 CodeableConcept Nivel de certeza
... code 1..1 CodeableConcept Agente causal
Binding: Value set de Agente causal (preferred): Value set de Agente causal
.... coding
..... system 1..1 uri URL del SNOMED CT. Extensión para España del SNS
..... code 1..1 code Código del agente causal
..... display 1..1 string Descripción del agente causal
... patient 1..1 Reference(Patient Paciente ÚNICAS) Referencia al paciente
.... reference 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
.... type 1..1 uri Tipo de recurso FHIR
.... identifier 1..1 Identifier Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS
..... type 0..1 CodeableConcept Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
...... coding
....... system 0..1 uri URL del SNOMED CT. Extensión para España del SNS
....... code 0..1 code Código del identificador
....... display 0..1 string Decripción del identificador
..... system 0..1 uri OID registro de número de CIP-SNS
..... value 0..1 string Número CIP-SNS
.... display 0..1 string Nombre completo del paciente
... encounter 0..1 Reference(Encounter Interacción Clínica ÚNICAS) Referencia a la interacción clínica
.... reference 0..1 string Referencia recurso FHIR
.... type 0..1 uri Tipo de recurso FHIR
.... identifier 0..1 Identifier Identificador del recurso FHIR
..... system 0..1 uri Sistema para identificar el origen
..... value 0..1 string Identificador interno del sistema para la interacción clínica
... onset[x] 1..1 dateTime Fecha de inicio (Fecha en que se identificó por primera vez la alergia o ocurrió la primera reacción)
... participant 1..* BackboneElement Profesional sanitario
.... actor 1..1 Reference(PractitionerRole Profesional Sanitario ÚNICAS | Practitioner Profesional Sanitario ÚNICAS | Organization Institución ÚNICAS) Referencia al profesional sanitario
..... reference 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
..... type 1..1 uri Tipo de recurso FHIR
..... identifier 1..1 Identifier Identificadores del profesional sanitario. Cuando no tengamos recurso Practitioner, se debera informar el identificador del profesional sanitario mediante DNI como dato mínimo. Adicionalmente, se puede informar el número colegiado del profesional sanitario como dato recomendado
...... Slices for extension Content/Rules for all slices
....... extension:numeroColegiadoProfesionalSanitario 0..* Identifier Número de colegiado del profesional sanitario
URL: https://unicas-fhir.sanidad.gob.es/StructureDefinition/NumeroColegiadoProfesionalSanitario
...... type 0..1 CodeableConcept Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
....... coding
........ system 0..1 uri URL del refset Tipos de documento para identificación personal de SNOMED CT. Extensión para España del SNS
........ code 0..1 code Código del identificador
........ display 0..1 string Decripción del identificador
...... system 0..1 uri OID registro de DNI
...... value 0..1 string Número del DNI
..... display 0..1 string Nombre completo del profesional sanitario
... lastOccurrence 0..1 dateTime Fecha de fin (Puede corresponder a la fecha de la última ocurrencia de la reacción alérgica)
... note 0..* Annotation Comentario
.... text 1..1 markdown Comentario
... reaction
.... substance 0..1 CodeableConcept Agente causal
Binding: Value set de Agente causal (preferred): Value set de Agente causal
..... coding
...... system 0..1 uri URL del SNOMED CT. Extensión para España del SNS
...... code 0..1 code Código del agente causal
...... display 0..1 string Descripción del agente causal
.... manifestation 1..* CodeableReference(Observation) Manifestación clínica
Binding: Value set de Manifestaciones clínicas (preferred): Value set de Manifestaciones clínicas
..... concept 0..1 CodeableConcept Manifestación clínica
...... coding
....... system 1..1 uri URL del SNOMED CT. Extensión para España del SNS | OID de la terminología CIE-10-ES. Diagnósticos
....... code 1..1 code Código de la manifestación clínica
....... display 1..1 string Descripción de la manifestación clínica
.... severity 0..1 code Gravedad de la reacción

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
AllergyIntolerance.codepreferredValuesetAgenteCausal
https://unicas-fhir.sanidad.gob.es/ValueSet/AgenteCausal
From this IG
AllergyIntolerance.patient.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.participant.actor.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.reaction.substancepreferredValuesetAgenteCausal
https://unicas-fhir.sanidad.gob.es/ValueSet/AgenteCausal
From this IG
AllergyIntolerance.reaction.manifestationpreferredValuesetManifestacionesClinicas
https://unicas-fhir.sanidad.gob.es/ValueSet/ManifestacionesClinicas
From this IG

Constraints

IdGradePath(s)DetailsRequirements
regcess-systemwarningAllergyIntolerance.identifier.systemsystem debe comenzar por urn:regcess: seguido del identificador del sistema.
: matches('^urn:regcess:[A-Za-z0-9]+$')
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
... 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
... 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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 1..* Identifier Identificador único
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system ΣC 1..1 uri Sistema para identificar el origen
Constraints: regcess-system
Example General: urn:regcess:0123456789
.... value ΣC 1..1 string Identificador interno del sistema para la alergia
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)
... clinicalStatus ?!Σ 0..1 CodeableConcept Estado de la alergia
Binding: AllergyIntoleranceClinicalStatusCodes (required): The clinical status of the allergy or intolerance.
... verificationStatus ?!Σ 0..1 CodeableConcept Nivel de certeza
Binding: AllergyIntoleranceVerificationStatus (required): Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.
... type Σ 0..1 CodeableConcept allergy | intolerance - Underlying mechanism (if known)
Binding: AllergyIntoleranceType (preferred): Identification of the underlying physiological mechanism for a Reaction Risk.
... category Σ 0..* code food | medication | environment | biologic
Binding: AllergyIntoleranceCategory (required): Category of an identified substance associated with allergies or intolerances.
... criticality Σ 0..1 code Criticidad clínica
Binding: AllergyIntoleranceCriticality (required): Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.
... code Σ 1..1 CodeableConcept Agente causal
Binding: Value set de Agente causal (preferred): Value set de Agente causal
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri URL del SNOMED CT. Extensión para España del SNS
..... version Σ 0..1 string Version of the system - if relevant
..... code ΣC 1..1 code Código del agente causal
..... display ΣC 1..1 string Descripción del agente causal
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... patient Σ 1..1 Reference(Patient Paciente ÚNICAS) Referencia al 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
.... reference ΣC 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
.... type Σ 1..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 1..1 Identifier Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 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 Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 0..1 uri URL del SNOMED CT. Extensión para España del SNS
....... version Σ 0..1 string Version of the system - if relevant
....... code ΣC 0..1 code Código del identificador
....... display ΣC 0..1 string Decripción del identificador
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system Σ 0..1 uri OID registro de número de CIP-SNS
Example General: urn:oid:2.16.724.4.40
..... value ΣC 0..1 string Número CIP-SNS
Example General: BBBBBBBBQR648597
..... 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)
.... display ΣC 0..1 string Nombre completo del paciente
... encounter 0..1 Reference(Encounter Interacción Clínica ÚNICAS) Referencia a la interacción clínica
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Referencia recurso FHIR
.... type Σ 0..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Identificador del recurso FHIR
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 0..1 uri Sistema para identificar el origen
Example General: urn:regcess:0123456789
..... value ΣC 0..1 string Identificador interno del sistema para la interacción clínica
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)
.... display ΣC 0..1 string Text alternative for the resource
... onset[x] 1..1 dateTime Fecha de inicio (Fecha en que se identificó por primera vez la alergia o ocurrió la primera reacción)
... recordedDate 0..1 dateTime Date allergy or intolerance was first recorded
... participant Σ 1..* BackboneElement Profesional sanitario
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function Σ 0..1 CodeableConcept Type of involvement
Binding: ParticipationRoleType (extensible)
.... actor Σ 1..1 Reference(PractitionerRole Profesional Sanitario ÚNICAS | Practitioner Profesional Sanitario ÚNICAS | Organization Institución ÚNICAS) Referencia al profesional sanitario
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
..... type Σ 1..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier ΣC 1..1 Identifier Identificadores del profesional sanitario. Cuando no tengamos recurso Practitioner, se debera informar el identificador del profesional sanitario mediante DNI como dato mínimo. Adicionalmente, se puede informar el número colegiado del profesional sanitario como dato recomendado
...... id 0..1 id Unique id for inter-element referencing
...... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:numeroColegiadoProfesionalSanitario 0..* Identifier Número de colegiado del profesional sanitario
URL: https://unicas-fhir.sanidad.gob.es/StructureDefinition/NumeroColegiadoProfesionalSanitario
...... use ?!Σ 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 Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... coding Σ 0..* Coding Code defined by a terminology system
........ id 0..1 id Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system Σ 0..1 uri URL del refset Tipos de documento para identificación personal de SNOMED CT. Extensión para España del SNS
........ version Σ 0..1 string Version of the system - if relevant
........ code ΣC 0..1 code Código del identificador
........ display ΣC 0..1 string Decripción del identificador
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... text Σ 0..1 string Plain text representation of the concept
...... system Σ 0..1 uri OID registro de DNI
Example General: urn:oid:1.3.6.1.4.1.19126.3
...... value ΣC 0..1 string Número del DNI
Example General: 0000001X
...... 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)
..... display ΣC 0..1 string Nombre completo del profesional sanitario
... lastOccurrence 0..1 dateTime Fecha de fin (Puede corresponder a la fecha de la última ocurrencia de la reacción alérgica)
... note 0..* Annotation Comentario
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown Comentario
... reaction 0..* BackboneElement Adverse Reaction Events linked to exposure to substance
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... substance 0..1 CodeableConcept Agente causal
Binding: Value set de Agente causal (preferred): Value set de Agente causal
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri URL del SNOMED CT. Extensión para España del SNS
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 0..1 code Código del agente causal
...... display ΣC 0..1 string Descripción del agente causal
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
.... manifestation 1..* CodeableReference(Observation) Manifestación clínica
Binding: Value set de Manifestaciones clínicas (preferred): Value set de Manifestaciones clínicas
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... concept Σ 0..1 CodeableConcept Manifestación clínica
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri URL del SNOMED CT. Extensión para España del SNS | OID de la terminología CIE-10-ES. Diagnósticos
....... version Σ 0..1 string Version of the system - if relevant
....... code ΣC 1..1 code Código de la manifestación clínica
....... display ΣC 1..1 string Descripción de la manifestación clínica
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... reference Σ 0..1 Reference() Reference to a resource (by instance)
.... description 0..1 string Description of the event as a whole
.... onset 0..1 dateTime Date(/time) when manifestations showed
.... severity 0..1 code Gravedad de la reacción
Binding: AllergyIntoleranceSeverity (required): Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.
.... exposureRoute 0..1 CodeableConcept How the subject was exposed to the substance
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of exposure to a substance.
.... note 0..* Annotation Text about event not captured in other fields

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
AllergyIntolerance.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard
AllergyIntolerance.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.clinicalStatusrequiredAllergyIntoleranceClinicalStatusCodes
http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|5.0.0
From the FHIR Standard
AllergyIntolerance.verificationStatusrequiredAllergyIntoleranceVerificationStatus
http://hl7.org/fhir/ValueSet/allergyintolerance-verification|5.0.0
From the FHIR Standard
AllergyIntolerance.typepreferredAllergyIntoleranceType
http://hl7.org/fhir/ValueSet/allergy-intolerance-type
From the FHIR Standard
AllergyIntolerance.categoryrequiredAllergyIntoleranceCategory
http://hl7.org/fhir/ValueSet/allergy-intolerance-category|5.0.0
From the FHIR Standard
AllergyIntolerance.criticalityrequiredAllergyIntoleranceCriticality
http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|5.0.0
From the FHIR Standard
AllergyIntolerance.codepreferredValuesetAgenteCausal
https://unicas-fhir.sanidad.gob.es/ValueSet/AgenteCausal
From this IG
AllergyIntolerance.patient.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.patient.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.encounter.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.encounter.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.participant.functionextensibleParticipationRoleType
http://hl7.org/fhir/ValueSet/participation-role-type
From the FHIR Standard
AllergyIntolerance.participant.actor.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.participant.actor.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.participant.actor.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.reaction.substancepreferredValuesetAgenteCausal
https://unicas-fhir.sanidad.gob.es/ValueSet/AgenteCausal
From this IG
AllergyIntolerance.reaction.manifestationpreferredValuesetManifestacionesClinicas
https://unicas-fhir.sanidad.gob.es/ValueSet/ManifestacionesClinicas
From this IG
AllergyIntolerance.reaction.severityrequiredAllergyIntoleranceSeverity
http://hl7.org/fhir/ValueSet/reaction-event-severity|5.0.0
From the FHIR Standard
AllergyIntolerance.reaction.exposureRouteexampleSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorAllergyIntoleranceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAllergyIntoleranceIf 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-4errorAllergyIntoleranceIf 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-5errorAllergyIntoleranceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAllergyIntoleranceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
regcess-systemwarningAllergyIntolerance.identifier.systemsystem debe comenzar por urn:regcess: seguido del identificador del sistema.
: matches('^urn:regcess:[A-Za-z0-9]+$')

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system ΣC 1..1 uri Sistema para identificar el origen
Constraints: regcess-system
Example General: urn:regcess:0123456789
.... value ΣC 1..1 string Identificador interno del sistema para la alergia
Example General: 123456
... clinicalStatus ?!Σ 0..1 CodeableConcept Estado de la alergia
Binding: AllergyIntoleranceClinicalStatusCodes (required): The clinical status of the allergy or intolerance.
... verificationStatus ?!Σ 0..1 CodeableConcept Nivel de certeza
Binding: AllergyIntoleranceVerificationStatus (required): Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.
... criticality Σ 0..1 code Criticidad clínica
Binding: AllergyIntoleranceCriticality (required): Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.
... code Σ 1..1 CodeableConcept Agente causal
Binding: Value set de Agente causal (preferred): Value set de Agente causal
... patient Σ 1..1 Reference(Patient Paciente ÚNICAS) Referencia al paciente
.... reference ΣC 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
.... type Σ 1..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 1..1 Identifier Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS
..... use ?!Σ 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 Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
..... system Σ 0..1 uri OID registro de número de CIP-SNS
Example General: urn:oid:2.16.724.4.40
..... value ΣC 0..1 string Número CIP-SNS
Example General: BBBBBBBBQR648597
.... display ΣC 0..1 string Nombre completo del paciente
... encounter 0..1 Reference(Encounter Interacción Clínica ÚNICAS) Referencia a la interacción clínica
.... reference ΣC 0..1 string Referencia recurso FHIR
.... type Σ 0..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Identificador del recurso FHIR
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 0..1 uri Sistema para identificar el origen
Example General: urn:regcess:0123456789
..... value ΣC 0..1 string Identificador interno del sistema para la interacción clínica
Example General: 123456
... onset[x] 1..1 dateTime Fecha de inicio (Fecha en que se identificó por primera vez la alergia o ocurrió la primera reacción)
... participant Σ 1..* BackboneElement Profesional sanitario
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... actor Σ 1..1 Reference(PractitionerRole Profesional Sanitario ÚNICAS | Practitioner Profesional Sanitario ÚNICAS | Organization Institución ÚNICAS) Referencia al profesional sanitario
..... reference ΣC 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
..... type Σ 1..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier ΣC 1..1 Identifier Identificadores del profesional sanitario. Cuando no tengamos recurso Practitioner, se debera informar el identificador del profesional sanitario mediante DNI como dato mínimo. Adicionalmente, se puede informar el número colegiado del profesional sanitario como dato recomendado
...... Slices for extension Content/Rules for all slices
....... extension:numeroColegiadoProfesionalSanitario 0..* Identifier Número de colegiado del profesional sanitario
URL: https://unicas-fhir.sanidad.gob.es/StructureDefinition/NumeroColegiadoProfesionalSanitario
...... use ?!Σ 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 Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
...... system Σ 0..1 uri OID registro de DNI
Example General: urn:oid:1.3.6.1.4.1.19126.3
...... value ΣC 0..1 string Número del DNI
Example General: 0000001X
..... display ΣC 0..1 string Nombre completo del profesional sanitario
... lastOccurrence 0..1 dateTime Fecha de fin (Puede corresponder a la fecha de la última ocurrencia de la reacción alérgica)
... note 0..* Annotation Comentario
.... text Σ 1..1 markdown Comentario

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
AllergyIntolerance.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.clinicalStatusrequiredAllergyIntoleranceClinicalStatusCodes
http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|5.0.0
From the FHIR Standard
AllergyIntolerance.verificationStatusrequiredAllergyIntoleranceVerificationStatus
http://hl7.org/fhir/ValueSet/allergyintolerance-verification|5.0.0
From the FHIR Standard
AllergyIntolerance.criticalityrequiredAllergyIntoleranceCriticality
http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|5.0.0
From the FHIR Standard
AllergyIntolerance.codepreferredValuesetAgenteCausal
https://unicas-fhir.sanidad.gob.es/ValueSet/AgenteCausal
From this IG
AllergyIntolerance.patient.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.patient.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.encounter.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.participant.actor.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.participant.actor.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.participant.actor.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorAllergyIntoleranceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAllergyIntoleranceIf 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-4errorAllergyIntoleranceIf 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-5errorAllergyIntoleranceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAllergyIntoleranceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
regcess-systemwarningAllergyIntolerance.identifier.systemsystem debe comenzar por urn:regcess: seguido del identificador del sistema.
: matches('^urn:regcess:[A-Za-z0-9]+$')

Differential View

This structure is derived from AllergyIntolerance

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
... identifier 1..* Identifier Identificador único
.... system C 1..1 uri Sistema para identificar el origen
Constraints: regcess-system
.... value 1..1 string Identificador interno del sistema para la alergia
... clinicalStatus 0..1 CodeableConcept Estado de la alergia
... verificationStatus 0..1 CodeableConcept Nivel de certeza
... code 1..1 CodeableConcept Agente causal
Binding: Value set de Agente causal (preferred): Value set de Agente causal
.... coding
..... system 1..1 uri URL del SNOMED CT. Extensión para España del SNS
..... code 1..1 code Código del agente causal
..... display 1..1 string Descripción del agente causal
... patient 1..1 Reference(Patient Paciente ÚNICAS) Referencia al paciente
.... reference 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
.... type 1..1 uri Tipo de recurso FHIR
.... identifier 1..1 Identifier Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS
..... type 0..1 CodeableConcept Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
...... coding
....... system 0..1 uri URL del SNOMED CT. Extensión para España del SNS
....... code 0..1 code Código del identificador
....... display 0..1 string Decripción del identificador
..... system 0..1 uri OID registro de número de CIP-SNS
..... value 0..1 string Número CIP-SNS
.... display 0..1 string Nombre completo del paciente
... encounter 0..1 Reference(Encounter Interacción Clínica ÚNICAS) Referencia a la interacción clínica
.... reference 0..1 string Referencia recurso FHIR
.... type 0..1 uri Tipo de recurso FHIR
.... identifier 0..1 Identifier Identificador del recurso FHIR
..... system 0..1 uri Sistema para identificar el origen
..... value 0..1 string Identificador interno del sistema para la interacción clínica
... onset[x] 1..1 dateTime Fecha de inicio (Fecha en que se identificó por primera vez la alergia o ocurrió la primera reacción)
... participant 1..* BackboneElement Profesional sanitario
.... actor 1..1 Reference(PractitionerRole Profesional Sanitario ÚNICAS | Practitioner Profesional Sanitario ÚNICAS | Organization Institución ÚNICAS) Referencia al profesional sanitario
..... reference 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
..... type 1..1 uri Tipo de recurso FHIR
..... identifier 1..1 Identifier Identificadores del profesional sanitario. Cuando no tengamos recurso Practitioner, se debera informar el identificador del profesional sanitario mediante DNI como dato mínimo. Adicionalmente, se puede informar el número colegiado del profesional sanitario como dato recomendado
...... Slices for extension Content/Rules for all slices
....... extension:numeroColegiadoProfesionalSanitario 0..* Identifier Número de colegiado del profesional sanitario
URL: https://unicas-fhir.sanidad.gob.es/StructureDefinition/NumeroColegiadoProfesionalSanitario
...... type 0..1 CodeableConcept Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
....... coding
........ system 0..1 uri URL del refset Tipos de documento para identificación personal de SNOMED CT. Extensión para España del SNS
........ code 0..1 code Código del identificador
........ display 0..1 string Decripción del identificador
...... system 0..1 uri OID registro de DNI
...... value 0..1 string Número del DNI
..... display 0..1 string Nombre completo del profesional sanitario
... lastOccurrence 0..1 dateTime Fecha de fin (Puede corresponder a la fecha de la última ocurrencia de la reacción alérgica)
... note 0..* Annotation Comentario
.... text 1..1 markdown Comentario
... reaction
.... substance 0..1 CodeableConcept Agente causal
Binding: Value set de Agente causal (preferred): Value set de Agente causal
..... coding
...... system 0..1 uri URL del SNOMED CT. Extensión para España del SNS
...... code 0..1 code Código del agente causal
...... display 0..1 string Descripción del agente causal
.... manifestation 1..* CodeableReference(Observation) Manifestación clínica
Binding: Value set de Manifestaciones clínicas (preferred): Value set de Manifestaciones clínicas
..... concept 0..1 CodeableConcept Manifestación clínica
...... coding
....... system 1..1 uri URL del SNOMED CT. Extensión para España del SNS | OID de la terminología CIE-10-ES. Diagnósticos
....... code 1..1 code Código de la manifestación clínica
....... display 1..1 string Descripción de la manifestación clínica
.... severity 0..1 code Gravedad de la reacción

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
AllergyIntolerance.codepreferredValuesetAgenteCausal
https://unicas-fhir.sanidad.gob.es/ValueSet/AgenteCausal
From this IG
AllergyIntolerance.patient.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.participant.actor.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.reaction.substancepreferredValuesetAgenteCausal
https://unicas-fhir.sanidad.gob.es/ValueSet/AgenteCausal
From this IG
AllergyIntolerance.reaction.manifestationpreferredValuesetManifestacionesClinicas
https://unicas-fhir.sanidad.gob.es/ValueSet/ManifestacionesClinicas
From this IG

Constraints

IdGradePath(s)DetailsRequirements
regcess-systemwarningAllergyIntolerance.identifier.systemsystem debe comenzar por urn:regcess: seguido del identificador del sistema.
: matches('^urn:regcess:[A-Za-z0-9]+$')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
... 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
... 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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier Σ 1..* Identifier Identificador único
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system ΣC 1..1 uri Sistema para identificar el origen
Constraints: regcess-system
Example General: urn:regcess:0123456789
.... value ΣC 1..1 string Identificador interno del sistema para la alergia
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)
... clinicalStatus ?!Σ 0..1 CodeableConcept Estado de la alergia
Binding: AllergyIntoleranceClinicalStatusCodes (required): The clinical status of the allergy or intolerance.
... verificationStatus ?!Σ 0..1 CodeableConcept Nivel de certeza
Binding: AllergyIntoleranceVerificationStatus (required): Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.
... type Σ 0..1 CodeableConcept allergy | intolerance - Underlying mechanism (if known)
Binding: AllergyIntoleranceType (preferred): Identification of the underlying physiological mechanism for a Reaction Risk.
... category Σ 0..* code food | medication | environment | biologic
Binding: AllergyIntoleranceCategory (required): Category of an identified substance associated with allergies or intolerances.
... criticality Σ 0..1 code Criticidad clínica
Binding: AllergyIntoleranceCriticality (required): Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.
... code Σ 1..1 CodeableConcept Agente causal
Binding: Value set de Agente causal (preferred): Value set de Agente causal
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri URL del SNOMED CT. Extensión para España del SNS
..... version Σ 0..1 string Version of the system - if relevant
..... code ΣC 1..1 code Código del agente causal
..... display ΣC 1..1 string Descripción del agente causal
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... patient Σ 1..1 Reference(Patient Paciente ÚNICAS) Referencia al 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
.... reference ΣC 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
.... type Σ 1..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 1..1 Identifier Identificador de paciente CIP-SNS. Cuando no tengamos recurso Patient, se debera informar el identificador de paciente mediante CIP-SNS
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 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 Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 0..1 uri URL del SNOMED CT. Extensión para España del SNS
....... version Σ 0..1 string Version of the system - if relevant
....... code ΣC 0..1 code Código del identificador
....... display ΣC 0..1 string Decripción del identificador
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system Σ 0..1 uri OID registro de número de CIP-SNS
Example General: urn:oid:2.16.724.4.40
..... value ΣC 0..1 string Número CIP-SNS
Example General: BBBBBBBBQR648597
..... 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)
.... display ΣC 0..1 string Nombre completo del paciente
... encounter 0..1 Reference(Encounter Interacción Clínica ÚNICAS) Referencia a la interacción clínica
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Referencia recurso FHIR
.... type Σ 0..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Identificador del recurso FHIR
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 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: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 0..1 uri Sistema para identificar el origen
Example General: urn:regcess:0123456789
..... value ΣC 0..1 string Identificador interno del sistema para la interacción clínica
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)
.... display ΣC 0..1 string Text alternative for the resource
... onset[x] 1..1 dateTime Fecha de inicio (Fecha en que se identificó por primera vez la alergia o ocurrió la primera reacción)
... recordedDate 0..1 dateTime Date allergy or intolerance was first recorded
... participant Σ 1..* BackboneElement Profesional sanitario
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function Σ 0..1 CodeableConcept Type of involvement
Binding: ParticipationRoleType (extensible)
.... actor Σ 1..1 Reference(PractitionerRole Profesional Sanitario ÚNICAS | Practitioner Profesional Sanitario ÚNICAS | Organization Institución ÚNICAS) Referencia al profesional sanitario
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... reference ΣC 0..1 string Referencia recurso FHIR. Identificador de la referencia del recurso FHIR asociado cuando exista/creamos un recurso en el mismo servidor FHIR
..... type Σ 1..1 uri Tipo de recurso FHIR
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
..... identifier ΣC 1..1 Identifier Identificadores del profesional sanitario. Cuando no tengamos recurso Practitioner, se debera informar el identificador del profesional sanitario mediante DNI como dato mínimo. Adicionalmente, se puede informar el número colegiado del profesional sanitario como dato recomendado
...... id 0..1 id Unique id for inter-element referencing
...... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:numeroColegiadoProfesionalSanitario 0..* Identifier Número de colegiado del profesional sanitario
URL: https://unicas-fhir.sanidad.gob.es/StructureDefinition/NumeroColegiadoProfesionalSanitario
...... use ?!Σ 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 Tipos de documentos de identificación para persona ÚNICAS
Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Additional BindingsPurposeDocumentation
Value set de Tipos de documentos de identificación para persona ÚNICAS Extensible
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... coding Σ 0..* Coding Code defined by a terminology system
........ id 0..1 id Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system Σ 0..1 uri URL del refset Tipos de documento para identificación personal de SNOMED CT. Extensión para España del SNS
........ version Σ 0..1 string Version of the system - if relevant
........ code ΣC 0..1 code Código del identificador
........ display ΣC 0..1 string Decripción del identificador
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... text Σ 0..1 string Plain text representation of the concept
...... system Σ 0..1 uri OID registro de DNI
Example General: urn:oid:1.3.6.1.4.1.19126.3
...... value ΣC 0..1 string Número del DNI
Example General: 0000001X
...... 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)
..... display ΣC 0..1 string Nombre completo del profesional sanitario
... lastOccurrence 0..1 dateTime Fecha de fin (Puede corresponder a la fecha de la última ocurrencia de la reacción alérgica)
... note 0..* Annotation Comentario
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown Comentario
... reaction 0..* BackboneElement Adverse Reaction Events linked to exposure to substance
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... substance 0..1 CodeableConcept Agente causal
Binding: Value set de Agente causal (preferred): Value set de Agente causal
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 0..* Coding Code defined by a terminology system
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri URL del SNOMED CT. Extensión para España del SNS
...... version Σ 0..1 string Version of the system - if relevant
...... code ΣC 0..1 code Código del agente causal
...... display ΣC 0..1 string Descripción del agente causal
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept
.... manifestation 1..* CodeableReference(Observation) Manifestación clínica
Binding: Value set de Manifestaciones clínicas (preferred): Value set de Manifestaciones clínicas
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... concept Σ 0..1 CodeableConcept Manifestación clínica
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
....... id 0..1 id Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri URL del SNOMED CT. Extensión para España del SNS | OID de la terminología CIE-10-ES. Diagnósticos
....... version Σ 0..1 string Version of the system - if relevant
....... code ΣC 1..1 code Código de la manifestación clínica
....... display ΣC 1..1 string Descripción de la manifestación clínica
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... reference Σ 0..1 Reference() Reference to a resource (by instance)
.... description 0..1 string Description of the event as a whole
.... onset 0..1 dateTime Date(/time) when manifestations showed
.... severity 0..1 code Gravedad de la reacción
Binding: AllergyIntoleranceSeverity (required): Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.
.... exposureRoute 0..1 CodeableConcept How the subject was exposed to the substance
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of exposure to a substance.
.... note 0..* Annotation Text about event not captured in other fields

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
AllergyIntolerance.languagerequiredAllLanguages
http://hl7.org/fhir/ValueSet/all-languages|5.0.0
From the FHIR Standard
AllergyIntolerance.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.clinicalStatusrequiredAllergyIntoleranceClinicalStatusCodes
http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|5.0.0
From the FHIR Standard
AllergyIntolerance.verificationStatusrequiredAllergyIntoleranceVerificationStatus
http://hl7.org/fhir/ValueSet/allergyintolerance-verification|5.0.0
From the FHIR Standard
AllergyIntolerance.typepreferredAllergyIntoleranceType
http://hl7.org/fhir/ValueSet/allergy-intolerance-type
From the FHIR Standard
AllergyIntolerance.categoryrequiredAllergyIntoleranceCategory
http://hl7.org/fhir/ValueSet/allergy-intolerance-category|5.0.0
From the FHIR Standard
AllergyIntolerance.criticalityrequiredAllergyIntoleranceCriticality
http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|5.0.0
From the FHIR Standard
AllergyIntolerance.codepreferredValuesetAgenteCausal
https://unicas-fhir.sanidad.gob.es/ValueSet/AgenteCausal
From this IG
AllergyIntolerance.patient.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.patient.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.encounter.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.encounter.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.encounter.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.participant.functionextensibleParticipationRoleType
http://hl7.org/fhir/ValueSet/participation-role-type
From the FHIR Standard
AllergyIntolerance.participant.actor.typeextensibleResourceType
http://hl7.org/fhir/ValueSet/resource-types
From the FHIR Standard
AllergyIntolerance.participant.actor.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|5.0.0
From the FHIR Standard
AllergyIntolerance.participant.actor.identifier.typeextensibleIdentifierTypeCodes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
AllergyIntolerance.reaction.substancepreferredValuesetAgenteCausal
https://unicas-fhir.sanidad.gob.es/ValueSet/AgenteCausal
From this IG
AllergyIntolerance.reaction.manifestationpreferredValuesetManifestacionesClinicas
https://unicas-fhir.sanidad.gob.es/ValueSet/ManifestacionesClinicas
From this IG
AllergyIntolerance.reaction.severityrequiredAllergyIntoleranceSeverity
http://hl7.org/fhir/ValueSet/reaction-event-severity|5.0.0
From the FHIR Standard
AllergyIntolerance.reaction.exposureRouteexampleSNOMEDCTRouteCodes
http://hl7.org/fhir/ValueSet/route-codes
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorAllergyIntoleranceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAllergyIntoleranceIf 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-4errorAllergyIntoleranceIf 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-5errorAllergyIntoleranceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAllergyIntoleranceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
regcess-systemwarningAllergyIntolerance.identifier.systemsystem debe comenzar por urn:regcess: seguido del identificador del sistema.
: matches('^urn:regcess:[A-Za-z0-9]+$')

 

Other representations of profile: CSV, Excel, Schematron

ÚNICAS está impulsado por el Consejo Interterritorial del Sistema Nacional de Salud, y financiado con fondos Next Generation de la Unión Europea, en el marco del Plan de Recuperación, Transformación y Resiliencia del Gobierno de España. El Ministerio de Sanidad ejerce la coordinación del proyecto, y Cataluña lidera la parte del desarrollo de los activos tecnológicos para su implementación.