## Profile Comparison between http://hl7.org/fhir/uv/ips/StructureDefinition/Flag-alert-uv-ips vs http://hl7.eu/fhir/base-r5/StructureDefinition/flag-patient-eu-core

Left: | Flag - Alert (IPS) (http://hl7.org/fhir/uv/ips/StructureDefinition/Flag-alert-uv-ips)
Right: | Flag: Patient (EU core) (http://hl7.eu/fhir/base-r5/StructureDefinition/flag-patient-eu-core)

### Messages

Error | StructureDefinition.url | Values for url differ: 'http://hl7.org/fhir/uv/ips/StructureDefinition/Flag-alert-uv-ips' vs 'http://hl7.eu/fhir/base-r5/StructureDefinition/flag-patient-eu-core'
Information | StructureDefinition.name | Values for name differ: 'FlagAlertUvIps' vs 'FlagPatientEuCore'
Information | StructureDefinition.title | Values for title differ: 'Flag - Alert (IPS)' vs 'Flag: Patient (EU core)'
Information | StructureDefinition.date | Values for date differ: '2024-07-03T10:50:07-05:00' vs '2026-04-27T22:41:19+03:00'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International / Patient Care' vs 'HL7 Europe'
Information | StructureDefinition.jurisdiction | Removed the item 'http://unstats.un.org/unsd/methods/m49/m49.htm#001'
Information | StructureDefinition.jurisdiction | Added the item 'http://unstats.un.org/unsd/methods/m49/m49.htm#150'
Warning | StructureDefinition.fhirVersion | Values for fhirVersion differ: '4.0.1' vs '5.0.0'
Information | StructureDefinition.comment | Values for comment differ: 'The only time that a resource does not have an id is when it is being submitted to the server using a create operation.' vs 'Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.'
Information | StructureDefinition.comment | Values for comment differ: 'Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.' vs 'Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.'
Information | StructureDefinition.short | Values for short differ: 'Language of the resource content' vs 'Language of the alert content'
Information | StructureDefinition.comment | Values for comment differ: 'Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a 'text blob' or where text is additionally entered raw or narrated and encoded information is added later.' vs 'Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a 'text blob' or where text is additionally entered raw or narrated and encoded information is added later.'
Information | StructureDefinition.definition | Values for definition differ: 'These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.' vs 'These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.'
Information | StructureDefinition.comment | Values for comment differ: 'This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.' vs 'This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.'
Information | StructureDefinition.definition | Values for definition differ: 'May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).' vs 'May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).'
Information | StructureDefinition.requirements | Values for requirements differ: 'Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).' vs 'Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).'
Information | StructureDefinition.short | Values for short differ: 'Business identifier' vs 'Alert business Identifier'
Information | StructureDefinition.comment | Values for comment differ: 'This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.' vs 'This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R5/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.'
Information | StructureDefinition.short | Values for short differ: 'active | inactive | entered-in-error' vs 'Alert status'
Information | StructureDefinition.short | Values for short differ: 'Clinical, administrative, etc.' vs 'Clinical, administrative, etc'
Warning | Flag.category | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | StructureDefinition.short | Values for short differ: 'Coded or textual message to display to user' vs 'Coded or textual message to display to user.'
Warning | Flag.code | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | StructureDefinition.definition | Values for definition differ: 'The patient, location, group, organization, or practitioner etc. this is about record this flag is associated with.' vs 'The patient, related person, location, group, organization, or practitioner etc. this is about record this flag is associated with.'
Warning | Flag.subject | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | StructureDefinition.short | Values for short differ: 'Time period when flag is active' vs 'Time period when the alert is active'
Information | StructureDefinition.short | Values for short differ: 'Flag creator' vs 'Author of the alert'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Flag |
copyright |  | Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0). | Added the item 'Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0).'
date | 2024-07-03T10:50:07-05:00 | 2026-04-27T22:41:19+03:00 | Values Differ
description | This profile constrains the Flag resource by the International Patient Summary (IPS) FHIR Implementation Guide. A record of an alert is represented in the patient summary as an instance of a Flag resource constrained by this profile. This specialized Flag is used to convey information about an alert specific to an IPS. Information is flagged to raise awareness of potential concerns and/or dangers to/from the subject of the IPS. It brings information to the fore and may reference other information from the summary (through the supportingInfo extension) as well as present obstacles to care. | This profile introduces essential constraints and extensions for the Flag resource - for patient related alerts - that apply across multiple use cases. Other specialized flag profiles may be specified in the future for other kind of subjects (e.g. related to practitioners, devices, etc.). | Values Differ
experimental | false |  | Removed the item 'false'
fhirVersion | 4.0.1 | 5.0.0 | Values Differ
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] |  | http://unstats.un.org/unsd/methods/m49/m49.htm#150 | Added the item 'http://unstats.un.org/unsd/methods/m49/m49.htm#150'
kind | resource |
name | FlagAlertUvIps | FlagPatientEuCore | Values Differ
publisher | HL7 International / Patient Care | HL7 Europe | Values Differ
purpose | This profile constrains the representation of a record of an alert in the context of the international patient summary as specified by the IPS project of HL7 International. |  | Removed the item 'This profile constrains the representation of a record of an alert in the context of the international patient summary as specified by the IPS project of HL7 International.'
status | active |
title | Flag - Alert (IPS) | Flag: Patient (EU core) | Values Differ
type | Flag |
url | http://hl7.org/fhir/uv/ips/StructureDefinition/Flag-alert-uv-ips | http://hl7.eu/fhir/base-r5/StructureDefinition/flag-patient-eu-core | Values Differ
version | 2.0.0 |

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Flag |  | 0..* | Flag | Key information to flag to healthcare providers |  | 0..* | Flag | Key information to flag to healthcare providers |
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 alert content Binding: ?? (required): IETF language tag for a human language
Additional Bindings | Purpose
?? | Starter
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 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 |  | 0..* | Resource | Contained, inline Resources |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | Business identifier | Σ | 0..* | Identifier | Alert business Identifier |
status | ?!Σ | 1..1 | code | active | inactive | entered-in-error Binding: ?? (required): Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error. Fixed Value: active | ?!Σ | 1..1 | code | Alert status Binding: ?? (required): Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error. |
category | SO Σ | 0..* | ?? | Clinical, administrative, etc. Binding: ?? (example): A general category for flags for filtering/display purposes.
Obligations | Actor
SHALL:populate-if-known | Creator (IPS)
SHALL:handle | Consumer (IPS)
SHOULD:display | Consumer (IPS)
| Σ | 0..* | CodeableConcept | Clinical, administrative, etc Binding: ?? (example): A general category for flags for filtering/display purposes. | Elements differ in definition for mustSupport: 'true' vs 'false'
code | SO Σ | 1..1 | ?? | Coded or textual message to display to user Binding: ?? (example): Detail codes identifying specific flagged issues.
Obligations | Actor
SHALL:populate-if-known | Creator (IPS)
SHALL:handle | Consumer (IPS)
SHOULD:display | Consumer (IPS)
| Σ | 1..1 | CodeableConcept | Coded or textual message to display to user. Binding: ?? (example): Detail codes identifying specific flagged issues. | Elements differ in definition for mustSupport: 'true' vs 'false'
subject | SO Σ | 1..1 | Reference(Patient | Location | Group | Organization | Practitioner | PlanDefinition | Medication | Procedure) | Who/What is flag about?
Obligations | Actor
SHALL:populate-if-known | Creator (IPS)
SHALL:handle | Consumer (IPS)
SHOULD:display | Consumer (IPS)
| Σ | 1..1 | Reference(Patient (EU core)) | Who/What is flag about? | Elements differ in definition for mustSupport: 'true' vs 'false'
id |  | 0..1 | string | Unique id for inter-element referencing |  |  |  |  | Removed this element
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  |  |  |  | Removed this element
reference | SO Σ C | 1..1 | string | Literal reference, Relative, internal or absolute URL
Obligations | Actor
SHALL:populate-if-known | Creator (IPS)
SHALL:handle | Consumer (IPS)
|  |  |  |  | Removed this element
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). |  |  |  |  | Removed this element
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |  |  |  |  | Removed this element
display | Σ | 0..1 | string | Text alternative for the resource |  |  |  |  | Removed this element
period | Σ | 0..1 | Period | Time period when flag is active | Σ | 0..1 | Period | Time period when the alert is active |
encounter | Σ | 0..1 | Reference(Encounter) | Alert relevant during encounter | Σ | 0..1 | Reference(Encounter) | Alert relevant during encounter |
author | Σ | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole) | Flag creator | Σ | 0..1 | Reference(Device | Organization | Patient | RelatedPerson | Practitioner | PractitionerRole) | Author of the alert |
Documentation for this format