{
  "resourceType": "StructureDefinition",
  "id": "AIResult",
  "url": "https://medavis.com/fhir/StructureDefinition/AIResult",
  "version": "0.1",
  "name": "AIResult",
  "title": "AI Result",
  "status": "draft",
  "publisher": "medavis GmbH",
  "contact": [
    {
      "name": "Steffen Eitelmann",
      "telecom": [
        {
          "system": "email",
          "value": "steffen.eitelmann@medavis.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "AI result observations from AI systems as DiagnosticReport for reporting systems",
  "copyright": "medavis GmbH",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "label": "status"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "example": [
          {
            "label": "Snomed",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "125605004",
                  "display": "Fracture of bone"
                }
              ]
            }
          }
        ]
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "definition": "The information determined as a result of making the observation, if the information has a simple value. Example currently supported Strings: \"FINDING\", \"NO FINDING\", \"DOUBT\"",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "short": "Priority, Alert and FindingFlag",
        "definition": "Contains Priority of the result (PH, PM, PL, PN) and/or an Alert indicator (A, N, NA)",
        "min": 1,
        "example": [
          {
            "label": "Priority",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://hl7.org/fhir/flag-priority-code",
                  "code": "PH",
                  "display": "High Priority"
                }
              ]
            }
          },
          {
            "label": "Alarm",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
                  "code": "A",
                  "display": "Alarm"
                }
              ]
            }
          }
        ]
      }
    ]
  }
}