{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/DetectedIssue",
  "name": "DetectedIssue",
  "title": "API Framework DetectedIssue",
  "status": "active",
  "experimental": false,
  "description": "API Framework Core Profile for DetectedIssue",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "DetectedIssue",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DetectedIssue",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DetectedIssue.id",
        "path": "DetectedIssue.id",
        "mustSupport": true
      },
      {
        "id": "DetectedIssue.meta",
        "path": "DetectedIssue.meta",
        "type": [
          {
            "code": "Meta",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Meta-ForCommonConformance"
          }
        ]
      },
      {
        "id": "DetectedIssue.meta.tag",
        "path": "DetectedIssue.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "DetectedIssue.text",
        "path": "DetectedIssue.text",
        "mustSupport": true
      },
      {
        "id": "DetectedIssue.identifier",
        "path": "DetectedIssue.identifier",
        "mustSupport": true
      },
      {
        "id": "DetectedIssue.status",
        "path": "DetectedIssue.status",
        "mustSupport": true
      },
      {
        "id": "DetectedIssue.severity",
        "path": "DetectedIssue.severity",
        "mustSupport": true
      },
      {
        "id": "DetectedIssue.patient",
        "path": "DetectedIssue.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Patient"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DetectedIssue.date",
        "path": "DetectedIssue.date",
        "mustSupport": true
      },
      {
        "id": "DetectedIssue.author",
        "path": "DetectedIssue.author",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DetectedIssue.implicated",
        "path": "DetectedIssue.implicated",
        "requirements": "Task whose execution determined the rise of the issue",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/DiagnosticReport"
          },
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Observation"
          },
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Task"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DetectedIssue.detail",
        "path": "DetectedIssue.detail",
        "mustSupport": true
      },
      {
        "id": "DetectedIssue.mitigation",
        "path": "DetectedIssue.mitigation",
        "mustSupport": true
      }
    ]
  }
}