## 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

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]])
Error | Flag.encounter | Type Mismatch: Reference([CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Encounter]]) vs Reference([CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Encounter]])
Error | Flag.author | Type Mismatch: Reference([CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization]]) vs Reference([CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization]])

### 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..* |  | Alert |  | 0..* | Zib Alert | 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 | Additional Content defined by implementations 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): Detail codes identifying specific flagged issues. 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(http://fhir.nl/fhir/StructureDefinition/nl-core-patient | http://fhir.nl/fhir/StructureDefinition/nl-core-location | Group | http://fhir.nl/fhir/StructureDefinition/nl-core-organization | http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner | PlanDefinition | http://nictiz.nl/fhir/StructureDefinition/zib-Product | http://nictiz.nl/fhir/StructureDefinition/zib-Procedure) | Who/What is flag about? | Σ | 1..1 | Reference(nl-core-patient | nl-core-location | Group | nl-core-organization | nl-core-practitioner | PlanDefinition | HCIM PharmaceuticalProduct | HCIM Procedure) | 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 | Additional Content defined by implementations 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(http://nictiz.nl/fhir/StructureDefinition/zib-Encounter) | Alert relevant during encounter | Σ | 0..1 | Reference(HCIM Encounter) | Alert relevant during encounter | Type Mismatch: Reference([CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Encounter]]) vs Reference([CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-Encounter]])
author | Σ | 0..1 | Reference(http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct | http://fhir.nl/fhir/StructureDefinition/nl-core-patient | http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner | http://fhir.nl/fhir/StructureDefinition/nl-core-organization) | Flag creator | Σ | 0..1 | Reference(HCIM MedicalDevice Product | nl-core-patient | nl-core-practitioner | nl-core-organization) | Flag creator | Type Mismatch: Reference([CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization]]) vs Reference([CanonicalType[http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-organization]])
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 |
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