{
  "resourceType": "StructureDefinition",
  "url": "http://hl7.org/fhir/MicrobiologyLaboratory/StructureDefinition/MicrobiologyLaboratoryObservation",
  "name": "MicrobiologyLaboratoryObservation",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.\r\nErgebnis muss lt ELGA-CDA den Wert \"completed\" aufweisen - in FHIR \"final\".",
        "fixedCode": "final"
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.category.coding",
        "path": "Observation.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "binding": {
          "strength": "example",
          "description": "FHIR Observation Category Value Set",
          "valueSet": "http://hl7.org/fhir/ValueSet/observation-category"
        }
      },
      {
        "id": "Observation.category.coding.version",
        "path": "Observation.category.coding.version",
        "fixedString": "4.0.1"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "fixedCode": "laboratory"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/MicrobiologyLaboratory/StructureDefinition/MicrobiologyLaboratoryPatient"
            ]
          }
        ]
      },
      {
        "id": "Observation.subject.reference",
        "path": "Observation.subject.reference",
        "min": 1
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.\r\nIn ELGA-CDA nicht überprüfbar, wer der Performer ist - entweder Practitioner oder Organization. Am wahrscheinlichsten jedoch Practitioner, daher Practitioner bzw. PractitionerRole verwendet, damit evtl. verfügbare Organizations ebenfalls abgebildet werden können.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/MicrobiologyLaboratory/StructureDefinition/MicrobiologyLaboratoryPractitionerRole"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer.reference",
        "path": "Observation.performer.reference",
        "min": 1
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "comment": "Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.\r\n\r\nin ELGA-CDA eigentlich ELGA_ObservationInterpretation Value Set verwendet, doch beide Value Sets basieren auf demselben v3-Codesystem"
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/MicrobiologyLaboratory/StructureDefinition/MicrobiologyLaboratorySpecimen"
            ]
          }
        ]
      },
      {
        "id": "Observation.specimen.reference",
        "path": "Observation.specimen.reference",
        "min": 1
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.\r\n\r\nVerwendet bei Antibiogramm, um einzelne Antibiotika-Resistenztests abzubilden.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/MicrobiologyLaboratory/StructureDefinition/MicrobiologyLaboratoryObservation"
            ]
          }
        ]
      }
    ]
  }
}