PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.cz.core@1.0.0
    https://hl7.cz/fhir/core/StructureDefinition/cz-signature
{
  "description": "Czech national profile on Signature holds an electronic representation of a signature or timestamp and its supporting context in a FHIR accessible form.",
  "_filename": "StructureDefinition-cz-signature.json",
  "package_name": "hl7.fhir.cz.core",
  "date": "2026-07-29T17:25:42+02:00",
  "derivation": "constraint",
  "publisher": "HL7 Czech Republic",
  "fhirVersion": "4.0.1",
  "jurisdiction": [ {
    "coding": [ {
      "code": "CZ",
      "system": "urn:iso:std:iso:3166",
      "display": "Czechia"
    } ]
  } ],
  "name": "CZ_Signature",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "type": "Signature",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": "Signature (CZ core)",
  "package_version": "1.0.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 2
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "trial-use"
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "data-must-be",
        "human": "Signature must contain data, author and date",
        "source": "https://hl7.cz/fhir/core/StructureDefinition/cz-signature",
        "severity": "error",
        "expression": "data.exists() and who.exists() and when.exists()"
      } ],
      "path": "Signature",
      "min": 0,
      "definition": "Signature according to Czech conventions. The type determines whether it is a signature or a timestamp.",
      "isModifier": false,
      "short": "Signature according to Czech conventions",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "max": "*",
      "id": "Signature",
      "condition": [ "ele-1" ],
      "comment": "The elements of the Signature Resource are for ease of access of these elements. For digital signatures (Xml DigSig, JWS), the non-repudiation proof comes from the Signature  validation, which includes validation of the referenced objects (e.g. Resources) (a.k.a., Content) in the XML-Signature Detached form.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Signature"
      }
    }, {
      "path": "Signature.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Signature.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Signature.extension",
      "min": 0,
      "definition": "May 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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Signature.extension",
      "comment": "There 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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Signature.type",
      "min": 1,
      "definition": "The kind of signature that determines whether it is a signature or a timestamp. RECOMMENDED to include.",
      "isModifier": false,
      "short": "Indication of the reason the entity signed the object(s)",
      "type": [ {
        "code": "Coding"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/signature-type|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SignatureType"
        } ],
        "description": "An indication of the reason that an entity signed the object."
      },
      "max": "*",
      "id": "Signature.type",
      "comment": "Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a "Commitment Type Indication".",
      "base": {
        "max": "*",
        "min": 1,
        "path": "Signature.type"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Signature.when",
      "min": 1,
      "definition": "When the digital signature was signed.",
      "isModifier": false,
      "short": "When the signature was created",
      "type": [ {
        "code": "instant"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Signature.when",
      "comment": "This should agree with the information in the signature.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Signature.when"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Signature.who",
      "min": 1,
      "definition": "A reference to an application-usable description of the identity that signed  (e.g. the signature used their private key).",
      "isModifier": false,
      "short": "Who signed",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-device-observer", "https://hl7.cz/fhir/core/StructureDefinition/cz-medical-device", "https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Signature.who",
      "comment": "This should agree with the information in the signature.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Signature.who"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Signature.onBehalfOf",
      "requirements": "used when the signature is on behalf of a non-signer.",
      "min": 0,
      "definition": "A reference to an application-usable description of the identity that is represented by the signature.",
      "isModifier": false,
      "short": "The party represented",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-device-observer", "https://hl7.cz/fhir/core/StructureDefinition/cz-medical-device", "https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core" ]
      } ],
      "max": "1",
      "id": "Signature.onBehalfOf",
      "comment": "The party that can't sign. For example a child.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Signature.onBehalfOf"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Signature.targetFormat",
      "min": 0,
      "definition": "A mime type that indicates the technical format of the target resources signed by the signature.",
      "isModifier": false,
      "short": "The technical format of the signed resources",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/mimetypes|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MimeType"
        } ],
        "description": "The mime type of an attachment. Any valid mime type is allowed."
      },
      "max": "1",
      "id": "Signature.targetFormat",
      "comment": "\"xml\", \"json\" and \"ttl\" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Signature.targetFormat"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Signature.sigFormat",
      "min": 0,
      "definition": "A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc.",
      "isModifier": false,
      "short": "The technical format of the signature",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/mimetypes|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MimeType"
        } ],
        "description": "The mime type of an attachment. Any valid mime type is allowed."
      },
      "max": "1",
      "id": "Signature.sigFormat",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Signature.sigFormat"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Signature.data",
      "min": 0,
      "definition": "The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.",
      "isModifier": false,
      "short": "The actual signature content (XML DigSig. JWS, picture, etc.)",
      "type": [ {
        "code": "base64Binary"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Signature.data",
      "comment": "Where the signature type is an XML DigSig, the signed content is a FHIR Resource(s), the signature is of the XML form of the Resource(s) using  XML-Signature (XMLDIG) \"Detached Signature\" form.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Signature.data"
      },
      "isSummary": false
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "4.0.1"
    } ]
  },
  "status": "active",
  "id": "12ba88f3-e0db-42b5-8f50-656ad51862c9",
  "kind": "complex-type",
  "url": "https://hl7.cz/fhir/core/StructureDefinition/cz-signature",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "Signature",
      "path": "Signature",
      "short": "Signature according to Czech conventions",
      "constraint": [ {
        "key": "data-must-be",
        "human": "Signature must contain data, author and date",
        "source": "https://hl7.cz/fhir/core/StructureDefinition/cz-signature",
        "severity": "error",
        "expression": "data.exists() and who.exists() and when.exists()"
      } ],
      "definition": "Signature according to Czech conventions. The type determines whether it is a signature or a timestamp."
    }, {
      "id": "Signature.type",
      "path": "Signature.type",
      "definition": "The kind of signature that determines whether it is a signature or a timestamp. RECOMMENDED to include.",
      "mustSupport": true
    }, {
      "id": "Signature.when",
      "path": "Signature.when",
      "mustSupport": true
    }, {
      "id": "Signature.who",
      "path": "Signature.who",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-device-observer", "https://hl7.cz/fhir/core/StructureDefinition/cz-medical-device", "https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-patient-core" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Signature.onBehalfOf",
      "path": "Signature.onBehalfOf",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://hl7.cz/fhir/core/StructureDefinition/cz-practitioner-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-practitionerrole-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-relatedPerson-core", "https://hl7.cz/fhir/core/StructureDefinition/cz-device-observer", "https://hl7.cz/fhir/core/StructureDefinition/cz-medical-device", "https://hl7.cz/fhir/core/StructureDefinition/cz-organization-core" ]
      } ]
    }, {
      "id": "Signature.data",
      "path": "Signature.data",
      "mustSupport": true
    } ]
  },
  "contact": [ {
    "name": "HL7 Czech Republic",
    "telecom": [ {
      "value": "https://www.hl7.cz/",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Signature"
}