{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/extension-resource-printableLabel",
  "name": "extension-resource-printableLabel",
  "status": "active",
  "experimental": false,
  "description": "General purpose extension allowing to extend any resource with one or more labels that represents it.",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "datatype",
  "context": [
    "Resource"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Extension.extension:label",
        "path": "Extension.extension",
        "sliceName": "label",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Extension.extension:label.url",
        "path": "Extension.extension.url",
        "fixedUri": "label"
      },
      {
        "id": "Extension.extension:label.value[x]:valueAttachment",
        "path": "Extension.extension.valueAttachment",
        "sliceName": "valueAttachment",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Attachment",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Attachment-ForPrintableLabel"
          }
        ]
      },
      {
        "id": "Extension.extension:numberOfCopiesToPrint",
        "path": "Extension.extension",
        "sliceName": "numberOfCopiesToPrint",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Extension.extension:numberOfCopiesToPrint.url",
        "path": "Extension.extension.url",
        "fixedUri": "numberOfCopiesToPrint"
      },
      {
        "id": "Extension.extension:numberOfCopiesToPrint.value[x]:valueUnsignedInt",
        "path": "Extension.extension.valueUnsignedInt",
        "sliceName": "valueUnsignedInt",
        "min": 1,
        "type": [
          {
            "code": "unsignedInt"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://apiframework.dedalus.eu/fhir/StructureDefinition/extension-resource-printableLabel"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "max": "0",
        "type": [
          {
            "code": "base64Binary"
          },
          {
            "code": "boolean"
          },
          {
            "code": "code"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "decimal"
          },
          {
            "code": "id"
          },
          {
            "code": "instant"
          },
          {
            "code": "integer"
          },
          {
            "code": "markdown"
          },
          {
            "code": "oid"
          },
          {
            "code": "positiveInt"
          },
          {
            "code": "string"
          },
          {
            "code": "time"
          },
          {
            "code": "unsignedInt"
          },
          {
            "code": "uri"
          },
          {
            "code": "Address"
          },
          {
            "code": "Age"
          },
          {
            "code": "Annotation"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Coding"
          },
          {
            "code": "ContactPoint"
          },
          {
            "code": "Count"
          },
          {
            "code": "Distance"
          },
          {
            "code": "Duration"
          },
          {
            "code": "HumanName"
          },
          {
            "code": "Identifier"
          },
          {
            "code": "Money"
          },
          {
            "code": "Period"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "Ratio"
          },
          {
            "code": "Reference"
          },
          {
            "code": "SampledData"
          },
          {
            "code": "Signature"
          },
          {
            "code": "Timing"
          }
        ]
      }
    ]
  }
}