{
  "resourceType" : "StructureDefinition",
  "id" : "KeyImagesAttachment",
  "language" : "en",
  "text" : {
    "status" : "extensions"
  },
  "url" : "https://hl7.cz/fhir/img/StructureDefinition/KeyImagesAttachment",
  "version" : "0.1.0-ballot",
  "name" : "LogEnKeyImagesAttachmentCz",
  "title" : "A.2.6 - Media (attachments)",
  "status" : "draft",
  "date" : "2026-05-26T08:31:12+00:00",
  "publisher" : "HL7 Czech Republic",
  "contact" : [{
    "name" : "HL7 Czech Republic",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.hl7.cz/"
    }]
  }],
  "description" : "Imaging Report - Imaging Report media (attachments) - A.2.6 \r\nKey images related to this report.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "CZ",
      "display" : "Czechia"
    }]
  }],
  "fhirVersion" : "4.0.1",
  "kind" : "logical",
  "abstract" : false,
  "type" : "https://hl7.cz/fhir/img/StructureDefinition/KeyImagesAttachment",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation" : "specialization",
  "snapshot" : {
    "extension" : [{
      "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString" : "4.0.1"
    }],
    "element" : [{
      "id" : "KeyImagesAttachment",
      "path" : "KeyImagesAttachment",
      "short" : "A.2.6 - Media (attachments)",
      "definition" : "Imaging Report - Imaging Report media (attachments) - A.2.6 \r\nKey images related to this report.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Base",
        "min" : 0,
        "max" : "*"
      },
      "isModifier" : false
    },
    {
      "id" : "KeyImagesAttachment.created",
      "path" : "KeyImagesAttachment.created",
      "short" : "A.2.6.1 - Date and time of creation",
      "definition" : "Date and time of creation or the period during which the media was created.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.created",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "dateTime"
      }]
    },
    {
      "id" : "KeyImagesAttachment.issued",
      "path" : "KeyImagesAttachment.issued",
      "short" : "A.2.6.2 - Date and time of issuance",
      "definition" : "Date and time when this resource was made available.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.issued",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "dateTime"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author",
      "path" : "KeyImagesAttachment.author",
      "short" : "A.2.6.3 - Created by",
      "definition" : "Person who created the image.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.author",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Base"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author.identifier",
      "path" : "KeyImagesAttachment.author.identifier",
      "short" : "A.2.6.3.1 - Author identifier",
      "definition" : "The health professional identifier that will allow addressing recipients within a national or international data exchange infrastructure, such as the licence or registration number. In case when the recipient is not a health professional, e.g. patient, appropriate personal identifier should be used.",
      "min" : 1,
      "max" : "*",
      "base" : {
        "path" : "KeyImagesAttachment.author.identifier",
        "min" : 1,
        "max" : "*"
      },
      "type" : [{
        "code" : "Identifier"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author.name",
      "path" : "KeyImagesAttachment.author.name",
      "short" : "A.2.6.3.2 - Author name",
      "definition" : "Person name [the structure of the name will be the same as for the patient (given name, family name / surname)].",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.author.name",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "HumanName"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author.organizationID",
      "path" : "KeyImagesAttachment.author.organizationID",
      "short" : "A.2.6.3.3 - Author organisation ID",
      "definition" : "The healthcare provider organisation identifier. Identifier that is unique within a defined scope. Example: National healthcare provider ID. Multiple identifiers could be provided.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "KeyImagesAttachment.author.organizationID",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Identifier"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author.organization",
      "path" : "KeyImagesAttachment.author.organization",
      "short" : "A.2.6.3.4 - Author organisation",
      "definition" : "The healthcare provider organisation information.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.author.organization",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Base"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author.dateTime",
      "path" : "KeyImagesAttachment.author.dateTime",
      "short" : "A.2.6.3.5 - Date Time",
      "definition" : "Date and time of the last modification of the document by its Author.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.author.dateTime",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "dateTime"
      }]
    },
    {
      "id" : "KeyImagesAttachment.bodyPart",
      "path" : "KeyImagesAttachment.bodyPart",
      "short" : "A.2.6.4 - Body part",
      "definition" : "Observed body part.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.bodyPart",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "KeyImagesAttachment.mediaHeight",
      "path" : "KeyImagesAttachment.mediaHeight",
      "short" : "A.2.6.5 - Media height",
      "definition" : "Image height in pixels (photo/video).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.mediaHeight",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "integer"
      }]
    },
    {
      "id" : "KeyImagesAttachment.mediaWidth",
      "path" : "KeyImagesAttachment.mediaWidth",
      "short" : "A.2.6.6 - Media width",
      "definition" : "Image width in pixels (photo/video).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.mediaWidth",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "integer"
      }]
    },
    {
      "id" : "KeyImagesAttachment.mediaFrames",
      "path" : "KeyImagesAttachment.mediaFrames",
      "short" : "A.2.6.7 - Media frames",
      "definition" : "Number of frames in a photo, video, or PDF.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.mediaFrames",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "integer"
      }]
    },
    {
      "id" : "KeyImagesAttachment.recordingDuration",
      "path" : "KeyImagesAttachment.recordingDuration",
      "short" : "A.2.6.8 - Recording duration",
      "definition" : "Duration of the recording in seconds - for audio and video.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.recordingDuration",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "dateTime"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment",
      "path" : "KeyImagesAttachment.attachment",
      "short" : "A.2.6.9 - Attachment",
      "definition" : "Directly embedded data or a link to the attachment's data source.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.attachment",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Base"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.date",
      "path" : "KeyImagesAttachment.attachment.date",
      "short" : "A.2.6.9.1 - Date",
      "definition" : "Date of the attachment content, e.g., the date a photo was taken.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "KeyImagesAttachment.attachment.date",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "dateTime"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.title",
      "path" : "KeyImagesAttachment.attachment.title",
      "short" : "A.2.6.9.2 - Title",
      "definition" : "Label to display in place of the data.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.attachment.title",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.size",
      "path" : "KeyImagesAttachment.attachment.size",
      "short" : "A.2.6.9.3 - Size",
      "definition" : "Number of bytes of content (if url provided).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.attachment.size",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "integer"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.hash",
      "path" : "KeyImagesAttachment.attachment.hash",
      "short" : "A.2.6.9.4 - Hash",
      "definition" : "The calculated hash of the data (sha-1, base64ed).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.attachment.hash",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "base64Binary"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.url",
      "path" : "KeyImagesAttachment.attachment.url",
      "short" : "A.2.6.9.5 - URL",
      "definition" : "Uri where the data can be found.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.attachment.url",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "uri"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.data",
      "path" : "KeyImagesAttachment.attachment.data",
      "short" : "A.2.6.9.6 - Data",
      "definition" : "The actual data of the attachment - a sequence of bytes, base64 encoded.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.attachment.data",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "base64Binary"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.contentType",
      "path" : "KeyImagesAttachment.attachment.contentType",
      "short" : "A.2.6.9.7 - Content type",
      "definition" : "Mime type of the content, with charset etc.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.attachment.contentType",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "KeyImagesAttachment.note",
      "path" : "KeyImagesAttachment.note",
      "short" : "A.2.6.10 - Note",
      "definition" : "Contains free text, its author, and the date and time of its creation.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.note",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "KeyImagesAttachment.view",
      "path" : "KeyImagesAttachment.view",
      "short" : "A.2.6.11 - View",
      "definition" : "Projection name, e.g., lateral or anteroposterior (AP). - Preferred system(s): SNOMED CT [ViewProjectionCodelist]",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.view",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "KeyImagesAttachment.modality",
      "path" : "KeyImagesAttachment.modality",
      "short" : "A.2.6.12 - Modality",
      "definition" : "Type of acquisition device/process. - Preferred system(s): DICOM [AcquisitionModalityCodelist]",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.modality",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "KeyImagesAttachment.device",
      "path" : "KeyImagesAttachment.device",
      "short" : "A.2.6.13 - Device",
      "definition" : "Device used to collect the media.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.device",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "KeyImagesAttachment.mediaType",
      "path" : "KeyImagesAttachment.mediaType",
      "short" : "A.2.6.14 - Media type",
      "definition" : "Classification of the media, e.g., image, video, or audio. - Preferred system(s): http://terminology.hl7.org/CodeSystem/media-category ValueList: image | video | audio",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "KeyImagesAttachment.mediaType",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }]
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "KeyImagesAttachment",
      "path" : "KeyImagesAttachment",
      "short" : "A.2.6 - Media (attachments)",
      "definition" : "Imaging Report - Imaging Report media (attachments) - A.2.6 \r\nKey images related to this report."
    },
    {
      "id" : "KeyImagesAttachment.created",
      "path" : "KeyImagesAttachment.created",
      "short" : "A.2.6.1 - Date and time of creation",
      "definition" : "Date and time of creation or the period during which the media was created.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }]
    },
    {
      "id" : "KeyImagesAttachment.issued",
      "path" : "KeyImagesAttachment.issued",
      "short" : "A.2.6.2 - Date and time of issuance",
      "definition" : "Date and time when this resource was made available.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author",
      "path" : "KeyImagesAttachment.author",
      "short" : "A.2.6.3 - Created by",
      "definition" : "Person who created the image.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Base"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author.identifier",
      "path" : "KeyImagesAttachment.author.identifier",
      "short" : "A.2.6.3.1 - Author identifier",
      "definition" : "The health professional identifier that will allow addressing recipients within a national or international data exchange infrastructure, such as the licence or registration number. In case when the recipient is not a health professional, e.g. patient, appropriate personal identifier should be used.",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author.name",
      "path" : "KeyImagesAttachment.author.name",
      "short" : "A.2.6.3.2 - Author name",
      "definition" : "Person name [the structure of the name will be the same as for the patient (given name, family name / surname)].",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "HumanName"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author.organizationID",
      "path" : "KeyImagesAttachment.author.organizationID",
      "short" : "A.2.6.3.3 - Author organisation ID",
      "definition" : "The healthcare provider organisation identifier. Identifier that is unique within a defined scope. Example: National healthcare provider ID. Multiple identifiers could be provided.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author.organization",
      "path" : "KeyImagesAttachment.author.organization",
      "short" : "A.2.6.3.4 - Author organisation",
      "definition" : "The healthcare provider organisation information.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Base"
      }]
    },
    {
      "id" : "KeyImagesAttachment.author.dateTime",
      "path" : "KeyImagesAttachment.author.dateTime",
      "short" : "A.2.6.3.5 - Date Time",
      "definition" : "Date and time of the last modification of the document by its Author.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }]
    },
    {
      "id" : "KeyImagesAttachment.bodyPart",
      "path" : "KeyImagesAttachment.bodyPart",
      "short" : "A.2.6.4 - Body part",
      "definition" : "Observed body part.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "KeyImagesAttachment.mediaHeight",
      "path" : "KeyImagesAttachment.mediaHeight",
      "short" : "A.2.6.5 - Media height",
      "definition" : "Image height in pixels (photo/video).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "integer"
      }]
    },
    {
      "id" : "KeyImagesAttachment.mediaWidth",
      "path" : "KeyImagesAttachment.mediaWidth",
      "short" : "A.2.6.6 - Media width",
      "definition" : "Image width in pixels (photo/video).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "integer"
      }]
    },
    {
      "id" : "KeyImagesAttachment.mediaFrames",
      "path" : "KeyImagesAttachment.mediaFrames",
      "short" : "A.2.6.7 - Media frames",
      "definition" : "Number of frames in a photo, video, or PDF.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "integer"
      }]
    },
    {
      "id" : "KeyImagesAttachment.recordingDuration",
      "path" : "KeyImagesAttachment.recordingDuration",
      "short" : "A.2.6.8 - Recording duration",
      "definition" : "Duration of the recording in seconds - for audio and video.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment",
      "path" : "KeyImagesAttachment.attachment",
      "short" : "A.2.6.9 - Attachment",
      "definition" : "Directly embedded data or a link to the attachment's data source.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Base"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.date",
      "path" : "KeyImagesAttachment.attachment.date",
      "short" : "A.2.6.9.1 - Date",
      "definition" : "Date of the attachment content, e.g., the date a photo was taken.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "dateTime"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.title",
      "path" : "KeyImagesAttachment.attachment.title",
      "short" : "A.2.6.9.2 - Title",
      "definition" : "Label to display in place of the data.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.size",
      "path" : "KeyImagesAttachment.attachment.size",
      "short" : "A.2.6.9.3 - Size",
      "definition" : "Number of bytes of content (if url provided).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "integer"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.hash",
      "path" : "KeyImagesAttachment.attachment.hash",
      "short" : "A.2.6.9.4 - Hash",
      "definition" : "The calculated hash of the data (sha-1, base64ed).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "base64Binary"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.url",
      "path" : "KeyImagesAttachment.attachment.url",
      "short" : "A.2.6.9.5 - URL",
      "definition" : "Uri where the data can be found.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "uri"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.data",
      "path" : "KeyImagesAttachment.attachment.data",
      "short" : "A.2.6.9.6 - Data",
      "definition" : "The actual data of the attachment - a sequence of bytes, base64 encoded.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "base64Binary"
      }]
    },
    {
      "id" : "KeyImagesAttachment.attachment.contentType",
      "path" : "KeyImagesAttachment.attachment.contentType",
      "short" : "A.2.6.9.7 - Content type",
      "definition" : "Mime type of the content, with charset etc.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "KeyImagesAttachment.note",
      "path" : "KeyImagesAttachment.note",
      "short" : "A.2.6.10 - Note",
      "definition" : "Contains free text, its author, and the date and time of its creation.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "KeyImagesAttachment.view",
      "path" : "KeyImagesAttachment.view",
      "short" : "A.2.6.11 - View",
      "definition" : "Projection name, e.g., lateral or anteroposterior (AP). - Preferred system(s): SNOMED CT [ViewProjectionCodelist]",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "KeyImagesAttachment.modality",
      "path" : "KeyImagesAttachment.modality",
      "short" : "A.2.6.12 - Modality",
      "definition" : "Type of acquisition device/process. - Preferred system(s): DICOM [AcquisitionModalityCodelist]",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "KeyImagesAttachment.device",
      "path" : "KeyImagesAttachment.device",
      "short" : "A.2.6.13 - Device",
      "definition" : "Device used to collect the media.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "id" : "KeyImagesAttachment.mediaType",
      "path" : "KeyImagesAttachment.mediaType",
      "short" : "A.2.6.14 - Media type",
      "definition" : "Classification of the media, e.g., image, video, or audio. - Preferred system(s): http://terminology.hl7.org/CodeSystem/media-category ValueList: image | video | audio",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }]
    }]
  }
}