HL7 Czech Base and Core Implementation Guide
0.3.0-ballot - ci-build

HL7 Czech Base and Core Implementation Guide, published by HL7 Czech Republic. This guide is not an authorized publication; it is the continuous build for version 0.3.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7-cz/cz-core/ and changes regularly. See the Directory of published versions

## Data Type Profile: Signature (CZ)

Official URL: https://hl7.cz/fhir/core/StructureDefinition/cz-signature | Version: 0.3.0-ballot
Standards status: Draft | Maturity Level: 1 | Computable Name: CZ_Signature

Czech national profile on Signature holds an electronic representation of a signature or timestamp and its supporting context in a FHIR accessible form.

Usages:

- Use this DataType Profile: Provenance (CZ)

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature | C | 0..* | Signature | Signature according to Czech conventions Constraints: data-must-be
type | S Σ | 1..* | Coding | Indication of the reason the entity signed the object(s) Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
when | S Σ | 1..1 | instant | When the signature was created
who | S Σ | 1..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core) | Patient (CZ core)) | Who signed
onBehalfOf | Σ | 0..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core)) | The party represented
data | S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Signature.type | Base | preferred | Signature Type Codes | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
data-must-be | error | Signature | Signature must contain data, author and date | `data.exists() and who.exists() and when.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

This structure is derived from Signature

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature | C | 0..* | Signature | Signature according to Czech conventions Constraints: data-must-be
type | S | 1..* | Coding | Indication of the reason the entity signed the object(s)
when | S | 1..1 | instant | When the signature was created
who | S | 1..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core) | Patient (CZ core)) | Who signed
onBehalfOf |  | 0..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core)) | The party represented
data | S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.)
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
data-must-be | error | Signature | Signature must contain data, author and date | `data.exists() and who.exists() and when.exists()`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature | C | 0..* | Signature | Signature according to Czech conventions Constraints: data-must-be
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
type | S Σ | 1..* | Coding | Indication of the reason the entity signed the object(s) Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
when | S Σ | 1..1 | instant | When the signature was created
who | S Σ | 1..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core) | Patient (CZ core)) | Who signed
onBehalfOf | Σ | 0..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core)) | The party represented
targetFormat |  | 0..1 | code | The technical format of the signed resources Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
sigFormat |  | 0..1 | code | The technical format of the signature Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
data | S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Signature.type | Base | preferred | Signature Type Codes | 📍4.0.1 | FHIR Std.
Signature.targetFormat | Base | required | MimeType | 📍4.0.1 | FHIR Std.
Signature.sigFormat | Base | required | MimeType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
data-must-be | error | Signature | Signature must contain data, author and date | `data.exists() and who.exists() and when.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from Signature

Summary

Must-Support: 4 elements

Structures

This structure refers to these other structures:

- Practitioner (CZ core) (https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core)
- Practitioner Role (CZ core) (https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core)
- Related Person (CZ core) (https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core)
- Device: Performer/Observer (CZ) (https://hl7.cz/fhir/core/StructureDefinition/cz-device-observer)
- Medical Device (CZ) (https://hl7.cz/fhir/core/StructureDefinition/cz-medical-device)
- Organization (CZ core) (https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core)
- Patient (CZ core) (https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core)

Maturity: 1

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature | C | 0..* | Signature | Signature according to Czech conventions Constraints: data-must-be
type | S Σ | 1..* | Coding | Indication of the reason the entity signed the object(s) Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
when | S Σ | 1..1 | instant | When the signature was created
who | S Σ | 1..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core) | Patient (CZ core)) | Who signed
onBehalfOf | Σ | 0..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core)) | The party represented
data | S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Signature.type | Base | preferred | Signature Type Codes | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
data-must-be | error | Signature | Signature must contain data, author and date | `data.exists() and who.exists() and when.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

Differential View

This structure is derived from Signature

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature | C | 0..* | Signature | Signature according to Czech conventions Constraints: data-must-be
type | S | 1..* | Coding | Indication of the reason the entity signed the object(s)
when | S | 1..1 | instant | When the signature was created
who | S | 1..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core) | Patient (CZ core)) | Who signed
onBehalfOf |  | 0..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core)) | The party represented
data | S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.)
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
data-must-be | error | Signature | Signature must contain data, author and date | `data.exists() and who.exists() and when.exists()`

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Signature | C | 0..* | Signature | Signature according to Czech conventions Constraints: data-must-be
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
type | S Σ | 1..* | Coding | Indication of the reason the entity signed the object(s) Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
when | S Σ | 1..1 | instant | When the signature was created
who | S Σ | 1..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core) | Patient (CZ core)) | Who signed
onBehalfOf | Σ | 0..1 | Reference(Practitioner (CZ core) | Practitioner Role (CZ core) | Related Person (CZ core) | Device: Performer/Observer (CZ) | Medical Device (CZ) | Organization (CZ core)) | The party represented
targetFormat |  | 0..1 | code | The technical format of the signed resources Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
sigFormat |  | 0..1 | code | The technical format of the signature Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
data | S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Signature.type | Base | preferred | Signature Type Codes | 📍4.0.1 | FHIR Std.
Signature.targetFormat | Base | required | MimeType | 📍4.0.1 | FHIR Std.
Signature.sigFormat | Base | required | MimeType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
data-must-be | error | Signature | Signature must contain data, author and date | `data.exists() and who.exists() and when.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from Signature

Summary

Must-Support: 4 elements

Structures

This structure refers to these other structures:

- Practitioner (CZ core) (https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core)
- Practitioner Role (CZ core) (https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core)
- Related Person (CZ core) (https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core)
- Device: Performer/Observer (CZ) (https://hl7.cz/fhir/core/StructureDefinition/cz-device-observer)
- Medical Device (CZ) (https://hl7.cz/fhir/core/StructureDefinition/cz-medical-device)
- Organization (CZ core) (https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core)
- Patient (CZ core) (https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core)

Maturity: 1

Other representations of profile: CSV, Excel, Schematron