## Profile Comparison between http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance vs https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-allergy-intolerance

Left: | IPA-AllergyIntolerance (http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance)
Right: | FI SMART AllergyIntolerance (https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-allergy-intolerance)

### Messages

Error | StructureDefinition.url | Values for url differ: 'http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance' vs 'https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-allergy-intolerance'
Error | StructureDefinition.version | Values for version differ: '1.0.0' vs '2.0.0-rc1'
Information | StructureDefinition.name | Values for name differ: 'IPAAllergyIntolerance' vs 'FiSMARTAllergyIntolerance'
Information | StructureDefinition.title | Values for title differ: 'IPA-AllergyIntolerance' vs 'FI SMART AllergyIntolerance'
Information | StructureDefinition.status | Values for status differ: 'active' vs 'draft'
Information | StructureDefinition.date | Values for date differ: '2022-08-02' vs '2025-02-06T22:27:43+02:00'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International - Patient Care Work Group' vs 'HL7 Finland ry'
Information | StructureDefinition.jurisdiction | Removed the item 'http://unstats.un.org/unsd/methods/m49/m49.htm#001'
Information | StructureDefinition.jurisdiction | Added the item 'urn:iso:std:iso:3166#FI'
Warning | AllergyIntolerance.clinicalStatus | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | AllergyIntolerance.verificationStatus | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | AllergyIntolerance.code | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | AllergyIntolerance.code | Element minimum cardinalities differ: '1' vs '0'
Warning | AllergyIntolerance.patient | Elements differ in definition for mustSupport: 'true' vs 'false'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/AllergyIntolerance |
copyright | Used by permission of HL7 International all rights reserved Creative Commons License |  | Removed the item 'Used by permission of HL7 International all rights reserved Creative Commons License'
date | 2022-08-02 | 2025-02-06T22:27:43+02:00 | Values Differ
description | Minimum expectations for an AllergyIntolerance resource when accessed via a International Patient Access API | This is the Finnish patient facing profile for the AllergyIntolerance resource. | Values Differ
experimental | false |  | Removed the item 'false'
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#001 |  | Removed the item 'http://unstats.un.org/unsd/methods/m49/m49.htm#001'
jurisdiction[1] |  | urn:iso:std:iso:3166#FI | Added the item 'urn:iso:std:iso:3166#FI'
kind | resource |
name | IPAAllergyIntolerance | FiSMARTAllergyIntolerance | Values Differ
publisher | HL7 International - Patient Care Work Group | HL7 Finland ry | Values Differ
purpose |  |
status | active | draft | Values Differ
title | IPA-AllergyIntolerance | FI SMART AllergyIntolerance | Values Differ
type | AllergyIntolerance |
url | http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-allergyintolerance | https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-allergy-intolerance | Values Differ
version | 1.0.0 | 2.0.0-rc1 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
AllergyIntolerance | C | 0..* | AllergyIntolerance | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) ait-1: AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. ait-2: AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error | C | 0..* | AllergyIntolerance | Allergy or Intolerance (generally: Risk of adverse reaction to a substance) This profile also imposes the profile IPA-AllergyIntolerance ait-1: AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. ait-2: AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | External ids for this item | Σ | 0..* | Identifier | External ids for this item |
clinicalStatus | ?!S Σ C | 0..1 | CodeableConcept | active | inactive | resolved Binding: ?? (required): The clinical status of the allergy or intolerance. | ?!Σ C | 0..1 | CodeableConcept | active | inactive | resolved Binding: ?? (required): The clinical status of the allergy or intolerance. | Elements differ in definition for mustSupport: 'true' vs 'false'
verificationStatus | ?!S Σ C | 0..1 | CodeableConcept | unconfirmed | confirmed | refuted | entered-in-error Binding: ?? (required): Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance. | ?!Σ C | 0..1 | CodeableConcept | unconfirmed | confirmed | refuted | entered-in-error Binding: ?? (required): Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance. | Elements differ in definition for mustSupport: 'true' vs 'false'
type | Σ | 0..1 | code | allergy | intolerance - Underlying mechanism (if known) Binding: ?? (required): Identification of the underlying physiological mechanism for a Reaction Risk. | Σ | 0..1 | code | allergy | intolerance - Underlying mechanism (if known) Binding: ?? (required): Identification of the underlying physiological mechanism for a Reaction Risk. |
category | Σ | 0..* | code | food | medication | environment | biologic Binding: ?? (required): Category of an identified substance associated with allergies or intolerances. | Σ | 0..* | code | food | medication | environment | biologic Binding: ?? (required): Category of an identified substance associated with allergies or intolerances. |
criticality | Σ | 0..1 | code | low | high | unable-to-assess Binding: ?? (required): Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance. | Σ | 0..1 | code | low | high | unable-to-assess Binding: ?? (required): Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance. |
code | S Σ | 1..1 | CodeableConcept | Code that identifies the allergy or intolerance Binding: ?? (example): Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies. | Σ | 0..1 | CodeableConcept | Code that identifies the allergy or intolerance Binding: ?? (example): Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies. | Elements differ in definition for mustSupport: 'true' vs 'false' Element minimum cardinalities differ: '1' vs '0'
patient | S Σ | 1..1 | Reference(IPA-Patient) | Who the sensitivity is for | Σ | 1..1 | Reference(Patient) | Who the sensitivity is for | Elements differ in definition for mustSupport: 'true' vs 'false'
encounter |  | 0..1 | Reference(Encounter) | Encounter when the allergy or intolerance was asserted |  | 0..1 | Reference(Encounter) | Encounter when the allergy or intolerance was asserted |
onset[x] |  | 0..1 | dateTime, Age, Period, Range, string | When allergy or intolerance was identified |  | 0..1 | dateTime, Age, Period, Range, string | When allergy or intolerance was identified |
recordedDate |  | 0..1 | dateTime | Date first version of the resource instance was recorded |  | 0..1 | dateTime | Date first version of the resource instance was recorded |
recorder |  | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Who recorded the sensitivity |  | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) | Who recorded the sensitivity |
asserter | Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Source of the information about the allergy | Σ | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole) | Source of the information about the allergy |
lastOccurrence |  | 0..1 | dateTime | Date(/time) of last known occurrence of a reaction |  | 0..1 | dateTime | Date(/time) of last known occurrence of a reaction |
note |  | 0..* | Annotation | Additional text not captured in other fields |  | 0..* | Annotation | Additional text not captured in other fields |
reaction |  | 0..* | BackboneElement | Adverse Reaction Events linked to exposure to substance |  | 0..* | BackboneElement | Adverse Reaction Events linked to exposure to substance |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
substance |  | 0..1 | CodeableConcept | Specific substance or pharmaceutical product considered to be responsible for event Binding: ?? (example): Codes defining the type of the substance (including pharmaceutical products). |  | 0..1 | CodeableConcept | Specific substance or pharmaceutical product considered to be responsible for event Binding: ?? (example): Codes defining the type of the substance (including pharmaceutical products). |
manifestation |  | 1..* | CodeableConcept | Clinical symptoms/signs associated with the Event Binding: ?? (example): Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event. |  | 1..* | CodeableConcept | Clinical symptoms/signs associated with the Event Binding: ?? (example): Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event. |
description |  | 0..1 | string | Description of the event as a whole |  | 0..1 | string | Description of the event as a whole |
onset |  | 0..1 | dateTime | Date(/time) when manifestations showed |  | 0..1 | dateTime | Date(/time) when manifestations showed |
severity |  | 0..1 | code | mild | moderate | severe (of event as a whole) Binding: ?? (required): Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations. |  | 0..1 | code | mild | moderate | severe (of event as a whole) Binding: ?? (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: ?? (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. |  | 0..1 | CodeableConcept | How the subject was exposed to the substance Binding: ?? (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. |
note |  | 0..* | Annotation | Text about event not captured in other fields |  | 0..* | Annotation | Text about event not captured in other fields |
Documentation for this format