{
  "resourceType": "StructureDefinition",
  "url": "https://anagrafe.ssr.toscana.it/fhir/StructureDefinition/Attachment",
  "name": "Attachment",
  "title": "Attachment",
  "status": "active",
  "experimental": false,
  "description": "Dedalus MPI profile for Attachment",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "type": "Attachment",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Attachment",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Attachment.extension:extensionAttachmentDocumentReferenceMasterIdentifier",
        "path": "Attachment.extension",
        "sliceName": "extensionAttachmentDocumentReferenceMasterIdentifier",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://anagrafe.ssr.toscana.it/fhir/StructureDefinition/extension-attachment-documentReferenceMasterIdentifier"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Attachment.extension:documentReferenceContentFormat",
        "path": "Attachment.extension",
        "sliceName": "documentReferenceContentFormat",
        "requirements": "Allows to provide information about the content format of the target document. This information is actually a redundancy of DocumentReference.content.format, it is copied also on the attachment resource to allow consumers to know the document format code without retrieving the DocumentReference instance.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://anagrafe.ssr.toscana.it/fhir/StructureDefinition/extension-attachment-documentReferenceContentFormat"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Attachment.extension:relatedTo",
        "path": "Attachment.extension",
        "sliceName": "relatedTo",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://anagrafe.ssr.toscana.it/fhir/StructureDefinition/extension-attachment-relatedTo"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Attachment.extension:thumbnail",
        "path": "Attachment.extension",
        "sliceName": "thumbnail",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://anagrafe.ssr.toscana.it/fhir/StructureDefinition/extension-attachment-thumbnail"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Attachment.contentType",
        "path": "Attachment.contentType",
        "mustSupport": true
      },
      {
        "id": "Attachment.size",
        "path": "Attachment.size",
        "mustSupport": true
      }
    ]
  }
}