{
  "resourceType": "StructureDefinition",
  "id": "DiagnosticReport",
  "meta": {
    "lastUpdated": "2025-05-02T11:22:25.435+00:00"
  },
  "url": "https://demis.rki.de/fhir/ars/StructureDefinition/DiagnosticReport",
  "version": "1.0.0",
  "name": "DiagnosticReport",
  "title": "Laborbericht",
  "status": "draft",
  "experimental": false,
  "date": "2025-04-15",
  "publisher": "ARS@rki.de",
  "description": "Dieses Profil ist eine Zusammenfassung aller Ressourcen der eigentlichen Labordiagnostik. Für ARS wird hier kein vollständiger und lesbarer Laborbericht erwartet. Für ARS enthält der Laborbericht unter DiagnosticReport.status Informationen zum Status der Diagnostik zu einer Probe, siehe 'Life-cycle-Management'.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "DiagnosticReport",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DiagnosticReport.id",
        "path": "DiagnosticReport.id",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.meta",
        "path": "DiagnosticReport.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.meta.id",
        "path": "DiagnosticReport.meta.id",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.meta.extension",
        "path": "DiagnosticReport.meta.extension",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.meta.versionId",
        "path": "DiagnosticReport.meta.versionId",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.meta.lastUpdated",
        "path": "DiagnosticReport.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.meta.source",
        "path": "DiagnosticReport.meta.source",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.meta.profile",
        "path": "DiagnosticReport.meta.profile",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.meta.profile:arsProfile",
        "path": "DiagnosticReport.meta.profile",
        "sliceName": "arsProfile",
        "min": 1,
        "max": "1",
        "patternCanonical": "https://demis.rki.de/fhir/ars/StructureDefinition/DiagnosticReport",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.meta.security",
        "path": "DiagnosticReport.meta.security",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.meta.tag",
        "path": "DiagnosticReport.meta.tag",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.identifier",
        "path": "DiagnosticReport.identifier",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.basedOn",
        "path": "DiagnosticReport.basedOn",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://demis.rki.de/fhir/ars/StructureDefinition/ServiceRequest"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.basedOn.reference",
        "path": "DiagnosticReport.basedOn.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.basedOn.type",
        "path": "DiagnosticReport.basedOn.type",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.basedOn.identifier",
        "path": "DiagnosticReport.basedOn.identifier",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.basedOn.display",
        "path": "DiagnosticReport.basedOn.display",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.status",
        "path": "DiagnosticReport.status",
        "comment": "Für ARS werden nur finale Ergebnisse eines diagnostischen Schritts erwartet. Sollten ergänzende oder veränderte Angaben zu einem bereits übermittelten Ergebnis gemacht werden, kann der Status mit 'amended' bzw. bei Löschen der Angaben zu einer Probe mit 'entered-in-error' beschrieben werden.",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://demis.rki.de/fhir/ars/ValueSet/diagnosticReportStatus"
        }
      },
      {
        "id": "DiagnosticReport.category",
        "path": "DiagnosticReport.category",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.code",
        "path": "DiagnosticReport.code",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding",
        "path": "DiagnosticReport.code.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding.system",
        "path": "DiagnosticReport.code.coding.system",
        "min": 1,
        "patternUri": "http://loinc.org",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding.version",
        "path": "DiagnosticReport.code.coding.version",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding.code",
        "path": "DiagnosticReport.code.coding.code",
        "min": 1,
        "patternCode": "11502-2",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding.display",
        "path": "DiagnosticReport.code.coding.display",
        "patternString": "Laboratory report"
      },
      {
        "id": "DiagnosticReport.code.text",
        "path": "DiagnosticReport.code.text",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject",
        "path": "DiagnosticReport.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://demis.rki.de/fhir/ars/StructureDefinition/Patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.subject.reference",
        "path": "DiagnosticReport.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.subject.type",
        "path": "DiagnosticReport.subject.type",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject.identifier",
        "path": "DiagnosticReport.subject.identifier",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.subject.display",
        "path": "DiagnosticReport.subject.display",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.encounter",
        "path": "DiagnosticReport.encounter",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.effective[x]",
        "path": "DiagnosticReport.effective[x]",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.issued",
        "path": "DiagnosticReport.issued",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.performer",
        "path": "DiagnosticReport.performer",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.resultsInterpreter",
        "path": "DiagnosticReport.resultsInterpreter",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.specimen",
        "path": "DiagnosticReport.specimen",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.result",
        "path": "DiagnosticReport.result",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://demis.rki.de/fhir/ars/StructureDefinition/Observation"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result.reference",
        "path": "DiagnosticReport.result.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result.type",
        "path": "DiagnosticReport.result.type",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.result.identifier",
        "path": "DiagnosticReport.result.identifier",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.result.display",
        "path": "DiagnosticReport.result.display",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.imagingStudy",
        "path": "DiagnosticReport.imagingStudy",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.media",
        "path": "DiagnosticReport.media",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.conclusion",
        "path": "DiagnosticReport.conclusion",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.conclusionCode",
        "path": "DiagnosticReport.conclusionCode",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.presentedForm",
        "path": "DiagnosticReport.presentedForm",
        "max": "0"
      }
    ]
  }
}