Context Identifier
Definiert im Kontext einer Domain, welche Identifikatoren an welchen Ressourcen benötigt werden, um in der Policy Verwendung zu finden.
Existieren mehrere Extensions im Kontext einer Domain, so werden diese UND-verknüpft. Die Elemente resourceType, type und system sind ebenfalls UND-verknüpft.
Der FHIR-Ressourcentyp als Kontext muss immer angegeben werden. Identifier-Typen (type) und -Namensräume (system) sind optional. Sind mehrere type- oder system-Elemente angegeben, so sind diese untereinander ODER-verknüpft. Sind diese angegeben, so müssen die dem resourceType entsprechenden Ressourcen einen Identifier mit dem entsprechenden type und/oder system besitzen. Bei logischen Referenzen (Reference by Identifier) gilt dies entsprechend.
Übersicht
| Extension |  |  | Extension | There are no (further) constraints on this elementElement IdShort description Optional Extensions ElementDefinition Data TypeOptional Extension Element - found in all resources.ExtensionConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| extension |  | 0..* | Extension | Element IdShort description Additional content defined by implementationsAlternate names extensions, user contentDefinition CommentsMay be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.ExtensionSliced: Unordered, Open, by url(Value)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| resourceType |  | 1..1 | Extension | Element Id Short descriptionExtension.extension:resourceTypeRessource, in der ein Identifier Verwendung findet.Alternate names extensions, user contentDefinition CommentsMay be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.ExtensionConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| url |  | 1..1 | System.StringFixed Value | Element Id Short descriptionExtension.extension:resourceType.urlidentifies the meaning of the extensionDefinition CommentsSource of the definition for the extension code - a logical name or a URL.Data TypeThe definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.System.StringFixed Value Mappings | 
| value[x] |  | 1..1 | Binding | Element Id Short descriptionExtension.extension:resourceType.value[x]Value of extensionDefinition CommentsValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).BindingA stream of bytes, base64 encodedResourceType (required)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| valueCoding |  |  | Coding | Data Type Coding | 
| type |  | 0..* | Extension | There are no (further) constraints on this elementElement IdShort description Additional content defined by implementationsAlternate names extensions, user contentDefinition CommentsMay be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.ExtensionConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| url |  | 1..1 | System.StringFixed Value | Element Id Short descriptionExtension.extension:type.urlidentifies the meaning of the extensionDefinition CommentsSource of the definition for the extension code - a logical name or a URL.Data TypeThe definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.System.StringFixed Value Mappings | 
| value[x] |  | 1..1 | Binding | Element Id Short descriptionExtension.extension:type.value[x]Value of extensionDefinition CommentsValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).BindingA stream of bytes, base64 encodedConsentManagementContextIdentifierType (extensible)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| valueCodeableConcept |  |  | CodeableConcept | Data Type CodeableConcept | 
| system |  | 0..* | Extension | There are no (further) constraints on this elementElement Id Short descriptionExtension.extension:systemAdditional content defined by implementationsAlternate names extensions, user contentDefinition CommentsMay be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.ExtensionConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| url |  | 1..1 | System.StringFixed Value | Element Id Short descriptionExtension.extension:system.urlidentifies the meaning of the extensionDefinition CommentsSource of the definition for the extension code - a logical name or a URL.Data TypeThe definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.System.StringFixed Value Mappings | 
| value[x] |  | 1..1 |  | There are no (further) constraints on this elementElement Id Short descriptionExtension.extension:system.value[x]Value of extensionDefinition CommentsValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).ConstraintsA stream of bytes, base64 encodedMappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| valueUri |  |  | uri | Data Type uri | 
| url |  | 1..1 | System.StringFixed Value | Element IdShort description identifies the meaning of the extensionDefinition CommentsSource of the definition for the extension code - a logical name or a URL.Data TypeThe definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.System.StringFixed Value 
Mappingshttp://fhir.de/ConsentManagement/StructureDefinition/ContextIdentifier | 
| value[x] |  | 0..0 |  | There are no (further) constraints on this elementElement IdShort description Value of extensionDefinition CommentsValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).ConstraintsA stream of bytes, base64 encodedMappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
Beispiel
Um beispielsweise den Bezug von Einwilligungen und Patient über eine durch SAP vergebene PatientenID herzustellen, wäre die Nutzung des folgenden Eintrags denkbar.
 <extension url="http://fhir.de/ConsentManagement/StructureDefinition/ContextIdentifier">
        <extension url="resourceType">
            <valueCoding>
                <system value="http://hl7.org/fhir/resource-types" />
                <code value="Patient" />
            </valueCoding>
        </extension>
        <extension url="system">
            <valueUri value="https://ths-greifswald.de/fhir/gics/identifiers/SapId" />
        </extension>
    </extension>