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: CZ_Signature - JSON Profile

Page standards status: Draft | Maturity Level: 1

JSON representation of the cz-signature data type profile.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "cz-signature",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition cz-signature</b></p><a name=\"cz-signature\"> </a><a name=\"hccz-signature\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-cz-signature-definitions.html#Signature\" title=\"Signature according to Czech conventions. The type determines whether it is a signature or a timestamp.\">Signature</a><a name=\"Signature\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( data-must-be )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Signature\">Signature</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Signature according to Czech conventions<br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"Signature must contain data, author and date\" class=\"constraint\">data-must-be</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-cz-signature-definitions.html#Signature.type\" title=\"The kind of signature that determines whether it is a signature or a timestamp. RECOMMENDED to include.\">type</a><a name=\"Signature.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Indication of the reason the entity signed the object(s)</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-cz-signature-definitions.html#Signature.when\">when</a><a name=\"Signature.when\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#instant\">instant</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">When the signature was created</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-cz-signature-definitions.html#Signature.who\">who</a><a name=\"Signature.who\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-cz-practitioner-core.html\">Practitioner (CZ core)</a> | <a href=\"StructureDefinition-cz-practitionerrole-core.html\">Practitioner Role (CZ core)</a> | <a href=\"StructureDefinition-cz-relatedPerson-core.html\">Related Person (CZ core)</a> | <a href=\"StructureDefinition-cz-device-observer.html\">Device: Performer/Observer (CZ)</a> | <a href=\"StructureDefinition-cz-medical-device.html\">Medical Device (CZ)</a> | <a href=\"StructureDefinition-cz-organization-core.html\">Organization (CZ core)</a> | <a href=\"StructureDefinition-cz-patient-core.html\">Patient (CZ core)</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Who signed</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-cz-signature-definitions.html#Signature.onBehalfOf\">onBehalfOf</a><a name=\"Signature.onBehalfOf\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-cz-practitioner-core.html\">Practitioner (CZ core)</a> | <a href=\"StructureDefinition-cz-practitionerrole-core.html\">Practitioner Role (CZ core)</a> | <a href=\"StructureDefinition-cz-relatedPerson-core.html\">Related Person (CZ core)</a> | <a href=\"StructureDefinition-cz-device-observer.html\">Device: Performer/Observer (CZ)</a> | <a href=\"StructureDefinition-cz-medical-device.html\">Medical Device (CZ)</a> | <a href=\"StructureDefinition-cz-organization-core.html\">Organization (CZ core)</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The party represented</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-cz-signature-definitions.html#Signature.data\">data</a><a name=\"Signature.data\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#base64Binary\">base64Binary</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The actual signature content (XML DigSig. JWS, picture, etc.)</span></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      },
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger" : 1
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
          "valueCode" : "draft"
        }
      ],
      "url" : "https://hl7.cz/fhir/core/StructureDefinition/cz-signature",
      "version" : "0.3.0-ballot",
      "name" : "CZ_Signature",
      "title" : "Signature (CZ)",
      "status" : "draft",
      "experimental" : false,
      "date" : "2025-12-19T09:24:48+00:00",
      "publisher" : "HL7 Czech Republic",
      "contact" : [
        {
          "name" : "HL7 Czech Republic",
          "telecom" : [
            {
              "system" : "url",
              "value" : "https://www.hl7.cz/"
            }
          ]
        }
      ],
      "description" : "Czech national profile on Signature holds an electronic representation of a signature or timestamp and its supporting context in a FHIR accessible form.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "urn:iso:std:iso:3166",
              "code" : "CZ",
              "display" : "Czechia"
            }
          ]
        }
      ],
      "fhirVersion" : "4.0.1",
      "mapping" : [
        {
          "identity" : "rim",
          "uri" : "http://hl7.org/v3",
          "name" : "RIM Mapping"
        }
      ],
      "kind" : "complex-type",
      "abstract" : false,
      "type" : "Signature",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Signature",
      "derivation" : "constraint",
      "snapshot" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
            "valueString" : "4.0.1"
          }
        ],
        "element" : [
          {
            "id" : "Signature",
            "path" : "Signature",
            "short" : "Signature according to Czech conventions",
            "definition" : "Signature according to Czech conventions. The type determines whether it is a signature or a timestamp.",
            "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.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Signature",
              "min" : 0,
              "max" : "*"
            },
            "condition" : [
              "ele-1"
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "data-must-be",
                "severity" : "error",
                "human" : "Signature must contain data, author and date",
                "expression" : "data.exists() and who.exists() and when.exists()",
                "source" : "https://hl7.cz/fhir/core/StructureDefinition/cz-signature"
              }
            ],
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              },
              {
                "identity" : "rim",
                "map" : "N/A"
              }
            ]
          },
          {
            "id" : "Signature.id",
            "path" : "Signature.id",
            "representation" : [
              "xmlAttr"
            ],
            "short" : "Unique id for inter-element referencing",
            "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Element.id",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                    "valueUrl" : "string"
                  }
                ],
                "code" : "http://hl7.org/fhirpath/System.String"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Signature.extension",
            "path" : "Signature.extension",
            "slicing" : {
              "discriminator" : [
                {
                  "type" : "value",
                  "path" : "url"
                }
              ],
              "description" : "Extensions are always sliced by (at least) url",
              "rules" : "open"
            },
            "short" : "Additional content defined by implementations",
            "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.",
            "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.",
            "alias" : [
              "extensions",
              "user content"
            ],
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Element.extension",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Extension"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              },
              {
                "key" : "ext-1",
                "severity" : "error",
                "human" : "Must have either extensions or value[x], not both",
                "expression" : "extension.exists() != value.exists()",
                "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
                "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "Signature.type",
            "path" : "Signature.type",
            "short" : "Indication of the reason the entity signed the object(s)",
            "definition" : "The kind of signature that determines whether it is a signature or a timestamp. RECOMMENDED to include.",
            "comment" : "Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a &quot;Commitment Type Indication&quot;.",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "Signature.type",
              "min" : 1,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Coding"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "SignatureType"
                }
              ],
              "strength" : "preferred",
              "description" : "An indication of the reason that an entity signed the object.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/signature-type|4.0.1"
            }
          },
          {
            "id" : "Signature.when",
            "path" : "Signature.when",
            "short" : "When the signature was created",
            "definition" : "When the digital signature was signed.",
            "comment" : "This should agree with the information in the signature.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Signature.when",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "instant"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true
          },
          {
            "id" : "Signature.who",
            "path" : "Signature.who",
            "short" : "Who signed",
            "definition" : "A reference to an application-usable description of the identity that signed  (e.g. the signature used their private key).",
            "comment" : "This should agree with the information in the signature.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "Signature.who",
              "min" : 1,
              "max" : "1"
            },
            "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"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : true
          },
          {
            "id" : "Signature.onBehalfOf",
            "path" : "Signature.onBehalfOf",
            "short" : "The party represented",
            "definition" : "A reference to an application-usable description of the identity that is represented by the signature.",
            "comment" : "The party that can't sign. For example a child.",
            "requirements" : "used when the signature is on behalf of a non-signer.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Signature.onBehalfOf",
              "min" : 0,
              "max" : "1"
            },
            "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"
                ]
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : true
          },
          {
            "id" : "Signature.targetFormat",
            "path" : "Signature.targetFormat",
            "short" : "The technical format of the signed resources",
            "definition" : "A mime type that indicates the technical format of the target resources signed by the signature.",
            "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.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Signature.targetFormat",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "MimeType"
                }
              ],
              "strength" : "required",
              "description" : "The mime type of an attachment. Any valid mime type is allowed.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.1"
            }
          },
          {
            "id" : "Signature.sigFormat",
            "path" : "Signature.sigFormat",
            "short" : "The technical format of the signature",
            "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.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Signature.sigFormat",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "code"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "isModifier" : false,
            "isSummary" : false,
            "binding" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
                  "valueString" : "MimeType"
                }
              ],
              "strength" : "required",
              "description" : "The mime type of an attachment. Any valid mime type is allowed.",
              "valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.1"
            }
          },
          {
            "id" : "Signature.data",
            "path" : "Signature.data",
            "short" : "The actual signature content (XML DigSig. JWS, picture, etc.)",
            "definition" : "The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty.",
            "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.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "Signature.data",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "base64Binary"
              }
            ],
            "constraint" : [
              {
                "key" : "ele-1",
                "severity" : "error",
                "human" : "All FHIR elements must have a @value or children",
                "expression" : "hasValue() or (children().count() > id.count())",
                "xpath" : "@value|f:*|h:div",
                "source" : "http://hl7.org/fhir/StructureDefinition/Element"
              }
            ],
            "mustSupport" : true,
            "isModifier" : false,
            "isSummary" : false
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "Signature",
            "path" : "Signature",
            "short" : "Signature according to Czech conventions",
            "definition" : "Signature according to Czech conventions. The type determines whether it is a signature or a timestamp.",
            "constraint" : [
              {
                "key" : "data-must-be",
                "severity" : "error",
                "human" : "Signature must contain data, author and date",
                "expression" : "data.exists() and who.exists() and when.exists()",
                "source" : "https://hl7.cz/fhir/core/StructureDefinition/cz-signature"
              }
            ]
          },
          {
            "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
          }
        ]
      }
    }