{
  "resourceType": "StructureDefinition",
  "id": "Profile-HiGHmed-InfectionControl-Specimen",
  "url": "http://highmed.org/fhir/StructureDefinition/ic/Specimen",
  "version": "1.0.0",
  "name": "Profile_HiGHmed_InfectionControl_Specimen",
  "title": "Profile - HiGHmed - Infection Control - Specimen",
  "status": "active",
  "description": "Dieses Profil beschreibt die Probe in HiGHmed Projekt, Infection Control Use Case",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Specimen",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Specimen",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Specimen",
        "path": "Specimen",
        "definition": "Eine physikalische Probe zur Erforschung, Untersuchung oder Analyse, die von einer Person entnommen wurde oder die sich auf die Person bezieht.",
        "alias": [
          "Probe"
        ]
      },
      {
        "id": "Specimen.identifier",
        "path": "Specimen.identifier",
        "label": "Externer Identifikator",
        "definition": "Eine eindeutige Kennung der Probe, die von einer Organisation außerhalb des Labors wie dem Auftraggeber zugeordnet wurde.",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "OBR-2.1",
            "comment": "v 2.3"
          }
        ]
      },
      {
        "id": "Specimen.accessionIdentifier",
        "path": "Specimen.accessionIdentifier",
        "label": "Laborprobenidentifikator",
        "short": "Eine eindeutige Kennung der Probe, die normalerweise vom Labor vergeben wird.",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "OBR-3.1",
            "comment": "v 2.3"
          }
        ]
      },
      {
        "id": "Specimen.status",
        "path": "Specimen.status",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Specimen.type",
        "path": "Specimen.type",
        "min": 1,
        "constraint": [
          {
            "key": "Highmed-IC-Specimen-1",
            "severity": "error",
            "human": "Falls ein Isolat kodiert wird, muss die Probe auch angeben werden",
            "expression": "coding.where(code = '429951000124103' and system = 'http://snomed.info/sct').exists() implies %resource.parent.exists()",
            "source": "http://highmed.org/fhir/StructureDefinition/ic/Specimen"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "description": "Use Case IC Probenart",
          "valueSet": "http://highmed.org/fhir/ValueSet/ic/probenart"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "OBR-15",
            "comment": "v 2.3"
          }
        ]
      },
      {
        "id": "Specimen.subject",
        "path": "Specimen.subject",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Specimen.receivedTime",
        "path": "Specimen.receivedTime",
        "label": "Zeitpunkt des Probeneingangs",
        "short": "Datum und Uhrzeit des Eingangs der Probe im Labor.",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "OBR-14",
            "comment": "v 2.3"
          }
        ]
      },
      {
        "id": "Specimen.parent",
        "path": "Specimen.parent",
        "label": "Identifikator der Übergeordneten Probe",
        "definition": "Eindeutige Kennung der verwandten Probe(n), bei der die Probe in Teilproben aufgeteilt ist.",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://highmed.org/fhir/StructureDefinition/ic/Specimen"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "OBR-29"
          }
        ]
      },
      {
        "id": "Specimen.collection",
        "path": "Specimen.collection",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Specimen.collection.collector",
        "path": "Specimen.collection.collector",
        "label": "Identifikator des Probennehmers",
        "short": "Die Person oder Organisation die für die Entnahme der Probe verantwortlich war.",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "OBR-10",
            "comment": "v 2.3"
          }
        ]
      },
      {
        "id": "Specimen.collection.collected[x]",
        "path": "Specimen.collection.collected[x]",
        "label": "Zeitpunkt der Probenentnahme",
        "definition": "Das Datum und die Uhrzeit, zu der die Probennahme angeordnet wurde oder stattfand.",
        "min": 1,
        "condition": [
          "dom-4"
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "OBR-7",
            "comment": "v 2.3"
          }
        ]
      },
      {
        "id": "Specimen.collection.bodySite",
        "path": "Specimen.collection.bodySite",
        "label": "Probenentnahmestelle",
        "code": [
          {
            "system": "http://hl7.org/fhir/sid/icd-10"
          }
        ],
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "http://highmed.org/fhir/ValueSet/ic/probenentnahmestelle-mikrobiologischer-befund-snomedct"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "OBR-15.4,OBR-15.5",
            "comment": "v 2.3"
          }
        ]
      },
      {
        "id": "Specimen.note",
        "path": "Specimen.note",
        "label": "Kommentar (auch des Probennehmers)",
        "short": "Kommentar des Probennehmers, Kommentar",
        "max": "2",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "NTE"
          }
        ]
      },
      {
        "id": "Specimen.note.text",
        "path": "Specimen.note.text",
        "mustSupport": true
      }
    ]
  }
}