{
  "resourceType": "StructureDefinition",
  "url": "http://hl7.org/fhir/MicrobiologyLaboratory/StructureDefinition/MicrobiologyLaboratorySpecimen",
  "name": "MicrobiologyLaboratorySpecimen",
  "status": "draft",
  "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.identifier",
        "path": "Specimen.identifier",
        "min": 1
      },
      {
        "id": "Specimen.type",
        "path": "Specimen.type",
        "comment": "The type can change the way that a specimen is handled and drives what kind of analyses can properly be performed on the specimen. It is frequently used in diagnostic work flow decision making systems.\r\nOriginal http://terminology.hl7.org/ValueSet/v2-0487 empfohlen - Werte von ELGA_SpecimenType Value Set (Auch SNOMED-CT Codes erlaubt) verwendet",
        "min": 1,
        "binding": {
          "strength": "example",
          "valueSet": "https://art-decor.org/art-decor/decor-valuesets--elga-?id=1.2.40.0.34.10.46&effectiveDate=dynamic"
        }
      },
      {
        "id": "Specimen.subject",
        "path": "Specimen.subject",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.\r\nELGA-CDA microbiology laboratory report sample can only come from a patient",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/MicrobiologyLaboratory/StructureDefinition/MicrobiologyLaboratoryPatient"
            ]
          }
        ]
      },
      {
        "id": "Specimen.receivedTime",
        "path": "Specimen.receivedTime",
        "comment": "vorgeschrieben von ELGA-CDA",
        "min": 1
      },
      {
        "id": "Specimen.collection",
        "path": "Specimen.collection",
        "min": 1
      },
      {
        "id": "Specimen.collection.collected[x]",
        "path": "Specimen.collection.collected[x]",
        "comment": "vorgeschrieben von ELGA-CDA; NullFlavour UNK möglich",
        "min": 1
      },
      {
        "id": "Specimen.collection.bodySite",
        "path": "Specimen.collection.bodySite",
        "comment": "If the use case requires  BodySite to be handled as a separate resource instead of an inline coded element (e.g. to identify and track separately)  then use the standard extension [bodySite](extension-bodysite.html).\r\nIn FHIR wird http://hl7.org/fhir/ValueSet/body-site vorgeschlagen -> stattdessen ELGA_HumanActSite (IHE ActSite) verwendet, da Mapping aufwändig wäre.",
        "binding": {
          "strength": "example",
          "valueSet": "http://terminology.hl7.org/CodeSystem/v3-ActSite"
        }
      }
    ]
  }
}