{
  "resourceType": "StructureDefinition",
  "id": "ext-attachment-comments",
  "url": "https://fhir.synapxe.sg/StructureDefinition/ext-attachment-comments",
  "name": "AttachmentComments",
  "title": "Attachment Comments Extension",
  "status": "active",
  "publisher": "Synapxe",
  "description": "Extension for capturing comments about an attachment (Attachment has no element for comments).",
  "fhirVersion": "5.0.0",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Attachment"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Attachment comments",
        "definition": "Comments about an attachment, e.g. the NEHR XML presentedForm/comments of a report.",
        "max": "1"
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://fhir.synapxe.sg/StructureDefinition/ext-attachment-comments"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Comments",
        "definition": "Comments about the attachment.",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}