{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Media",
  "name": "Media",
  "title": "API Framework Media",
  "status": "active",
  "experimental": false,
  "description": "Core API Framework FHIR Profile for Media",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Media",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Media",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Media.id",
        "path": "Media.id",
        "mustSupport": true
      },
      {
        "id": "Media.meta",
        "path": "Media.meta",
        "type": [
          {
            "code": "Meta",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Meta-ForCommonConformance"
          }
        ]
      },
      {
        "id": "Media.meta.tag",
        "path": "Media.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Media.text",
        "path": "Media.text",
        "mustSupport": true
      },
      {
        "id": "Media.type",
        "path": "Media.type",
        "mustSupport": true
      },
      {
        "id": "Media.subtype",
        "path": "Media.subtype",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://apiframework.dedalus.eu/fhir/ValueSet/MediaSubTypes"
          }
        }
      },
      {
        "id": "Media.subject",
        "path": "Media.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Media.device",
        "path": "Media.device",
        "mustSupport": true
      },
      {
        "id": "Media.content",
        "path": "Media.content",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Attachment",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Attachment"
          }
        ],
        "mustSupport": true
      }
    ]
  }
}