{
  "resourceType": "StructureDefinition",
  "id": "33ad9c7e-69c5-46aa-b6db-3093fb1ead8c",
  "meta": {
    "lastUpdated": "2021-06-22T09:53:20.619+00:00"
  },
  "url": "http://www.smith.care/fhir/StructureDefinition/HELP_Labor_DiagnosticReport_R4",
  "name": "HELP_Labor_DiagnosticReport_R4b",
  "status": "draft",
  "date": "2021-06-22T09:34:03.4945664+00:00",
  "contact": [
    {
      "name": "SMITH_UKL"
    }
  ],
  "fhirVersion": "4.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "DiagnosticReport",
  "baseDefinition": "https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/DiagnosticReportLab",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DiagnosticReport.identifier:befund",
        "path": "DiagnosticReport.identifier",
        "sliceName": "befund",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.identifier:befund.use",
        "path": "DiagnosticReport.identifier.use",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.identifier:befund.assigner",
        "path": "DiagnosticReport.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://www.smith.care/fhir/StructureDefinition/HELP_Organisation_Pruefzentrum_R4"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.identifier:HELP",
        "path": "DiagnosticReport.identifier",
        "sliceName": "HELP",
        "min": 1
      },
      {
        "id": "DiagnosticReport.identifier:HELP.assigner",
        "path": "DiagnosticReport.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://www.smith.care/fhir/StructureDefinition/HELP_Organisation_Pruefzentrum_R4"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.basedOn",
        "path": "DiagnosticReport.basedOn",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/DiagnosticReportLab"
            ],
            "targetProfile": [
              "http://smith.care/fhir/StructureDefinition/HELP_Labor_ServiceRequest_R4"
            ]
          }
        ],
        "fixedReference": {
          "type": "ServiceRequest"
        }
      },
      {
        "id": "DiagnosticReport.basedOn.identifier",
        "path": "DiagnosticReport.basedOn.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "type"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "DiagnosticReport.basedOn.identifier:befund",
        "path": "DiagnosticReport.basedOn.identifier",
        "sliceName": "befund"
      },
      {
        "id": "DiagnosticReport.basedOn.identifier:befund.type.coding",
        "path": "DiagnosticReport.basedOn.identifier.type.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "DiagnosticReport.basedOn.category.coding",
        "path": "DiagnosticReport.basedOn.category.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 2
      },
      {
        "id": "DiagnosticReport.basedOn.code.coding",
        "path": "DiagnosticReport.basedOn.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "DiagnosticReport.category.coding:loinc-lab",
        "path": "DiagnosticReport.category.coding",
        "sliceName": "loinc-lab"
      },
      {
        "id": "DiagnosticReport.category.coding:loinc-lab.display",
        "path": "DiagnosticReport.category.coding.display",
        "fixedString": "Laboratory studies (set)",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.category.coding:diagnostic-service-sections",
        "path": "DiagnosticReport.category.coding",
        "sliceName": "diagnostic-service-sections"
      },
      {
        "id": "DiagnosticReport.category.coding:diagnostic-service-sections.display",
        "path": "DiagnosticReport.category.coding.display",
        "fixedString": "Laboratory",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code.coding:loinc-labReport",
        "path": "DiagnosticReport.code.coding",
        "sliceName": "loinc-labReport"
      },
      {
        "id": "DiagnosticReport.code.coding:loinc-labReport.display",
        "path": "DiagnosticReport.code.coding.display",
        "fixedString": "Laboratory report",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.subject",
        "path": "DiagnosticReport.subject",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.encounter.reference",
        "path": "DiagnosticReport.encounter.reference",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.performer.identifier.use",
        "path": "DiagnosticReport.performer.identifier.use",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.performer.identifier.system",
        "path": "DiagnosticReport.performer.identifier.system",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.performer.identifier.value",
        "path": "DiagnosticReport.performer.identifier.value",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.performer.display",
        "path": "DiagnosticReport.performer.display",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.specimen.identifier.use",
        "path": "DiagnosticReport.specimen.identifier.use",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.specimen.identifier.system",
        "path": "DiagnosticReport.specimen.identifier.system",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.specimen.identifier.value",
        "path": "DiagnosticReport.specimen.identifier.value",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result",
        "path": "DiagnosticReport.result",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/ObservationLab"
            ],
            "targetProfile": [
              "http://www.smith.care/fhir/StructureDefinition/HELP_Labor_Observation_R4"
            ]
          }
        ],
        "fixedReference": {
          "type": "Observation"
        }
      }
    ]
  }
}