## Profile Comparison between http://fhir.hl7.nl/zorgviewer/StructureDefinition/Flag vs http://fhir.hl7.nl/zorgviewer/StructureDefinition/Flag

Left: | Alert (http://fhir.hl7.nl/zorgviewer/StructureDefinition/Flag)
Right: | Alert (http://fhir.hl7.nl/zorgviewer/StructureDefinition/Flag)

### Messages

Information | StructureDefinition.short | Values for short differ: 'Extension' vs 'Additional Content defined by implementations'
Information | StructureDefinition.definition | Values for definition differ: 'An Extension' vs 'May be used to represent additional information that is not part of the basic definition of the resource. In order 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.'
Error | Flag.subject | Type Mismatch: Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-location], CanonicalType[http://hl7.org/fhir/StructureDefinition/Group], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PlanDefinition], CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Product], CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Procedure]]) vs Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-location], CanonicalType[http://hl7.org/fhir/StructureDefinition/Group], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PlanDefinition], CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Product], CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Procedure]])
Information | StructureDefinition.short | Values for short differ: 'Extension' vs 'Additional Content defined by implementations'
Information | StructureDefinition.definition | Values for definition differ: 'An Extension' vs 'May be used to represent additional information that is not part of the basic definition of the element. In order 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.'
Information | StructureDefinition.short | Values for short differ: 'Extension' vs 'Additional Content defined by implementations'
Information | StructureDefinition.definition | Values for definition differ: 'An Extension' vs 'May be used to represent additional information that is not part of the basic definition of the element. In order 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.'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://nictiz.nl/fhir/StructureDefinition/zib-Alert |
copyright |  |
description | Alert (Flag) |
experimental |  |
fhirVersion | 3.0.2 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#NL |
kind | resource |
name | Alert |
publisher | RIVO-NN HL7NL |
purpose |  |
status | active |
title | Alert |
type | Flag |
url | http://fhir.hl7.nl/zorgviewer/StructureDefinition/Flag |

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Flag |  | 0..* | Zib Alert(2.1.5) | Alert |  | 0..* | Zib Alert(2.1.5) | Alert |
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: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
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 | Additional Content defined by implementations 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 | 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 entered in error. | ?!Σ | 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 entered in error. |
category | Σ | 0..1 | CodeableConcept | AlertType Binding: ?? (extensible): Indicates the type of alert, meaning a rough description of the cause or origin of the warning. Example Example of AlertType: {"coding":[{"system":"http://loinc.org","code":"75323-6","display":"condition","userSelected":false}]} | Σ | 0..1 | CodeableConcept | AlertType Binding: ?? (extensible): Indicates the type of alert, meaning a rough description of the cause or origin of the warning. Example Example of AlertType: {"coding":[{"system":"http://loinc.org","code":"75323-6","display":"condition","userSelected":false}]} |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |
coding | Σ | 0..* | Coding | Code defined by a terminology system | Σ | 0..* | Coding | Code defined by a terminology system |
text | S Σ | 0..1 | string | Plain text representation of the concept | S Σ | 0..1 | string | Plain text representation of the concept |
code | Σ | 1..1 | CodeableConcept | AlertName Binding: ?? (extensible) Example Example of AlertName: {"coding":[{"system":"http://snomed.info/sct","code":"432415000","display":"Methicillin resistant staphylococcus aureus carrier"}]} | Σ | 1..1 | CodeableConcept | AlertName Binding: ?? (extensible): Detail codes identifying specific flagged issues. Example Example of AlertName: {"coding":[{"system":"http://snomed.info/sct","code":"432415000","display":"Methicillin resistant staphylococcus aureus carrier"}]} |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |
coding | Σ | 0..* | Coding | Code defined by a terminology system | Σ | 0..* | Coding | Code defined by a terminology system |
text | S Σ | 0..1 | string | Plain text representation of the concept | S Σ | 0..1 | string | Plain text representation of the concept |
subject | Σ | 1..1 | Reference(nl-core-patient(2.2.4) | nl-core-location(2.0.5) | Group | nl-core-organization(2.0.6) | nl-core-practitioner(2.0.7) | PlanDefinition | HCIM PharmaceuticalProduct(2.0.6) | HCIM Procedure(2.1.10)) | Who/What is flag about? | Σ | 1..1 | Reference(nl-core-patient(2.2.5) | nl-core-location(2.0.5) | Group | nl-core-organization(2.0.6) | nl-core-practitioner(2.0.7) | PlanDefinition | HCIM PharmaceuticalProduct(2.0.7) | HCIM Procedure(2.1.11)) | Who/What is flag about? | Type Mismatch: Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-location], CanonicalType[http://hl7.org/fhir/StructureDefinition/Group], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PlanDefinition], CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Product], CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Procedure]]) vs Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-location], CanonicalType[http://hl7.org/fhir/StructureDefinition/Group], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PlanDefinition], CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Product], CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Procedure]])
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL |
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource |
period | Σ | 0..1 | Period | Time period when flag is active | Σ | 0..1 | Period | Time period when flag is active |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |
start | S Σ C | 0..1 | dateTime | StartDateTime Example Example of StartDateTime: 2017-02-07 | S Σ C | 0..1 | dateTime | StartDateTime Example Example of StartDateTime: 2017-02-07 |
end | Σ C | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | Σ C | 0..1 | dateTime | End time with inclusive boundary, if not ongoing |
encounter | Σ | 0..1 | Reference(HCIM Encounter(2.1.6)) | Alert relevant during encounter | Σ | 0..1 | Reference(HCIM Encounter(2.1.6)) | Alert relevant during encounter |
author | Σ | 0..1 | Reference(HCIM MedicalDevice Product(2.0.6) | nl-core-patient(2.2.4) | nl-core-practitioner(2.0.7) | nl-core-organization(2.0.6)) | Flag creator | Σ | 0..1 | Reference(HCIM MedicalDevice Product(2.0.6) | nl-core-patient(2.2.5) | nl-core-practitioner(2.0.7) | nl-core-organization(2.0.6)) | Flag creator |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional Content defined by implementations Slice: Unordered, Open by value:url |
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL |
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource |
Documentation for this format