{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.cambio.se/StructureDefinition/DiagnosticReportMicrobiology",
  "name": "DiagnosticReportMicrobiology",
  "status": "active",
  "description": "This profile is used to send microbiology report information for a microbiology request sent for laboratory",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "DiagnosticReport",
  "baseDefinition": "https://fhir.cambio.se/StructureDefinition/DiagnosticReportCore",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DiagnosticReport.id",
        "path": "DiagnosticReport.id",
        "min": 1
      },
      {
        "id": "DiagnosticReport.basedOn",
        "path": "DiagnosticReport.basedOn",
        "definition": "Details concerning a service requested.(the microbiology request information referenced here)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.category.coding.code",
        "path": "DiagnosticReport.category.coding.code",
        "fixedCode": "MB"
      },
      {
        "id": "DiagnosticReport.category.text",
        "path": "DiagnosticReport.category.text",
        "fixedString": "Microbiology"
      },
      {
        "id": "DiagnosticReport.code.coding.system",
        "path": "DiagnosticReport.code.coding.system",
        "fixedUri": "SNOMED CT"
      },
      {
        "id": "DiagnosticReport.code.coding.code",
        "path": "DiagnosticReport.code.coding.code",
        "fixedCode": "4341000179107"
      },
      {
        "id": "DiagnosticReport.code.coding.display",
        "path": "DiagnosticReport.code.coding.display",
        "fixedString": "Microbiology report"
      },
      {
        "id": "DiagnosticReport.effective[x]",
        "path": "DiagnosticReport.effective[x]",
        "definition": "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.(This information do not get from lab systems)",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.performer",
        "path": "DiagnosticReport.performer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "https://commonprofiles.care/StructureDefinition/OrganizationSEVendorLite/v1",
              "https://fhir.cambio.se/StructureDefinition/OrganizationSEIndustryLite"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.resultsInterpreter",
        "path": "DiagnosticReport.resultsInterpreter",
        "definition": "The practitioner or organization that is responsible for the report's conclusions and interpretations.(Do not have that information exposed correctly from lab)"
      },
      {
        "id": "DiagnosticReport.result",
        "path": "DiagnosticReport.result",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Observation",
              "https://fhir.cambio.se/StructureDefinition/ObservationMicrobiology"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.imagingStudy",
        "path": "DiagnosticReport.imagingStudy",
        "definition": "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.(removed because microbiology do not have imaging information)",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.conclusion",
        "path": "DiagnosticReport.conclusion",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.conclusionCode",
        "path": "DiagnosticReport.conclusionCode",
        "definition": "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.(we do not have any codes related to conclusion)",
        "max": "0"
      }
    ]
  }
}