{
  "resourceType" : "Encounter",
  "id" : "FachabteilungskontaktNormal",
  "meta" : {
    "profile" : ["https://gematik.de/fhir/isik/StructureDefinition/ISiKKontaktGesundheitseinrichtung"]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter FachabteilungskontaktNormal</b></p><a name=\"FachabteilungskontaktNormal\"> </a><a name=\"hcFachabteilungskontaktNormal\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ISiKKontaktGesundheitseinrichtung.html\">ISiKKontaktGesundheitseinrichtung</a></p></div><blockquote><p><b>ExtensionAufnahmegrund</b></p><ul><li>ErsteUndZweiteStelle: <a href=\"https://simplifier.net/resolve?scope=de.basisprofil.r4@1.5.4&amp;canonical=http://fhir.de/CodeSystem/dkgev/AufnahmegrundErsteUndZweiteStelle#AufnahmegrundErsteUndZweiteStelle-01\">CodeSystemAufnahmegrundErsteUndZweiteStelle: 01</a> (Krankenhausbehandlung, vollstationär)</li></ul></blockquote><p><b>PlannedStartDate</b>: 2025-01-02</p><p><b>PlannedEndDate</b>: 2025-01-04</p><p><b>identifier</b>: Visit number/0123456789</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-IMP\">ActCode: IMP</a> (inpatient encounter)</p><p><b>type</b>: <span title=\"Codes:{http://fhir.de/CodeSystem/Kontaktebene abteilungskontakt}\">Abteilungskontakt</span>, <span title=\"Codes:{http://fhir.de/CodeSystem/kontaktart-de operation}\">Operation</span></p><p><b>serviceType</b>: <span title=\"Codes:{http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel 2300}\">Orthopädie</span></p><p><b>subject</b>: <a href=\"Patient-PatientinNormal.html\">Anna Müller (official) Female, DoB: 1957-08-12 ( Medical record number)</a></p><p><b>period</b>: 2024-10-21 --&gt; 2025-01-01</p><h3>Diagnoses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Condition</b></td><td><b>Use</b></td><td><b>Rank</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"https://simplifier.net/resolve?scope=de.basisprofil.r4@1.5.4&amp;canonical=http://fhir.org/packages/de.basisprofil.r4/Condition/PrimaereGonarthroseNormal\">Condition/PrimaereGonarthroseNormal</a></td><td><span title=\"Codes:{http://fhir.de/CodeSystem/KontaktDiagnoseProzedur treatment-diagnosis}\">Behandlungsrelevante Diagnosen</span></td><td>1</td></tr></table><p><b>account</b>: <a href=\"https://simplifier.net/resolve?scope=de.basisprofil.r4@1.5.4&amp;canonical=http://fhir.org/packages/de.basisprofil.r4/Account/AbrechnungsfallGonarthrose\">Account/AbrechnungsfallGonarthrose</a></p><h3>Hospitalizations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>AdmitSource</b></td><td><b>DischargeDisposition</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://fhir.de/CodeSystem/dgkev/Aufnahmeanlass E}\">Einweisung durch einen Arzt</span></td><td><span title=\"Codes:\"></span></td></tr></table><blockquote><p><b>location</b></p><p><b>location</b>: <a href=\"https://simplifier.net/resolve?scope=de.basisprofil.r4@1.5.4&amp;canonical=http://fhir.org/packages/de.basisprofil.r4/Location/RaumStandortBeispiel\">Zimmer 1234</a></p><p><b>status</b>: Active</p><p><b>physicalType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/location-physical-type ro}\">Room</span></p></blockquote><blockquote><p><b>location</b></p><p><b>location</b>: <a href=\"https://simplifier.net/resolve?scope=de.basisprofil.r4@1.5.4&amp;canonical=http://fhir.org/packages/de.basisprofil.r4/Location/BettenstellplatzStandortBeispiel\">Bettenstellplatz 1234</a></p><p><b>status</b>: Active</p><p><b>physicalType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/location-physical-type bd}\">Bed</span></p></blockquote><blockquote><p><b>location</b></p><p><b>location</b>: Ward 1234 (Identifier: <code>https://test.krankenhaus.de/fhir/sid/stationid</code>/1234)</p><p><b>status</b>: Active</p></blockquote><blockquote><p><b>location</b></p><p><b>location</b>: Ward 56789 (Identifier: <code>https://test.krankenhaus.de/fhir/sid/stationid</code>/56789)</p><p><b>status</b>: Completed</p><p><b>physicalType</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/location-physical-type wa}\">Ward</span></p></blockquote><p><b>serviceProvider</b>: Fachabteilung für Orthopädie und Endoprothetik (Identifier: <code>https://test.krankenhaus.de/fhir/sid/fachabteilungsid</code>/ORTHO-1234)</p></div>"
  },
  "extension" : [{
    "extension" : [{
      "url" : "ErsteUndZweiteStelle",
      "valueCoding" : {
        "system" : "http://fhir.de/CodeSystem/dkgev/AufnahmegrundErsteUndZweiteStelle",
        "code" : "01",
        "display" : "Krankenhausbehandlung, vollstationär"
      }
    }],
    "url" : "http://fhir.de/StructureDefinition/Aufnahmegrund"
  },
  {
    "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate",
    "valueDateTime" : "2025-01-02"
  },
  {
    "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate",
    "valueDateTime" : "2025-01-04"
  }],
  "identifier" : [{
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
        "code" : "VN"
      }]
    },
    "system" : "https://test.krankenhaus.de/fhir/sid/besuchsnummer",
    "value" : "0123456789"
  }],
  "status" : "finished",
  "class" : {
    "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code" : "IMP"
  },
  "type" : [{
    "coding" : [{
      "system" : "http://fhir.de/CodeSystem/Kontaktebene",
      "code" : "abteilungskontakt"
    }]
  },
  {
    "coding" : [{
      "system" : "http://fhir.de/CodeSystem/kontaktart-de",
      "code" : "operation"
    }]
  }],
  "serviceType" : {
    "coding" : [{
      "system" : "http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel",
      "code" : "2300",
      "display" : "Orthopädie"
    }]
  },
  "subject" : {
    "reference" : "Patient/PatientinNormal"
  },
  "period" : {
    "start" : "2024-10-21",
    "end" : "2025-01-01"
  },
  "diagnosis" : [{
    "condition" : {
      "reference" : "Condition/PrimaereGonarthroseNormal"
    },
    "use" : {
      "coding" : [{
        "system" : "http://fhir.de/CodeSystem/KontaktDiagnoseProzedur",
        "code" : "treatment-diagnosis"
      }]
    },
    "rank" : 1
  }],
  "account" : [{
    "reference" : "Account/AbrechnungsfallGonarthrose",
    "identifier" : {
      "system" : "https://test.krankenhaus.de/fhir/sid/fallnummer",
      "value" : "1234"
    }
  }],
  "hospitalization" : {
    "admitSource" : {
      "coding" : [{
        "system" : "http://fhir.de/CodeSystem/dgkev/Aufnahmeanlass",
        "code" : "E"
      }]
    },
    "dischargeDisposition" : {
      "extension" : [{
        "extension" : [{
          "url" : "ErsteUndZweiteStelle",
          "valueCoding" : {
            "system" : "http://fhir.de/CodeSystem/dkgev/EntlassungsgrundErsteUndZweiteStelle",
            "code" : "01",
            "display" : "Behandlung regulär beendet"
          }
        }],
        "url" : "http://fhir.de/StructureDefinition/Entlassungsgrund"
      }]
    }
  },
  "location" : [{
    "location" : {
      "reference" : "Location/RaumStandortBeispiel",
      "identifier" : {
        "system" : "https://test.krankenhaus.de/fhir/sid/roomid",
        "value" : "1234"
      },
      "display" : "Zimmer 1234"
    },
    "status" : "active",
    "physicalType" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
        "code" : "ro",
        "display" : "Room"
      }]
    }
  },
  {
    "location" : {
      "reference" : "Location/BettenstellplatzStandortBeispiel",
      "identifier" : {
        "system" : "https://test.krankenhaus.de/fhir/sid/bedid",
        "value" : "1234"
      },
      "display" : "Bettenstellplatz 1234"
    },
    "status" : "active",
    "physicalType" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
        "code" : "bd",
        "display" : "Bed"
      }]
    }
  },
  {
    "location" : {
      "identifier" : {
        "system" : "https://test.krankenhaus.de/fhir/sid/stationid",
        "value" : "1234"
      },
      "display" : "Ward 1234"
    },
    "status" : "active"
  },
  {
    "location" : {
      "identifier" : {
        "system" : "https://test.krankenhaus.de/fhir/sid/stationid",
        "value" : "56789"
      },
      "display" : "Ward 56789"
    },
    "status" : "completed",
    "physicalType" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
        "code" : "wa",
        "display" : "Ward"
      }]
    }
  }],
  "serviceProvider" : {
    "identifier" : {
      "system" : "https://test.krankenhaus.de/fhir/sid/fachabteilungsid",
      "value" : "ORTHO-1234"
    },
    "display" : "Fachabteilung für Orthopädie und Endoprothetik"
  }
}